Custom step problem

I have a number of custom steps (not inherited, no source code) that we use with TestStand 3.0 and 3.5 versions.  I'm trying to import them into TestStand 4.1, but I have problems.  I know that the location of the files has changed under TestStand 4.x.  They used to live in the TestStand folder, now they live in C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 4.1\Components.  I copied all the DLLs, INI, ICO, files in the correct folders, but some of the measures do not appear in the context menu when you add a step.  I have added custom, four steps two I have visible, two are not.

The management mode that Custom steps has changed in the TS 4.1?

Thank you.

Have you added your pallets of type under C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 4.1\Components\TypePalettes?

Your pallets of type and the types of step appear in the Palette of Document Type?

You may also right-click on the palette to insert a step and choose Customize... to update where your step types appear in the Insert palette.

Hope this helps,

-Doug

Tags: NI Software

Similar Questions

  • Custom step and the step execution.

    Hello

    I need the solution for access to a stage performance

    The order of execution of a step to start as below.  How can I insert a call custom execution position before step 3 and after step 18?

    Can I create a custom step allow me to insert a function like that call

    1--> Allocate result

    2--> synchronization batch Enter

    3--> check Run for Skip mode

    4--> assessment

    ....

    17--> the Post expression evaluate

    18--> evaluate Expression of State

    Tphan wrote:

    Precondition can be used for dynamic defining the step to skip or fail, but limit to only Boolean

    The statement above is not correct, you can have any expression as long as they evaluate to true or false. Thus, for example, you can have a prerequisite:

    RunState.PreviousStep.Result.Status is "Passed"

    If the expression above to ensure that the step will run only if the previous test succeeded.

    I think that your problem can be solved using preconditions and post actions.

    Take a look at the attachment.

  • "Turn off monitor" in the behavior of type custom step

    Hello!

    Currently in the drafting of the types of custom step based on sequences (default adapter of my type of step is a sequence), I would like to define the right ' off track ' in my step type definition.

    The problem is that this option is not visible in the "default Options" tab... " The only way I found to do this using pre and Post Expression to the value "ThisContext.Tracing = True False'."

    But I don't like using Expressions of pre/Post in my type of stage (I prefer to leave empty for end users).

    Is there a way to do this without the use of Expressions?

    Hi zyl7,

    In your type of custom step, set the property to TS. SData.Trace on 'Off' (without the quotes).

    I hope this helps.

    -Jack

  • analyze the custom step

    Hello

    My question is quite simple, is it possible to use TestStand sequence Analyzer to analyze custom steps I developed?

    If it is possible, where can I find tutorials to do this?

    Best regards

    CFOE

    My question is quite simple, is it possible to use TestStand sequence Analyzer to analyze custom steps I developed?  YES

    If it is possible, where can I find tutorials to do this?

    The best place is the help of TestStand:

    http://zone.NI.com/reference/en-XX/help/370052K-01/tsref/infotopics/sa_creating_custom_rules/

    http://zone.NI.com/reference/en-XX/help/370052K-01/tsref/infotopics/sa_creating_analysis_modules/

    There are others out there, but those who are similar to what you want.

    Hope this helps,

  • Stimulus profile stops logging immediately (custom steps)

    Greeting together again! I use the 2012 here all versions (VS TS, LV and tiara), and I also use for TS VS Custom steps. I have a TS main sequence that does all the work of configuration and custom installation via subsequences and steps VS. The only thing I use the profile of Stimulus for connects at this point, and for some reason any resultant TDMS file holds only six data points (record at 100 Hz). It seems that it starts and stops immediately, and I can't understand why.

    The only steps I have in the profile of stimulus steps Start Logging and group channels. There is no step, newspaper stop, so logging should not stop until the TS of the sequences of the project undeplous, as far as I understand it. Triggered trigger Condition logging is set to none, and file segmentation is set to do not Segment.

    Anyone can shed light on what is happening here?

    If I understand correctly, your profile of Stimulus stops almost immediately, because it is call a step to start recording. After that, the profile is done. Is this correct?

  • Disable the setting custom step Type

    Hello

    I'm developing some types of custom step and I don't want the developer of the sequence to be able to change them. He should be able to access the properties of the step only which are visible through the property browser. I want my guys to appear as types of NI - where everything is disabled for the user.

    This way I can protect my types to get damaged by an adventurous sequence developer and also give him the freedom to design their own tests using the types I give him.

    Is this possible? If so, how?

    Thank you.

    Aditya

    If they are connected as long as developer and not admin, you can change the privileges > configure > change types to false.

  • A custom step of multiple digital limit test | Hide the limit tab

    Hi all

    I am trying to create a custom step of multiple digital limit test. The custom step by itself poplulates the value of the limits of the measure. So I plan on Hide tab limits within the parameters of the step. Can someone guide me on how to do it?

    Thank you

    Prasaanthan

    Make sure that you have checked the box 'Show hidden properties' in the StationOptions > preferences. Otherwise, you will never find the table refers to erik.

    Norbert

  • Where the type of deicide custom step to be

    I created a custom step. I want that he be a pass / fail step. So I added an expression of State which always makes me Pass or fail. but it does not change the color or the State of comprehensive income, if it's failure. So I would like to know how to do custom step fail.

    The easy way is to simply go to step OR Pass/Fail and copy the expression of State for it and paste it into your.

  • Drag and drop to create a custom step

    Hello

    I have an insert in my custom user interface palette. I want to allow the user to drag the step of the palette of insertion in the original designer of the sequence, as the Insert palette. The insert custom palette is in WPF.

    The data format for the object slide - déposer is

    e.Data.GetFormats)
    {string [1]}
    [0]: "SeqEditor new Step binary.

    The data is actually a MemoryStream:

    e.Data.GetData (e.Data.GetFormats () [0])
    {System.IO.MemoryStream}
    Base {System.IO.Stream}: {System.IO.MemoryStream}
    CanRead: true
    CanSeek: true
    CanWrite: true
    Capacity: 6936
    Length: 6936
    Position: 0

    So, it's actually a Unicode text if I read it with StreamReader:

    new StreamReader ((Stream) e.Data.GetData (e.Data.GetFormats () [0]), Encoding.Unicode). ReadToEnd()
    ' E@=3@JKZ100h\\L] JDYcLO7e9@FLU:h9iM] > 5Uf16W > Hii091DHkYGJKJHMd [].<>

    What is the right way for me to implement operation drag and drop my palette to insert custom options? I think to create a MemoryStream similar but I do not understand the format of the data.

    Thank you.

    Please note that the Clipboard format is not something that we intend to create directly and they may change in a future version of TestStand. So if you do this, keep in mind that it is possible, it may not work in a future version of TestStand (i.e. we do not support creating Clipboard elements directly).

    That said, it would be possible to operate in the current versions of TestStand as follows (I did not do exactly what you do, but here's how our format is currently produced):

    PropertyObject [] stepPropObjects = new PropertyObject [1];
    Step newStep = templateOfStep.AsPropertyObject (). Clone ("", PropertyOptions.PropOption_CopyAllFlags |) PropertyOptions.PropOption_DoNotShareProperties) as a step;
    newStep.CreateNewUniqueStepId ();
    stepPropObjects [0] = newStep as PropertyObject;

    DataObject dataObject = new DataObject();
    StepFormat = DataFormats.GetFormat DataFormats.Format ("SeqEditor new binary stage");
    String serializedPropertyObject = this. Engine.SerializeObjects (stepPropObjects, SerializationOptions.SerializationOption_UseBinary);
    serializedPropertyObject += 'F'; False to isEditCut (so unique ID will be created on the dough).
    System.Text.UnicodeEncoding encodingForStrConv = new System.Text.UnicodeEncoding ();
    ubyte [] buffer = encodingForStrConv.GetBytes (serializedPropertyObject);
    VvClipData of MemoryStream = new MemoryStream (buffer);
    dataObject.SetData (stepFormat.Name, vvClipData, false);

    Hope this helps,

    -Doug

  • Custom EQ problem

    Hey all,.

    I just got my 8 GB player v2 of detonators and discovered a problem with the custom EQUALIZER setting. The song cut off permanently when being read. It plays fine in all other preset EQ settings (even if it sounds ugly).

    Thanks for any help.

    Make sure that the plug of your headphones is inserted completely into the outlet. They are extremely tight plant. This could be the cause of your problem. Try to twist as you push on it to ensure that it is firmly in place.

  • Changing custom field problem Listener

    I created a custom field that works as a button. He painted a bitmap to the screen. And when it focuses it changes the color of the image. However, I try to add a field change listener to it. I looked on the forum and found this code.

    protected boolean navigationClick(int status, int time)
    {
         fieldChangeNotify(1);
         return super.navigationClick(status, time);
    }
    

    It works but I have a problem. You see, my button now push a small screen, thin in the stack that has another button of the same type on it (custom button). At the moment it is the only button on this screen, which means that it has the focus. But it seems that once my button has the focus, I can click anywhere and it is always enabled. I only want to be activated when I touch it. Any suggestions? Here is my code

    public class MenuButtonField extends Field
    {
        Bitmap imagePic;
        Bitmap highlightedPic;
        public MenuButtonField(String imageName, String focusedImg)
        {
            super();
            imagePic=Bitmap.getBitmapResource(imageName);
            highlightedPic=Bitmap.getBitmapResource(focusedImg);
        }
    
        public void layout(int width,int height)
        {
            setExtent(20,80);
        }
    
        public boolean isFocusable()
        {
            return true;
        }
    
        public void drawFocus(Graphics graphics, boolean on)
        {
            paint(graphics);
        }
    
        public boolean touchEvent(TouchEvent message)
        {
            int type=0;
            type=message.getEvent();
            if(type==TouchEvent.CLICK)
            {
                fieldChangeNotify(1);
                return true;
            }
            else{
                return false;
            }
        }
    
        protected boolean navigationClick(int status, int time) {
            fieldChangeNotify(1);
            return super.navigationClick(status, time);
        }
    
        protected void paint(Graphics g)
        {
    
            g.drawBitmap(0, 20, 20, 80, imagePic, 0, 0);
    
            if(this.isFocus())
            {
                g.drawBitmap(0, 20, 20, 80, highlightedPic, 0, 0);
            }
    
        }
    }
    

    PLEASE HELP ME

    I found help here
    http://supportforums.BlackBerry.com/T5/Java-development/navigationClick-invoked-when-clicking-outsid...

    The position of Scribe the Lion was the solution.

  • Custom ComboBox problem

    Hello

    I'm doing a custom combobox. I don't want pictures in that text. Inspired by DDImagesButton I coded my Combobox. But am experiencing a few problems with it.

    For the button, I created TextButtonField. Problem that I face this is it shows text only when you click on it once. Otherwise, it shows just background color. Here's the code for TextbuttonField:

    public class TextButtonField extends ButtonField implements FocusChangeListener {
        protected DropdownItem mItem;
        boolean mTextItem;
        int mWidth;
        int mHeight;
        private static final int FOCUS_COLOR_BORDER = Color.RED; //0xFC0000;
        private static final int UNFOCUS_COLOR_BORDER = Color.WHITE;
        private int borderColor = FOCUS_COLOR_BORDER;
        private int color;
        private boolean selected;
    
        public TextButtonField(String text) {
            this(new DropdownItem(null, text), true);
        }
    
        private TextButtonField(DropdownItem item, boolean textItem) {
            super(item.mName, CONSUME_CLICK);
            mItem = item;
            mTextItem = textItem; 
    
            mWidth = (mTextItem ? getFont().getAdvance(mItem.mName) + 6 : 0);
            mHeight = getFont().getAscent() + 6; 
    
            // Save the Width & Height for layout
            mItem.itemWidth = mWidth;
            mItem.itemHeight = mHeight;
    
            setPadding(3, 6, 3, 6);
            setMargin(0, 0, 0, 0);
            this.setBackground(BackgroundFactory.createSolidBackground(Color.RED));
            setBorder(BorderFactory.createSimpleBorder(new XYEdges(0, 0, 0, 0), Border.STYLE_TRANSPARENT));
            setBorder(VISUAL_STATE_ACTIVE, BorderFactory.createSimpleBorder(new XYEdges(0, 0, 0, 0), Border.STYLE_FILLED));
            setFocusListener(this);
        } 
    
        public TextButtonField(String text, int bgColor) {
            this(new DropdownItem(null,text), true);
            this.setBackground(BackgroundFactory.createSolidBackground(bgColor));
        }
    
        protected void paint(Graphics graphics) {
            super.paint(graphics);
        } 
    
        public int getPreferredWidth() {
            return mWidth;
        } 
    
        public int getPreferredHeight() {
            return mHeight;
        } 
    
        protected void layout(int width, int height) {
            setExtent(mWidth, mHeight);
        } 
    
       public void focusChanged(Field field, int eventType) {
            if (eventType == FocusChangeListener.FOCUS_GAINED) {
                borderColor = FOCUS_COLOR_BORDER;
                invalidate();
            }
            if (eventType == FocusChangeListener.FOCUS_LOST) {
                borderColor = UNFOCUS_COLOR_BORDER;
                invalidate();
            }
        }
    
        protected void drawFocus(Graphics g, boolean on) {
            paint(g);
        }
    }
    

    By using this class, I created the ComboBox class such as:

    public class ComboBox extends TextButtonField implements FieldChangeListener {
        DropdownItem[] mItems;
        int mIndex;
        boolean showSelectedText;
        private int maxTextInd =0;
    
        public ComboBox(DropdownItem items[]) {
            super(items[0].mName);
            mItems = items;
            updateIndex(0);
            setChangeListener(this);
        }
    
        public ComboBox(DropdownItem items[], int bgColor) {
            super(items[0].mName, bgColor);
            mItems = items;
            updateIndex(0);
            setChangeListener(this);
        }
    
        protected void paint(Graphics graphics) {
            super.paint(graphics); 
    
            int x = 0;
            int ht =  0;
            x = this.getFont().getAdvance(mItems[maxTextInd].mName) + 5;
    
            int y = 5; 
    
            int y1 = y;
            int y2 = y + 10;
            int x1 = x;
            int x2 = x + 18;
            int[] xPts = new int[] { x1, x2, x1 + 9 };
            int[] yPts = new int[] { y1, y1, y2 };
            graphics.drawFilledPath(xPts, yPts, null, null);
        } 
    
        public void fieldChanged(Field f, int context) {
            getScreen().getUiEngine().pushScreen(new ComboPopUp());
        }
    
        public void updateIndex(int index) {
            mIndex = index;
            mItem = mItems[mIndex];
            invalidate();
        }
    
        public int getSelectedIndex() {
            return mIndex;
        }
        public String getSelectedItem() {
            return mItems[mIndex].mName;
        }
    
        class ComboPopUp extends PopupScreen implements FieldChangeListener {
            public ComboPopUp() {
                super(new VerticalFieldManager(VERTICAL_SCROLL | VERTICAL_SCROLLBAR));
                for (int i = 0; i < mItems.length; i++) {
                    TextButtonField button = new TextButtonField(mItems[i].mName);
                    add(button);
                    button.setChangeListener(this);
                }
                getField(mIndex).setFocus();
            } 
    
            protected boolean keyChar(char key, int status, int time) {
                if (Keypad.KEY_ESCAPE == key) {
                    this.close();
                    return true;
                } else
                    return super.keyChar(key, status, time);
            } 
    
            public void fieldChanged(Field field, int context) {
                updateIndex(getFieldWithFocusIndex());
                this.close();
            }
        }
    }
    

    * Here if the index is changed, I want to see the ot the button of the selected index. I want to say that if I have 2 items in the drop-down list 'Save' & 'Edit', Save is 1 then it will be displayed, if I select "Edit" then change must be considered over the top and not save. This time is seen as st element.

    * In DDImagesButton, next to the button, the triangle is hsown, which indicates a drop down, here how can I show that. In DDImagesButton, I have not found where and what show this triangle.

    * The popup is displayed correctly, but the text is not displayed until the component is selected. This issue will be resolved when TextButtonField problem is solved.

    Although these 2 problems are a little different but as relate to them, I added in the same message.

    Can you help me to solve my problems and help me create the custom drop-down list box. Help is highly appreciated.

    Thank you

    Hi Piotr,

    Consideirng your instructions, I tried to implement and make changes accordingly, but nothing has worked... I knew that both the setBorder is necessary. For ascent, creaed a label with alphabet 'W' and I am for his ascension.

    By developing, I realized the problem and resolved completely. In fact, I've been putting the text of the TextButtonField in super(), I removed that and displays text in object. It also helped me view the drop-down arrow that was not coming. I changed the following code and little bit here & there, and things were as expected.

    private TextButtonField(DropdownItem item, boolean textItem) {
            super(CONSUME_CLICK);
            ..........
     }
    
        protected void paint(Graphics graphics) {
            super.paint(graphics);
            graphics.setColor(Color.WHITE);
            graphics.setFont(textFont);
            graphics.drawText(mItem.mName, XPad, 1);
        }
    

    The drop down menu is not visible completely because of the size of the layout. Changed the width of TextButtonField in ComboBox object after showing the arrow that is:

    totWidth = x 2;

    and layout() TextButtonField:

    Protected Sub layout (int width, int height) {}
    setExtent (Math.max (mWidth, totWidth), mHeight);
    }

    That's all, and my work is done. Above code is added with explanation so can serve to someone else like me.

    Thank you

  • Development/unfocus field custom button problem

    Hi all

    I have something weird happens.  I have a custom button field that swaps the images based on a focused state or blur.  I have been using this field custom for awhile now, and I have never had any problems.  Imagine the following provision:

    ______________    ________________________

    | Custom button |    | BasicEditField |

    ------------------------    ------------------------------------------

    When my screen is launched, the focus is on the custom button.  If I move the trackball in a downward movement, the focus is taken the custom button, and its background image changes adequately to what has been defined in the untargeted State.  The BasicEditField then has the focus.  This is the correct behavior.

    If, however, I move the trackball in a movement to the right to the BasicEditField, then the BasicEditField will indeed get the focus, however the custom button field always displays its "highlight" picture  Using print statements, I was able to determine that when I move in a movement to the right with the trackball, the custom field button loses the focus and then gets the focus back to back, that's why it shows the highlighted image.

    Additional info:  This isn't an issue on touch devices, and custom button Manager is a TableLayoutManager.

    Any ideas why this might be happening?  Here's the code to my custom button field:

    public class BitmapButtonField extends Field {
        private String text = "";
        private Bitmap bitmap;
        private Bitmap bitmapHighlight;
        private Bitmap b;
        private boolean highlighted;
    
        public BitmapButtonField(String image, String imageHighlight, long style) {
    
            super(style | Field.FOCUSABLE);
    
            this.bitmap = Bitmap.getBitmapResource(image);
            this.bitmapHighlight = Bitmap.getBitmapResource(imageHighlight);
    
            b = bitmap;
    
        }
    
        public BitmapButtonField(String text, String image, String imageHighlight,
                long style) {
    
            super(style | Field.FOCUSABLE);
    
            this.text = text;
            this.bitmap = Bitmap.getBitmapResource(image);
            this.bitmapHighlight = Bitmap.getBitmapResource(imageHighlight);
    
            b = bitmap;
    
        }
    
        protected void drawFocus(Graphics graphics, boolean on) {
            // Do nothing
        }
    
        public int getPreferredHeight() {
            return bitmap.getHeight();
        }
    
        public int getPreferredWidth() {
            return bitmap.getWidth();
        }
    
        protected void layout(int width, int height) {
            setExtent(getPreferredWidth(), getPreferredHeight());
        }
    
        protected boolean navigationClick(int status, int time) {
            fieldChangeNotify(1);
            return true;
        }
    
        protected void onFocus(int direction) {
            b = bitmapHighlight;
            invalidate();
            System.out.println("FOCUSED");
    
        }
    
        protected void onUnfocus() {
            b = bitmap;
            invalidate();
            System.out.println("UNFOCUSED");
        }
    
        protected void paint(Graphics graphics) {
    
            int topTextPadding = (b.getHeight() - getFont().getHeight()) / 2;
            int sideTextPadding = (b.getWidth() - getFont().getAdvance(text)) / 2;
    
            graphics.drawBitmap(0, 0, getWidth(), getHeight(), b, 0, 0);
            graphics.setColor(Color.WHITE);
            if (text.length() > 0) {
                graphics.drawText(text, sideTextPadding, topTextPadding,
                        Graphics.ELLIPSIS, b.getWidth());
            }
        }
    }
    

    Have you looked at navigationMovement in the TableLayoutManager?  I confess that I rewrote it because it handles no left and right as I wanted.  Perhaps, you might be able to do the same thing.

  • visibility of custom dialog problem

    Hello

    I used a dialog box custom in my project to a pop up. I used the tutorial of the custom dialog box. Depending on whether, when the dialog box appears, the back groundpage will be inactive and when the dialog box is closed, which becomes active. My question is, when I click on the 'OK' button in the dialog box, the background page is not turned in the first press itself. It seems that, after awhile, the inactive background color became more dark or black color, and I need to continue to press the ok button in the dialog box several times to close the box.

    No idea how to get rid of this?

    It's the happening bcz every time when you go to the third page, the signal connects again and again. If you need to cut the signal back to the third page. This is how you handle this

    paneProperties: {NavigationPaneProperties}
    ButtonBack: {ActionItem}
    onTriggered: {}
    myApp.mySignal.disconnect (showPrompt)
    yourNavPaneId.pop ();
    }
    }
    }

    Place this code in your page 3, and I hope this will solve your problem.

    Please like this if you are answered.

  • Custom DropDownCellRenderer problem

    I'm trying for a few hours now to create a drop-down list that uses a custom converter to display colors (images will eventually become).

    This is the converter class:

    package UI.Renderers
    {
        import flash.display.Sprite;
    
        import qnx.ui.display.Image;
        import qnx.ui.listClasses.DropDownCellRenderer;
    
        public class IconListRenderer extends DropDownCellRenderer
        {
            private var img:Image;
            private var cell: Sprite;
    
            public function IconListRenderer()
            {
                super();
                img = new Image();
                cell = new Sprite();
            }
    
            override protected function onAdded():void{
                super.onAdded();
                if(this.data == null)
                    return;
                cell.graphics.clear();
                cell.graphics.beginFill(data.color, 1);
                cell.graphics.drawRect(3, 5, this.width - 7, this.height - 10);
                cell.graphics.endFill();
                /*this.addChild(this.cell);
                img.setImage(data.icon);
                img.width = 32;
                img.height = 32;
                img.x = (this.width - 32)/2;
                this.addChild(this.img);*/
            }
    
            override protected function onRemoved():void{
                super.onRemoved();
                this.removeChild(this.cell);
            }
        }
    }
    

    It was based on the examples in this thread. That's how I applied the converter and set up my instance of drop-down list:

    var dp:DropDown = new DropDown();
    dp.setListSkin(IconListRenderer);
    dp.rowHeight = 32;
    dp.width = iconLabel.width;
    dp.x = iconLabel.x + iconLabel.width;
    dp.y = iconLabel.y;
    var dataProvider:DataProvider = new DataProvider();
    dataProvider.addItem({label: "test1", color: 0xFF0000});
    dataProvider.addItem({label: "test2", color: 0x00FF00});
    dp.dataProvider = dataProvider;
    addChild(dp);
    

    The problem that I see is: the data is still nowhere in the onAdded method in my renderer. Any ideas on that?

    Hey zezke,

    My guess would be that the class of cell converter is under went changes since the thread on that you linked to has been worked. the flow of methods has probably changed. However, there was a post yesterday that renaun posted which seems to match what you want to achieve. It looks very good and very probably help here.

    Here is the link:

    http://supportforums.BlackBerry.com/T5/Tablet-OS-SDK-for-Adobe-Air/using-QNX-image-and-imagecache-in...

    hope that helps. Good luck!

