Before you build an instrument driver, check that no driver exists for the instrument you are using. You can use the NI Instrument Driver Finder to find, download, and install LabVIEW Plug and Play drivers for an instrument. You also can check the manufacturer's Web site, and the Instrument Driver Network and NI Drivers and Updates on the National Instruments Web site for drivers. You also can search for and install existing LabVIEW instrument drivers.
Use the Create New Instrument Driver Project wizard to create a LabVIEW Plug and Play instrument driver project that conforms to the Instrument Driver Guidelines. The generated instrument driver project includes instrument driver VIs and function palette files (.mnu).
Complete the following steps to create an instrument driver project using the Create New Instrument Driver Project wizard.
Note If you want to create a new instrument driver project from an existing instrument driver, you must install the existing driver in the labview\instr.lib directory before you launch the Create New Instrument Driver Project wizard. You can search for and install existing instrument driver projects using the NI Instrument Driver Finder. |
Template | Description |
---|---|
DC Power Supply | Controls basic operations such as outputting DC power and configuring the over-voltage and over-current protection. The template also includes features such as monitoring the output voltage and current. |
Digital Multimeter | Controls basic operations such as setting the measurement function, range, and resolution. The template also includes advanced features such as configuring the trigger count and sample count and taking multipoint measurements. |
Function Generator | Controls basic operations such as outputting standard waveforms. The template also includes the ability to configure frequency and amplitude modulation. |
Oscilloscope | Controls basic operations such as acquiring waveforms using edge triggering and transferring waveform data from the instrument. |
General Purpose (message-based) | Use for message-based instruments for which there is no class-specific template. Common message-based instruments include: GPIB, USBTMC, VXI-11, and serial. |
General Purpose (register-based) | Use for register-based instruments for which there is no class-specific template. Common register-based instruments include: VXI and PXI. |
Spectrum Analyzer | Controls basic operations such as setting the frequency range and sweep properties. The template also includes advanced features such as configuring and querying the marker. |
Counter | Controls basic operations such as configuring the measurement type and trigger level. This template also includes the ability to configure the start and stop arming conditions. |
Power Meter | Controls basic operations such as configuring the measurement function, range, and offset. This template also includes the ability to configure the averaging and correction frequency. |
After you complete the instrument driver project, consider submitting the driver to the Instrument Driver Network at ni.com/idnet to make the instrument driver accessible to others.