02-12-2015 03:44 PM
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.
02-12-2015 03:52 PM
Post your code. A mechanic can't fix your car without you bringing the car to them.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
02-12-2015 05:08 PM - edited 02-12-2015 05:10 PM
@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.
02-13-2015 06:05 AM
Thanks, I'm having that exact problem I'll try different USB adapters. One of my USB Com ports is a Prolific.