2) Memory tags are visible to both client and gateway runspaces.
3) system.util.sendMessage looks to be helpful.
... but where do I obtain all clientSessionIds?
Questions:
When does the script manager re-initialize?
Can someone provide an example of a coroutine (not threading)?
Are memory tags shared between multiple instance of the same project?
Are gateway global variables shared between multiple instances of the same project?
I see that memory tags can be typed to some simple Java types, a dataset, or a UDT.
Can an instance of a Python object be held in a memory tag? If so, how?
What kinds of serialization schemes are available to move data from client to gateway memory space?
Are there plans to upgrade Python to a newer version? If so, when?
Memory tags and global variables are both defined in the gateway, and there is only one "instance" of each project ever running on the gateway.
I think you can write any object you want to a tag, though the designer likely won't display anything meaningful for its value if you're looking at it.
I'm not sure what you mean, but using the client messaging would be an acceptable way to transfer data from client to gateway. You can also write to tags or execute database queries...
We'll be upgrading to Jython 2.7 either in 7.9 or the release immediately following it.
[quote=“cmisztur2”][quote=“Kevin.Herron”][quote=“cmisztur2”]Thank you!
What does this scenario look like if I have one project for 5 different machine cells and each cell needs their own instance of the project?
[/quote][/quote][/quote]
Tags exist as part of the gateway, independent of whether any projects exist or not.
You need to design your project or projects with that in mind.
In this case, you could have one project that had maybe a screen for each machine cell, and some configuration or indirection dictated which tags the screen actually referenced, or (less ideally) 5 separate projects that were all slightly different in some way.
Tags exist as part of the gateway, independent of whether any projects exist or not.
You need to design your project or projects with that in mind.
In this case, you could have one project that had maybe a screen for each machine cell, and some configuration or indirection dictated which tags the screen actually referenced, or (less ideally) 5 separate projects that were all slightly different in some way.[/quote]
Understood. That gives meaning to UDTs and Templates.