LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

serial VISA timeout

We are using a VISA serial read configured without a termination character. We are reading 84 bytes in 20 second intervals, with the timeout set to ~10ms. The goal is to read all 84 bytes, and use the time out to stop the read operation between the transmissions.

The timeout should effectively end the receive operation during the rest between transmission intervals, but this is not the case. The 84 byte message is being split into two or even three parts.

How excatly does the timout property operate? How can we configure the VISA to read all 84 bytes of the message together before reading the next message and exit only on the interval between messages? Thanks
0 Kudos
Message 1 of 2
(2,533 Views)
Did you confgure VISA to not use a termination character because the device does not send one or for some other reason? If the device does not send a termination character and it is constantly sending data, you have a synchronization issue that the timeout is not going to solve. You need to provide some more details on the instrument and how it works.
0 Kudos
Message 2 of 2
(2,525 Views)