NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Build a test sequence from a script

Hello all,

 

I want TestStand to build a sequence based on a pseudo code script. For example, the script would look like:

Power on

Voltage1 12

Voltage2 24

Circuit1 Short2Batt

Circuit1 Open

Circuit1 Normal

Power off

 

I want TestStand to build a sequence that would call some pre-build sub-sequences based on the script.

I know this is possible, but I have no idea where to begin to look.

 

Thanks,

Chase

0 Kudos
Message 1 of 5
(4,532 Views)

The <TestStand Examples> folder has at least one example of how to generate sequences. SequenceBuilderTool jumps out at me but I think there's a couple others demonstrating various sequence file translators (text, CSV, and so on).

0 Kudos
Message 2 of 5
(4,522 Views)

Hi Bladhart,

 

I did a similar stuff http://ftp.ni.com/pub/branches/germany/vipdays_09_sessions/Automotive_5_Automatische_Dodek.pdf.

My script was done in XML. For creating the SequenceFile i have used the TS-API.

 

My Maybe this threads could be interresting for you. They will show how to use these API Calls in Teststand itself. 

 

On this Thread there is an example with Labview Adpater

http://forums.ni.com/t5/NI-TestStand/Create-a-LabV​IEW-Step-dynamically/m-p/977348#M25792

 

On this here with SequenceCall Adapter

http://forums.ni.com/t5/NI-TestStand/Insert-SubSeq​uence-Call-Step-using-TS-API/m-p/628857#M17591

 

Hope this helps

 

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 3 of 5
(4,476 Views)

@j_dodek wrote:

Hi Bladhart,

 

I did a similar stuff http://ftp.ni.com/pub/branches/germany/vipdays_09_sessions/Automotive_5_Automatische_Dodek.pdf.

My script was done in XML. For creating the SequenceFile i have used the TS-API.

 

 

Hope this helps

 

Juergen


 

Hi Juergen,

 

Is there an English version of this, it looked interesting

 

 

 

Regards
Ray Farmer
0 Kudos
Message 4 of 5
(4,474 Views)

Hi Ray,

 

I am sorry, this is only available in german.

 

Regards

 

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 5 of 5
(4,471 Views)