Subscribe: NI TestStand
Added By: Feedage Forager Feedage Grade B rated
Language: English
api win  api  core  dll found  dll  file  found api  found  result  sequence file  sequence  step  teststand  win core  win 
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: Sat, 24 Feb 2018 18:44:29 GMT2018-02-24T18:44:29Z


Displaying the module time for each step?

Fri, 23 Feb 2018 21:09:38 GMT2018-02-23T21:09:38Z

Hi community,


I need the moduletime to be displayed for each step in my sequence and not just for the ones I have the result recording turned on.



Is it possible and if yes, how?



Access Numeric limit test- limit expression in vi

Fri, 23 Feb 2018 15:09:45 GMT2018-02-23T15:09:45Z


I am super new with Teststand 

I have a numeric limit test step wherein the limits are multiplication of 2 floats. I would like to access the limits in VI for simulation purposes. I know that I can access the numeric value with GetValNumber property but I am unable to find the property for an expression like this 0.151*0.9(image)

SafetTimer.dll crash

Fri, 23 Feb 2018 10:19:09 GMT2018-02-23T10:19:09Z


on one system we have sporadic crashes of TestExec.exe with an event log entry similar to

Faulting application name: TestExec.exe, version:, time stamp: 0x53acf31b
Faulting module name: SafeTimer.dll, version:, time stamp: 0x53aceb54
Exception code: 0xc0000005
Fault offset: 0x0000000000001484

It is always the SafeTimer.dll, located in TestStand 2014\Bin (64 bit version) and it is always this Fault offset in the DLL.

It is definitely possible that the crash is caused by one of our own software modules, but I would like to know if anything is known about a problem with the SafeTimer.dll or what happens at this address in the DLL.




HELP Testing sbrio

Fri, 23 Feb 2018 08:05:19 GMT2018-02-23T08:05:19Z



I'm trying to do a test projtect in teststand for testing a GPIO in my sb-RIO. But I don't how to do.

My first idea is the following:

I will have 3 .vi : initialize (for set enable state of the gpio pin)

gpio ( for set true o false value in previos pin)

diable ( fot unset enable state)


I have include the first one in setup of teststand, the second one in main sequence, and the last one in cleanup.


In addition, all .vi are in the host, but they are communicate with rtmain and fpga of sbrio.


Buy when I run, the execution don't continue, it remains on inizilizate step, and doesn't avance.


Could anybody help me please? I'm very new with teststand.

Start a new exeution in SeqFileLoad and terminate it in SeqFileUnload

Fri, 23 Feb 2018 07:39:22 GMT2018-02-23T07:39:22Z


in my main.seq in SequenceFileLoad i start a "new execution" of another sequence (parallel.seq). The object of the reference to this new execution is save in an FileGlobal variable. "Wait for execution to complete" is set to "Do not wait".


Parallel.seq has only a while loop that displays a popup all 10sec.


In main.seq in SeqFileUnload i set a statement to terminate the Reference of the new execution.


The idea is that when closing the main.seq that then Unload is exeuted and parallel.seq is stopped.

But when i close the main.seq tab in teststand no unload is running.

I have to close also the parallel.seq tab then the Unload of main.seq is excuted and wants to execute the terminate statement. This produces then an error because  the object was already deleted by manually closing the parallel.seq


So the question is: Why does closing of the main.seq tab not execute the SeqFileUnload? (Which should then terminate the parallel.seq)






Largest Number

Fri, 23 Feb 2018 07:25:42 GMT2018-02-23T07:25:42Z

As per LABView the Minimum positive number is 4.94e–324. However, the minimum positive number which the NI TestStand seems to accept is 9.9E-307.

Is there any documentation reference on what are the range of values which NI TestStand accepts.


Using a labview variable in teststand

Thu, 22 Feb 2018 11:05:00 GMT2018-02-22T11:05:00Z


I am using a labview user interface to load a teststand sequence.

I need to use the value of one of the UI VIs terminal in one of the teststand sequence VIs.


How can i do that please ?

Edit Goto Step

Thu, 22 Feb 2018 09:20:14 GMT2018-02-22T09:20:14Z

I need to edit the destination of GoTo step in a Statement step 

i try RunState.Sequence.Main["GoTo"].TS.

and i find many property i dont know what is the right property need to use 


Result filtering works for ASCII but not for database result processing

