NI VISA driver wizard 驱动安装问题

我在使用NI VISA driver wizard生成了一个USB设备的驱动,例如叫devicedrv.inf,然后在下一步的过程中如果选​择直接安装这个驱动,driver wizard会调用DriverWizardInstallInf64.exe(我的电脑是64位的,如果​32位的最后就是inf32)去安装这个drvier。安装成功后就能在电脑上识别我的设备了。
我的问题是,我现在想把这个驱动部署到另一台没有安装NI-VISA的计算机上。我做过的尝试是,直接把这​个inf文件和拷贝到目标计算机上,右键单击后Install;拷贝winusb.sys至系统驱动文件夹​下。但是这样操作之后插上设备并没有正确识别 。然后我又尝试过去使用DriverWizardInstallInf64.exe这个程序,但是发现它并​没有任何可以跟的参数设置,也没有帮助文档,无法安装这个inf。
求助NI工程师及各位高手,请问大家是如何解决这个问题的?多谢
已解决!
转到解答。

您好,
         您在开发机上生成的USB设备的驱动已经调用了NI VISA的底层函数,简单的拷贝到另外一台PC上是行不通的。需要在另外一台PC上安装NI-VISA Run-Time Engine
         详情请参考http://digital.ni.com/public.nsf/allkb/EF7934DAC49​B4FAD4825723D00089627

