NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get the high and low limits for a test step by Step Reference in LabVIEW?

I have a reference to a Teststand step, I know this step is a numeric limits test, how can I get the high and low limits? 

I need them for a custom report generator that I'm writing.
I'm using LabVIEW 8.0
I got the step via:   Sequence Context from teststand -> Sequence file property ->  Invoke GetSequence with a specific index -> Invoke GetStepByName with a specific step name
0 Kudos
Message 1 of 3
(3,198 Views)

Hi,

Use the step reference to get a PropertyObject reference using the Step.AsPropertyObject. With this PropertyObject reference you can then get the values of Limits.High and Limits.Low using the PropertyObject.GetValNumber() method.

Limits.High and Limits.Low will be the lookup string for the PropertyObject.GetValNumber() method.

Hope this helps

Regards

Ray Farmer

Regards
Ray Farmer
Message 2 of 3
(3,189 Views)
That solved my problems.  Thank you very much.
0 Kudos
Message 3 of 3
(3,168 Views)