Offsite Debugging and G3 Web Control Problem
TurnipTruck
Posts: 1,485
Greetings,
I have a remote site at which there is a Netlinx based control system. There is a G3 web control page that mimics one of the local AXT panels. If I open up the G3 panel online AND start debugging in Studio to watch some variables, a devchan group of buttons on the web control panel starts flashing somewhat randomly with nothing in the code to turn those buttons on, and I also lose some variable text buttons.
The only thing that stops this once it starts is to re-upload the code and the G3 panel design.
The only thing that comes to mind is that three DEFINE_COMBINEs exists in DEFINE_START combining the three devices used of two local AXT panels and the G3 web panel with a virtual panel, referred to in the code. I've heard of strage things occuring as a result of device combinig, but I can't see why in this case.
Any thoughts come to mind? If you need any more detail about the system, ask and I'll post it.
Thank you!!
I have a remote site at which there is a Netlinx based control system. There is a G3 web control page that mimics one of the local AXT panels. If I open up the G3 panel online AND start debugging in Studio to watch some variables, a devchan group of buttons on the web control panel starts flashing somewhat randomly with nothing in the code to turn those buttons on, and I also lose some variable text buttons.
The only thing that stops this once it starts is to re-upload the code and the G3 panel design.
The only thing that comes to mind is that three DEFINE_COMBINEs exists in DEFINE_START combining the three devices used of two local AXT panels and the G3 web panel with a virtual panel, referred to in the code. I've heard of strage things occuring as a result of device combinig, but I can't see why in this case.
Any thoughts come to mind? If you need any more detail about the system, ask and I'll post it.
Thank you!!
0
Comments
You could still just reference the virtual by combining it to the physical panel, but your online event would then have to break that combine, then combine all three. Likewise, the offline event would have to break the combine, then re-combine the physical panel. It would happen fast enough as to be transparent to the user.
Thank you.
Is there an "IF" statement for checking a device's online status?
Something like
IF <DEVICE IS ONLINE>
{
}
This would be helpful after an uncombine affects several devices.
Thanks.
You can use the DEVICE_ID to determine if a device is online:
--D