NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to automate template creation?

Is there a way to automate creating a template from a sequence file?  We provide templates to our customers and it can be very time consuming dragging each step onto the template, exporting it etc.

0 Kudos
Message 1 of 7
(3,882 Views)

Templates are stored in a file called Templates.ini.  All you really need to do is give them that file and have them replace theirs with yours.  The path is:

C:\Documents and Settings\All Users\Application Data\National Instruments\TestStand 4.1.1\Cfg

 

Or you can go to the <TestStand> directory and click on the Cfg folder.

 

Regards,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 7
(3,817 Views)

Thanks for the response.  However, I want to see if creating the template in the first place can be automated somehow.  Sending the .ini files is no issue.

I found this app note in developers zone: https://decibel.ni.com/content/docs/DOC-4793.  One runs the sequence and the test step gets inserted into the template pallet. This method didn't work for a LabVIEW step and it actually crashed TestStand, so I am looking for some similar ideas or methods that might work.

 

Thanks.

0 Kudos
Message 3 of 7
(3,814 Views)

That example worked perfectly for me with a LabVIEW step.  Do you have a lot of Properties set up for your step?  I just did a bare bones Action step with the default Action Template VI.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 4 of 7
(3,811 Views)

I have TS 4.1.1.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 5 of 7
(3,810 Views)

I use 2010 and originally the sequence has an error, it does not like the property "Root" in the expression, but it will run OK with the None adapter step.  Is there a good TS expression reference?  I know they change from version to version.

0 Kudos
Message 6 of 7
(3,807 Views)

It works for me in 2010 with the LV adapter.  I do get the error in the Analysis Results but it still runs fine.  The only error is saying that Root doesn't exist.  Which it doesn't until runtime.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 7 of 7
(3,762 Views)