Not truly Plug & Play with the generated for custom USB device .inf file

Hello

We have developed an application that uses the library OR-VISA-in order to communicate with our USB device via RAW communication.

This is why we created an *.inf file using the driver Wizard. Once we plug-in the device for the first time, windows enumerates the device successfully and the 'Found new hardware' pop-up - window.

We chose the .inf file that is created, and the device is properly installed.

Our problem occurs when we plug one another device of the same type but with a different Serial-ID (which means that same VID, PID, only the ID for the USB - stick is different).

For all devices with a Serial-ID, which has not been connected to windows, and yet, the "found new hardware" - window opens again so that you HAVE to choose the installation procedure. Despite the fact that the driver for this type of device was already installed, windows does not affect our driver .inf file to the device.

If we chose, then in the "Found new hardware" procedure - the "Automatic Setup" window - the device is installed and can be used successfully.

Of course, windows recognizes the right driver but does not automatically assign it without pop-up windows. We want to avoid the pop-up reapeating for each device.

I did some research on this subject, and now I guess the problem is that the generated .inf file has no signature.

Does anyone have experiences on this subject? Am I wrong? Does anyone have or had the same problem?

All solutions next assign the same ID series for all devices?

Here some quote the file setupapi.log (which seems to confirm my hypothesis):

# 199 Executing "C:\WINDOWS\system32\rundll32.exe" with command line: rundll32.exe newdev.dll, ClientSideInstall \\.\pipe\PNP_Device_Install_Pipe_0. {} FA2413C7-7354-42DC-845B-DC109B5174FC}
#I060 set driver selected.
# 019 Searching for hardware ID (s): usb\vid_1234 & pid_1234 & rev_1234, usb\vid_1234 & pid_1234! (1234 VID is only for the objective test!)
# 018 search compatible identification: usb\class_ff & subclass_00 & prot_00, usb\class_ff & subclass_00, usb\class_ff
Found #I022 'USB\VID_1234 & PID_1234' in C:\WINDOWS\inf\oem70.inf; Feature: "xyz"; Pilot: "xyz"; Supplier: "xyz"; MFG: "xyz"; Section name: "NIVIUSBK_Inst."
Node #I087 untrusted, rank replaced by 0 x 00000001 0x0000c001 driver.
Actual installation #I023 section: [NIVIUSBK_Inst]. Rank: 0x0000c001. Effective driver date: 25/09/2007.
# 166 device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [NIVIUSBK_Inst] 'c:\windows\inf\oem70.inf '.
#I320 of the remains of the device class GUID: (36FC9E60-C465-11CF-8056-444553540000).

Welcome,

Philipp

Hi Philip,

Thanks a lot to post your question. I talked to our specialists in the United States on the signing of your created driver. You will find a brief description in the Readme of NI-VISA:

"WHQL signature hardware USB.

WHQL (Windows Hardware Quality Labs) sign your USB hardware using the driver NI-VISA for Windows XP / 2000, as part of this process it takes a PDB (program database) file to the underlying driver (NiViUsbK.sys).

NiViUsbK.pdb is provided for this purpose. It is in \WinNT\NIvisa\USB. This is usually C:\VXIPNP\WinNT\NIvisa\USB. »

To get it done, you must contact Microsoft. We are not allowed / able to sign your driver for you.

Perhaps, the following link helps you: http://www.microsoft.com/whdc/winlogo/wlk/default.mspx

Best regards

Tags: NI Software

