Before attempting the next steps, make sure you have the instrument manual, and that your instrument works properly when not controlled programmatically. Additionally, it's a good idea to check the physical connection from the computer to the instrument.
1. Check the instrument driver's readme or download page for required software and any other special instructions. 2. Confirm you have installed the NI software required to communicate with your device: Software Required for Instrument Control (GPIB, Serial, VISA, USB, etc).
3. Make sure that if you need the drivers for development that you are not downloading the driver labelled "Runtime". The runtime version will allow the computer to detect the device but will not show configuration/debug options for it, such as VISA Test Panels.4. Confirm successful communication through NI-VISA (or other supporting software). Getting Started with Instrument Control will walk you through this process.
Confirm that your instrument driver is installed correctly. You can find all instrument drivers in the Instrument Driver Network (IDNet):
Note: If you will be using IVI-C Class Drivers, you will need to configure the IVI Logical Name and Driver session in MAX and then save the settings. Refer to the next document for those instructions: Getting Started Using NI IVI with LabVIEW or LabWindows™/CVI.
1. Try communicating through a simple VISA example to confirm that VISA is working through the ADE (LabVIEW, LabWindows/CVI, Measurement Studio). Open the example finder Help»Find Examples, then navigate to Hardware I/O and select the type of connection you are using: GPIB or Serial.
2. Open the ADE that you will be using and find an example for the instrument driver:
3. Confirm that you are using the correct VISA resource or IVI Logical Name and run the example. If the example does not run correctly, try the following:
4. If you can communicate through the instrument driver, but see a problem, isolate the problem down to the minimum number of VIs or function calls that reproduce the error.
NI Driver refers to the software that facilitates the communication between NI hardware and software. For example: The Virtual Instrument Software Architecture API, commonly referred to as NI-VISA, allows communication with most instrumentation buses including GPIB, USB, Serial, and Ethernet. It provides a consistent and easy to use command set to communicate with a variety of instruments.
Instrument Driver refers to a set of software routines that control a programmable instrument. Each routine corresponds to a programmatic operation such as configuring, reading from, writing to, and triggering the instrument. Instrument drivers simplify instrument control and reduce test program development time by eliminating the need to learn the programming protocol for each instrument.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.