NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Start Sequence in Full UI

I am building an application and using the full user interface example as a starting point.  I reviewed the example Dynamic Client Sequence File and have implemented a LabVIEW VI that  selects one sequence from a list and then dynamically loads this sequence.  To start this, I load a sequence file like the loadmefirst.seq in the dynamic client example and execute an entry point on this sequence to start the process by pressing the "Test UUTs" button in the user interface.

 

This all works fine, however, I would like to automate the loading of the "loadmefirst" sequence file and possibly the execution of the entry point lodestars on this file, especially if the user is an operator.  Thus, the operator would launch the user interface application, log in and then see my menu VI.  I am trying to do as much of this as possible in the model file and with the callbacks.

 

Any Ideas?

 

Thanks,

Mike 

0 Kudos
Message 1 of 3
(3,723 Views)

Hi Mike,

 

You could try passing the sequence file and sequence to run via the command line when you launch the UI.

 

eg. testexec.exe /run sequence sequencefile

 

see the reference manual Table8-6

 

regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 3
(3,716 Views)

Hello Ray,

 

Thanks.  That did exactly what I wanted.

 

Mike

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