02-18-2022 02:54 PM
Hello,
I'm trying to access the value of an Station Global depending on the value from a Local variable that will populate at runtime.
Eg. Instead of pointing to my Station Global in the following way: StationGlobals.Instrument1.Test
I want to use the value from a Local variable (Locals.Instrument) that will populate with the values 'Instrument1', Instrument2' or 'Instrument3' depending on the test.
Something like this:
StationGlobals.'Locals.Instrument'.Test
Is that something possible?
I hope my explanation is clear.
Thank you.
Solved! Go to Solution.
02-20-2022 07:27 AM
You can do it in many ways. See attached example.
02-21-2022 08:29 AM
I really appreciate your help!