03-13-2006 08:04 AM
03-14-2006 07:21 AM
What is the format of your text/XML?.seq file?
TestStand Sequences are ini type files in a format defined by NI and can be viewed using a text editor.
The functionality is provided within the TestStand API to create TestStand sequences outside of the sequence editor, from a file format of your choosing. You will have to parse your file and make the apprpriate calls to the TestStand API to generate the sequence though.
Are you looking to create a sequence on the fly from a file or is this a problem with your .seq file?
Steve
03-14-2006 07:43 AM
03-14-2006 07:50 AM
The TestStand API is very large, take a look at the link below for the API examples on the NI Website.
http://digital.ni.com/devzone/devzone.nsf/webcategories/0195DDBE3C3B6F0A862567B3006BED4E
Good luck
Steve
03-14-2006 08:15 AM
Hi,
That was very helpful. Thanks. But I dont think, they have provided a way to make a completely new sequence...
03-14-2006 08:48 AM - edited 03-14-2006 08:48 AM
I have created a TestStand sequence that creates another sequence and inserts and configures a Message popup step. Its not complete, but it does run (as long as you dont have a sequence of similar name loaded).
The sequence is saved as "C:\temp\Steves.seq"
My sequence makes calls to the TestStand API from within TestStand using the Automation Adapter but you can make similar calls from all of the other enviroments listed in the Adapters drop down.
Its really to give you a feel for the sort of things you need to do to create a sequence on the fly. NI should be able to give you some quality examples.
Regards
Steve
Message Edited by SercoSteve on 03-14-2006 08:50 AM
03-15-2006 03:39 AM