2013 TestStand user interfaces

I upgraded to TestStand 2013. When I try to use the all-in-one User Interface or UI Simple, I still have two mistakes any which sequence file, I run.

I also noticed that the 'TestStandModelModelOptions.ini' Cfg file is the same file from 2012. It not was not upgraded or updated when 2013 has been installed.

Unfortunately, I tried upgrading 2013 LabWindows/CVI and had nothing but problems when I did. Now, I tried the upgrade of 2013 TestStand and nothing else problems. I am seriously considering to move away tools NOR completely!

Hi rreis,

What version of .NET are you running?

Many times this error is related to incompatibility between the applications created in 2012 of LabWindows/CVI and previous and the 4.5 .NET framework. The link below addresses a registry key which has been developed as a work around for this problem.

http://digital.NI.com/public.nsf/allkb/0136A53F98D69B7286257AD70069A735

Concerning

Tags: NI Software

Similar Questions

  • Adding custom flags to the TestStand UI user interface

    Hello! I'm sure this has been asked before, but I can't really find what I am looking for. I have a TestStand sequence that contains a stable loop cycle parts several times. I would like to show a pass fail count on each side on the user interface according to the current state of sequences (real-time). the parties can run 1000 times or more, and the UI should show the count for each + a LED to show if the component is always active.

    What is the best way to do something like that? The mail user interface? If so how do I set up the messages and have a counter for each share value? Each of the parties would have its own unique message?

    Thanks for any help you can give me. If you could provide a quick example.

    Bill

    Don't know what version of LabVIEW and TestStand, you have, but I threw together a little demo of what you want.  Just run the TopLevel.vi, then open the sequence in the zip file.

    Here in LV 2014 and 2014 TS.

    Kind regards

  • How can I join buttons visible teststand keyboard shortcuts in a labview user interface

    On a normal labview VI, it is possible to configure the desired for example key navigation options assign a keyboard shortcut to a control. Is it possible somehow to assign a keyboard shortcut to the visible controls ActiveX Teststand i.eg. a basic custom user interface labview Teststand button?

    Help, please

    You may be able to do by cloning of each button, assign a shortcut to the clone, and then firing an event and call the method "DoClick' of the TestStand button - I say maybe because I can't verify the DoClick method will do what you want.

    Obviously, you can hide the clones on the front panel if necessary.

  • TestStand freezes when calling user interface

    Hello

    I did a bit of seraching but the problem I have is intermittent for one of the positions that I have found useful. I have a built in CVI user interface that is called the part edit-a type of step in time. When I call the UI for several times now (same step over and over) TestStand eventually freezes. Sometimes I get error messages, most of the time that it just hangs. When she throws and error, it is usually a one .NET. I received this message before the "object reference is not attached to an instance of an object", so that system level exceptions. I can't figure out exactly what is the cause. I posted my code below. If I comment on either of the two sections "BOLD" no error occurs. Also, if I do not change the setting in the user interface between the calls to the user interface I have never it freezes. So he definitley has something to do with the fill/adjustment control of the ring, or even reading the property 'ThisContext.Step.ConfigProperties.ParameterID' of TestStand. If I get more descriptive errors, I will update this post.

    Code:

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

    void __stdcall __declspec(dllexport) ReadParameterTSEdit (CAObjHandle seqContextCVI, char reportText [1024], short * errorOccurred, long * errorCode, char errorMsg [1024])
    {
    ErrMsg errMsg = {'\0'};
    int hpanel;
    int executed;
    int index;
    int count;
    int numParams;
    char paramIDs [100] [64];
    char param [64];
    char indexparam [64];
    char * ActCntrlTLA = NULL;
    char * temp = NULL;
    char activecntlr [23] = "active controller: ';"
    VBOOL CntrlExists;
    TSObj_Property paramids = NULL;
    TSObj_PropertyObjectFile propObjFile;
    CAObjHandle seqfileobj;
       
    Check that the system has been initialized and a profile was loaded!
    TS_PropertyExists (seqContextCVI, NULL, "ThisContext.FileGlobals.ActCntrlTLA", 0, & CntrlExists);
    If (!.) CntrlExists)
    {
    MessagePopup ("read setting", "no profile has been loaded for this sequence!");
    GoTo error;
    }
    TS_PropertyGetValString (seqContextCVI, NULL, "ThisContext.FileGlobals.ActCntrlTLA", 0, & ActCntrlTLA);
    Initializes the parameter reading UI
    hpanel = LoadPanelEx (0, "ReadParamUI.uir", READ_PARAM, __CVIUserHInst);
     
    TS_PropertyGetPropertyObject (seqContextCVI, NULL, "ThisContext.FileGlobals.ParamIDs", 0, & paramids);
    TS_PropertyGetNumElements (paramids, NULL, & numParams);
     
    for (count = 0; count)< numparams;="">
    {
         TS_PropertyGetValStringByOffset (County of paramids, NULL, 0, &temp);)
    strcpy (param, Temp);
    InsertListItem (hpanel, READ_PARAM_PARAMETERS, count, param, count);
    }

    Build a string them of active controller
    strcat (activecntlr, ActCntrlTLA);
    SetCtrlVal (hpanel, READ_PARAM_ACTIVETLA, activecntlr);
     
    TS_PropertyGetValString (seqContextCVI, NULL, "ThisContext.Step.ConfigProperties.ParameterID", 0, &temp);)
    strcpy (param, Temp);
     for (count = 0; count)< numparams;="">
    {
    GetLabelFromIndex (hpanel, READ_PARAM_PARAMETERS, count, temp);
    strcpy (indexParam, Temp);
    If (strcmp (indexParam, param) == 0)
    {
    SetCtrlIndex (hpanel, READ_PARAM_PARAMETERS, count);
    GoTo done;
    }
    }
    Fact:
     
    The display panel and run the user interface
    Does not return until that of RunUserInterface until the
    you press the Finish"" button.
    DisplayPanel (hpanel);
    Run = RunUserInterface ();
    Get the index of the selected parameter
    If (run<>
    {
    GetCtrlIndex (hpanel, READ_PARAM_PARAMETERS, &index);)
    GetLabelFromIndex (hpanel, READ_PARAM_PARAMETERS, index, param);
    TS_PropertySetValString(seqContextCVI,,"ThisContext.Step.ConfigProperties.ParameterID",0,param);
    }
     
    Output:
    / * Release resources and return * /.
    DiscardPanel (hpanel);
    TS_PropertyGetPropertyObject (seqContextCVI, NULL, "ThisContext.RunState.SequenceFile", 0, & seqfileobj);
    TS_SeqFileAsPropertyObjectFile (seqfileobj, NULL, & propObjFile);
    TS_PropertyObjectFileIncChangeCount (propObjFile, NULL);
    If (& ActCntrlTLA)
    {
    CA_FreeMemory (ActCntrlTLA);
    }
    If (& temp)
    {
    CA_FreeMemory (temp);
    }
    If (& paramids)
    {
    CA_DiscardObjHandle (paramids);
    }
    CA_DiscardObjHandle (propObjFile);
    CA_DiscardObjHandle (seqfileobj);
     
    Error:
    }

    /*---------------------------------------------------------------------------*/
    / * Callback functions * /.
    /*---------------------------------------------------------------------------*/

    int CVICALLBACK Done(int panel, int control, int event, void *callbackData, int eventData1, int eventData2)
    {
    If (event is EVENT_COMMIT)
    {
    QuitUserInterface (0);
    }
    return 0;
    }

    int CVICALLBACK CLOSEPANEL(int panel, int control, int event, void *callbackData, int eventData1, int eventData2)
    {
    If (event is EVENT_COMMIT)
    {
    QuitUserInterface (1);
    }
    return 0;
    }

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

    Thank you

    Josh

    The problem was with this line:

    GetLabelFromIndex (hpanel, READ_PARAM_PARAMETERS, count, temp);

    I shouldn't have been past at the time to write the label that I had previously used temp with functions of API of TS. Who should have caught before posting... but it's been a long day.

  • Simple TestStand in LabVIEW user interface

    Hello community,

    I design a user interface for Teststand using the simple example of vi. The name of the file is VI.vi of first level

    I am trying to understand works vi inorder to make changes and ran into a few questions that I was hoping someone could answer for me please.

    To begin, I add my file sequence and click on 'Test DUT'. Then a dialog box appears asking to enter the serial number of the UUT, where and what are the causes that to happen in the code? After I entered my serial number it turns my code sequence and at the end an another message specifying in a green or red if the UUT success or failure. Where and what are the causes of success/failure boxes happen in the code?

    Thank you

    Kevin

    If you had posted this on the forum of TestStand, you would be probably got some of the answers better.

    But in the meantime, you need to open the SequentialModel.seq (or what is process model you use) and navigate to the entry Point of execution sequence, you use.  In this case, click Test UUT, the icon in the list of sequence and track the flow of test.

    With respect to the banner that appears after execution of USE test.  The banner is implemented as a DLL in the PostUUT callback.  It is based on the status of the MainSequence callback result.  It is the result of the test that you started by test DUT.

    The best advice I can give you is to go through the sequence of process template file and learn that it is not an easy task, but worth the effort.

    Thank you

    PH

  • User interface artifacts in beta of Mac OS Sierra on 2013 Mac Pro

    I try the beta version of Mac OS Sierra on my Mac Pro 2013, and when you scroll brushes or other elements of the user interface, there are artifacts that remain on the list that make it difficult to see.  The problem persists even after disabling processing GPU in Photoshop and restart.  Clues as to what might be the cause, or someone else has this problem?  Any other apps don't do this on my mac.

    Screen Shot 2016-08-16 at 11.01.33 AM.pngScreen Shot 2016-08-16 at 11.11.31 AM.png

    If there is anything that I've learned, is not posting on a forum like this search for information or to investigate a problem that may occur with future updates.  You'll just get taught as you do not know what a beta is.

  • custom user interface will not close

    Hello

    I have created a custom UI TS, based on the graphic interface delivered simple TS. When I close the user interface, the process remains in the list of windows processes, I can put an end from the windows Task Manager. This only happens if the adapter of LabVIEW is set to Run-Tiime engine. If I select the LabVIEW development system, the GUI will be entirely closed.

    TestStand 2014 32 bit

    LabVIEW 2014 32 bit

    Windows 7 Enterprise 64-bit

    any idea?

    Hi Madottati,

    the first thing that comes to mind is to close the process programmatically as you do in LV, when you build an executable file. An example how to do this is shown here:

    Work with the TestStand Simple User Interface - (2013 and previous TestStand) LabVIEW - National Instruments
    http://www.NI.com/white-paper/14376/en/

    you want to look at the section 'shutting down '.

    I hope this helps!

  • Closing references ActiveX correctly in the Simple user interface

    Hello

    I am currently editing the user supplied with Teststand 2013 Simple interface in order to access the global variables of the station through LabVIEW.  A simple test, I'm trying to access the value of username.  When I run the VI for the first time after the opening of LabVIEW, I get no error message and the program works as required.  Stop the running VI will return no error, but when I try to run the VI and rerun the Teststand, stalls the execution sequence and I get a wait status.  I then have to close running VI by killing all threads in Teststand, I think that the PropertyObjects do not come out properly and I find the structure of the event quite confusing to deal with.

    My attempt to close the references in the while loop looks like this:

    The rest of the program is exactly as expected with Teststand 2013.

    Any input on how to close properly references ActiveX and extracting station globals in LabVIEW would be much apreciated.

    Thank you for your help,

    Christian

    Christian,

    Doug is correct if you open references in a loop, you should also be closing them in the loop. For example, this code open a reference to the engine and the Globals PropertyObject. Two of these references must be closed each time that the loop is executed with the current code.

    You might be able to improve this code is to put your username querying code elsewhere. This username appears as something that would happen only when a user connects or disconnects, then perhaps that this code could be registered as a reminder of the event UserChangedevent. Follow these steps in the VI of reminders set up event of the user interface.

    If you do not need this code to update constantly, you can put in the structure of the event time-out event in your screenshot and fix a reasonable (maybe 100 to 200 ms).

    Hope this helps and let us know if you have other questions about this!

  • How to return to the classic user interface?

    I used the UI classic (this VERY old interface) with Firefox 28.0a1 nightly. My last update was November 10, 2013. Then I updated my nightly today and all of a sudden, after the reboot, my UI changed for the worse. Surely enough, it didn't look like the default, look-alike of Google Chrome, but it's just as bad. So my question is, how do I change it back to this old classic user interface? If possible, don't tell me modules, please... Thank you...

    Mozilla said that it was necessary to create a user interface that is the same for mobile versions and Firefox desktop.

    No, but it can be changed with the Classic theme restaurateur extension and selected pieces of userChrome.css or stylish user styles.

  • Offset of the user interface after update of El Capitan

    Hello. Since I upgraded my Macbook Pro late 2013 to El Capitan retina, I've known GAL of the user in function, mainly opening animation of safari and switching between desktop computers. These issues are only to make my user base, I created a test user and concluded that the test user was not the offset of the user interface. I have reinstalled the operating system, as well as talked to apple. Apple had me reset the Pram so that delete files, including:

    / Library/LaunchAgents

    ~/Library/LibraryAgents

    / Library/LaunchDaemons

    / Library/Caches

    ~/Library/caches

    and many other files like these.

    None of that helped, my UI lag is still there and fine. Also, I'm not sure if this is relevant; However, my recovery HD (available from start by pressing the alt/option key) is not an option. I'm not sure if the files I deleted with apple support caused it or reinstalling the operating system has done this. IM thinking delete files because I reinstalled the operating system using the HD recovery.

    Does anyone know how to fix the lag in the UI? I know other people have this problem, google search and this forum but no clear answer has not developed.

    Thank you

    Caulin Bloom

    Please launch the Console application in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    The title of the Console window should be all Messages. If it isn't, select

    SYSTEM LOG QUERIES ▹ all Messages

    in the list of logs on the left. If you don't see this list, select

    List of newspapers seen ▹ display

    in the menu at the top of the screen bar.

    Click on the clear view icon in the toolbar. Then take an action that does not work the way you expect. Select all of the lines that appear in the Console window. Copy to the Clipboard by pressing Control-C key combination. Paste into a reply to this message by pressing command + V.

    The journal contains a large amount of information, almost everything that is not relevant to solve a particular problem. When you post a journal excerpt, be selective. A few dozen lines are almost always more than enough.

    Please don't dump blindly thousands of lines in the journal in this discussion.

    Please do not post screenshots of log messages - text poster.

    Some private information, such as your name or e-mail address, can appear in the log. Anonymize before posting.

    When you post the journal excerpt, an error message may appear on the web page: "you include content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the forum software. Thanks for posting the text on Pastebin, then post here a link to the page you created.

    If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.

  • User interface customized to run at the same time?

    Hello

    My question is about the user interfaces customized for performances with the parallel model. In my current project, we use the parallel model with sockets to the UI and test 4, we have flags of chain for its execution, which displays messages to the user and the other 2 which has the function of a streaming indicator that displays information throughout the test, also showing instances of time. So, in total 8 indicators that display information about the 4 independent runs alongside. Up to now, I managed to create the user interface only for the sequential mode, using 2 simple string indicators and sending messages to the TestStand to the strings through the user interface Messages. My problem is that I don't know how to implement this feature for the sockets to test more.

    Attached images of the façade and the diagram of blog of the GUI as it appears now.

    I am very new to TestStand (I know that for the last month), so I expect that my question and description of cases are not so clear, so please let me know if anything is badly explained.

    I would be grateful for any help.

    Basically, whenever you get a message from UI associated with running (e.g. UIMsg_StartExecution, UIMsg_Trace, etc.), you will need to determine what testsocket the UIMessage applies to and then update the corresponding user interface controls. A way to get the testsocket is as follows:

    testsocketindex = uimsg. Thread.GetSequenceContext (0, frameId_Notused). AsPropertyObject(). GetValNumber ("RunState.TestSockets.MyIndex", 0)

    In addition, once you know where to go a particular run, you can attach to the control Id of this execution (i.e. property of Execution.Id) and just look at the execution Id instead.

    Hope this helps,

    -Doug

  • Flatten to a string to send arbitrary objects by messages from the user interface?

    Hi people,

    I am trying to send arbitrary data by messages from the user interface defined by the user to my labview interface. Something funny happens then: if I send the data through the message of ui, it seems I have something strange. There is only one character or nothing in the message of the user interface that reached my reminder.

    It seems that flatten channel also creates control characters that are interpreted by NI TestStand and Labview not as members of the chain, and for this reason I only get incomplete data. within the action of testand, which creates the flattened data, I put a dialog box to display the string data, and it seems that at least up to 255 (ascii) characters are used.

    Is there something like uuencode/uudecode to avoid this problem?

    Thanks in advance

    Okidoki, found.

    His «binary"produced by «Flatten the string» string Apparently I thought, the LabVIEW data type is incompatible with the API of TestStand from LabVIEW. In conclusion I would classify this as a bug (sorry people, at least there should be documentation) API for LabVIEW TestStand 2014.

    As a solution, I use flatten it in XML, which is a printable and human readable 'normal' string.

    It was trial and error, and I'm not enjoying this.

  • Graph XY on the custom user Interface

    Hello.  I'm kinda stuck (or really stuck ).  In any case, I'm newbie.  That being said, I've had a few really good help on how to pass table through the postuimessage (xparamdata) of teststand to my user interface customized a few weeks ago.  It really helped.  Thanks again.  However, I'm still another question.  I'm moving a container of teststand.  The container or the cluster of table and table x of y in a XY Chart.  I pass to my custom IO and try to update a chart XY on my IO.  I tried to use the same code that I used for a table, but it does not work... of course.  I just need a little help to find out how to get this update on my graph XY on my IO.  The attached photo, this is what I have so far, but it is not close to work.  Can someone give me some advice?

    String of BTW - looking for you wouldn't array1 and array2.  It would be the names of the tables in your cluster.  In TestStand search strings are the relative path to the object of the referenced property.  In this case your container is referenced from which is the name of your berries.

    Hope that makes sense.

  • UIMsg_BreakOnRunTimeError of completely custom user interface management

    I develop a completely custom user interface for TestStand 2012 SP1 operator (without ActiveX / ApplicationMgr etc.;) "I know, I know...).  I'm trying UIMsg_BreakOnRunTimeError to deal appropriately and need advice.

    (1) my first question is what I call DisplayRunTimeErrorDialogEx() with the appropriate SequenceContext, but the dialog box disables many of the options. Under manage common error, recovery, ignore and abandon immediately (without cleaning) are grayed out (disabled) as well as the box jump of. With the same sequence SequenceEditor and the po sample UI display correctly this dialog box.  Any ideas on what is the cause?

    (2) Secondly, the best way to manage the selections to the user?  dontShowAgainForExecution, dontShowAgainForBatchand suspendExecution seem quite simple documentation.  i.e.

    If (dontShowAgainForExecution)
    execution. RTEOptionForThisExecution = RTEOptions.RTEOption_Continue;

    If (dontShowAgainForBatch)
    thread. SetBatchRTEOption (RTEOptions.RTEOption_Continue);

    If (suspendExecution is false)
    execution. RESUME(); Fix? Execution seems already paused. What to do if this value is true?

    Now what about the runTimeErrorAction?  I guess for RTEOption_Abort the word execution of . Abort().  What are the appropriate steps to RTEOption_Continue, RTEOption_Ignore, RTEOption_Retry, & RTEOption_ShowDialog?

    (3) Finally, once the dialog box is closed, my execution ends with the result success rather than error state.  What happens here?

    Your help is appreciated as always,

    -Terrence Jones

    (1) this is probably the user privileges, you may either not connected with user at all or the user has privileges to debug. If you do not use the users, you can disable the privilege check in the options of the station.

    (2) something like this:

    void ApplyRTESetting (TS:equenceContextPtr sequenceContext, TS::RTEOptions rteOption, bool breakExecution)
    {
    Thread TS::ThreadPtr = sequenceContext-> thread;
    Execution TS::ExecutionPtr = sequenceContext-> run;

    Switch (rteOption)
    {
    case TS::RTEOption_ShowDialog:
    case TS::RTEOption_Continue:
    case TS::RTEOption_Abort:
    wire-> ClearTemporaryBreakpoint();
    break;
    by default:
    break;
    }
        
    do action according to the selected option
    Switch (rteOption)
    {
    case TS::RTEOption_Retry:
    sequenceContext-> NextStepIndex is sequenceContext-> StepIndex;.
    wire-> ClearCurrentRTE();
    If (! breakExecution)
    execution-> Resume();
    break;
    case TS::RTEOption_Continue:
    If (! breakExecution)
    execution-> Resume();
    break;
    case TS::RTEOption_Ignore:
    wire-> ClearCurrentRTE();
    If (! breakExecution)
    execution-> Resume();
    break;
    case TS::RTEOption_Abort:
    execution-> Abort();
    break;
    }
    }

    Also for the two other parameters we generally use the rteoption of the dialog rather than continue to hardcode, but you can do this job, how you want if you prefer different behavior:

    Example:

    If (dontShowAgainForExecution)
    context-> run-> RTEOptionForThisExecution = rteOption;
            
    If (dontShowAgainForBatch)
    context-> thread-> SetBatchRTEOption (rteOption);

    (3) maybe you call ClearCurrentRTE() to ignore alternatives.

    Hope this helps,

    -Doug

  • Using ActiveX controls to the old user interface

    I tried to build a User Interface for TestStand 4.1.1 using LabView 8.6.1 (on Windows XP)

    However, ActiveX controls keep showing in the old non - 3d "block" style.

    This seems to be a problem when you build a new exe. If you use the included UI (Full Featured) in TestStand it appears correctly.

    I was able to replacte this problem on two other development systems (a new windows XP, LabVIEW 8.6.1 & TestStand 4.1.1 install).

    (1) take a copy of the full-functional UI of LabVIEW.

    (2) open the project file

    (3) rebuild the exe file

    It's only a problem when you use the exe file. When you run from the LabVIEW development system it looks good.

    Hi Simon,.

    For your UI to take on XP
    Theme controls, you will need to place a manifest file that specifies the activex control topics in the same
    directory as your executable file. TestStand comes with a manifest file for
    INTERFACE c# you can also use for the UI of LabVIEW. Just go to the \User Interfaces\Simple\CSharp and copy the file TestExec.exe.manifest in the directory of the LabVIEW User Interface executables.

    Note that the manifest file must have the same name as your executable file LabVIEW UI. For example, if you name your user interface, "MyCustomTSUI.exe", you will need to name the manifest file 'MyCustomTSUI.exe.manifest '.

    Please let me know if this solves your problem or if you have other questions. Thank you!

