LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS-232 problems

I Am sending commands to a instrument wich then sending me a continously stream
of data. There should be at lest 20Kbytes.
I only receive 1024bytes. I use the "serial port read.vi" and ask for 5000
bytes. The speed are 9600 baud and the settings at the PC and instrument
are correct. The receive/transmitt -buffer in the control panel are both
high. When I use hyperterminal I get all the data. What could be the problem?
In advance! Thanks for a tips.
0 Kudos
Message 1 of 2
(2,740 Views)
On 11 May 2000 08:30:19 -0500, "Tor Ivan Karlsen"
wrote:

>
>I Am sending commands to a instrument wich then sending me a continously stream
>of data. There should be at lest 20Kbytes.
>I only receive 1024bytes. I use the "serial port read.vi" and ask for 5000
>bytes. The speed are 9600 baud and the settings at the PC and instrument
>are correct. The receive/transmitt -buffer in the control panel are both
>high. When I use hyperterminal I get all the data. What could be the problem?
> In advance! Thanks for a tips.

Do you use the get number of bytes vi? and one thing I found out was
to put a delay in the receive section otherwise this can make your
machine run so slow its like its shut down.

I wait for 500 bytes then read the buffer process i
t and come back
and get another 500 bytes and my serial port is running at 19.2k

Hope I helped in some way.

Regards,

Steve Drake
0 Kudos
Message 2 of 2
(2,740 Views)