From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Framing error on seriell port

Hi,


I am trying to read data from the seriell port. I doesn't know exactly
the correct setting for communication with the external device, but I
know, I use the correct baud rate.

My problem is, I get from the "Bytes atseriell port.vi" the error 4008h
(framing error). What is the meaning of this error? Any suggestions? I
read 2 bytes more from the port, then I should. This is independent from
the string length.

Regards
Ralf
0 Kudos
Message 1 of 4
(2,960 Views)
Ralf Kähler skrev i
meldingsnyheter:3933A000.939782CD@e-technik.uni-rostock.de...
> Hi,
>
>
> I am trying to read data from the seriell port. I doesn't know exactly
> the correct setting for communication with the external device, but I
> know, I use the correct baud rate.
>
> My problem is, I get from the "Bytes atseriell port.vi" the error 4008h
> (framing error). What is the meaning of this error? Any suggestions? I
> read 2 bytes more from the port, then I should. This is independent from
> the string length.
>
> Regards
> Ralf

Hi
Try to use 'Bytes At Serial Port.VI' and 'Serial Port Init.VI'.

Richard
0 Kudos
Message 2 of 4
(2,959 Views)
On Tue, 30 May 2000 13:03:28 +0200, Ralf =?iso-8859-1?Q?K=E4hler?=
wrote:
>I am trying to read data from the seriell port. I doesn't know exactly
>the correct setting for communication with the external device, but I
>know, I use the correct baud rate.
>
>My problem is, I get from the "Bytes atseriell port.vi" the error 4008h
>(framing error). What is the meaning of this error? Any suggestions? I
>read 2 bytes more from the port, then I should. This is independent from
>the string length.

You might try to experiment with different types of parity (and maybe
number of stop bits). Do the change of parity with the
'Serial Port Init.VI'

--
Rolf
0 Kudos
Message 3 of 4
(2,959 Views)
"Rolf Østvik" wrote:
>
> On Tue, 30 May 2000 13:03:28 +0200, Ralf =?iso-8859-1?Q?K=E4hler?=
> wrote:
> >I am trying to read data from the seriell port. I doesn't know exactly
> >the correct setting for communication with the external device, but I
> >know, I use the correct baud rate.
> >
> >My problem is, I get from the "Bytes atseriell port.vi" the error 4008h
> >(framing error). What is the meaning of this error? Any suggestions? I
> >read 2 bytes more from the port, then I should. This is independent from
> >the string length.
>
> You might try to experiment with different types of parity (and maybe
> number of stop bits). Do the change of parity with the
> 'Serial Port Init.VI'
>
> --
> Rolf

Thank's.
I tryed this and so
lved the problem. Another type of parity and 2 stop
bits, this was all.

Ralf
0 Kudos
Message 4 of 4
(2,959 Views)