Error Code -1073807253 When Using VISA Read Primary Software: LabVIEW Development Systems>>LabVIEW Full Development System Primary Software Version: 1.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem:
I am outputting a sequence of characters from a third party device every 160ms and reading it serially using a VISA read. The device will continuously output the data whether the program is on or off. However, I get a framing Error -1073807253 when reading. Why?
Solution:
The fact that the hardware is emitting data every 160ms whether or not the program is running is the reason for the error. The port is probably not configured by the time it receives the first character so it reads a buffer with invalid information. By putting a delay (approximately 10-100 ms) after the VISA Configure Serial Port you allow the serial port enough time to configure itself. Then, by using a VISA Flush I/O Buffer VI, you can clear any invalid data in the buffer. Reading after this sequence should work correctly.