05-08-2023 01:14 AM
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.
05-08-2023
09:49 AM
- last edited on
11-01-2024
04:41 PM
by
Content Cleaner
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,