Similar Messages

  • NI-VISA driver wizard and SCPI command

    Hi,
    I had a go with a NI-VISA driver wizard. I wanted to create a driver for MH3114 DAQ. Wizard went trough very smoothly, and the driver has been installed.
    However when I did *IDN? under MAX I've received an error.
    Does it mean I have to create/implement any SCPI command? 
    How the wizard is intened to work?
    Solved!
    Go to Solution.

    Hi MimiKL,
    As Dennis has said, instruments are either designed to work with SCPI commands or not. If the user manual does not state the device is SCPI compliant then SCPI commands aren't going to work.
    All the driver wizard does is generate a number of VIs which will send the standard SCPI commands to an SCPI compliant instrument. Depending on how you are communicating with the instrument (which bus) you may need to modify these VIs subtly to work with different instruments. But, as mentioned, if the device you are trying to communicate with isn't SCPI compliant then this is never going to work. For future reference, when using the driver wizard, all of the generated subVIs will have comments in them telling you exactly what you need to replace and change to get the driver working for your instrument.
    If your device isn't SCPI compliant and you have a dll which works then you should continue using it.
    Best Regards,
    Chris
    National Instruments - Tech Support

  • NI VISA driver wizard找不到

    我安装了Labview2013,和ni visa540_full.exe,现在我想用NI VISA driver wizard做一个usb的.inf文件,可是我找不到NI VISA driver wizard这个程序啊!
    能给个下载链接吗
    还是现在现在Labview2013合并了这个功能
    已解决!
    转到解答。

    你好!
             正确安装了VISA5.4版本驱动后,选择开始》程序》National Instruments》VISA》VISA驱动程序开发员向导,即可打开

  • NI-VISA Driver with Interrupt detection

    Hello everyone,
    I am new to PCI and PCI driver, encounter an problem when use the NI-VISA to program a PCI driver with the interrupt detection.
    Here is the situation:
    This PCI card is made of two chips : the PCI9030 pci bridge chip and ET1100 chip (the local chip that connected to PCI9030). The memory of ET1100 is mapped 1:1 to the PCI9030 memory starting at BAR2. Now I want the PCI card generates an interruption when the content of register at offset 0x221 changes.  
    I add the interrupt detection (see the figure above or the attachment), interruption removal and disarm following the guide "Using the NI-VISA Driver Wizard and NI-VISA to Develop a PXI(e)/PCI(e) Driver in Windows". However, when I completed and installed this driver in the LabVIEW RT OS, the system can recognize the card, but cannot generate the interruption when the register at offset 0x221 changes, therefore does anyone tell me the reason ? Or tell me how to program this driver using NI-VISA?
    Any suggestions is welcome.
    And Thank you in advance!

    Duplicate post here: http://forums.ni.com/t5/PXI/NI-VISA-PCI-driver-with-interrupt-detection/m-p/2618341
    Bobby Breyer
    Applications Engineer
    National Instruments

  • USB Visa driver stops responding

    I have currently developed a production test for a USB device but am coming across a very strange bug.  I go through a test sequence via case structure (i.e. Test 1 = Button 1 test, Test 2 = send command to device and read response back, Test 3 = button 2 test, etc).  I send commands through a control transfer and/or read data through report 8.  Also when the button is pressed, I read it through the interrupt endpoint.  I am using a VISA driver for this USB device that I created through the NI-VISA driver wizard.  Of course I open the VISA when I start the test and close the VISA once the test sequnce is completed (whether it passes or fails).
    However, I sometimes get a strange issue where the USB device stops responding between test sequences.  For example, test 1 passed but when it gets to test 2, the dongle does not seem to respond to the command and therefore, test fails within a certain amount of time that I specified.  But, if I leave the device plugged in and I restart the test, it will go through the sequence just fine. 
    I have used a USB sniffer (i.e. CatC) to monitor the USB traffic on the USB line.  When I press buttons, I can see that there is still data transferring wirelessly (this is a wireless joystick) via an LED that blinks on the dongle whenever it recieves data from the joystick, however, I see no USB traffic on the sniffer.  If I leave the dongle plugged in and I simply restart the test sequence, I see USB traffic again. 
    This is very strange to me and I suspect that Windows is somehow losing the USB dongle and then reenumerating it (but I am not sure).  However, when this is done, the VISA session is now lost in the middle of my test sequences and I cannot recover until I open up the VISA again.  Has anyone ever come across this type of issue before?  It is strange because most of the time it works, but sometimes it does not and it is giving me false failures.  I am not sure if the dongle is "reenumerating" during my test sequence or if some reason, the VISA session is getting lost.

    Is it possible that the device is getting reset? I have seen some devices that do no reset themselves correctly and Windows does not detect that they have been reset. The net effect is that the 2-way communication becomes a 1-way pipe. One experiment you can try when you see this happen is to unplug and plug the device back in. If you begin reading data again then Windows and the device are getting out of sync for some reason.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Driver wizard does not allow USB to be selected

    I am trying to control a Keithley 2230-30-1 Tripple Channel DC Power supply with NI-VISA through USB.
    When I connect the power supply and go to VISA interactive control, there are no options for a usb device.  I know that the USB port I am using works, and that the PC recognizes that the device is manufactured by Keithley (using the lsusb command).
    In addition, when I attempt to use the NI-VISA Driver wizard, the option to set up a USB device is grayed out.
    So far I have had no success with this device.  However, this PC and this version of NI-VISA has been able to sucessfully connect to and control a GPIB device using both LabVIEW and PyVISA.
    I would appreciate any help I can get on this matter.  Thank you.
    Useful Information:
    PC: Dell Optiplex 755
    OS: Cern Scientific Linux 6 (SLC6) x86-64  (a distribution based on and
    VISA version: Version 5.4 (32-bit version as there is no 64 bit Linux VISA yet)
    I can post additional information if required.

    There is no need to run the wizard to use a USBTMC instrument with NI-VISA on any OS. Specifically on Linux, there is no need to run the wizard for any USB device. The reason is that NI-VISA will be able to find and use any USB device that is not claimed by another driver. I believe this is the root of the issue you are seeing. On some distributions, there is a default usbtmc driver that claims all USBTMC instruments and hence NI-VISA can't see them. To test this, just run 'rmmod usbtmc' as root and then launch NI-VISA interactive control to see if it shows up now. This will confirm if that is the issue. As long as the driver is present, it will claim the device any time it is unplugged and replugged the instrument (or you restart the machine). One way to prevent it is to black-list the usbtmc driver (echo blacklist usbtmc >> /etc/modprobe.d/blacklist.conf) and this may be an acceptable solution if you want to always use NI-VISA for your USBTMC instruments.
    There could also be the problem related to permission in addition to the above problem, and the document linked in the above post has information on how to add permissions so that a non-root user can access the USB instrument.

  • Visa driver wrong endpoint descriptors

    Hello,
    I am trying to communicate with a custom-made HID device with LabVIEW using the NI-VISA Driver Wizard. The device can be used with the standard windows driver with C#, but now I will use it with LabVIEW.
    The device has the following endpoint descriptors:
    Endpoint Descriptor 81 1 In, Interrupt, 1 ms
    Offset
    Field
    Size
    Value
    Description
    0
    bLength
    1
    07h
    1
    bDescriptorType
    1
    05h
    Endpoint
    2
    bEndpointAddress
    1
    81h
    1 In
    3
    bmAttributes
    1
    03h
    Interrupt
    1..0: Transfer Type
    ......11 
    Interrupt
    7..2: Reserved
    000000.. 
    4
    wMaxPacketSize
    2
    0040h
    64 bytes
    6
    bInterval
    1
    01h
    1 ms
    Endpoint Descriptor 01 1 Out, Interrupt, 1 ms
    Offset
    Field
    Size
    Value
    Description
    0
    bLength
    1
    07h
    1
    bDescriptorType
    1
    05h
    Endpoint
    2
    bEndpointAddress
    1
    01h
    1 Out
    3
    bmAttributes
    1
    03h
    Interrupt
    1..0: Transfer Type
    ......11 
    Interrupt
    7..2: Reserved
    000000.. 
    4
    wMaxPacketSize
    2
    0040h
    64 bytes
    6
    bInterval
    1
    01h
    1 ms
    There are two endpoint descriptors for communication in Interrupt mode. But after creating a driver with the Driver Wizard this driver doesn't have these two endpoints. Instead it recognizes the descriptor with 0x1 as Bulk In Pipe and the Descriptor 0x81 as Interrupt In Pipe (a screenshot is attached, because the values cannot be copied).
    A communication with the LabVIEW examples which uses the Interrupt In Pipe does work, but everything else failed because of the wrong out endpoint.
    Is there any way to correct the descriptors?
    Thanks,
    Chris
    Attachments:
    usb wrong descriptors.PNG ‏63 KB

    cschwarz wrote:
    Hello,
    I thought it would be much easier to communicate with the device from LabVIEW with such a driver. Are there any good examples to communicate with HID devices with the standard Microsoft dll?
    I was searching a lot but I didn't find any good material...
    Regards,
    Chris
    You mentioned C# in a previous post. Look at that example.

  • VISA Driver Development Wizard

    I found a reference to this great document called
    Using the VISA Driver Development Wizard and NI-VISA to
    Register-Level Program a PXI/PCI Device under Windows.
    As I described in another post, I am having performance problems
    using AccessHW to talk to a legacy ISA board under XP compared to
    Win2k where performance was decent.
    To rule out AccessHW as the problem and confirm that it is an
    XP/hardware issue, I'd like to try another method of
    reading memory at address 0xE0000-0xEFFFF.
    Since the legacy ISA bus on my motherboard is actually
    bridged from the PCI bus, is there anyway to hack with the
    VISA Driver Development Wizard to do memory reads
    on the ISA bus?
    Perhaps making a fictious PCI card with a VISA driver?
    any thoughts?
    mlewis

    Hi Graham,
    Which version of the NI VISA drivers are currently installed on your system?
    Thanks,
    Applications Engineer

  • Driver wizard error -1073807174 invalid character present in serial number

    Hello,
    I am trying to get a device working in LabVIEW.  This device does not advertize that it works in LabVIEW but I figured i woudl give it a shot anyway.  When I run the driver wizard I get this error:
    -1073807174 invalid character present in serial number
    The devie is from China so that may have something to do with it.
    usbview.exe is also not happy with the enumeratin of this device.
    I relize this is not a LabVIEW error or NI issue, what I want to know is:
    #1 is there any way around this issue?  Looking for legit or hack.
    #2 Anyone else ever run into this?
    James

    James_G1 wrote:
    I have what I think is the command set.  I assume they do provide an api, but not in labview so I would have to wrap that anyway.  I figured step one was make inf for VISA, but that failed for the reasons stated above.
    Have you been able to establish any kind of communication with the device? Have you tried using MAX to communicate using the API you have?

  • Driver wizard says The drivers of your printer are disabled, but doesn't fix.

    OfficeJet 6500 E709a series.  Windows 7 64-bit.       Printer operates from Word, emails, Copy function. Two programs, Photoshop and Printshop, no longer print when directed to print.  Printshop says "Install a printer."  Print Shop has tasks in printer queue and won't print.  Hp Driver Wizard says,
    The current full HP software is already installed for the selected printer but the basic functionality drivers appear to be missing or configured incorrectly.  Click Next.  After the click:     The drivers of your printer are disabled,  Click next to enable them.   
    These responses spool with no further option. 
    This question was solved.
    View Solution.

    Hi there mandrelliott,
    Try downloading and running the print and scan doctor located here:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03275041&cc=us&dlc=en&lc=en
    It can fix a lot on its own and if not give a better idea of what is going on.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Error while trying to install NI-VISA driver on SUSE LINUX 11.1(The version of gcc in the path does not match the version of gcc used to compile the currently running kernel.)

    hi i am trying to install NI-VISA driver on SUSE LINUX 11.1.
     the error message it shows is
              ******************************** ERROR ****************************************
    * The version of gcc in the path does not match the version of gcc used to    *
    * compile the currently running kernel.  This can cause unpredictable         *
    * behavior in kernel drivers and should be fixed.                             *
    * gcc version: Linux)                                                          *
    * kernel compiled with: 4.3.2                                                 *
    ******************************** ERROR ****************************************
    my kernel source version is 
       linux-8nes:/home/admin # rpm -qi kernel-source
    Name        : kernel-source                Relocations: /usr/src
    Version     : 2.6.27.29                         Vendor: openSUSE
    Release     : 0.1.1                         Build Date: Sun 16 Aug 2009 03:43:52 PM IST
    Install Date: Sat 24 Oct 2009 02:13:12 AM IST      Build Host: rinck
    Group       : Development/Sources           Source RPM: kernel-source-2.6.27.29-0.1.1.src.rpm
    Size        : 309251954                        License: GPL v2 only
    Signature   : RSA/8, Sun 16 Aug 2009 03:57:25 PM IST, Key ID b88b2fd43dbdc284
    Packager    : http://bugs.opensuse.org
    URL         : http://www.kernel.org/
    Summary     : The Linux Kernel Sources
    Description :
    Linux kernel sources with many fixes and improvements.
    Authors:
        Linus Torvalds <[email protected]>
        see /usr/src/linux/CREDITS for more details.
    Source Timestamp: 2009-08-15 17:53:59 +0200
    GIT Revision: 8a413546901c407e96f7fba18574cceeb40452af
    GIT Branch: SLE11_BRANCH
    Distribution: openSUSE 11.1 
    i had also installed GCC 4.3.2.
    it shows the error message as i had posted.
    please kindly help me on this.
    Thanks and regards,
    P.karthick

    Check this solution

  • Where to download visa driver development tool

    I need visa driver development tool ,but I don't know where to download it? HOPE TO GET HELP.

    Under Tools>Instrumentation, is the Create Instrument Driver Project. Is that what you are talking about? That's in LabVIEW 8.x and I did not have to select or download anything. Since I did a full install of LabVIEW and all drivers, it may be that it is included with the installation of NI-VISA but that would be just a guess to try if you don't have it.

  • 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

  • Develop visa driver

    I'm new to Labview. I have a Hardware, connected vie etthernet to a desktop computer. I want provide labview code, to easy connect to Labveiw with this hardware.
    A code in VC C++ already exists connecting to the hardware, with
    1) Init function, initialising the hardware, prompting first time the user for ip address and finding all modules connected to the hardware
    2) start function, starting thread for each module, writing and reading data to an form each module with a given period as parameter
    3)IO functions reading and writing to each module, parameters: module, bytepos and value for writing.
    Is the Visa Driver developemnt the proper way of doing it?
    open -> 1)
    configure -> 2)
    peak, poke -> 3)
    It is a good idea to use the c-code library functions in an dll library connecting to labview?
    Or should I use an other approach?
    Thanks in advance.

    Thanks for all the links,
    I went through many of the documents.
    Again the description: In Visual C++ is already existing code, where the user can write an application using API functions for Initialising, Starting and I/O. Only in the background threads, the data are transfered and recieved via Ethernet to the hardware.
    Rewriting the C code in Labview would only increase the maintanace work.
    All what i read about VISA functions, they are interfaces to a card, serial port, TCP/IP devices. In my case, Labview should access the c- API functions, so that code will handle the access to the hardware. What is the best way for this access.
    It is a good idea to import them through a library dll as vi's, put them into the private section of my Labview driver, and use Labview standard public function signitures  to provide a uniqe interface for my code? Exist such an standard, and if yes, where I can find it?
    Or it is better way , to run the VC Application with a socket server, and using VISA with TCP/IP as resource?

  • Visa driver

    Hi
    I want to communicate with an instruement thru ethernet. I wonder which version of VISA driver I should use. I have windows XP.
    Thanks

    The first version of NI-VISA to support Ethernet was 2.5, I believe and the first version to support XP was 2.6.1. This information is available in the readme files. The latest version of NI-VISA is 4.1 and I don't know of any reason why you just can't use the latest version.

Maybe you are looking for

  • How can I get Firefox 7 back?

    I'm SCREWED! I updated to Firefox 8 a couple days ago and was still running Flash 10. Everything was fine and then I got the prompt later in the day to update to Flash 11. I did. BIG mistake. I run Vista 64 bit and now Flash doesn't run anymore. I un

  • Can Logic 7 pro install on my new I Mac 10.5.4?

    Can Logic 7 pro install on my new I Mac 10.5.4?

  • Connecting IPod to computer causes computer to shut off

    This has never happened before. I plugged my IPod into the same USB port I always do for the first time since downloading the latest ITunes update and my computer shut off. Anything else I plug into the USB port works fine, it is only a problem with

  • SMB shares in solaris 11.1

    hi , i am a newbie to solaris 11.1 and i need to allow windows users in a Workgroup Mode to access SMB shares without username or password and have full permissions , how can i do it ??? thanks in advance

  • Multiple Expressions

    I'm trying to wrap my brain around some XPATH. I have two variables in a switch statement that I want to compare and take one of three paths.. Path1: Both Are presnet Path 2/3: Either is present, but not the other. Here's my XPATH - my question is ho