01-10-2006 01:43 AM
01-10-2006 05:00 AM
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
01-12-2006 09:42 PM
Hi Ray Farmer,
My problem was solved. Thank you for your help.
Best Regards
Hork
10-10-2011 12:00 PM
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
10-11-2011 02:10 AM
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"
10-11-2011 10:35 AM
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.
10-11-2011 11:35 AM
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.
10-11-2011 02:52 PM
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
10-11-2011 03:29 PM
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:
10-11-2011 03:33 PM
Hmmm, can't seem to get the picture in...
So maybe Ray is right, I need to figure out how to do it in the API...