Similar Questions

  • I can find driver for my dvd writer dose not work Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39) _ dvd writer ad - 7530 has ata thanks

    Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39) has .dvd rw ad - 7530 ata

    Hello

    Code 39 means that the driver is corrupted or missing.

    Please make all below even if you have done some before as it is often the set of operations which solves
    the question.

    Try this - Panel - Device Manager - CD/DVD - double-click on the device - driver tab - click
    Update the drivers (this will probably do nothing) - then RIGHT click the drive - UNINSTALL - REBOOT
    This will refresh the default driver stack. Even if the reader does not appear to continue below.

    Then, work your way through these - don't forget the drive might be bad, could be a loose cable or
    slight corrosion on the contacts (usually for a laptop) and other issues.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs
    http://support.microsoft.com/kb/314060 - a Mr Fixit

    The CD drive or the DVD drive does not work as expected on a computer that you upgraded to Windows Vista
    http://support.Microsoft.com/kb/929461

    When you insert a CD or a DVD, Windows Vista may not recognize the disc
    http://support.Microsoft.com/kb/939052

    Your CD or DVD drive cannot read or write media - A Mr Fixit
    http://support.Microsoft.com/GP/cd_dvd_drive_problems

    CD/DVD drive does not appear in Windows Vista, or you receive this error during the installation of Windows Vista after booting from the DVD (AHCI)
    http://support.Microsoft.com/kb/952951
    Drive CD - R or CD - RW Drive is not recognized as a recordable device
    http://support.Microsoft.com/kb/316529/

    Hardware devices not detected or not working - A Mr Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    Another possibility is that the cables are loose. Remove ALL power, then make sure that the cables in both
    ends. Remove and replace, do not just tight. For laptops, you can often clean power and
    contacts data with a pencil eraser.

    --------------------------------------------------------------

    Also check with your system manufacturer to see if there are any updated drivers for your DVD. Or even if it
    are you can reinstall the 'old'. Many use Windows default drivers however some special aura
    ones. Also check the website of the manufacturer of the car.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    Hope these helps.
    Rob - bicycle - Mark Twain said it is good.

  • If Windows will send a message when she install the driver for a USB device successfully or unsuccessfully?

    As you know, the window search and install the driver for a new device (USB) coming. We can get the status of the device through Device Manager manually. but I was blocked by the following questions when trying to obtain programmatically.

    Is it possible for me to get the driver installation progress window? Or how could I get the event that she has finished the installation and the result (install has failed or succeeded)?

    Best regards

    -Alvin Hu

    Vista does not send these messages and cannot be configured to do this (progress or when it is done or if it succeeded or failed).  The only way to make sure is to plug and then, go to start / Control Panel / Device Manager and check for the device and click on it for more information on its status.  You can also check if the appliance does not work - it's probably faster and more accurate.  Many USB devices indicate their status by starting to work (a mouse begins to scroll, a USB flash drive or an external USB drive to bring the Autorun screen or appear in the Windows Explorer,...) and USB devices tend to start working quickly enough so it should not be a long wait.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Windows 7 cannot install the drivers for my USB devices.

    Whenever I have connect my USB devices, windows is now impossible to install the unit. It shows the driver installation icon in the notification area and finally said failed. Devices are displayed in Device Manager with an exclamation mark in it. When I try to manually install the driver, it gives a prompt with error message "Windows found driver software for your device, but has encountered an error trying to install it." . The system cannot find the specified file. No idea why?

    Hi Halley,

    Have you tried another USB port?

    Please follow the steps to solve the problem USB drivers.

    Check the status of the USB in Device Manager:

    a. go to Control Panel - Device Manager.

    b. If you see a yellow exclamation mark next to the device, the driver is disabled and must be updated.

    Method 1:

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/

    Method 2: Reinstall the USB controller:

    a. click Start, click run, and type devmgmt.msc.

    b. expand USB controllers

    c. right-click on each USB drivers and select uninstall

    d. restart the computer and Windows will automatically reinstall the USB controllers.

    Reference article

    Install a USB device

    http://Windows.Microsoft.com/en-us/Windows7/install-a-USB-device

    For more information:

    Tips for solving common driver problems

    http://Windows.Microsoft.com/en-us/Windows7/tips-for-fixing-common-driver-problems

    Please post back with the result. If the problem is still not resolved, we will be happy to help you further.

  • Please give me a link for the driver for his usb device for vista device WD

    my book essential 3.0 in vista cannot install, where like WD package compatible with vista

    Hello

    This is thye link to Western Digital Support

    http://support.wdc.com/

  • I let my child play with the computer, now when I click on a tab, it shows "(*)" to bottom of page, as the wheel of the mouse to zoom in and out and not scroll. I don't know how to fix it.

    I have let the child play with the computer. Now when I click on a tab it show (*) rather than to go to the tab, zoom on the wheel of the mouse rather that scroll and all links open a new window. How can I reset the settings to the default ones?
    Thank you.

    The reset Firefox feature can solve a lot of problems in restaurant Firefox to its factory default condition while saving your vital information.
    Note: This will make you lose all the Extensions, open Web sites and preferences.

    To reset Firefox, perform the following steps:

    1. Go to Firefox > help > troubleshooting information.
    2. Click on the button 'Reset Firefox'.
    3. Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
    4. Firefox opens with all the default settings applied.

    Information can be found in the article Firefox Refresh - reset the settings and Add-ons .

    This solve your problems? Please report to us!

  • "I lost the top of my Web page that has"File"Edit etc and the toolbar with the House for 'House' and the arrow of" return to the last page. Does anyone know how to reinstall these? I'm obviously not computer savy.

    Missing once more, the blue band at the top of my Web page that has the file ',' Edit etc and the toolbar with the House for 'Home' and the arrow «back to last page»

    == My grandchildren's play about that.

    Press the Alt key to display the Menu bar, then open view > toolbars and select menu bar and the bar of Navigation, so that they have a check mark.

  • my pc will not connect to wireless internet... It is said there could be a problem with the driver for the wireless network connection card

    connection network card

    my pc will not connect to wireless internet... It is said there could be a problem with the driver for the wireless network connection card... I'm not sure how to solve the problem of the dat

    Hello

    Did you change your computer?

    I suggest you to follow the links and check out them.

    The problems of Internet connection

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-Internet-connection-problems

    Solve problems, find wireless networks

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-finding-wireless-networks

    Windows wireless and wired network connection problems

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Tips for solving common driver problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/tips-for-fixing-common-driver-problems

  • The MTP drivers not to proceed with the installation for my Samsung Galaxy S2

    The MTP drivers not to proceed with the installation for my Samsung Galaxy S2. I'm not able to use Kies for this reason.

    The MTP drivers not to proceed with the installation for my Samsung Galaxy S2. I'm not able to use Kies for this reason.

    It is more a question that you should study from the other end (Samsung/Android) to this end (Windows).  Hardware and software support for any device always has (probably always will be) from the manufacturer of the product.  They did, they decide what software/drivers that they provide and how they provide.

    For most of the devices like this - just use it as a USB hard drive works well.  ;-)

    http://androidforums.com/Samsung-Galaxy-S2-international/476128-how-do-i-sync-my-Samsung-Galaxy-S2-my-computer.html

    http://samsunggalaxysforums.com/showthread.php/3468-connecting-to-Kies-MTP-USB-driver-failure

  • There is a problem with the driver for a wireless adapter that if it is not compatible or not supported

    My grandmother came to visit me in Belgium and brought her laptop with her. It is Windows 7 and I bought in Ukraine. Thus, she cannot use wireless internet at my place. Troubleshooting scan says there is a problem with the driver for a wireless adapter that is it is not compatible or not supported, something like that. All sound systems are in Russian is not easy for me to explain it. Is it possible to fix this problem or she can't use her laptop to go on the net at all? Thank you!

    If it's a driver fault, can go you on another pc to work to manufacturers support web site for the 'Ukraine' pc and see if the wireless drivers are available there. If they are, download the latest compatible drivers for your pc and transfer them to it by a stick of memory from SD or USB and then install them.

    This may be due to a setting of your network security wireless, for example, that is your network is set to WPA2 but pc does not support. Check configurations for compatibility with your router wireless sound.

    See if anything here help - http://windows.microsoft.com/en-us/windows/setting-wireless-network#1TC=windows-7

    At worst, is it not possible to connect via a cable to your router, esp, if is only a visit to sound.

  • Hello! I have a problem with the Simulator for android is not work. What is the reason?

    Hello! I have a problem with the Simulator for android is not work. What is the reason?

    Depending on your mobilde device you must first unlock the developer settings in order to test the AIR apps on it.

    Where to find these settings depends on your specific device.

  • Problems with the generator of Folio for CS5 (Mac)

    Hello

    I run Adobe CS5 Suite. I am currently developing an iPad app and run into a problem with the generator of folio. Previously, this computer doesn't have a generator all of folio. I followed the instructions on adobe.com and downloaded and installed the update producer folio tools (http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=5433 & starts = 5435) and then downloaded and installed the updated folio builder Panel (http://www.adobe.com/support/downloads/product.jsp?product=180 & platform = Macintosh). When I open inDesign, generator of folio is still saying "an update Is had to use Folio Builder."  "Please click here to download the producer Folio tools."

    I don't know why this is happening because I have already downloaded the new tools producer, by following these instructions: http://help.Adobe.com/en_US/digitalpubsuite/using/WS67cb9e293e2f1f60-21ba9a4512e5e5e0b8d-7 ffe.html

    Anyone have any suggestions on how to fix this? Please let me know as soon as possible.

    Thank you very much for your help!

    Try the following steps:

    1. on your mac, go to the Spotlight, search > uninstall Folio builder control panel - uninstall, uninstall producer Folio tools research - uninstall.

    2 then uninstall Adobe Air.

    3. restart your Mac.

    4. install Adobe Air

    5 re-install the Folio and tools Panel generator producer Folio.

  • Play with the Windows 7 color scheme will affect my TV on different entries or overall?

    Hello, I have a Samsung LED Tv connected to my PC. Asked me to change my color scheme I did. Play with the color scheme of Windows 7 will not affect my TV in any way other than the PC itself. I want to assure you that it don't mess with any setting on my TV or other inputs for my TV, like the brightness, color, etc.

    Hello

    Thanks for posting the request in the Microsoft community forums!

    The problem description, I understand to be aware if the Windows 7 mess with any settings on Samsung LED Tv. color correct me if I'm wrong.

    We look at this, it seems that the settings on Samsung LED Tv will not get affected by the arrangement of color of computer.

    We know if you need help with the Windows operating system. We will be happy to help you. We at Microsoft, strive for excellence and provide our customers with the best support.

  • Play with the opacity or amount

    Hello everyone.

    For example: you have a layer within Photoshop, and you can play with the opacity, like 10% or 50% or 100%.

    Inside the hearing, inside Clip Rack or Rack effect, I would like to adjust the opacity or the amount for each effect. For example: adaptive noise reduction or DeHummer make 30%. The only place where I found this opacity or the amount is indispensable Sound Panel, inside the amount, from 0 to 10. Any other choice?

    Well, "Opacity" is not really a concept when it comes to audio, but each effect has a wide range of settings, you can do.  How they are labeled depends on the effect does.

    For example, on the of hummer, the closest thing to the opacity is the Gain setting - it is a digital quantity rather than a simple slider.  However, if you adjust the number (you can drag left and right to go downwards and upwards) that adjusts how snoring - the frequencies that have been selected - is reduced.

    Similarly, the Adaptive reduction of noise, the slider ' Reduce Noise by ' is probably the closest thing to the opacity control how much or little, the noise is reduced by.

    The problem with just using these two controls is however that other things can affect your sound - noise reduction, doing a too high percentage can give you a metallic sound as hearing eliminates also certain frequencies in the audio range.

    The Essentials Panel, as you have discovered, is a recent attempt to facilitate adjustments for no audio specialists.  However, as the reduction, for example, the RAW camera filter in Photoshop to a single setting.  It may be the best guess at what a typical user would want.

    As a basic indicator, HAND, for each effect controls will be things like the gain settings or as percentage but on other effects (such as reverb for example), there is a control that sets the balance between the original material and the effect generally call "wet dry mix.

    Anyway, as you can see, seemingly simple question gets you a what either by simple answer.  I would say that if you are going to use hearing is to work through some of the tutorials on the Adobe pages... with a little research you will usually find a section on the specific effects to use.

  • Play with the spark datagrid

    I play with the spark datagrid and I have a column implemented as follows:

    "< GridColumn width ="140"headerText ="Margin"headerText.editMode =" Margin (montage) "dataField ="margin"editable ="false"editable.editMode =" true "itemRenderer ="gridColumnRenderer">
    < / GridColumn >

    I would like that the rendering of the element to change color depending on the State of the outerDocuent, is it possible?

    I tried this but can't seem to the outerdocument

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:fx s:ItemRenderer ' http://ns.Adobe.com/MXML/2009 "
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx".
    autoDrawBackground = "true" >

    < s:Label text = "{data .margin}" backgroundColor = "{outerDocument.currentState == 'editMode'? 0xffffff:0xdddddd}" / > "

    < / s:ItemRenderer >

    I believe that you should not use GridItemRenderer instead of ItemRenderer as base class for renderers in spark DataGrid.  It works if you change that?

Maybe you are looking for