NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Set Step.Limits with ActiveX

Solved!
Go to solution

Hi,

I am working on developing a VI to create a TestStand sequence based on a given set of inputs from an excel file.

Through LabVIEW I have been able to create a new sequence file and insert a "LabVIEW Numeric Limit" test into the sequence (VI attached for adding new numeric step). I don't know how to take this further and set numeric limits "Step.Limits.Low" & "Step.Limits.High"

Appreciate if someone can let me know if/how this is possible.

Thanks & Regards,

Don1

 

PS: Please advise if I should have posted this on the LabVIEW board.

 

 

 

0 Kudos
Message 1 of 4
(3,095 Views)
Solution
Accepted by topic author ShaneDonn

Using the Step Reference change it to a PropertyObject reference (Step.AsPropertyObject), then you can change the default values using the PropertyObject.SetValNumber using the Lookup String for "Limits.Low" and "Limits.High".

 

 

 

Regards
Ray Farmer
0 Kudos
Message 2 of 4
(3,090 Views)

Hi Ray,

Thanks for the fast response - I tried your suggestion but can't seem to find "PropertyObject.SetValNumber" - I must be setting this up wrong?

Screenshot attached.

 

Thanks & Regards,

Don1

0 Kudos
Message 3 of 4
(3,083 Views)

Hi Ray,

I just found what I was doing wrong!

Thanks,

Don1

0 Kudos
Message 4 of 4
(3,080 Views)