M2M passing variable information
mschardt
Posts: 7
Does anyone out there know if you can retrieve a variable from one master to another. Currently I am monitoring the status of devices by looking at button states from a central controller.
This is fine for most things but I am wanting to also report projector lamp information as well. I can do this by putting the putting the text into a button in the individual rooms, then reading that text from the TP device. But it seems like it ought to be possible to look at information directly from the variables on the master...
Any thoughts are much appreciated...
This is fine for most things but I am wanting to also report projector lamp information as well. I can do this by putting the putting the text into a button in the individual rooms, then reading that text from the TP device. But it seems like it ought to be possible to look at information directly from the variables on the master...
Any thoughts are much appreciated...
0
Comments
What I'd do is create my own protocol to speak back and forth and pass the value from one virtual device to another.
Here's how I'd organize it.
Main master sends command to sub-master
then over in the submaster's program
then back over in the main master's program...
You could also send levels back and forth if the value is not ever going to be above or below the range of the level. Using Levels tends to generate less code.
I'll try this out and see if it works.
I am experiencing a communications problem with one of my Controllers. I am able to create button pushes using the DO_PUSH function. But for some reason, I am not able to get the button state for those buttons.
In other words, in the DEFINE_PROGRAM sections I have my central Master periodically check the state of buttons on other systems with a comparason such as:
Local TP Remote TP
[dvTPA_CLASSROOMS,101] = [dvTP_AUD_XAP,5]
This works in all all 12 systems except for one. Does anyone have any recomendations (ie. settings to double check)
Much apreciated,
-Matt