LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-Serial

1, Windows Boot with USB-Serial converter Plug in,this serial port does not work.In MAX->Devices And Interfaces, see a yellow ! mark on that com port.
After plug out and Re-plug in the converter,this com port work.why?
2, When use normal com port run my labview program, when someone unplug the cable,my program indicate lose COM,after plug cable in,the program continuous run.
But if use USB-Serial Converter,If Unplug it,the program dead. How to do a VISA Com driver can continu under this? Thank you very much
0 Kudos
Message 1 of 4
(3,236 Views)
A couple of questions and an answer:

1) Is this a NI USB-Serial convertor?

2) Are you unplugging the USB-Serial convertor or the serial cable attached to it? If you remove the convertor you are yanking a COM port out from under LabVIEW and this results in an unhappy application. I do not know of a way to fix this.

If you're simply disconnecting the serial cable, the USB-Serial convertor should behave exactly like the build-in COM port. Which gets back to my 1st question (brand of your convertor?)
0 Kudos
Message 2 of 4
(3,236 Views)
1,It is not a NI USB-Serial Convertor.
2,Unplug USB-Serial Convertor Cause Computer dead.
0 Kudos
Message 3 of 4
(3,236 Views)
I suspect that you will probably get similar behavior if you disconnect the USB-Serial from within any application (like hyperterm with the port open).

You will probably have to contact the manufacturer of your USB-Serial convertor for support if the computer hangs (not just application hangs) as these issues are typically the result of a driver problem.
0 Kudos
Message 4 of 4
(3,236 Views)