NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing a local from SequentialModel into own sequence?

Hello!

 

I have a local container which includes a string variable in Test UUTs sequence of SeuquentialModel.Seq. I need to pass that string into ->own.seq->MainSequence->ownSubSequence->ownLV.vi control. How to do that? How can I address it in my LV's Parameter's Value field?

 

BR,

Jick

0 Kudos
Message 1 of 4
(3,171 Views)

The easiest thing to do would be to access it as Root.Locals.myvar.

 

-Doug

Message 2 of 4
(3,155 Views)

Do you mean RunState.Root.Locals.UUT.SerialNumber ?

 

My variable in SequentialModel.seq is Locals.UUT.SerialNumber.

 

Jick

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

Yes that would be correct.

Or you could use:

RunState.Caller.Locals.UUT.SerialNumber


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 4 of 4
(3,126 Views)