NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

can we add custom steps by default in startup,main and cleanup sequence

I have made some of the custom steps which i want by default to be included in start up,main and clean up sequence when ever i press for a new sequence. I am using teststand4.0.Cna any help mein this regard.
0 Kudos
Message 1 of 6
(3,517 Views)

Hi,

 

I think the only way you are going to do that is to create a tool that adds the sequence to your open sequence file, adds the step types into the three groups.

 

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 6
(3,515 Views)

Hello kpraveen,

 

Ray is correct in that you would need to create a Sequence File that loads a new sequence file into memory, then adds the specified step to the setup, main, and cleanup step groups of the new sequence files main sequence, and finally loads the new sequence file into the Sequence Editor. I've gone ahead and put together an example sequence that implements this. This example sequence places a Message Popup step in the setup, main, and cleanup step groups of a new sequence file (name will be "<no path>") loaded into the Sequence Editor. Once you've modified this sequence to load your custom steps, it is up to you where you place it for use in the toolbar. 

 

As Ray suggested, I believe the Tools Menu would be the best place to have this feature since the Tools menu is not process model dependent. To add this option to the Tools Menu:

 

1. Go to Tools»Customize.

2. In the Items Text field select where you want to place this option in the Tools Menu list and click Add.

3. In the Add Tools Menu Item window, select Sequence as the Item Type from the drop down menu.

4. Browse to New Custom Sequence File.seq in the Sequence File field then select Main Sequence in the Sequence field.

5. Click OK to exit the Add Tools Menu Item window.

6. In the Customize Tools Menu window, change the name of your Tools option in the Item Text Expression field. For example I changed the Item Text Expression field to "New Custom Sequence File". 

6. Click OK to exit the Customize Tools Menu window.

7. Now if you go to Tools, you should see the New Custom Sequence File option and once clicked, it should load a new sequence file with your specified steps in the Setup, Main, and Cleanup step groups.

 

This should get you on your way kpraveen. Good luck! 

Manooch H.
National Instruments
Message 3 of 6
(3,492 Views)
Thank you very much Ray and Manooch_H. The procedure explained by you two did really help me alot .
0 Kudos
Message 4 of 6
(3,475 Views)
Another option is to create a template sequence and use the Templates List in the Insertion Palette Pane to insert new sequences.
0 Kudos
Message 5 of 6
(3,467 Views)

Hi,

 

Was the template list added in 4.0 or 4.1?

 

Anyway, that's a quick and easy solution.

 

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 6 of 6
(3,456 Views)