Sometimes when the operator opens an Ignition Client, the screen opens and timers begin and event handlers start prior to the connection with the PLC. So the operator receives the red error box stating “Write to failed. Timed Out.” After they click CLOSE, the client is fine because Ignition and the PLC are now communicating.
Is there a way (in code) to wait for the PLC connection to establish prior to executing any script? Most of my script code is IF/ELSE statements so I was hoping to just add another variable to the IF statement that would wait for the PLC connection.