NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem launching correct sequence file from desktop shortcut

Solved!
Go to solution

I have created a desktop shortcut that successfully launches a sequence file.  The icon I chosen was located at "C:\Program Files\National Instruments\TestStand 3.5\UserInterfaces\Full-Featured\LabVIEW\TestExec.exe".  The problem is this:

 

I have more than one desktop shortcuts set up to launch multiple sequence files.

If the operator closes TestStand before closing  the current sequence file, when a different shortcut is activated, TestStand opens with the previous sequence file loaded.  The correct sequence file is shown in the listbox at the left of the screen; however, the previous sequence file is loaded.  This will inevitably cause confusion with the operator.

 

Any ideas will be appreciated.

 

Thanks in advance.

0 Kudos
Message 1 of 3
(3,273 Views)
Solution
Accepted by topic author VI_Joe

2 options:

 

1- Tell the users to close the sequences when they are done by choosing File>>Close All Sequence Files and Executions.  TestStand remembers the last sequence that was open.  It re-opens it the next time TestStand gets ran.

 

2- Edit the source code for TestExec.exe to close the sequence file on shut down.  Or to not remember the open sequence file.  If using the Full UI you will want to look in the VI called Full UI- Configure Application Manager.vi  which is being called from the Full UI-Initialize.vi.  You will see a property node with ReloadSequenceFilesOnStart.  Change the enum from ReloadFile_All to ReloadFile_None.  Then rebuild the exe and deploy it.  You'll have to search for it if you are using the Simple UI but it will be the same property node.

 

If you go with number it's more work for you but then you don't have the problem of operators running the wrong test on the wrong UUT.  Option 1 is a training issue. 

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(3,262 Views)

Option 2 worked like a champ!

0 Kudos
Message 3 of 3
(3,222 Views)