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: 

com ports

I'm running labview 2014 and Device Driver 14.01 and am haveing a problem with the a com port, which is connected to a power supply through a usb to com port. 

After writing to it and few time the port locks up. The only way to recover is to reboot the computer.  I tried ending the labview process then connecting to the supply via hyperterminal

but it returns and error saying that another process has not released the port. I though that once I shut down labview it would release the port.

0 Kudos
Message 1 of 4
(3,250 Views)

Post your code.  A mechanic can't fix your car without you bringing the car to them.

0 Kudos
Message 2 of 4
(3,243 Views)

@cjp1 wrote:

I'm running labview 2014 and Device Driver 14.01 and am haveing a problem with the a com port, which is connected to a power supply through a usb to com port

After writing to it and few time the port locks up. The only way to recover is to reboot the computer.  I tried ending the labview process then connecting to the supply via hyperterminal

but it returns and error saying that another process has not released the port. I though that once I shut down labview it would release the port.


Is your USB com port a or claim to be a "Prolific" device?

 

Many many many of these adaptors have counterfeit chipsets in them and Prolific has updated the drivers to detect the counterfeit chips.

 

I ran into this a couple years ago with LV programs that would just stop working, no LV error message, no Windows error messages. I also had the exact symptom of the com port just not responding, Windows saying it is "in use" by some other program and only a reboot would make it work again, but not for long. I spent weeks trying to figure it out until someone told me about the counterfeit problem. I bought a PCI com port card and the problem instantly went away.

 

I suggest before you start troubleshooting code you try another USB adaptor that has the TDI chipset or an actual com port card if it's a desktop PC. 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 4
(3,223 Views)

Thanks, I'm having that exact problem I'll try different USB adapters. One of my USB Com ports is a Prolific.

0 Kudos
Message 4 of 4
(3,191 Views)