I get the error code -1073807298 when I try to connect to a TCP raw socket VISA resource, the weirdest thing is that I actually can read the result of the queries I make. I fixed the problem reading one byte at a time but this is very inefficient (it uses a while loop) and I still get warnings, so I'd like to know if there is a way to fix this or if there is an equivalent of the "Serial Settings: Number of Bytes at Serial Port" for VISA TCP connections....
This is the WARNING that I get when I read one byte at a time:
Warning 1073676294 occurred at VISA Read in LV.vi
Possible reason(s):
VISA: (Hex 0x3FFF0006) The number of bytes transferred is equal to the requested input count. More data might be available.
This is the ERROR that I get when I set the byte count to 1024:
Error -1073807298 occurred at VISA Read in LV.vi
Possible reason(s):
VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error.
I enclosed the VI for your review,
Thanx in advance for your help,