NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Loading limits from a configuration file

I've using the "Action, GetPrivateProfileStringA (kernel32.dll)" to read a key from a section in a configuration file. In my little example this is the high limit in the measurement. The high limit is a local variable in TS. I've tried to make a numeric limit test, but I'm not able to copy the value into the "step.limit.high" value in TS. Any proposal?

rgd
Oddbjorn
0 Kudos
Message 1 of 2
(2,840 Views)
Norway -
I added a numeric limit step below your MessagePopup, and set the preexpression for the step to "Step.Limits.High = Locals.returnedString", and the step uses the new limit when executed.

Hope this helps...

Scott Richardson
Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 2
(2,840 Views)