Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

when data receiving from serial port, a framming error occured

hai, i am deepak from Ernakulam,Kerala.Now my work is based on LabVIEW.A decimal data is contiuesly acquired from a hardware using LabVIEW.But one Framming error occured.How can avoid this problem? I am waiting for your reply... thank you
0 Kudos
Message 1 of 3
(3,505 Views)
This depends on the nature of the framing error.
Is your wire correct, Are the line voltages OK. etc.
If it is noise on the line or a hickup in your system, you can retry but most of the time it is a wrong setting on one of the ends of the line.
greetings from the Netherlands
0 Kudos
Message 2 of 3
(3,500 Views)
Typically when I get framing errors, it is because I haven't allowed enough time for the serial port either 1)before the first write command, 2)between a set of read and write commands.  Insert an initial, one-time use (not neccessary to loop it) Serial Wait command directly after your Serial Config vi runs, but before your acquisition looping starts.  If that doesn't work, double-check the wait times between successive write and read commands being sent. 

And again, this isn't definitely the solution to your problem, but when I get framing errors this is typically the problem.

Good luck.
0 Kudos
Message 3 of 3
(3,434 Views)