Subscribe: NI TestStand
Added By: Feedage Forager Feedage Grade B rated
Language: English
callback  decimal point  error  execution  fail  labview  maintest  pass  report  run  sequence  set  step  steps  test  teststand 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: NI TestStand

NI TestStand topics

NI TestStand topics

Published: Fri, 22 Sep 2017 04:53:19 GMT2017-09-22T04:53:19Z


Show limit test results as graph

Thu, 21 Sep 2017 19:26:30 GMT2017-09-21T19:26:30Z

I have a sequence that is using a Numeric Limit Test to check if a friction value is within limits. If the value is not within limits, the UUT is cycled a number of times, then the Numeric Limit Test is run again. This continues looping until the value is within limits or the maximum number of loops is reached. My customer would like to see a plot of the friction values and the high&low limits for each iteration. I'm thinking I need to send the friction value, low limit, and high limit to a 2D array as a post-expression in the Numeric Limit Check, then show that array as a graph on the report. But, I don't know how to accomplish either of those tasks. I'm also open to other suggestion about how plot these results.

Multithreading sequence always fails and get no report

Thu, 21 Sep 2017 06:44:20 GMT2017-09-21T06:44:20Z



I have a sequence which search for connected devices on a network (Ethernet). The found IP addresses are stored in a array. If the array is not empty I jump into a for-loop which loops for the number of found IP addresses.

I this for-loop I jump into my test sequence "MainTest" and pass as reference the IP address and get as reference the Pass/Fail back.


Now, If I configure the sequence call "MainTest" as "Execution Option" - "none" and the "Wait" synchronization as "Wait for:" - "Time Interval" and run the test sequentiell everything works fine. I get the correct report and Pass/Fail at the end.


If I configure now the sequence call "MainTest" as "Execution Option" - "Use New Thread" and the "Wait" synchronization as "Wait for:" - "Thread" and run the test with working UUT's (no fault), the test itself works in parallel. I can set breakpoints wherever I like in the subsequences of "MainTest" I get of all tests a green Pass. Only the test "MainTest" an the wohle test-run shows all the times fail. Also the report contain no details (measurements) of the sequence "MainTest" only "Status Failed".


Why I do get a Fail when all UUT's are working with sequence in "Use New Thread"? Why the details of the "MainTest" does not listed in the report? What do I wrong or do I have to live with that?


Many thanks for help


Log report/database failed

Wed, 20 Sep 2017 09:25:43 GMT2017-09-20T09:25:43Z

If teststand cannot write de log files/database is there an option that teststand will write the log files when the network is available?

Unexpected internal error while setting the upgrade code and product version in the installer (_MDFBuildDevPart_SetUpgradeInfo)

Mon, 18 Sep 2017 17:51:04 GMT2017-09-18T17:51:04Z


I am getting intermittent failures when building a deployment / installer on a PC other than the one on which is was edited.

Does the error message below look familiar to anyone? If so, what's the fix / workaround.


"Unexpected internal error while setting the upgrade code and product version in the installer (_MDFBuildDevPart_SetUpgradeInfo)"

Full Status Log file attached.


como hacer para un paso falle si no se cumple lo esperado en un determindo tiempo de espera

Sat, 16 Sep 2017 20:23:47 GMT2017-09-16T20:23:47Z

tengo un step que envía un dato y espera una respuesta X. El problema que tengo es que si la respuesta esperada no llega el step nunca temina. por lo tanto necesito que este step falle si no llega la respuesta esperada en un determinado tiempo.

How to jump from StationPostStepRuntimeError callback to main sequence ProcessCleanup callback?

Fri, 15 Sep 2017 20:40:01 GMT2017-09-15T20:40:01Z


I am trying to figure out some general mechanism of error handling in TestStand. I want it to work in the following way.

I have a TestsLauncher.seq which uses BatchModel.seq. It launches MainSequence of Tests.seq for each test socket (this way I have 4 executions, 1 controller, and 3 sockets). I Have also configured StationPostStepRuntimeError callback in the StationCallbacks.seq file.

Now, when error accrued in no matter where, during execution, I would like to jump to the StationPostStepRuntimeError callback and after this callback, terminate all sockets, and go to the launcher ProcessCleanup. Should I use TerminateAll() in RuntimeError callback or maybe there is some more elegant way?

Use API set defaultt Font Size for Report View

Thu, 14 Sep 2017 09:09:37 GMT2017-09-14T09:09:37Z



As the subject, how to Use API set defaultt Font Size for Report View.




I want set "Small" as default, Thanks!

Do TestStand accept Unicode from VS2013

Thu, 14 Sep 2017 07:28:20 GMT2017-09-14T07:28:20Z

My question is in title... I'm trying to use a DLL created in VS2013 but TestStand seem not to accept Unicode char. I just need to know if Unicode is accepted in TestStand.


Thank you.

TestStand Results Report empty

Wed, 13 Sep 2017 15:56:40 GMT2017-09-13T15:56:40Z

I am brand new to teststand. I am working through the self training and I am at exercise 6-1 where you create/view a report for a given test. I have tried a number of things but my report after running a single pass is always blank in TestStand. When I open the xml file for the report in a text editor it shows:" xmlns:ts="">


