NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Station Info using Batch Process Model

Solved!
Go to solution

Hi,

I have a test sequence that use a sequential process model and I grab station information using the following.

 

RunState.Root.Locals.StationInfo.StationID

RunState.Root.Locals.StationInfo.LoginName

 

I am creating a new test sequence which uses the batch process model - when I try to grab the Station Info data using the syntax above I get the following error 

 

Unknown variable or property name 'RunState.Root.Locals.StationInfo'.

 

Can some please advise if I am accessing the wrong area when using a batch process model?

Thanks & Regards,

Shane.

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

In the batch and parallel models you can access this information using:

 

RunState.Root.Parameters.ModelData.StationInfo

 

-Doug

Message 2 of 2
(3,537 Views)