LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem with 2 COM ports working parallel

Hi,

I have an application with aquire data from two different data logger
via COM ports. COM 1 and COM 2 are opened at the same time and the
serial write and serial read functions are in two parallel while loops.
It works fine for a while. But after some time COM 1 did not send data
any more. If I stop my application and send an other request via hyper
terminal the COM port sends the old request from the last serial write
of labview. It seems that labview sends the data to the COM port, they
are stored in the send buffer but will not be send by the hardware.

I work with labview 5.1.1 and reproduced the problem with Win98/2k/XP.

Any suggestions?

Thanks, Niko
0 Kudos
Message 1 of 2
(2,452 Views)
Can you attach a copy of the portion where the COM port communication takes place?

Do you verify if there is (more) data at the port waiting to be read? or even a delay between sending the command and the expected response?

By seeing how you implemented the communication, we can better provide some ideas or solutions.

Regards,

JLV
Message 2 of 2
(2,452 Views)