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?

How to automatically load a specified sequence file when opening a TestStand's user interface?
0 Kudos
Message 1 of 17
(5,717 Views)

Hi,

you can pass the pathname of the seuencefile(s) you wish to load as a argument to the OI exe file.

eg. seqedit.exe "c:\MySeq\seq1.seq"

See the Reference Manual Chatper 8 - Configuring Teststand for more information.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 17
(5,711 Views)

Hi Ray Farmer,

My problem was solved. Thank you for your help.

 

Best Regards

Hork

 

0 Kudos
Message 3 of 17
(5,677 Views)

I've tried to modify the SeqEdit.exe line and can not.  I see the post is from 2006, so let me tell you what I'm using.

I have Widows 7 &  TestStand 4.2 & LabVIEW 2010

 

I want to load several sequence files as TS starts up, so the user just selects one from a listbox and then runs them.

I'm using the Simple OI with modifications to the way the front panel looks.

 

I've read the Reference Manual Chapter 8, and it infers that \, -, and "" are ok to use, but Win7 doesn't allow me to append that to the file name.

What am I doing wrong?

 

Thanks

0 Kudos
Message 4 of 17
(5,175 Views)

Hi,

 

I have found that if you use quotes then it works in Windows 7 ie

"C:\Program Files\National Instruments\TestStand 4.2.1\Bin\SeqEdit.exe" "C:\MySequence.seq"

 

 

Regards
Ray Farmer
0 Kudos
Message 5 of 17
(5,159 Views)

Ray, thanks for taking the time to reply to me.  Last night I figured out why I don't get it.  I'm such a newb that I'm not sure where to enter the code: "C:\...\SeqEdit.exe" "Seq1.seq"

The command-line is generally a prompt but I'm using labview, and I don't know how to get to the prompt... I need just a little more or a lot more help in this area.

Once again, I'm using the TestStand simple UI block diagram with a new front panel.  I currently have all the same opperations as the simple UI and it works.  I need to modify the code so it populates a list box with available sequence files, the user can choose one, run it as many times as needed, choose another, run it...

 

I'm a new engineer, this is my first real LabView/TestStand Project.  I know it's not a great place to start out, but I've been assigned the project so I need to find a way to work it out.  I'm almost there with a couple exceptions.  I am signed up for the TestStand I & II seminars, but they aren't for another week and I can't just sit on my thumbs and wait.

 

Thank you so much for your help.

0 Kudos
Message 6 of 17
(5,148 Views)

Hi,

 

All I did was to create a shortcut on my desktop.

 

If you create a shortcut such as

"C:\Program Files\National Instruments\TestStand 4.2.1\UserInterfaces\Simple\LabVIEW\TestExec.exe" "C:\Sequence1.seq" "C\:Sequence2.seq".

 

When TestExec.exe is launched via this shortcut both of the sequencefiles are loaded with Sequence2.seq selected in the "Sequence Files:" control on the front panel of the Simple Operator Interface. The user can then select when sequence file to run via this control.

 

If you want to do something different then you will have to use the API methods/properties for the ApplicationManager.

 

 

Regards
Ray Farmer
0 Kudos
Message 7 of 17
(5,144 Views)

Hi,

 

The command prompt can be used from LabVIEW by going to palete: Connectivity>Libraries & Executables>System Exec or search for System Exec VI in the LabVIEW help and choose 'Find on the palette'.  Here is an example:

 

Thanks,
Jim

0 Kudos
Message 8 of 17
(5,137 Views)

Thanks, Ray

Thanks, Jim

 

I'm not having success with this yet. 

 

I'm sure we don't want to use a shortcut because of company procedure we want to have the ability to add test seq's to a file and have them available to the operators. 

 

Jim your method gives me an error, I'm going to try to add it in here:

 

 

0 Kudos
Message 9 of 17
(5,134 Views)

Hmmm, can't seem to get the picture in...

 

ErrorJimsWay.jpg

 

So maybe Ray is right, I need to figure out how to do it in the API...

0 Kudos
Message 10 of 17
(5,131 Views)