LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple USB devices with LKIF.dll

I am successfully using a single USB Keyence LK-G3001 laser displacement controller with 2 heads and making function calls to LKIF.dll

The next step is to implement a second controller.

According to Keyence, the LKIF.dll will only support a single device. They suggested disabling the 1st USB port and then enabling the 2nd port.

 

How can I programmatically

  determine which device is attached to which port?

  enable/disable the USB port?

0 Kudos
Message 1 of 2
(4,001 Views)
If you're running on a Windows machine you can try using devcon. It's a command-line based utility. For other operating systems you would need to use the old Google to find an equivalent utility.
0 Kudos
Message 2 of 2
(3,996 Views)