Wed, 21 Feb 2018 21:57:57 GMT2018-02-21T21:57:57Z

The following result filtering expression works for the ASCII text file result processing but not for the database adapter. Why is that?


Result.Status != "Done" && Result.Status != "Skipped"


An error occurred calling 'LogMultipleResults' in 'ITSDBLog' of 'zNI TestStand Database Logging'
An error occurred evaluating the database logging result filter expression.
Unknown variable or property name 'Result'.
Error accessing item 'Result'.
Source: TSDBLog

Unable to See Logged Value in Test Report

Wed, 21 Feb 2018 18:21:10 GMT2018-02-21T18:21:10Z

I am new to Test Stand, and I have read a lot of posts about logging, but I can't seem to make it work. I have a sequence that calls a method from my C# DLL called getValue() to return a double. When I check the "Log" box for the Return Value of the method call, the report does not show the return value (or anything else).

I am able to store this value in a local variable and see the value if I set a break point after the step and then look at the current value of the variable, so I know the method is working from Test Stand. However, if the sequence ends it resets the value of the local variable back to 0.


"Disable Result Recording for all sequences" is not checked in the station options, the sequence options, or the step options. Please help.

Change Procesmodel in sequence

Wed, 21 Feb 2018 14:53:02 GMT2018-02-21T14:53:02Z

Hello everyone,


I have a problem with teststand. I have multiple programs to test UUTs with, and some of them need a procesmodel parallel instead of sequential. I already found out how to do this, thanks to this forum. But the problem I have now  is this:

Normally the proces model is Sequential. Some programs have a built in statement in the PreUUTLoop to change the proces model to parallel. In the PostUUT I change it back to sequential.

But when I run it the first time after testing sequential, it still runs in sequential mode. I need to stop the parallel test and then rerun it.

I have attached the file I test with.

I already added a delay, even though I think it is pointless.

Any help is welcome.

Using the Array SetElements function

Wed, 21 Feb 2018 14:52:46 GMT2018-02-21T14:52:46Z

Hello fellow users.  I have searched the forums for a solution but haven't found exactly what I am looking for.  I have a sequence file with many steps and it has been in use for several years without issue.  I am now going to modify this sequence to run on a sampling plan with a lot size of 18 UUTs.  The sampling plan specifies that the first 3 UUTs must be tested at 100% and pass in order that the remaining 15 can skip certain tests.  In order to keep track of the final test result of the first 3 UUTs, I am attempting to use an initialized array with 18 string elements.  I have a second numeric variable which is incremented at the end of each sequence basically to act as a counter of the UUT number and is reset to 0 when 18 is reached.  Each time a UUT has completed testing, I would like to write PASS into the element indexed by the counter.


It appears that the SetElements(Array array, PropertyObject value, [String range]) to accomplish this, but it doesn't change the array in any way.  I would like to have the optional [String range] to be the counter value.


What am I doing wrong and is there a better way to accomplish this task?


Thank you for your time


Module for step not loadable

Wed, 21 Feb 2018 13:51:09 GMT2018-02-21T13:51:09Z

