From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(1,753 Views)
Solution
Accepted by topic author ravyh

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

0 Kudos
Message 2 of 2
(1,725 Views)