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.