NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Object reference - setting value of the referenced object

Solved!
Go to solution

Hello,

for compatibility reasons with an older version of a sequence i want to create a variable - let's say Locals.REF which would point to another object ORIG and would behave exactly as if it was ORIG - i.e. getting value of REF would give value of ORIG and setting value to REF would update ORIG.

Is that possible in Teststand?

Thank you!

0 Kudos
Message 1 of 2
(121 Views)
Solution
Accepted by topic author ravyh
05-24-2019 01:27 AM

... SetPropertyObject() with the PropOption_NotOwning is what i was looking for. PropOption_NotOwning creates an 'alias object'.

0 Kudos
Message 2 of 2
(93 Views)