ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial Port problem

Help...

I'm not using VISA, just the serial port vi's and they've worked great
for a long time. It's a rather large app that's been working and
growing for years.

Anyway, has anyone ever had a problem where the receiver on COM1 closes
by itself, but the transmitter is still working just fine. I'm running
19.2K baud and have tried various buffer sizes. I recieve 20 byte
messages come every 15 miliseconds. I run for a few minutes and then
nothing. I've tried programatically re-initializing the comm port every
few minutes, but it has no affect once the receiver fails.

Any ideas?

Thanks,
Bill
0 Kudos
Message 1 of 2
(2,641 Views)
If nothing has changed in your application, maybe it's a hardware failure.
Try another serial port, or better yet, another machine. I think UARTS
may contain all the com ports and if one receiver is bad they may all
be.

Just a thought.

Alan Brause


"Bill Trump" wrote in message news:3B0DA1AC.71796B7D@digital.net...
> Help...
>
> I'm not using VISA, just the serial port vi's and they've worked great
> for a long time. It's a rather large app that's been working and
> growing for years.
>
> Anyway, has anyone ever had a problem where the receiver on COM1 closes
> by itself, but the transmitter is still working just fine. I'm running
> 19.2K baud and have tried various buffer sizes. I recieve 20 byte
> messages come every 15 miliseconds. I run fo
r a few minutes and then
> nothing. I've tried programatically re-initializing the comm port every
> few minutes, but it has no affect once the receiver fails.
>
> Any ideas?
>
> Thanks,
> Bill
0 Kudos
Message 2 of 2
(2,641 Views)