11-29-2012 04:02 AM
Hi all,
I have the following problem.
I want to synchronise my TestStand Sequence with my LabVIEW VI. At the beginning of my Sequence I start the VI async. Then I want to change the station globals in TestStand from LabVIEW (this is working). In TestStand I also have access to the StationGlobals, so I can lock them and LabVIEW cannot write anymore. Can I also Lock these variables from LabVIEW?
Anyone an idea how I can do this?
Thanks in adance!
Greets,
Walter
11-29-2012 08:22 AM
According to your image you are not actually locking the StationGlobals. You just have a lock called StationGlobals. It is not related to the actual StationGlobals in any way, shape or form.
As far as I'm aware the only way to prohibit something from writing to the StationGlobals is to change the flags for that variable. However, by changing the flags you wouldn't even be able to do it manually so this is a bad idea.
Maybe if you explain your situation a little more there may be a better solution.
Based on what you've said it seems you just want to share data between LV and TS and synchronize the code in each? This example may help:
http://forums.ni.com/t5/NI-TestStand/How-to-pass-sync-steps-from-TestStand-to-LabVIEW/td-p/35915
Regards,