NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Property Loader and then Save File

I have an application where I'm programmatically building my sequence file from a spec document.  I generate a CSV that has all of my properties, and build a dummy sequence from template functions.  I can import the properties to this file using Import/Export, save the file, and then run the rest of my generator sequence, but I need to automate the whole process.

 

I am able to use the property loader step from the sequence that I'm actually generating and the parameters are loaded without a problem.  I attempted to move this into my sequence that builds that sequence, and it didn't work.  I GetSequenceFileEX before loading to make sure it's open, perform the load, and then Save the sequence file and ReleaseSequenceFileEX, but it's not doing anything.  Is what I'm trying to do possible, and if so, what am I doing wrong?

 

Thanks,

Bryan

0 Kudos
Message 1 of 2
(2,916 Views)

Hi Bryan,

First let me make sure I understand your situation.  It sounds like you've already built the sequence that can programmatically build a sequence of template functions then populate using a Property Loader step in the generated sequence.  You are hoping to remove that Property Loader from the generated sequence and instead have the generating sequence load the properties and embed them as defaults in the generated sequence.  This way you would avoid having to run the Property Load step every time you ran this sequence.  Is this correct?

Assuming it is, I believe this exceeds the capabilities of the Property Loader functionality.  It isn't designed to "push" properties to another sequence.  Therefore your options are to either stick with the Property Loader step at the beginning of your generated sequence or implement the parsing and assigning of the CSV to manually populate the template steps.

Please post back if I misunderstood you or you have additional questions.



0 Kudos
Message 2 of 2
(2,895 Views)