03-24-2015 02:21 AM - edited 03-24-2015 02:21 AM
Is it possible to set/save value of locals in Teststand from LabView at the development, so i dont have to write the value in the variables pane? I can do this at programmatically at runtime with SetProperty, but i want to set them in the development with a VI.
Thanks
I use LabViwe 2012 SP1 32bit and Teststand 2012 SP1
Solved! Go to Solution.
03-24-2015 07:22 AM
You do the same thing as you would in an application. Just run the VI in the sequence you want the locals to be written to. You could tell all of the other steps to skip when you do this.
03-24-2015 08:24 AM
Rokot,
Do you want the values to be stored to disk? Or do you just want to change them during run time?
Regards,
03-25-2015 02:48 AM
In runtime it works, but i want to set the value before when i develop the testsequence.
For example: There is a testseqauence with a Local.localnumber I want to set with a vi and change the values to 10.
If I run the sequence, the value changes to 10 but after the sequnce is over it changes to the default value of 2. Is it possible to change the value durable?
03-25-2015 10:23 AM - edited 03-25-2015 10:25 AM
You have to acess the SequenceFile Locals and then save it to disk. I've attached an image as well as my code.
Regards,
03-26-2015 01:47 AM
Good idea, it should fit.