NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Property Loader Database Plugin - Properties Versioning

Hello to all TestStanders

 

For my Testsequence I want to load the e.g. the Limits for a test from a database with the "Property Loader Database Plugin".

I could export the properties successfully to the database an implement the property Loader in my Testsequence.

 

Now i have the requirement to generate a new version for my properties (e.g. Limit change).

It should be possible to jump back to the old properties if something went wrong. 

 

So what I need is a Versioning of my properties:

PartA_Lim_V1.0.0
PartA_Lim_V1.0.1

PartA_Lim_V1.0.2

 

To Versioning my Properties I used the "Property Loader Groups" and created for a new version a new Group and exported them to the database:

python007_0-1690457511478.png

On the Property Loader I added Preconditions to determine which Group should be loaded (In the local "properties_version" is the Version to used stored eg. "1.0.0":

"$(GroupName)" == RunState.Root.Locals.UUT.PartNumber + "_V_"+ RunState.Sequence.Locals.properties_version

 

This solution seems to work but I'm not sure how maintainable it is.

 

I'm new to TestStand and not sure if I use the Property Loader like it should be used.

 

I'm Interested what you think about my solution and how you implement something similar?

 

Best regards

Pascal

0 Kudos
Message 1 of 2
(779 Views)

Hi all, nobody has the same or a similar requirement?

 

Best regards

0 Kudos
Message 2 of 2
(709 Views)