Hello,
This is my first attempt at using VISA to manage a TCP connection. For the most part it has been working really well. I can open the connection (direct connection from PC to PLC with crossover cable) and read and write. If I leave the connection idle for ~15seconds and then try to do a read or write, I get the error code -1073807298 which seems like a generic VISA I/O error. If I re-open the connection after receiving this error, I can read and write again.
I guess what I'm asking is if this is there is any way to avoid this error and if not, if I'm doing the right thing by capturing the error and re-opening the connection.
I'm using LV7.1 with VISA 4.2. My software is structured to open the connection upon start, (ideally) maintain that connection throughout the program, and then close the connection on exit.
Thank you for any information,
-jon