Maybe you are looking for

  • You can plug an external hard drive to the iPad Pro?

    can plug you an external hard drive to the iPad Pro, I store all my technical documents on one and what you need to know if there is a way to connect to the iPad

  • All security updates fail with the error A 80071, 91 code

    Hello! System information: Windows 7 Ultimate 64-bit, i7-720QM, 6 GB RAM, 256 GB SSD, ATI 4670 [Dell Studio XPS 1645] Background: UAC was arrested. Turn on UAC stop my gadgets to work [another thread on these forums...]. A week ago, I got speech reco

  • XC-600 of hard drive not found by BIOS

    My XC-600 get an error 'no boot disk was detected or the drive failed' at startup. In BIOS boot options, under the 'hard drive priority"I can't find not all readers. I install win 10 USB that I can use to boot and, for example, to access command prom

  • Windows Vista Media Center crashes when I change the channel

    Original title: Windows Vista Media Center Since the beginning of June whenever I try to change the channel on the TV tuner in Media Center it crashes. I tried to do a system restore but restore never worked on my count. Problem event name: APPCRASH.

  • Forgotten password but cant acess email more, please help!

    How can I recover my xbox live password if I forgot it and I cannot acess email because we are no longer with BT internet, we are now with TalkTalk, I created this account in 2010 xbox live.  Does anyone know what I can do?