Hello    I use Teststand 2014 and Labwindows CVI 2015. When i create a dll in CVI (witch is used in Teststand) it is without errors. When i load my sequence file in Teststand and run Analyze i get an error on each teststep with the message Module for step  not loadable (zie message below). What can be the problem ?. I never saw this before. When i Analyze other projects on the same computer it is without problems so the files that " can't be found" are on the pc. So i don't now why the dll's can't be found. Is it a setting in Labwindows CVI ?   Severity Rule Category Text File LocationError Code modules must be able to load General Module for Step 'Close SafetyCover' not Loadable. Could not load DLL or external library 'C:\Temp\FT_KW_PFC\CVI_2015\PFC.dll'. This DLL requires the following DLLs which could not be found or loaded:api-ms-win-core-console-l1-1-0.dll (Not Found)api-ms-win-core-datetime-l1-1-1.dll (Not Found)api-ms-win-core-debug-l1-1-1.dll (Not Found)api-ms-win-core-errorhandling-l1-1-1.dll (Not Found)api-ms-win-core-fibers-l1-1-1.dll (Not Found)api-ms-win-core-file-l1-2-1.dll (Not Found)api-ms-win-core-handle-l1-1-0.dll (Not Found)api-ms-win-core-heap-l1-2-0.dll (Not Found)api-ms-win-core-localization-l1-2-1.dll (Not Found)api-ms-win-core-libraryloader-l1-2-0.dll (Not Found)api-ms-win-core-memory-l1-1-2.dll (Not Found)api-ms-win-core-namedpipe-l1-2-0.dll (Not Found)api-ms-win-core-processenvironment-l1-2-0.dll (Not Found)api-ms-win-core-processthreads-l1-1-2.dll (Not Found)api-ms-win-core-profile-l1-1-0.dll (Not Found)api-ms-win-core-string-l1-1-0.dll (Not Found)api-ms-win-core-synch-l1-2-0.dll (Not Found)api-ms-win-core-sysinfo-l1-2-1.dll (Not Found)api-ms-win-core-util-l1-1-0.dll (Not Found)api-ms-win-eventing-provider-l1-1-0.dll (Not Found)api-ms-win-core-apiquery-l1-1-0.dll (Not Found)api-ms-win-core-registry-l1-1-0.dll (Not Found)api-ms-win-core-heap-l2-1-0.dll (Not Found)api-ms-win-core-libraryloader-l1-2-1.dll (Not Found)api-ms-win-devices-config-l1-1-1.dll (Not Found)api-ms-win-core-kernel32-legacy-l1-1-1.dll (Not Found)api-ms-win-core-string-obsolete-l1-1-0.dll (Not Found)api-ms-win-core-heap-obsolete-l1-1-0.dll (Not Found)api-ms-win-core-stringansi-l1-1-0.dll (Not Found)api-ms-win-core-crt-l1-1-0.dll (Not Found)api-ms-win-core-crt-l2-1-0.dll (Not Found)api-ms-win-security-base-l1-2-0.dll (Not Found)api-ms-win-core-io-l1-1-1.dll (Not Found)api-ms-win-core-threadpool-l1-2-0.dll (Not Found)api-ms-win-core-wow64-l1-1-0.dll (Not Found)api-ms-win-core-delayload-l1-1-1.dll (Not Found)api-ms-win-devices-query-l1-1-1.dll (Not Found)api-ms-win-core-timezone-l1-1-0.dll (Not Found)api-ms-win-core-file-l2-1-1.dll (Not Found)api-ms-win-core-kernel32-private-l1-1-1.dll (Not Found)api-ms-win-mm-time-l1-1-0.dll (Not Found)api-ms-win-mm-mme-l1-1-0.dll (Not Found)api-ms-win-mm-misc-l1-1-1.dll (Not Found)api-ms-win-mm-joystick-l1-1-0.dll (Not Found)api-ms-win-core-path-l1-1-0.dll (Not Found)api-ms-win-core-rtlsupport-l1-2-0.dll (Not Found)api-ms-win-core-kernel32-private-l1-1-2.dll (Not Found)api-ms-win-core-privateprofile-l1-1-1.dll (Not Found)api-ms-win-core-string-l2-1-0.dll (Not Found)api-ms-win-core-atoms-l1-1-0.dll (Not Found)api-ms-win-core-localization-obsolete-l1-3-0.dll (Not Found)api-ms-win-core-sidebyside-l1-1-0.dll (Not Found)api-ms-win-core-windowserrorreporting-l1-1-0.dll (Not Found)api-ms-win-core-appinit-l1-1-0.dll (Not Found)api-ms-win-core-localization-private-l1-1-0.dll (Not Found)api-ms-win-eventing-classicprovider-l1-1-0.dll (Not Found)api-ms-win-eventing-obsolete-l1-1-0.dll (Not Found)api-ms-win-core-interlocked-l1-2-0.dll (Not Found)api-ms-win-core-threadpool-legacy-l1-1-0.dll (Not Found)api-ms-win-core-processthreads-l1-1-3.dll (Not Found)api-ms-win-cor[...]

Oddly formatted report file

Wed, 21 Feb 2018 12:38:32 GMT2018-02-21T12:38:32Z

Hello Community,


I have noticed something strange with the report file generated by my sequence. As you see that besides some other stuff I have two input clusters with I'd like to log ("Parameters" and "Limits"). (attachment1)


According to my understanding I have set every logging option the same for these clusters, but they show up in a different format in my log file. (attachment2):

