Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Timeout expired before operation completed (-1073807339)

I'm reading data from a QR code reader. I configured the player to be seen from my PC and labview as serial (COM). The reader is configured to append the sequence of CRLF characters to the end of the string - .
The reader obviously generates a string only when you actually read a QR-code.
I have the VISA READ block in a while loop, and it generates an error out which is timeout expired. If I don't use a shift register, or I use it but I also use a clean error before the visa read block, everything works.
How can I act ? I believe the problem is due to the fact that there is a timeout within which the visa read block expects to receive data, but the reader's data is generated only when the data is read.

0 Kudos
Message 1 of 2
(140 Views)

Hello,

 

This error occurs when NI-VISA expects to receive a message or response from a device, but that message is not received within the timeout period, or at all. This error is commonly caused by improper physical connection, incorrect communication settings, or using commands that the device does not recognize. This document will walk you through the process of troubleshooting each component of your system : Error -1073807339 Timeout Expired Before Operation Completed - NI

 

Another Reference : Set Up Communication with Serial Instruments in LabVIEW using NI-VISA - NI

 

Souha

0 Kudos
Message 2 of 2
(26 Views)