NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how to create a local object reference variable in teststand sequence file programatically using C#

I want to create a local object reference variable in a TestStand sequence file programatically using C#.
0 Kudos
Message 1 of 3
(5,357 Views)

Hi,

 

To create a variable you need to do this: 

SequenceContext.AsPropertyObject().NewSubProperty(....)

 

AND take a look on TS-Help for this function to get help for the parameters

 

Hope this helps

 

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 2 of 3
(5,335 Views)

Hi,

 

Accoring to your reply in this Thread

http://forums.ni.com/ni/board/message?board.id=330&thread.id=26984

 

Just try this example. There you will create a numeric variable during excuting a sequence!

Hope this is what you are looking for. 

 

Please attach all your questions here.

 

 

juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 3 of 3
(5,315 Views)