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

Similar Messages

  • 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?

  • 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.

  • 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.

  • 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...

  • USB Devices with Airport Express

    Hello all,
    Are there any limitations on the types of USB devices that can be connected to an Airport Express? I am a musician looking for a truly wireless workspace, and if I would be able to connect my MIDI controller to the Airport as opposed to my powerbook, that would be excellent!
    Cheers,
    Spencer Jones
    Powerbook G4   Mac OS X (10.4.6)  

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

  • 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.

  • NI-VISA as default driver for USB device with another manufacturer's driver?

    Hi Labview Developers or AE,
    I have read the tutorial, "USB Control Tutorial Device" at link.
    I read a paragraph "If you do not know the USB vendor ID and product ID, to get them, plug
    the device into the computer and allow the computer to recognize the
    new device. Cancel out of the Found New Hardware Wizard if it starts.
    Open the Device Manager from the Control Panel and find your device on
    the list, usually under "Other Devices". It may show a yellow
    exclamation mark indicating it is an unknown device. Double click the
    device to open the properties. Select the Details tab and ensure that
    "Device Instance Id" shows in the attribute dropdown box. A string of
    characters will be displayed similar to Figure 3. The four characters
    to the right of "VID_" and "PID_" are your vendor ID and product ID,
    respectively. Write down the characters for your device, close the
    Device Manager, and unplug the device from the computer. Alternatively,
    you can contact your device vendor to obtain this information."
    I am wondering if it is okay to install two drivers together and do labview with two of them simultaneously. I am using Advantech USB-4716. I installed Advantech driver so that I can use Advantech-labview functions to control and measure. unfortunately, , there's no advantech function like reset.vi  in case of problem reading. So I wondering if it is okay to use NI-VISA driver by wizard as mentioned above and advantech-Labview functions together. I have not figured out  how to reset Advantech USB-4716.
    Pls  advise. Thanks
    Clement

    Hi Nicholas,
    I found the drivers in those links.
    First of all the customer must install our Device manager ( DAQ Tool ) and Driver
    http://support.advantech.com.tw/support/DownloadSRDetail.aspx?SR_ID=1-246K8V
    That's he needs to do always before using our devices.
    For LabVIEW he also needs to install in addition the LabVIEW driver
    http://support.advantech.com.tw/support/DownloadSRDetail.aspx?SR_ID=1-29WTFD
    It is the LabVIEW or LabVIEW DAQ , it depends on customer LabVIEW software that he is using
    After installation he will get in LabVIEW ready made VI ( examples ) to use from Advantech and also the Manual

  • Need to boot from USB device with my Portege 7020ct

    hi!
    i need help!!!
    situation: me and my girlfriend go for a long trip on tuesday. we have to work, so we bought a second hand portege 7020ct.
    it has no cd or floppy drive. win98 is installed but without drivers for the modem. the infra-red can locate other computers, but is not able to connect.
    so the onliest thing i have is one usb slot.
    i want to install win2000 or at least put some data on the hard drive.
    so i need to use my external cd drive or a usb stick. the problem is, the system (usb slot) found the external drive and the usb sticks, but i need to install some drivers to get them ready! but how???? --> no internet, no floppy, no internal cd, no infra red....
    what can i do????
    i tried to get into the bios to find out, if it is possible to boot from the usb slot, to perhaps get the external drive runnin and then install win2000.
    but i can´t find out how to enter the bios!!!! ...but i´m not sure if this will work.
    how can i get into the bios?
    do anybody has an idea what i can do? how can i get drivers into the system?
    how can i get the external drive runnin or the usb sticks`??
    please! i need very quick help, cause tomorrow is my last day...
    thanks to everybody in advance,
    deko

    Hi Deko,
    Pressing the <esc> button on power up takes you to the BIOS settings.
    Installing the drivers could be difficult. I have a 7010CT and there's no option to boot from USB (just floppy - hard disk - cdrom - lan). I don't think Windows98 supports USB sticks without extra drivers. I upgraded from Windows98 to Windows2000 by using an external PCMCIA cdrom and starting the installer from Windows98. Maybe you could try a PCMCIA network card of try to find a floppy disk for the Portege.

  • Need informatio​n on how to comunicate with USB devices

    I have an aquisition unit that connects to the computer trhough a USB port. Does anyone knows how to comunicate usb devices with labview using a Universal Serial Bus (USB)?

    Sorry for digging up old threads, but it seemed most relevent, and I always figure it's best to add onto old then start new. For ease of the next persons search.
    So anywho, My first question is... I assume it is not necessary to open and close VISA sessions to USB ports, right?
    I am having an issue where my device doesn't like to work unless a specific series of events take place... very unlike USB Devices in my experience. For instance, if you have the said device plugged in, and you turn it on, then open labview. It will spit out garbage. If you close labview, do nothing else, and open labview up... it will spit out the same garbage.  ( by garbage i mean a series of y's with dots over it, and odd looking p's ... you know the kind of letters you get by pressing alt+###... i think in hex it winds up spitting out something like FF EF FF FF FF EF EF ) .... now, if from this current state, I unplug the USB and plug it back into the device, it will finally start to communicate properly.
    Im curious why either labview or the computer itself are not recognizing the device on the USB port properly unless it is unplugged and then plugged back in. Ive tried to do reading on USB, and got all sorts of interesting tid bits of somewhat useless information.  Im trying to determine if this is something I am not doing in labview, or if this device should have a driver to register with windows, or what exactly the issue is...  Just a little background, I do explicitly know all the individual commands to this device so it is not an issue to communicate with it directly through visa...
    Thought some of you might have insight or some similar USB experiences....
    Message Edited by MJBrehm on 10-02-2006 02:17 PM
    Message Edited by MJBrehm on 10-02-2006 02:19 PM

  • USB device connected with keyboard gets disconnected due to an overcurrent condition

    Hi,
    bought a new 13,3" Retina Macbook Pro.
    When I have my wired Apple Keyboard connected to the Macbook and connect an usb-device with the keyboard, from time to time the keyboard and the usb-device gets diconnected and mac osx tolds me, that there is not enough power for the devices. After a few seconds the keyboard and the device gets mounted again.
    In the console I could see the following log:
    kernel: USB Notification:  The hub "Keyboard Hub" has reported an overcurrent condition.  Port 3 has been disabled.
    Is my Macbook broken?

    You can try SMC and NVRAM resets:
    http://support.apple.com/en-us/HT201295
    http://support.apple.com/en-us/HT204063
    It will do no hard to do this but a genius bar appointment may be your best option.  I suspect this is a hardware problem.
    Ciao.

  • Some USB devices don't work with MacBook (Unibody)

    Hi everybody,
    I've just bought a new MacBook and I'm experiencing a few problems with some USB devices like USB memory sticks and USB hard disks.
    Whenever I plug in one of these devices I undergo one of the following:
    - Copy operations get stuck
    - Time Machine backups get stuck
    - Finder freezes or crashes
    - Disk Utility freezes or crashes
    Can someone report the same behavior?
    Thanks for any hint
    PS: this is what Console reports
    +11/24/08 22:50:01 kernel USBF: 22875.305 AppleUSBEHCI[0x6d6e800]::Found a transaction past the completion deadline on bus 0x26, timing out! (Addr: 2, EP: 1)+

    Hello together,
    i also have seen some USB problems with the new MacBook and just checked a bit deeper.
    I have no problems with my USB sticks, the USB hard drive, the MIDI interface - most stuff works. But there still is some special stuff i use for my embedded projects.
    One is the USBprog, a universal AVR-based USB device with open source firmware, where i used a programmer emulation. I patched the firmware a bit, as it had problems with the OSX USB stack (was something with OSX sending a NACK and the device doing nothing on this - which is perfectly legal according to the specs). After this patch, the programmer works fine with my Mac Pro (Early 2008). But if i connect it to the MacBook, i get error messages in system.log about this device.
    The funny thing - if i connect it via an USB hub to the MacBook, it seems to work fine.
    The other device is an Olimex AT91SAM7 development board, which also works fine on the Mac Pro as a CDC device (/dev/cu.usbmodem*), but doesn't on the MacBook. Can be seen with cu - the first connection works fine, the second connection hangs the MacBook, you can log off, but it is impossible to shut it down cleanly. This problem can't even be removed by using a hub. On the Mac Pro, i can use several separate cu sessions on this device without any problems.
    Comparing the hardware reveals that the Mac Pro uses an Intel USB chipset and the MacBook used an nVidia chipset. So there is a difference, and this difference might also reflect in which driver is used by the OS for the USB subsystem. The Mac Pro uses OHCI/EHCI, the MacBook used UHCI/EHCI. So the Hardware differs definitely, USB might really get through different software parts.
    Besides this, the USBprog problem is a violation of the specs by Apple, so the USB stack in general needs some improvement. The nVidia USB drivers also might need further improvement due to the added problems of the MacBook.
    I know, this doesn't help too much, but at least it could be a hint on what goes wrong. I hope, Apple will fix this with one of the next Leopard updates.
    ...Michael

  • How can I see my USB device in the measuremen​t&automati​on explorer?

    I'm trying to use an USB-device with LabView7.0.
    I followed the manual "using NI-VISA3.0 to control your USB device" which I found on the NI-webpage.
    I generated an .inf file using the VISA driver developement wizard and installed it in the INV folder of my system (I'm using Win2000).
    The following problems occured: after I connect my USB device the "add new hardware wizard" pops up and aks for a driver for the new hardware. when I direct it to the folder with the generated .inf file it doesn't accept this file as a driver.
    second: the USB device doesn't appear in the measurement&automation explorer. I assume that as long as my device doen't appear there it is not recognized by NI-VISA and the comm
    unication from LV wouldn't work?
    How can a make my USB device visible in the meas.&aut. explorer?
    Regards
    Tobias

    Tobias,
    In the VISA Driver Development Wizard, you are required to specify the Vendor and Product ID. These numbers are what Windows will use to determine whether a specific driver is appropriate for a given device. If these numbers do not match between your device and the Windows driver (INF file) that you generate, you will see the behavior that you describe. Check to make sure that you are using the appropriate values. Also, did you right click on the INF file and install it as directed in step 2.2.2?
    Page 5-87 of the VISA Programmer's reference manual specifies how to do a viOpen to a USB device in RAW mode, but you still need the same sorts of Product ID and Mfg ID that you needed for the INF file generation. Furthermore, if you are communicating with
    your instrument directly, you will need to know exactly what command set it expects, so make sure you get that from the manufacturer as well. Finally, I want to mention that if this device complies with the USBTMC standard, then none of this is necessary--the steps above are for setting up a RAW USB connection. See this link for information.
    Scott

  • HP Recovery usb device failed

    have a new HP laptop:
    HP ENVY 15t-j100 Select Edition CTO Notebook PC (ENERGY STAR)
     Product Number: E9W31AV
    Several hours after its first boot the laptop failed to load and I got a message saying it can't load win 8.1 os.
    (this was two month ago and since then I am trying to recover it without any success).
    HP US support sent me a recovery usb device with win 8.1
    Before connecting it and starting the recovery:
    1. I did a System Diagnostics. All Passed (memory & hard drive).
    2. I reset the bios to default factory settings (and change the 'usb 3.0 configuration in pre-os to Auto, in case the usb is 2.0).
    3. I connected the recovery usb directly (no hub).
    I started the recovery...
    I finished the "factory image recovery preparations" stage successfully:
    I entered Skip and after that i removed the recovery usb device and continue the recovery by pressing "Continue":
    After that the laptop boot and started "Software Installation" stage:
    After several minutes it boot again and I got the following screen:
    I saved the recovery logs to an external device and this it is saying:
    [ 8:49:57.64] Failed to configure RAID0 + SRT
    [ 8:49:57.65] Please check C:\System.sav\Logs\RSTPrep.log for more information
    [ 8:50:53.50] ------------------------------------------------------------------------------------------
    ***CTO Error condition has been dtected in [Factory Update] phase !! ***
    [ 8:50:53.50] Suggest to create PIN-log and send to TWN PDC NB-PreinPM for further analysis ...
    [ 8:50:53.50] ------------------------------------------------------------------------------------------
    I opened the file ..\System.sav\Logs\RSTPrep.log and i can see the following error:
     RST_BIT=[64]
      Disk Controller and Driver's information
    Name   : Intel(R) Mobile Express Chipset SATA RAID Controller
    PNP    : PCI\VEN_8086&DEV_282A&SUBSYS_1967103C&REV_05\3&11583659&0&FA
    Service: iaStorA
    Driver : X:\windows\System32\drivers\iaStorA.sys
    Version: 12.8.1.1000
    Name   : Microsoft Storage Spaces Controller
    PNP    : ROOT\SPACEPORT\0000
    Service: spaceport
    Driver : X:\windows\System32\drivers\spaceport.sys
    Version: 6.3.9600.16384
    ---------- C:\HP\BIN\RSTONE.INI
    iFFS=1
    [ 8:49:57.32] RStone.ini shows iFFS=1.
    [ 8:49:57.32] System supports mSATA/SSD.
    [ 8:49:57.48] Get parameter from RST.ini...
    [ 8:49:57.56] CACHE_SIZE=0
    [ 8:49:57.56] RST_MODE=maximized
    [ 8:49:57.56] Get m-SATA bus index...
    [ 8:49:57.64] Could not find m-SATA bus...
    [ 8:49:57.64] Failed to configure RAID0 + SRT
    Here are the full logs on DropBox share:
    https://dl.dropboxusercontent.com/u/30077049/HP%20Recovery%20Logs/HP_SSRD_LOG.CAB
    I did everything "by the book", got the same errors 5 times for the above scenario and 5 other times for other bios config (enable\disable features).
    What is the problem?
    It is Hardware issue?
    configuration issue?
    Something related to UEFI \ RAID ?
    Is it possibile to solve it myself?
    Is there a tool i can use?
    I am living outside the US and I don't have an option to send the laptop to HP lab in the US, but Only in my country - Israel.
    The following are my BIOS config screen :
    Thank You!

    have a new HP laptop:
    HP ENVY 15t-j100 Select Edition CTO Notebook PC (ENERGY STAR)
     [photo removed because it contained product serial number]
    Several hours after its first boot the laptop failed to load and I got a message saying it can't load win 8.1 os.
    (this was two month ago and since then I am trying to recover it without any success).
    HP US support sent me a recovery usb device with win 8.1
    Before connecting it and starting the recovery:
    1. I did a System Diagnostics. All Passed (memory & hard drive).
    2. I reset the bios to default factory settings (and change the 'usb 3.0 configuration in pre-os to Auto, in case the usb is 2.0).
    3. I connected the recovery usb directly (no hub).
    I started the recovery...
    I finished the "factory image recovery preparations" stage successfully:
    I entered Skip and after that i removed the recovery usb device and continue the recovery by pressing "Continue":
    After that the laptop boot and started "Software Installation" stage:
    After several minutes it boot again and I got the following screen:
    I saved the recovery logs to an external device and this it is saying:
    [ 8:49:57.64] Failed to configure RAID0 + SRT
    [ 8:49:57.65] Please check C:\System.sav\Logs\RSTPrep.log for more information
    [ 8:50:53.50] ------------------------------------------------------------------------------------------
    ***CTO Error condition has been dtected in [Factory Update] phase !! ***
    [ 8:50:53.50] Suggest to create PIN-log and send to TWN PDC NB-PreinPM for further analysis ...
    [ 8:50:53.50] ------------------------------------------------------------------------------------------
    I opened the file ..\System.sav\Logs\RSTPrep.log and i can see the following error:
     RST_BIT=[64]
      Disk Controller and Driver's information
    Name   : Intel(R) Mobile Express Chipset SATA RAID Controller
    PNP    : PCI\VEN_8086&DEV_282A&SUBSYS_1967103C&REV_05\3&11583659&0&FA
    Service: iaStorA
    Driver : X:\windows\System32\drivers\iaStorA.sys
    Version: 12.8.1.1000
    Name   : Microsoft Storage Spaces Controller
    PNP    : ROOT\SPACEPORT\0000
    Service: spaceport
    Driver : X:\windows\System32\drivers\spaceport.sys
    Version: 6.3.9600.16384
    ---------- C:\HP\BIN\RSTONE.INI
    iFFS=1
    [ 8:49:57.32] RStone.ini shows iFFS=1.
    [ 8:49:57.32] System supports mSATA/SSD.
    [ 8:49:57.48] Get parameter from RST.ini...
    [ 8:49:57.56] CACHE_SIZE=0
    [ 8:49:57.56] RST_MODE=maximized
    [ 8:49:57.56] Get m-SATA bus index...
    [ 8:49:57.64] Could not find m-SATA bus...
    [ 8:49:57.64] Failed to configure RAID0 + SRT
    Here are the full logs on DropBox share:
    https://dl.dropboxusercontent.com/u/30077049/HP%20Recovery%20Logs/HP_SSRD_LOG.CAB
    I did everything "by the book", got the same errors 5 times for the above scenario and 5 other times for other bios config (enable\disable features).
    What is the problem?
    It is Hardware issue?
    configuration issue?
    Something related to UEFI \ RAID ?
    Is it possibile to solve it myself?
    Is there a tool i can use?
    I am living outside the US and I don't have an option to send the laptop to HP lab in the US, but Only in my country - Israel.
    The following are my BIOS config screen :
    Thank You!

Maybe you are looking for