Am I missing something?
The Execute piston runs a piston that changes the global variable @@Pad_Artist_Title.
But the piston log says the global variable did not change.
Sample of called piston....
Am I missing something?
Sample of called piston....
Webcore will not be able to get the new value of a Global variable until the next run of the caller piston. This is actually a warning given by Webcore, and it is a pain because I always wanted to be able to call a piston, have it set a global variable, and then use the result in the caller piston by getting the new global variable value, as if it was a return value from a called method.
I had luck with making the Hub variable a connector, and instead of using the @@global, you just set it using the connector device as a device shared with Webcore. After you set the connector device variable attribute, you can then go back and get the new device attribute in the connector device. Usually that is just a "variable" attribute, unless you specify motion or something specific when setting up the connector.
In the back of my mind, I knew this. I just could not find it in my search. Thanks.