The "Parameters" cluster doesnt show up, but its element do. The elements are indented. The space between eg: "Freq Start" was replace by an underscore.


The elements of the Limit cluster show up in a different way and by the way same for the elements of the results output cluster.


The ideal way would be:


Cluster name:

        Param 1

        Param 2

        Param 3



etc, but for now I would be happy even if you could explain me why do I see a difference in the displayed format.



Problem with Labview subvi in parallel

Tue, 20 Feb 2018 16:49:27 GMT2018-02-20T16:49:27Z


I need to execute a subvi in background (reading data) and after some steps in Teststand,  close it and get the array with all data.

For that, i have created a sequence with execution Options: Use New Thread, so the sequence carry on with the new steps in parallel (see picture sequence.png)

In the subvi, i included FP.Open and Hide State (Attached picture read_data.png)). So until here everything was working pretty fine, but when i am trying to close the subvi the system is stopped in this step, crashes. For that i was using the following subvi (Stop.png)


Could you please help me with this??

I would apreciate any idea,


Thanks in advance

Change report folder programmatically with an expression in Report options window.

Tue, 20 Feb 2018 12:54:46 GMT2018-02-20T12:54:46Z

First of all I am a beginner in Teststand so apologies for any mistake.

I was trying to change folder path in Report Options window where we can specify path with expression.

But I don't want to  change the current file name which is created using Macro ($FileDate, $FileExtension)

I was not getting a specific answer to my question.

Here is the screenshot. So in Report Options dialog I want to specify folder name (Currently 'Folder1') and change it to 'Folder2' based on condition that if specific sequence runs.





I have tried using sequence callback and creating Report Options sequence and defining the path based on expression but that does not let me access Macro in report options ( $FileDate, $FileExtension, etc..)

Use enums to index an array?

Tue, 20 Feb 2018 09:48:16 GMT2018-02-20T09:48:16Z



I have a teststand enumerated type (locals.myEnum) and a string array (locals.myArray). I'd like to retreive the "locals.myEnum"-th value of the array, but the following expression doesnt work:




What is the right way to index an array with an enum in teststand?




Exporting Fileglobals to excel or txt

Tue, 20 Feb 2018 08:43:21 GMT2018-02-20T08:43:21Z

I have a sequence that loads tests limits  from a database everytime it runs. It saves these limits as fileglobals.

Because now the sequence needs to work remotely, without access to the database, I was thinking of exporting them into a file from which they could be loaded locally. Then I could send the file (and a modified sequence that loads from it) and that would work for people that need to run it without having access to our network. 


I'm not having success with the property loader, is there a way to do this?



XML reports in Windows 10.

Mon, 19 Feb 2018 12:19:12 GMT2018-02-19T12:19:12Z


We have trouble viewing TestStand XML reports on Windows 10 machines. We are using ATML 6.01 report format and "tr6_expand.xsl" style sheet. The reports are shown on Windows 7 machines with no problem.  We have already tried using Office XML Handler, Microsoft Edge and lately Opera and Firefox browsers to no success (see attached captures with the errors). Any help would be appreciated.


Best regards,Enrique

How to get a Running TS Sequence file reference in LabVIEW

Sat, 17 Feb 2018 06:52:08 GMT2018-02-17T06:52:08Z


I am using TestStand 2016(32 bit) - LabVIEW 2016(32 Bit) - Windows 7 Enterprise


I am trying to get the runtime properties of TestStand Sequence File which is already Executing. I am trying to get the reference of the sequence file from LabVIEW. So I am using GetEngine property with TestStand UI Application Manager reference. From GetEngine reference I am getting the Sequence file reference by giving the Sequence file path. With this property node, I am able to access Sequence name, Step Name, Number of Sequences etc.. But When I am trying to display, Is Sequence File Executing? its showing 'False' but actually my sequence file is executing. Also for some runtime property like 'Number of Sequences Executed' it showing the wrong result in my VI Front panel.  


What I am thinking is when I try to get the TS Engine reference from LabVIEW(which is already running) it getting a new instance of reference, not the already running reference.

If I am launching the VI from TestStand itself by Dynamic Launch VI and passing the ThisContext reference to Connector Pane of the VI, I can use the Runtime Properties Like 'IsExecuting?'. Is there any way to get the Run Time properties of TestStand Sequence File from LabVIEW without launching the VI from TestSTand?