NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

17306; Unknown variable or property name.

when I run the sequence, usually it's OK, but sometimes, it will rise up a error "Unknown variable or property name 'RunState.Root.Locals.UUT'." and I really can't find it in the Variables. 

carrie1993_0-1683526415148.png

 

0 Kudos
Message 1 of 2
(854 Views)

This can occur when you don't run with the proper process model.  This is why I hesitate to use RunState.Root in any of my expressions.  Seems like a bad idea.  

 

When you run TestStand without the process model this is called Interactive Execution.  You can read more about it here:https://www.ni.com/docs/en-US/bundle/teststand/page/interactive-executions.html

Running in interactive mode give you a different Root and therefore different variables at the root.

 

It looks like you are using a modified Batch Model based on your image.  Did you remove that variable?

 

Can  you describe where you are calling RunState.Root.Locals.UUT?  Is it in a callback?  Main Sequence.  Some other Sequence file?

 

Also, in your image can you expand Locals and do you see UUT?

 

Thanks,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 2
(831 Views)