NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to automatically load a specified sequence file when opening a TestStand's user interface?

Hi,

 

Could you verify that there is a space between the two strings(one for the executable, and one for the argument)?  I can't tell from the dialog.

 

Thanks,
Jim

0 Kudos
Message 11 of 17
(1,697 Views)

I did not have a space, I added a space.  Here is the block diagram and the error:

 

JimsWay2.jpg

 

ErrorJimsWay2.jpg

0 Kudos
Message 12 of 17
(1,690 Views)

I am thinking...can I run that code by itself?  Should I put that code inside the Simple UI?

 

 

0 Kudos
Message 13 of 17
(1,687 Views)

Hi,

 

It should work stand alone just like it was typed into a DOS prompt. Try typing the command into a DOS prompt and check that this works.  Also - just a shot in the dark but sometimes the 'full memory' error can be fixed by a reboot. 

 

Thanks,
Jim

0 Kudos
Message 14 of 17
(1,683 Views)

Hi,

 

This works for me

 

command line.png

 

Regards
Ray Farmer
0 Kudos
Message 15 of 17
(1,680 Views)

Guys, many thanks.  I have found another way that doesn't require me to alter the code for every new sequence added to the file.  I have it working with a few warnings about releasing the sequences when I'm done.  I will still experiment with the command prompt thing but I think something more like this is what I'll need to do to keep the versatility.

 

I open the files as the UI opens, then I close the files before I exit the TestStand and LabView.

 

AutoLoad1.jpg

 

AutoUnload1.jpg

0 Kudos
Message 16 of 17
(1,675 Views)

I figured out the last of the warnings...Instead of releasing the sequences and engine in the sub-vi I have to release it in the main vi.  After that everything works great!

Thanks for all your suggestions and help.

Daniel  

0 Kudos
Message 17 of 17
(1,667 Views)