Charmed Quark Systems, Ltd. - Support Forums and Community
Global Variables in the Event Server context - Printable Version

+- Charmed Quark Systems, Ltd. - Support Forums and Community (https://www.charmedquark.com/vb_forums)
+-- Forum: General Discussion (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=3)
+--- Forum: CQC Support (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=9)
+--- Thread: Global Variables in the Event Server context (/showthread.php?tid=11119)



Global Variables in the Event Server context - lleo - 05-16-2020

Do I understand correctly the the Event Server has a shared Global Variable context?

If so, Global Variables set in triggered events would be accessible in Event Monitors?

So how would I reference a GVar:MyVar in CML of an event monitor?


RE: Global Variables in the Event Server context - Dean Roddey - 05-16-2020

Can't access action variables from CML. They are really two different worlds. The action system can invoke a macro and pass it in values, but that's about it. If you wanted to share data there it would have to be via the variables driver. A nice thing about that of course is that the event monitor can just ask to monitor those fields and will immediately see changes.