Is it possible to programmatically create a Teststand Sequence using Labiview ?
I am trying to generate a Sequence file in Labview by using a generic sequence structure and importing some data from a spread sheet to populate the new sequence name, arguements ...etc. The newly created sequence shall be identical to the generic one, but it will have a different set of hardcoded parameters.
Thanks in advance,
Thanks for the quick response. I just wanted to add more specific information to explain what I am trying to do.
1- The VI shall create a copy of a generic sequence file with several subsequences and save it with a new name
2- The VI shall iterate through a spreadsheet to gather data ( I already have this step done)
3- Looping through the spreadsheet data, the VI shall make an exact copy of a specific sequence in the sequence file with a new name, appending it in the same parent sequence, then setting some variables to the values of the spreadsheet
4- The VI shall save the newly created sequence file
5- All these steps shall be done in the background of the VI while a progress bar is updating
Here are some starting examples:
Using TestStand API to Create a New Custom Sequence File - This example creates a sequence file from within another sequence. Though this is not your exact situation, the API commands used in this example would map to the ones you will you from LabVIEW.
Programmatically Create TestStand Sequence File - This example uses a LabVIEW VI to create a sequence file with the TestStand API. This may be closer to what you want to do.
Hopefully these will give you a good starting point.