Maybe you are looking for

  • HP OfficeJet Pro 8600 stops printing in the middle of documents

    This has happened recently. Nothing has changed on my end. First of all my ink was low, but even after changing ink it always did. I get an error message in Windows 8 that says: cannot print the Microsoft Word document. There is no error on the compu

  • HP ENVY 5530: PRINTER SUDDENLY WILL NOT PRINT PHOTOS,.

    MY PRINTER HAS PRINTED PHOTOS ALL THE TIME, BUT SUDDENLY HE STOPPED, I CHECKED WITH THE DOCTOR HP PHOTO AND SCAN AND PRINT TEST PAGE COMES OUT PERFECTLY, ACTUALLY I JUST PRINTED A PHOTO OF 8/10 AND PRESS A POCKET FORMAT THOSE AND HE SAYS IT OF PRINTI

  • Video screen is green while playing video

    Video plays with audio, but the screen remains green.

  • Windows 10 BIOS not supported

    I went to update my laptop at 10 of the window and it indicates that the BIOS is not supported. I went to Dell and installed the latest version of the BIOS for my laptop. How can I force windows 'Get' to double check my computer to see if the new BIO

  • Develop on a disconnected phone

    If I cut off the service at my BB Torch, I would still be able to make a HttpConnection using wifi? or use the GPS?