The socket is not closed and the EnvisaLink web page still says TPI connection is ONLINE.
Here's some output from my application:
Code: Select all
EnvisaLinkMessage [command=505, data=3, checksum=CD]
Sent: 005user54
EnvisaLinkMessage [command=500, data=005, checksum=2A]
EnvisaLinkMessage [command=505, data=1, checksum=CB]
Sent: 00090
EnvisaLinkMessage [command=500, data=000, checksum=25]
Sent: 00090
EnvisaLinkMessage [command=500, data=000, checksum=25]
Sent: 00090
EnvisaLinkMessage [command=500, data=000, checksum=25]
Sent: 00090
EnvisaLinkMessage [command=500, data=000, checksum=25]
Sent: 00090
EnvisaLinkMessage [command=500, data=000, checksum=25]
Sent: 00090
Sent: 00090
Sent: 00090
Sent: 00090