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?

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.

Similar Messages

  • How do I use more than one USB device with Airport Extreme?

    I would like to plug a shared hard drive into my new airport extreme and still be able to plug in a shared printer as well. How am I supposed to do this with only one USB port. Do I use a USB hub???
    Is it possible to connect a hard drive using one of the ethernet ports?

    To use multiple USB devices you would use a powered USB hub.
    You can connect a hard drive to one of the Ethernet ports providing the hard drive is a NAS and supports Ethernet connections. In that situation the NAS hard drive is just like any other Ethernet client and the AirPort Extreme base station (AEBS) does not handle the file sharing services. The drive itself would provide the file sharing services.

  • Is it possible, to add multiple USB devices to TC

    Is it possible, to add multiple USB devices using a hub to Time Capsule (as stated for Airport Extreme)?
    Thanks in advance.
    Stefan

    The Time Capsule is an AirPort Extreme with a built-in hard drive, so you can add multiple USB devices if you use a powered USB hub.

  • How to FaceTime and iMessage on multiple apple devices with one iTunes account

    We recently received iPad 2's for Christmas and was looking for some advice on how to FaceTime and iMessage on multiple apple devices with One iTunes Account (Apple Id).  I have created or attached other e-mail addresses to our apple id but do not know how to use them on the new devices.  Our home MacBook Pro uses our main apple id for FaceTime.  The iPads have been setup with the main apple id w/o being able to use FaceTime and iMessage.
    Please Help...
    I appreciate the help and support.

    P and V-
    If you are trying to connect to someone with a different Apple ID, I think all the devices should work, but one at a time.
    The problem is when you try to connect between two with the same Apple ID.  Once the calling device tries to make the connection, it finds the second device to be "busy".  That is where each needs to use a different E-Mail address when setting it up.
    On iOS devices, when you press the Home button to exit an App, the App may still be active in the background, even when the device is sleeping.  If FaceTime or iMessage is merely being active that way, it may be enough to "tie up" the E-Mail address.
    From the Home screen, double click your Home button.  You will see a list of recent Apps along the bottom of the screen.  Press and hold on one of them until they start to wiggle.  You will then see a red minus sign on each.  Pressing the minus sign will remove an App from the list, and stop it from working in the background.  (Click the Home button to stop the wiggling, and again to hide the recent Apps.)
    Fred

  • Qemu/kvm: multiple USB devices from the same vendor

    Hi fellow gurus,
    Trying to pass-through two USB devices. One works just fine, but two produces an error.
    They are the same type from the same vendor and libvirt seems to have no way to differentiate between the two, as it only uses the <vendor id='0xnnnn'/> & <product id='0xnnn'/> strings and not serial number of the device.
    There is a reference -unanswered- here: https://bugs.launchpad.net/qemu/+bug/1090602
    The error message from virt-manager:
    Error starting domain: operation failed: Multiple USB devices for 10c4:ea60, use <address> to specify one
    Detailed output
    Traceback (most recent call last):
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 44, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 65, in tmpcb
    callback(*args, **kwargs)
    File "/usr/share/virt-manager/virtManager/domain.py", line 1063, in startup
    self._backend.create()
    File "/usr/lib64/python2.6/site-packages/libvirt.py", line 678, in create
    if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
    libvirtError: operation failed: Multiple USB devices for 10c4:ea60, use <address> to specify one
    The devices themselves:
    Bus 001 Device 009: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
    Bus 001 Device 008: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
    Is there any workaround or fix for this?
    Cheers,
    Mike.
    Last edited by DrMikeDuke (2013-07-22 14:01:18)

    As I understand it, host:bus.addr is an alternative to host:vendor_id:product_id. So if I wanted to pass both of these thumb drives:
    $ lsusb
    Bus 001 Device 002: ID 1e3d:2093 Chipsbank Microelectronics Co., Ltd CBM209x Flash Drive (OEM)
    Bus 001 Device 003: ID 1e3d:2093 Chipsbank Microelectronics Co., Ltd CBM209x Flash Drive (OEM)
    I would use host:001.002 and host:001.003 . Note I said would use, because I've never tried it.
    And usb_add is a qemu monitor command. See sections 3.4 and 3.5 of the doc you linked for info on the monitor.
    All this being said, I don't use libvirt stuff so I don't know if it has the capability to specify USB devices by bus.addr or whether or not it enables the monitor.

  • About: control USB device with Java

    Any body know how to control USB device with Java?
    Does JDK provide a package for USB?
    Is there any web site concerning USB programming?
    Thank you! ^_^

    Look at www.prosyst.com. There is an usb bundle (linux
    and windows pltforms).I looked on this site and cannot find the bundle you are talking about. Do you know more specifically where to find out about controlling USB devices with Java?

  • USB Devices with DLL librairies

    Hello,
    I am working on a project that uses a custom made USB device. I use a USB serial converter chip that emulates a serial port on my computer. The problem is that I need to use some of the functions included in the DLL that came with the device and I also want to monitor interrupts on the device. I was wondering if it was possible to monitor the USB using an interrupt from Windows or to monitor the interrupts from the device using VISA, but be able to talk to the USB device using the Windows driver.
    Thanks,
    Benjamin

    You can also charge your iPod Shuffle...
    iPod shuffle: Using AirPort Express to charge
    http://docs.info.apple.com/article.html?artnum=300872
    iFelix

  • Problems with multiple USB devices. (Possible Low Power on USB Bus)

    I believe I'm having an issue with the USB bus or one of my devices that I have installed on my iMac.
    I purchased this iMac along with a printer (HP C4280 All-in-One) as part of a promotion deal. I also have wireless logitech USB mouse, and iPhone and an 80gb 5th Gen iPod.
    My problem has to do with syncing the iPod and iPhone. Normally I have the printer attached to the iMac along with the USB mouse. Both devices function as expected. However I have problems when I connect the iPhone or iPod.
    iPod Symptoms: When I connect the iPod the iPod screen shows the flashing red circle with a line but iTunes never launches and the iPod never syncs.
    iPhone Symptoms: When I connect the iPhone the iPhone screen says Sync in Progress and iTunes does show the iPhone in the list of devices but a dialog appears giving me one of two messages (that I've seen so far) - [msg 1] Your iPhone is corrupt please disconnect then reconnect to restore. [msg 2] iPhone device timed out.
    I've been dealing with this problem for a couple months and found that if I disconnect the printer (HP C4280) then connected either other device then everything works just fine.
    I downloaded XCode 2.5 and launched the USB Prober utility. Then plugged in each device in turn and found some interesting findings.
    When connecting the iPhone (1st attempt) the USB Logger reported; (iTunes displayed msg 1 from above)
    128.517 [1] USB Device iPhone is violating Section 9.3.5 of the USB Specification -- Error in GetConfigDescriptor( wLength = 4)
    128.520 [1] USB Low Power Notice: The device "iPhone" cannot be used because there is not enough power to configure it
    128.528 [1] USB Low Power Notice: The device "iPhone" cannot be used because there is not enough power to configure it
    128.629 [1] AppleIRController[0x2dc8e00]::RearmInterruptRead immediate error 0xe000404f queueing read, clearing stall and trying again(1)
    When connecting the iPod (1st attempt) the USB Logger reported; (iTunes never showed that the iPod devices was connected)
    938.797 [1] USB Device IOUSBDevice is violating Section 9.3.5 of the USB Specification -- Error in GetConfigDescriptor( wLength = 4)
    938.801 [1] IOUSBCompositeDriver[0x39b9f80](IOUSBDevice) SetConfiguration (1) returned 0xe00002ed
    938.900 [1] AppleIRController[0x2dc8e00]::RearmInterruptRead immediate error 0xe000404f queueing read, clearing stall and trying again(1)
    When connecting the iPhone (2nd attempt) the USB Logger reported; (iTunes displayed msg 2 from above)
    1789.023 [1] AppleIRController[0x2dc8e00]::RearmInterruptRead immediate error 0xe000404f queueing read, clearing stall and trying again(1)
    1802.166 [1] AppleUSBEHCI[0x28a7000]::Found a transaction which hasn't moved in 5 seconds on bus 253, timing out!
    1809.166 [1] AppleUSBEHCI[0x28a7000]::Found a transaction which hasn't moved in 5 seconds on bus 253, timing out!
    I'm suspicious of the USB Low Power Notice. If this is true then I suspect the my iMac might need some type of repair. However I am also suspicious of USB Device violating the USB Spec Error. Although this is the message that appears when I plug in the iPhone or iPod I don't think I can assume that error relates to the iPod or iPhone. The error doesn't specify which USB Device is in violation.
    My current workaround is to unplug the printer every time I sync the iPhone or iPod which is cumbersome. I'm also worried that repeated connecting/disconnecting of USB plug for the printer will over time damage the USB port.
    I'm not sure what options I have here. Can anyone provide some suggestions or information that might provide some insight.
    Best Regards,
    xgnomex

    A-Ha! Now I'm feeling like my 1.5 hours of reading this forum are not wasted, since I've found others with similar symptoms.
    I've only had my iMac for two weeks today. I've got some new accessories & have experimented with the ones I've had awhile (various USB external drives). My model has 3 USB ports, one of which is taken by the keyboard, of course.
    Over the weekend, I picked up an MS Office 2008 Upgrade and also an HP Officejet Pro L7680 all-in-one. I only mention the Office upgrade because I installed it on the same day as the printer, but it's possibly unrelated.
    I actually have a Belkin 4-port hub--not the same one suggested in this thread, but externally powered with it's own A/C adapter. (It's a Hi-Speed USB 2.0 r-Port Hub, model F5U234 Rev.3, and I used it with a previous iMac G3 CRT with no problem.)
    So with a LaCie 100 GB USB Mobile Drive in one of the iMac's ports, and the HP L7680 in the iMac's third port, or the HP via the Belkin hub in iMacs the third hub, here are some of the symptoms I've seen:
    1) while browsing in Firefox, suddenly the mouse-cursor will "freeze" (get stuck) in a pull-down selector...sometimes it unfreezes, but eventually (like on the next pull-down menu) the keyboard & mouse will shut off (and if you wait & the iMac goes to sleep, the keyboard won't let me enter my unlock password when I wake the iMac with the Apple Remote)
    2) when trying to open a document from the LaCie in MS Word, Word freezes and the keyboard & mouse go dead--terminal beachball--to restart the computer, I have to hold in the power button
    3) when trying to print a message in Mail, Finder freezes (though the print job does finish)
    These symptoms seem strange! Hey, it's just supposed to work, right? But everything has limits, so my question becomes, "how much stuff can I hook up at once?"
    I wonder if this Apple article is addressing this issue:
    http://docs.info.apple.com/article.html?artnum=25243
    especially when it says "Two high-bandwidth devices or two isochronous devices cannot be connected to a single Universal Serial Bus (USB)."
    So only two hi-speed USB devices can be connected "to the same bus" simultaneously? I'm not entirely sure I understand what "isochronous" means, but I'm thinking I need to peel my printer off the USB somehow, maybe via Airport Express--?
    Does anyone know for sure about USB limitations? Thanks.
    Also, xgnomex, how/where did you find that "USB Logger"? Is that something iPhone-specific, or is it an OS X log in a Library somewhere?

  • Using USB device with Virtual Com port

    I have an actisys IR USB device that creates a virtual serial port. I can read from it using VISA, however it will not write. I have the same setup working on LV 6.1 running windows 2000. I need to make it work on my system running XP and LV 7.1.

    Hello,
    Does your Windows 2000/LabVIEW 6.1 system work correctly or do you see the same behavior?  It sounds like there may be something wrong with the termination of the command.  What termination method are you using?  Is your instrument set for that method?  You may also want to try using the NI-488.2 Interactive Control.  A tutorial on how to use it is located here if needed.  This will bypass VISA and LabVIEW.  If this works, you may want to update to the latest version of VISA (if you don't already have it) to see if that fixes the issue.
    Chris R.
    Chris R.
    Applications Engineer
    National Instruments

  • Can I use a virgin mobile internet USB device with OS X?

    Is there a way to use the USB virgin mobile internet device with OX M??

    I cannot say for sure if the g/b vs n is the cause, but if all other devices like the AE and that one device does not, you go with the odds.  Others will have to chime-in on that.
    And I recommend NetGear (not necessarily *above* LinkSys) because my 3-year-old NetGear router has been serving my MBP fine for 3 months ... no glitches.

  • Multiple USB devices

    So I use Logic Pro on my Macbook A LOT! I use my firewire port for a mixer (works perfect) but I've got numerous devices that use USB (e.g. trigger finger, conntectiv box, external hard drive etc.) I want to have them all hooked up to my mac at the same time. I've got one adapter for a USB that adds 4 ports to it but it isn't powered so runs sooooo slowly its painful!
    Should I look into buying a powered 4-way USB adapter? If so, can you suggest one? And would it affect the performance of any of my devices/mac?
    Cheers

    AreMad wrote:
    So I use Logic Pro on my Macbook A LOT! I use my firewire port for a mixer (works perfect) but I've got numerous devices that use USB (e.g. trigger finger, conntectiv box, external hard drive etc.) I want to have them all hooked up to my mac at the same time. I've got one adapter for a USB that adds 4 ports to it but it isn't powered so runs sooooo slowly its painful!
    Powered or passive doesn't affect the speeds through a USB hub.
    Only one USB device can actually communicate through USB at a given instant. The host device operating system handles all of this and hooking up multiple devices that are bandwidth hungry means that they will inevitably be slowed down.

  • Multiple Bluetooth Devices with different functions

    Is it possible to run multiple Bluetooth devices at once?
    For example, my BMW is currently paired to my phone and the integrated hands-free operates flawlessly. I would like to run a seperate A2DP device to my Aux input to be wire-free, but before I buy it, will I be able to run my BMW hands-free and my A2DP paired at the same time. Will the phone transfer to the BMW when an incoming/outgoing call comes? As far as I know the A2DP device has no microphone, so I don't believe it's meant for taking calls.
    Thanks

    I second that question for my Audi A4. Have the phone paired with the car via Bluetooth for calling, but don't want to use the Audi AMI cable for playing music, as that fixes the iPhone to the "Accessory enabled" screen ( know I can get around that by jailbreaking) and start Auto Play. I'd like to use the iSkin Cerulean RX Bluetooth dongle instead, and plug that into the Audo AMI cable.
    But I'd have to have my iPhone paired to both the car (for phone) and the Cerulean RX (for A2DP audio) simultaneously. Is that possible? Anyone?

  • Using a mtech hiface usb device with macbook air is producing a lot of static. when i touch the mac air it stops then starts when i remove my hand. Help?

    Im using a mtech hiface usb device for audio on my Mac Air. If i disconnect it from its ac and disconnect the hiface from the usb then take the Mac Air to a new location to work then return it I have an awful lot of static. im assuming its static electricity from the move or something. ive tried to ground it with my body by touching the mac air while touching something grounded. The static stops at that point but starts all over when i move my hand away from the computer. Any suggestions, could it be a setting in the USB? Thanks.

    how long have you had your ipod? mine did the same but after a while you need to get a new one because of the battery...

  • I want to setup multiple computers/devices with one user

    I have multiple computers, Macs and PCs, and two iOS devices; iPad and iPhone. I want to setup my server as a file server for all devices with me as the only user. I'm having trouble finding that scenario. Any help would be appreciated. Thanks in advance.

    Thanks for the prompt reply. I found a lot of information beyond the basic instructions for configuring the WebDAV before turning it on. But unless there's a way of using the server to store files instead of iCloud or Dropbox, there isn't a real need for connecting the iOS devices to my server. Again, thanks for prompting me to "read the manual".

  • Multiple USB Device Driver Installations Failing

    Windows 7 64 Bit  / MSI P965 Platinum Mother Board 
    I have three USB driver installations failing. I believe this is related to ' USB', because installations of other software unrelated to USB devices install just fine. Might it be a Windows Installer Service, appears to be running fine?
    Failing Device Driver Installations;
    1) IOGEAR USB 3 PCIe card
    Problem: The installer runs part way through the "Preparing to install' process and goes into limbo. I have tried three USB cards by different manufacturers and get the same problem. Tried several Renesas installers, all failed.
    Microsoft Windows Installer says: 'Stopped working. Files that help describe the problem: AppCompat.txt, WERInternalMetadata.xml, WERDataCollection failure'.
    2) APC Battery Backup 'PowerChute' Software
    Problem: : The installer runs part way through the "Preparing to install' process and goes into  limbo -or- I get an error message telling me to check the USB connection. APC cable is pulgged into a native port, not a hub. APC has no solution.
    3) Logitech Harmony One Remote Software (Finally installed in 'Safe' Mode
    Error: : The installer runs part way through the "Preparing to install' process and goes into limbo, but, when I went into 'Safe Mode' the software installed properly. Installation of the other two examples yield the Windows 'can't be installed in safe mode'
    Help Appreciated - IM

    To rule out a Windows problem, have you tested with a fresh parallel installation?

Maybe you are looking for

  • "Could not use the clone stamp tool because of a program error". How to fix this fault?

    When I try to use the Clone Stamp Tool I am met with the message shown above. I have tried in all the ways I could find to beat this: different photos, switched the computer off and on again, run a de-bugging program through it (Advanced System Care

  • How do i resolve Error #2032 ?

    Hi, I am using the following code to launch SWF file. When i launch the page, getting "Error #2032" from GUI. Could you please advise if any changes needs to be done in the following file? Do you think this is environmental issue? Please let us know

  • PDEXGroup to set the Page Group ColorSpace

    Hello, I'm currently trying to add an Image into a PDF (that's the only content) but as I read on previous threads I'm trying to get a correct rendering when there is an alpha (channel/mask) in my image. To do so I first create an Image (PDEImageCrea

  • PSE 7 RAM Experiences Occasional RAM Issues

    I have noticed this a number of times and it is quite annoying.  When in the editor and formatting images, resizing them, correcting brightness, etc..., when you finally go to save, only after you have done the same thing a number of times, in this p

  • N97 disable off auto start on camera

    Hi, Does anyone know how to stop the camera from automatically starting the picture app when you move the slider. I've found it to be a great way to crash my N97 when running another app!! That or stop the N97 from taking any pics until it gets reset