12-15-2022 09:53 AM
Hello!
I just want to verify if this is expected: when using VISA Read with eight bytes while the message coming in only has six bytes it causes a timeout and an error (VI_ERROR_ABORT). I can see in the IO Trace that the six-byte message is received, but it's not returned via the output of VISA Read.
Normal?
12-15-2022 10:51 AM
@MaSta wrote:
Hello!
I just want to verify if this is expected: when using VISA Read with eight bytes while the message coming in only has six bytes it causes a timeout and an error (VI_ERROR_ABORT). I can see in the IO Trace that the six-byte message is received, but it's not returned via the output of VISA Read.
Normal?
Yes, when VISA returns an error it won't remove the data from the incoming buffer. The data is still there and you should be able to read it with a properly configured VISA Read.