NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

generating a new sequence using another sequence

Hi All,
 
I wish to generate a new sequence file from some external text file/XML file/seq file itself.... can I possibly do it???
 
0 Kudos
Message 1 of 7
(3,756 Views)

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

There are 10 types of people in the world that understand binary, those that do and those that don't.
0 Kudos
Message 2 of 7
(3,739 Views)
Hi,
 
""""""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 appropriate calls to the TestStand API to generate the sequence though.  """"""""
 
Can you please emphasize on this...
 
I am seeing for this API, as I want to create a sequence of my desire or atlease merge a couple of sequences programatically, outside the sequence editor.
 
Regards
Sreedhar.
0 Kudos
Message 3 of 7
(3,735 Views)

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

There are 10 types of people in the world that understand binary, those that do and those that don't.
0 Kudos
Message 4 of 7
(3,735 Views)

Hi,

That was very helpful. Thanks. But I dont think, they have provided a way to make a completely new sequence...

0 Kudos
Message 5 of 7
(3,731 Views)

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

There are 10 types of people in the world that understand binary, those that do and those that don't.
Message 6 of 7
(3,731 Views)
Hi Steves,
 
Thank you so much, I think this will help me a lot, let me go on the same lines and check if I am able to satisfy my requirement... Smiley Happy
 
Best Regards
Sreedhar.
0 Kudos
Message 7 of 7
(3,714 Views)