Install HID driver directly with labview

Hello,
it's possible to install a .inf driver directly with labview?
I would like to install a personal driver to a HID device that Windows set like a generic Human Interface.
Do you have an example cose? It's possible?

This is not something an application should or could do. Especially in modern OSes. You need a specific installer that does all the right things in terms of installing the inf file. And this installer needs to run with administrative rights in all Windows versions and with elevated privileges in Vista and higher.  you don't want your user to have to enter the admin password dialog each time something like this happens.
Instead you need to have an installer that does all this. LabVIEW is NOT the program of choice to write installers. I never would do this and so would most others, so if you want to go that route you likely will have to implement it yourself.
You can include the driver installer as a post installation process to your LabVIEW application installer.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • Problems installing FP v4.1 with LabVIEW v6.1 application

    We have a LabVIEW v6.1 application that interfaces to a FieldPoint FP-1000 Network Module for its I/O. We have been distributing it to customers for about 18 months with the FieldPoint v4.0.1 driver - no problems other than some difficulty getting the Watchdog Timer setup properly via MAX.
    The latest purchase of FieldPoint hardware came with FieldPoint v4.1 driver. There are three issues that have arisen with the advent of FP v4.1.
    1.) There occurs several (identical) warning messages during the FP v4.1 installation on Windows XP SP2 (the exact number depends on the selection of features to install). The message is "Error 1931" and it says that Windows stopped the installer from updating the stdole2.tlb file. It suggests that we update the OS, which has been done, but the messages continue.
    Question: is it critical that the stdole2.tlb in the FP v4.1 distribution be installed, or is this an error with no consequences?
    2.) When installing FP v4.1, we select LabVIEW v6.1 support, but disable the Real-Time v6.1 Support and the Examples. We also disable the LabVIEW v7.0 and v7.1 Support and the LabWindows/CVI Support. We keep the Documentation and MAX features. We have gone through the install/uninstall cycle several times and each time when uninstalling the list of features includes LabVIEW v7.0 Support - not v6.1.
    Question: does this indicate that the installer is erroneously installing v7.0 support and omitting the selected v6.1 Support? Or is this just an error in what is displayed by the uninstaller?
    3.) After FP v4.1 is installed (with LabVIEW v6.1 Support selected) our LabVIEW v6.1 application runs but fails to communicate with the FP-1000 Network Module. Upon quiting the application, there is an error message stating that the FP.Open.vi failed to run because the FieldPoint Server .dll was not found (no filename for the server- just ".dll").
    Question: Is this an issue of the installer not putting the proper FP Server .dll file on the computer (see question 2) or is this a matter of compatibility (do I need to install FP v4.1 on the development computer and remake my application)? Something is wrong here, FP v4.1 doesn't support a LabVIEW v6.1 application that runs fine under FP v4.0.1. Do I need to install the LabVIEW v7.x Support in addition to the v6.1 Support?

    Hi lkj,
    There has been few reported problem with installing FP4.1 in LabView 6.1, but none of them are similar to what you are experiencing. According to the 4.1 driver documentation certain vis from this driver version cannot be installed and used in LabView 6.1. What I would suggest is to uninstall the current driver and revert back to the ver. 4.0.1 since we know for sure it works in the LabView 6.1 environment. If you you'd like to use the 4.1 driver, then if would suggest upgrading to LabView 7.0 or 7.1.
    Regards,
    Natasa

  • Why Do I Get Error 1722 When Installing the Driver CD with Windows XP?

    I'm having problem to install the driver CD, it shows a message saying that occured an error 1722
    A tried to do what you said on this topic: http://digital.ni.com/public.nsf/websearch/34ABE6F20DD4981D86256E8600752DFE?OpenDocument
    But on step 10, when a I tried to Select the property "Replace permission entries on all child objects with entries shown here that apply to child objects" and aply, the PC showed an error saying that de Registry Editor cannot define the security of that key selected or one of its sub-keys.
    I tried to install after this and showed de 1722 error's message again.
    Solved!
    Go to Solution.

    Have you also tried disabling the anti virus?

  • Measurement Computing USB-DIO96H driver issue with Labview 2012 SP1 on Windows 7 x64

    Is anyone else having issues with measuremetn Computing's USB-DIO96H driver in Labview 2012 SP1. It throws warnings in Labview when loaded that are unresolvable as you can't save to the DLL driver file. Also it regularily crashes Labview randomly. I am not impressed with their driver. Anyone have any suggestion other than replacing with NI-DAQ solution, which I am working on?

    I've taken a look and I don't see any drivers available for that device on ni.com. There are two potential workarounds that would both involve building your own driver:
    1. Write a LabVIEW application that calls functions on the DLL you downloaded from Measurements Group
    2. Write a LabVIEW application that addresses the device using NI-VISA and serial communication.
    Some resources if you choose to go down that path:
    http://www.ni.com/devzone/idnet/development.htm
    http://www.ni.com/white-paper/3271/en/
    http://www.ni.com/white-paper/3009/en/
    Hope this helps!
    Rob B
    FlexRIO Product Manager

  • Anyone done capture with 5112 then write same out to 5411 directly in Labview 6i

    Want to capture a trace (current via sense resistor to PCI 5112)store it and then download to an arbitrary waveform generator(PCI 5411)Idea to mimic input when needed and repeat lots of times.

    Dear Chris,
    Thanks for using the National Instruments Developer Exchange.
    Yes this is possible, but you will need first to acquire the waveform and then configure the function generator (NI-5411) to download the waveform you just acquired to the memory of the ARB and then play it continuously.
    You will have plenty of shipping examples available when you install the driver NI-SCOPE in your computer, look in the subpallete NI-SCOPE in LabVIEW.
    Once you have learned how to acquire waveforms with the Scope you will be able to download this waveform the ARB and play it.
    I also recommend you to look the examples, especifically the example called: "niFgen Arbitrary Waveform Example.vi" that will clarify to you the process of downloading a waveform to the Device and
    play it.
    If you have more questions I recommend you to send an e-mail directly to our technical support by going to the web page: http://sine.ni.com/apps/we/niae_asc.main
    and selecting E-mail NI Engineers.
    Best Regards.
    Omar De Andrade - Applications Engineer
    National Instruments

  • Looking for software driver for HP 6655A Power Supply with Labview 5.1

    Hi, trying to control an HP 6655a Power Supply but the version of Labview in the PC is the old Labview 5.1.
    I don't want to upgrade it for fear that the program will no longer function. Does anyone have the driver for the HP6655a that will work with labview 5.1?

    Hi demo,
    Try the drivers directly from Agilent.
    Here is a couple of links:
    http://we.home.agilent.com/cgi-bin/bvpub/agilent/editorial/cp_MiscEditorial.jsp?OID=536913992&NAV_ID=-536891584.536882066.03&LANGUAGE_CODE=eng&COUNTRY_CODE=ZZ
    Click on> Driver: 665xA Series Instrument Drivers
    Maybe this one is better... it's older...
    http://we.home.agilent.com/cgi-bin/bvpub/agilent/editorial/cp_MiscEditorial.jsp?OID=536917365&NAV_ID=-536891585.536880265.03&LANGUAGE_CODE=eng&COUNTRY_CODE=ZZ
    Click On > Driver: DC Power Supply Instrument Driver (1.13 MB)
    You may have to import the instrument driver after you install the libraries. This is done by selecting from the pull down menu:
    Tools > Instrumentation > Import CVI Instrument Driver
    JLV

  • How to communicate with HID USB device under windows XP with Labview

              I have designed a EZ-USB FX2 device and I need to communicate with LabVIEW. I mean I just want to send and receive data. I don’t know how to achieve this goal.Someone have advised me to design a HID device,then use VISA Driver Development Wizards to generate driver(inf file).SO I defined it to a hid device .However when I connect my hid device to the computer, it will automatically be recognized as HID compliance device. I can’t to install the inf file driver. I wondered whether all HID devices will be acquiescently installed the drivers contained in the windows rather than use the inf file driver generated by VISA Driver Development Wizards? If so,what should I do next to communicate with HID USB device under windows XP with Labview? HOPE TO GET HELP!
              KIVI

    Hi,
    I am working on a project using PIC18F4550 MCU and USB.
    I would need to send and receive data from the MCU thru USB. I have uninstaled the HID and created a new NI-VISA driver for my MCU. this worked fine, and it did showed up in MAX
    Unfortunately I was not able to receive data from the MCU, Just sending!
    I thought to use HID.DLL but the way I need to use the functions inside the HID DLL is simply too much for me, I am not a PC programmer.
    There is any kind of VI that is able to use HID.DLL to comunicate with external devices conected to PC thru USB?
    Please Help
    Andrei

  • Can't install niDAQ 6.9.3 with Labview 8.0?

    I'm trying to install the legacy drivers for my new/used DAQCard-1200 for use with Labview 8.0.  For reference, I've also installed Labview 8.2 evaluation.  I've downloaded both niDAQ and Labview 6.1 eng support and ran setup with it all in one directory.  The problem is that  the Labview 6.1 Support option has a green checkmark next to it and the description says it "won't be installed", that it is already installed and that the installed version is higher than what I'm trying to install.  Any suggestions? 

    At this point I would recommend attempting to:
    1) Make sure that National Instruments Software is not listed under Add/Remove Programs (and if it is, uninstall MAX and go from there). Should look something like this:
              I don't mean to harp on this point, however it is very odd that the folder is not there at all...
    2) Possibly use System Restore to revert back to a point before you 'manually uninstalled'
    3) You could also try to use the Driver CD.  That should detect the software on the system and you may be able to remove/modify the software that way.
    If this does not work, then we may have to work on this "offline" and have me contact you directly.  If you give me permission, I can get your contact information from our web team and we can go from there.
    Message Edited by Neal M on 10-23-2007 04:24 PM
    Neal M.Applications Engineering       National Instruments        www.ni.com/support
    Attachments:
    AddRemovePrograms.JPG ‏115 KB

  • Agilent 34401A multimeter to PC with Labview driver via RS232

    Hello!
    I am trying to measure a voltage with Agilent 34401A multimeter connected to PC via RS232 cable. I installed the driver. When I am starting Read Single Measurement.vi. It gives me an error:
    Error-1073807346 occured at Visa Open in Agilent 34401.lvlib: Initialize.vi->Agilent 34401 Read Single Measurement.vi
    Possible reason(s):
    Visa: (Hex 0xbFFF000E) The given session or object reference is invalid. 
    I would like to ask, how can I adjust my system to use RS23 with Agilent 34401A, if it is possible? If not, should I get GPIB card and cable?
    Thank you!
    Yulia.

    LabVIEW already comes with a driver for the 34401 pre-installed, so I'm not sure I understand what you installed. The pre-installed driver is in the Instrument I/O >> Instrument Drivers >> Agilent 34401 functions palette.
    As for the control that Dennis is referring to, it's the VISA control.
    As for the VISA version, you should have received a set of driver CDs along with LabVIEW. That will have the minimum VISA version required. Don't remember off the top of my head which version it is. Probably something like 4.1.
    Attachments:
    visa.png ‏42 KB

  • I can't install VISA driver and USB GPIB driver on my PC with VISTA... help me...

    I have LabVIEW7 and VISTA, it's ok, but I can't install VISA driver and USB GPIB driver on my pc... it's necessary to connect my pc with instruments? Or LabVIEW7 have this files??? Thanks,
    Vanny.
    Thanks,
    Vanny
    Sweet, Beautiful and Young Female Physicist (SBYFP)
    (I speak a not very good english, so If U are Italian LabVIEW expert speak in Italian, if U speak in Eglish... please speak easy )
    My e-mail for personal contact: [email protected]_NO_SPAM_PLEASE
    Solved!
    Go to Solution.

    You need Administrator privelages to install drivers on Vista
    David
    www.controlsoftwaresolutions.com

  • Need to find a driver for cRIO-9211 thermocouple to be used with LabView

    I am using the NI cRIO-9211 Thermocouple input and the NI USB-9162 Hi-Speed USB Carrier and need to find a driver to interface the thermocouple with LabView 8.5.1. Could you point me in the right direction as to where I can download a driver for this?

    Hi Durnan,
    You will require the DAQmx driver for the USB 9162. This can be found here: ni.com/downloads, see DAQmx 8.8 - would do.
    You only require the DAQmx driver, as the C Series modules are supported - they can just be used in a cRIO as well.
    Hope this helps,
    Kind Regards,
    James.  
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • Running 2 stepper motors with LabVIEW using RMV ST400-NT controller and driver

    Hello, I am new to programming as well as motors in general so please bare with me in my attempt to explain myself. I have a project involving laser therapy and I am attempting to control two stepper motors from Falhauber, Type AM2224-R3-AV-4.8. I will be using a RMV ST400-NT controller and driver. Original plan was to use 3 stepper motors for control in 3 axis but realized 2 axis is complicated enough. My power source is an Agilent E3630A. I am new to this whole thing and from what I have read form examples and other posts is that NI drivers seem to work best for these applications. I've written simple programs from examples, reading and watching videos. I want to know whether it's possible for these to work together using LabVIEW and also a nudge to help me get started would be much appreciated. Can someone please help guide me in the right direction, I feel a bit lost when it comes to all this. Thank you for your time and consideration.  Also, I will be using Windows 8 laptop with Labview 8.5. I have attached pics of components I will be using.
    Justo T.
    Attachments:
    photo 1.JPG ‏1150 KB
    photo 2.JPG ‏987 KB
    photo 3.JPG ‏1085 KB

    Hi jtarula,
    I want to preface this response by saying that I am mre familiar with NI controller and driver rather than the one that you have. I am assuming that you are using the dll provided by the manufacturer here:
    http://www.rmv.com/download.htm
    With these, you should be able to interface with LabVIEW using the call library function node. What the controller is capable I am uncertain of. I am certain that you should be able to since another user has commented on the use in LabVIEW before in another forum post.
    I also want to let you know that LabVIEW 8.5 is not supported on Windows 8, which means that you may run into some compatibility issues. Here is the compatibility chart.
    Paolo F.
    National Instruments
    Applications Engineer

  • How to install windows 8 onto an external hard drive connected with usb 2.0?

    How to install windows 8 onto an external hard drive connected with usb 2.0?

    Transfer win 8 from inside hd to external hd. 
    Cloning Win 8 is also OK. 
    Aomei Backupper can do the above. 
    In additional, Do you know Windows to Go? 
    http://www.disk-partition.com/features/windows-to-go-creator.html

  • After installing a new hard drive can I install snow leopard directly from snow leopard disc

    After installing a new hard drive can I install snow leopard directly from snow leopard disc. Or do I have to install previous versions first. iMac 7.1 (2007) 2.8ghz

    You can install directly, assuming the disk is newer than your computer and not designed for a different Mac, but doing so won't install iLife.
    (64305)

  • I have used Bootcamp to install Windows 7 on my new Mac OS X Lion. Now when I start my computer it starts directly with Windows. How do I get back to Mac?

    I have used Bootcamp to install Windows 7 on my new Mac OS X Lion.  Now, when I start my computer it starts directly with Windows.  No way to get back to Mac

    I have used Bootcamp to install Windows 7 on my new Mac OS X Lion.  Now, when I start my computer it starts directly with Windows.  No way to get back to Mac

Maybe you are looking for