LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial port with flow control

Hello!

I have strange problem. I use Labview 6.0.1 and winXP.
I've made a wireless modem wchich uses RS232 (USB <-> serial converter
with FTDI232BM chip). Hardware works fine. I've tested It with Windows
Hyperterminal. The modem uses an CTS signal to stop the transmission from
PC.
In Labview this flow control doesn't work properly but only at the first
time
after closing COM port. After the first writing, next one works good, very
good.

What can be the cause of it?


(I don't know if You understand (my language is very poor)

Best regards


0 Kudos
Message 1 of 3
(3,185 Views)
Hi Krysztof,

Are you sure you're setting the Hardware flow control for the serial port? Could you possibly post a screenshot of your LabVIEW code where you set up your serial port?

Just to clarify, it doesn't work the first time. Then you close the port and open it again and it works fine?

A spy capture may come in handy. Open NI-Spy and start a capture before you run your application. Once you've run the application a couple of times, then stop the capture and save the .spy file. Send that along with the screenshot of your code.

Thanks!
Matt S.

LabVIEW Integration Engineer with experience in LabVIEW Real-Time, LabVIEW FPGA, DAQ, Machine Vision, as well as C/C++. CLAD, working on CLD and CLA.
0 Kudos
Message 2 of 3
(3,162 Views)

Uzytkownik "Matt_S." <x@no.email> napisal w wiadomosci
news:1145299208611-352958@exchange.ni.com...
> Are you sure you're setting the Hardware flow control for the serial
> ...
> Thanks!
> Matt S.

The problem was in Timeout setting for serial port.

Thanks for reply!



0 Kudos
Message 3 of 3
(3,146 Views)