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: 

Close COM-Port

Hi

When I use COM-Ports in my VI, they're open still I close LabVIEW. Is someone
there who has a solution for this problem?
I'm searching for a VI, that closes my I/O-COM-Port.

Thanks

Chris
0 Kudos
Message 1 of 3
(4,956 Views)
There is a utility serial vi called 'Close Serial Driver' that will close
the serial port. It is located in the LabVIEW directory in vi.lib/instr/_sersup.llb.
Call this before your program exits.
"Chris Herzig" wrote:
>>Hi>>When I use COM-Ports in my VI, they're open still I close LabVIEW.
Is someone>there who has a solution for this problem?>I'm searching for a
VI, that closes my I/O-COM-Port.>>Thanks >>Chris
0 Kudos
Message 2 of 3
(4,956 Views)
"Chris Herzig" wrote:
>>Hi>>When I use COM-Ports in my VI, they're open still I close LabVIEW.
Is someone>there who has a solution for this problem?>I'm searching for a
VI, that closes my I/O-COM-Port.>>Thanks >>Chris



hallo chris.
hi chris.
i know this problem and it's quite easy to solve:

..\labview\vi.lib\instr\_sersup.llb\"close serial driver.vi" is exactly the
vi you need. you van find some other useful vis at this location.
0 Kudos
Message 3 of 3
(4,956 Views)