10-27-2011 12:59 PM
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.
10-27-2011 02:23 PM
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,
10-27-2011 02:33 PM
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.
10-27-2011 02:45 PM
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.
10-27-2011 02:45 PM
I have TS 4.1.1.
10-27-2011 03:01 PM
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.
10-31-2011 08:14 AM
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.