Unable to control an I/NET DO object from a TGML graphic in HTML5, works in Workstation and Java based webstation
The data type may not be correct. The value should be written to PvControl as either a 0 or a 1. If this is set as a string data type, Workstation can correct for this error, but HTML5 is less forgiving.
- One line before the setValue command, enter the line " parseFloat(value)" - This will convert that value to float. If the value is a 0 or a 1, the setValue command will now correctly set the I/NET value.