LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i use LabVIEW to detect if a port is occupied?

I have a I/O box.

In this box, there is a USB-6009 and each ports are wired to a pin of a Sub-D port.

 

When i run my programm in LabVIEW, i want LabVIEW to 1st test if the plug is connected to the Sub-D port.

Does anyone have any idea how i can do this?

 

TQ

0 Kudos
Message 1 of 3
(2,526 Views)
I guess it depend on what is connected to it. Do you have any spare pins that you could ground when the plug is inserted. You could read that.
0 Kudos
Message 2 of 3
(2,494 Views)

i have found the solution.

Just link a digital I/O to GND.

0 Kudos
Message 3 of 3
(2,482 Views)