I have Result Filtering set to All Results. I have results reporting disabled for some steps, but not all. I get the exact same (blank) report when I run one of the pre-made examples. This leads me to suspect that something is wrong in my installation or settings. 

DLL does not export functions necessary for TestStand to pass Cstring data

Wed, 13 Sep 2017 10:05:54 GMT2017-09-13T10:05:54Z

Hi everyone,


I'm currently trying to export an old DLL from Virtual Studio 2010 to VS 2013. The main problem was to make the program work in UNICODE and not MBCS.


After being able to compil the program, I tried to use it with TestStand. The SW told me to include the 'tsdllparams.cpp' in my repertory to be able to use CString.


However, after doing this, the SW is still telling me that it can't use Cstring (different error message).


Has someone ever faced this?


Thank you.

TS2016 expression recommends array of containers in wrong hierarchy

Wed, 13 Sep 2017 02:41:54 GMT2017-09-13T02:41:54Z


     I'm just start to use TS2016 not sure what i describe here is an issue.

I create a series of array of containers like below picture:


But when I program in expression of editor, the input hint shows like this:


it's not the element level I want to input, please help to check, thanks!

Controlling a command line interface with Teststand?

Tue, 12 Sep 2017 15:41:09 GMT2017-09-12T15:41:09Z

Hi. I am trying to control a USB high speed electrical test tool (HSETT) in a TestStand sequence. The test tool can be found here:

XHSETT 64-bit version


The HSETT executable has a GUI and a command line interface. I am attempting to run and control it with the CLI. I am able to succesfully start it using a "call executable" step by calling "XHSElectricalTestTool.exe" with a "/C" argument which starts the program using the CLI. Now after performing some other steps in my sequence, I need to send additional commands to the HSETT. To start with I am trying to send the "HELP" command to verify that it is working as expected.


I see that the "call executable" step has an option under "Wait Options" called "Store Process Handle." I expect I need to store the process handle in a variable and then use that process handle to send additinal commands to it, but I don't know how to do this. Is this the right approach, and if so, can you advise on how exactly to do this?




Custom step

Tue, 12 Sep 2017 13:29:38 GMT2017-09-12T13:29:38Z


The question is...

I need to read some string value from the target and just display it in the report (comparison with limits is not needed ). Which step type I should use?


How to set lock for secure the steps and make steps to not been viewed until the password is entered .

Tue, 12 Sep 2017 12:30:19 GMT2017-09-12T12:30:19Z


How to set lock for secure the steps and make steps to not been viewed until the password is entered .Please see the attached file.







Hide FAIL status in While Loop with Status Expression

Fri, 08 Sep 2017 15:17:29 GMT2017-09-08T15:17:29Z

While running a loop in Teststand the result shows Failed during the iterations. Is there a way to edit the status expression to not sow FAIL until the Pass condition or the max iterations occur?

Keep Variables View in execution window visible

Fri, 08 Sep 2017 14:59:09 GMT2017-09-08T14:59:09Z

This is a rather trivial issue, but for debugging purposes, I'm trying to use the NI recommended method of setting a breakpoint, switching to the Variables view during execution, stepping through my TestStand sequence one step at a time, and observing the value of local variables on the Variables tab of the execution window.  Every time I Step Over, TestStand 2014 jumps back to the Steps tab.  With each step, I have to then click on the Variables tab to observe local variable values.


Is there a way to keep TestStand fixed on the Variables tab in the Execution window as I step through my sequence?


Thanks in advance.

Using "Default Value" for a sub-sequence parameter passed by reference

Fri, 08 Sep 2017 14:10:42 GMT2017-09-08T14:10:42Z

NI TestStand allows to configure an output parameter of a sub-sequence (passed by reference) as "Default Value" :



We have observed a very strange behaviour in this case. I feel that there can be a memory corruption.

If so, why does TestStand allow that ?

Does NI cDAQ-9174 supports NI 9242?

Fri, 08 Sep 2017 13:23:21 GMT2017-09-08T13:23:21Z


I was using Does cDAQ-9174 for DI and DO to acquire signals in Labview.

I recently bought  NI 9242 to measure 120 VAC but it seems that cDAQ-9174 doesn't recognize this DI card. 

Anyone knows the reason or any solution to this?


Thanks in advance 

Local Decimal Point using LabVIEW runtime module

Fri, 08 Sep 2017 11:35:07 GMT2017-09-08T11:35:07Z

When configuring LabVIEW adapter as development, the local decimal point used within a LabVIEW module dépends on LabVIEW option "use localized decimal point"which appears in LabVIEW.ini configuration file.


But when configuring LabVIEW adapter as runtime, it seems that only the operating system decimal point is taken into consideration.

Is there any possibilty to force/unforce the use of local decimal point in LabVIEW runtime like "useLocaleDecimalPt=True/False" in LabVIEW.ini ?

Issue with configure lot setting

Thu, 07 Sep 2017 14:11:31 GMT2017-09-07T14:11:31Z

Hi All,


Some configuration has changed in my PC and not able to run the sequence.

it is giving an error


and configure lot setting as changed as



Usually default dialogue box should be like this



How do I reset my configuration?

Thanks in advance