NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I use property limit loader to load different value for each step?

Hi,

No problem.

Ray.
Regards
Ray Farmer
0 Kudos
Message 11 of 15
(1,406 Views)


@trout00 wrote:
my first step has measurement[0].limit.hi = 1000 and low = 900 also measurement[1].limit.hi = 5 & low =0
my second step has 4 measurements with different limits from the first step.
How do I set up the export feature to export the limits? and then import back. I took the class with Elaine, but did not ask this Q?



Hi,
I have a doubt, but a bit different than what was discussed above. In my example, I need to set a bunch of parameters before I execute a CAN/CCP measurement. I use Globals to set these parameters as they're set in various other loops running in parallel to the current one. I use a single line "Statement" that sets these parameters. Now, the Property Loader sets/reads values only if they're either Pass/Fail, Numeric Limits or String value tests. How can I use the property loader to simply set the values during run-time at a particular step?

Thanks,
Anshul
0 Kudos
Message 12 of 15
(1,405 Views)
Hi jainanshul,

You can use the property loader to set variables in the StationGlobals, FileGlobals and Locals as well as the Step Limit properties.

The User manual for TS2.0.x page 10-28 and 18-65 has some details for you.
(For TS3.0 see D-5.)

Hope this helps.
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 13 of 15
(1,404 Views)
Hi,

I have attached the previously attached limits.txt file which now has a string property to load in the StationGlobals to give you the idea.

You would have to setup the propertyloader step to load the StationGlobals.ResourceName from the Text file.

You can also make use of the Import/Export tool to help create your file.

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 14 of 15
(1,401 Views)
Hi Ray,

Thanks a lot for providing the solution! I got exactly what I needed...and works like a charm!

Regards,
Anshul
0 Kudos
Message 15 of 15
(1,398 Views)