12-07-2011 05:49 AM
Hi All,
I have an application (LV 8.6) which communicates with and controls a device over RS232. The application has so far worked fine. Today I tried it on a newer computer but I keep getting "framing errors" (-1073807253) now when I run the application.
The strange thing is that I can communicate fine with the device via a terminal program (using putty since hyperterminal is no longer present on windows 7). Could it still be a hardware related issue? Why would putty be ok but visa struggle?
Any thoughts or suggestions most welcome!
Paul
12-08-2011 09:51 AM - edited 12-08-2011 09:56 AM
Hi Paul,
There are a couple of reasons Error -1073807253 can occur when making use of NI-VISA for serial communication.
KnowledgeBase Article - Error Code 1073807253 When Using VISA Read specifies that this issue could be occurring due to a misconfiguration of the port buffer causing trouble when performing a Read operation. This specifies that by forcing a small wait directly after setting up the buffer and then using the VISA Flush I/O VI to remove any malformed configurations that could exist in the buffer, a reliable channel of communication can be defined for your serial instrument.
I would also suggest ensuring that you have the latest version of NI-VISA installed.
Please let me know if the helps!
Kind Regards,
12-09-2011 03:39 AM
Most of the time framing errors are caused by wrong communication parameters. Double check the baudrate, number of data bits and parity.
Kees