NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Using the SequenceBuilderTool, how do I add SETUP and CLEANUP modules

I am using the Sequence Builder Tool to generate a sequence from exisitng sequences.  I can create a new sequence from the checked steps, but cannot add the SETUP, CLEANUP, Locals from the selected sequence. How do I add the SETUP,CLEANUP and Locals using the Sequence Builder Tool?
0 Kudos
Message 1 of 7
(4,311 Views)

hi joebae,

In the SequenceBuilderTool, the step that inserts the cloned step, always inserts into the step group Main.

You will have to change this step so that the parameter for the Step Group of Sequence.InsertStep (Reference, Index, Step Group) is user defineable, which you can obtain from your ini file.

Hope this helps

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 7
(4,296 Views)

Hi Ray,

even if it is an older question, let me ask this:

unfortunately I can't solve this matter. I opened the SequenceBuilder to try to modify but I don't know where add or modify the step you suggest.

Then I would like to ask this:

The file ".ini" gives something like:

"Step One"

"Step Two"

etc.

I would like to do something like this:

"Step One,3,123,FFFF,ON"

"Step Two,4,ON,OFF,OFF,ON"

Where the number after the "Step xxx," is the number of parameter of the cloned step. Into the first step is 3 and the params of the step are "123", "FFFF", and "ON"

I hope you may give me some answer if it is possible with an example. There is a week I'm trying without success!!!

 

Thanks

José Luis

0 Kudos
Message 3 of 7
(4,079 Views)
Hi José Luis,
 
Just seen your post late in the day, but I'll prompt you for some additional information.
 
The example sampled in the teststand examples folder works on cloning steps from a template sequence file and inserting the cloned steps into your new sequence file.
As such the steps in the template as no parameters other than the Results container because they use the None Adapter.
 
Therefore you would need a step that contains some extra properties to acts as your parameters to the step. You would have to create some custom step types if you were using the None Adapter.
So I am assuming that you are using one of the other adapters so that you have a Code Module specified for the Step and therefore as an argument list.
 
Let me know which step type you are using and I'll generate an example to help you.
 
Regards
Ray
Regards
Ray Farmer
0 Kudos
Message 4 of 7
(4,070 Views)
Hi Ray,
In fact, as you say, I defined custom step library, here attached, to perform this job.
 
I believe that the type step "Read_Message" could be a right example of what I havo to manage. This uses as module a sequence "Read_Message.seq" with a serie of parameters.
 
The seq "Language_03" should be my library at run time.
 
I believe that in the same way I have to add params (like the "IsAbort" boolean) to the seq. file I'm cloning. Is it true?
 
Thanks in advance Ray.
 
José Luis
Download All
0 Kudos
Message 5 of 7
(4,057 Views)
 
 
 

Hey José,

I wanted to add a screen shot that shows where the StepGroup parameter is located in the Sequence Builder.seq example (Examples » SequenceBuilderTool » LabVIEW).  This parameter determines in which step group the new step is created.  Also, for your custom INI file, you could have TestStand parse your INI file with the find(...) and mid(...) functions.  You can find more information about them here.  After you parse the INI file, you could add these parameters to your new steps.  I hope this helps!

 





Message Edited by JettR on 01-28-2008 06:55 PM

Best Regards,
Software Engineer
Jett R
0 Kudos
Message 6 of 7
(3,999 Views)
José Luis,
 
I not quite sure what the purposea are of the two sequence file. Clearly there are not your modified builder sequence file but is one surpose to be the template and the other the built sequence file.
 
Regards
Ray
Regards
Ray Farmer
0 Kudos
Message 7 of 7
(3,988 Views)