Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

what is meant by frame error (0xBFFF006B)

while working with serial port using VISA functions i get an error message indicating frame error has occured. what it meant? what i have to do inoder to work properly with VISA so that no errors occur
0 Kudos
Message 1 of 4
(4,009 Views)
ff32,

a framing error almost ever indicates baud rate problems. Basically it means that the single bits inside a data word do not all occure when they should; the do not fit into their timing frame. This is often caused by one of the systems not running on _that_ clock frequency that was assumed. Often with some µC-driven devices. You may try with another baud rate. If you have access to an oscilloscope you may estimate the clock frequency of the system or the effective baud rate (by sending 0x55 repeatedly). It might as well help to use shorter data word sizes, if possibel.

Maybe even another serial port could help?!
Greetings from Germany!
--
Uwe
Message 2 of 4
(4,008 Views)

Hi Uwe,

     I have right now the same framing error problem. But it is very curious because my communication works very good during some time, I trnasmit and receive commands without problems and sometime in the middle of the process the data that should be sent it, it is not sent and then appears my framing error (0xBFFF006B). Do you can imagine why? It's even more weird, because if after the VI has given me the error and it has stopped I run the VI again and it works. I can even run it continously and work perfect! Some idea?

Vielen dank!

Angel

0 Kudos
Message 3 of 4
(3,968 Views)
It works! I was communicating with a uC that was not possible to empty the buffer. This why after some time it gave the frame error. Now during the time that I don't need the sent data I read it anyway, problem solved!
0 Kudos
Message 4 of 4
(3,956 Views)