Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

framing error when trying to read large amount of data. (between 2-pc)

i've got  framing error when trying to read large amount of data. And setting the buffer size didn't help me. any suggestions ?

0 Kudos
Message 1 of 7
(3,901 Views)
A framing error usually means a mismatch in com settings.

What do you mean by large amount of data?
0 Kudos
Message 2 of 7
(3,898 Views)

Am sure that the com settings are matched, I mean data larger than 4096 byte (the default value of FIFO buffer). 

0 Kudos
Message 3 of 7
(3,893 Views)
At what baud rate? Can you break it into smaller packets? Are you doing any handshaking? Over what distance? Are you using USB converters?

Why are you even doing this over RS232? Using ethermet is so much faster and more robust.
0 Kudos
Message 4 of 7
(3,881 Views)

At 115200. no i can't , no handshaking, over 1 m, yes .
it's my 2'nd step to use ethermet. but, now i want to do it using RS232 . thanks 4 ur reply

0 Kudos
Message 5 of 7
(3,828 Views)

Slow it down, use handshaking, and make sure you have a very good, shielded cable.

0 Kudos
Message 6 of 7
(3,823 Views)

I rarely trust USB to Serial adapters.  Just haven't had any luck with them.  If you plan to go to ethernet anyways, just do it now.  TCP/IP is faster, can travel farther, and is a lot more expandable.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 7 of 7
(3,815 Views)