NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Run Seq immediately (auto) after UI start

 

 I have to run the Seq  file Immediately  after  I start The   User Interface   without  the Entrypoint Buttons

0 Kudos
Message 1 of 6
(4,479 Views)

Are you using a custom UI?  If so then you have several options.

 

Option 1: Button.DoClick.  You can call this method any time in your code for the TestStand button that is connected to your entry point.  This dynamically clicks the button.

 

Option 2: http://digital.ni.com/public.nsf/allkb/146D372C1F807E6D862567E7004881AB

 

Option 3: http://www.ni.com/example/29301/en/

 

Hopefully these help,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 6
(4,475 Views)

There are commandline parameters you can use to load and run a sequence, so just specify the correct commandline parameters when launching your UI. You can create a Windows' shortcut which does this.

 

-Doug

0 Kudos
Message 3 of 6
(4,445 Views)

Thanks guys.

 

Doug and Jiggawax,

 

This brings me to another question that has been on my mind:  I need to Create Custom Entry Point buttons on my Simple OI user interface.

What I want to do is the following:

* Create specific entry point buttons that point to and execute a subsequence within my main sequence file.  All of my subsequences that are being called in my main sequence are a certain type of test.  Can I use the command lines for this or is there a more efficient way to do this?

 

Thanks!

0 Kudos
Message 4 of 6
(4,419 Views)

Thanks Doug & Jigg

0 Kudos
Message 5 of 6
(4,403 Views)

See the following:

 

http://zone.ni.com/reference/en-XX/help/370052M-01/tsfundamentals/infotopics/startup_opt/

 

There are command line options to run a specific sequence in a specific file, so you should be able to do what you are asking.

 

If you don't want to launch a new process though, you want a button on the existing UI, it might be best to create a new process model execution entry point or your own custom code for running such a sequence.

 

Hope this helps,

-Doug

Message 6 of 6
(4,278 Views)