From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,157 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,157 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,157 Views)