To control your instrument on a Linux machine, you will need to install the following driver repositories:
Refer to the following links on how to install your instrument hardware based on instrument type: Ethernet, GPIB, serial, or USB.
NI-VISA installs with a configuration utility called visaconf for Linux and Mac OS X. Use this utility to add and configure instruments in your system.
After set up and configuration, use VISA Interactive Control (VISAIC) to verify communication with the instrument and test different instrument commands.
After completing your configuration and verifying communication with the instrument, you can easily transition from interactive mode to programming mode by using an instrument driver. Only Plug and Play instrument drivers are supported on Linux.
You now have access to the instrument driver VIs from the Functions >> Instrument I/O >> Instrument Drivers palette in LabVIEW. You can use these VIs to communicate with your instrument.
If an instrument driver does not exist for your instrument, you can use VISA functions in LabVIEW to control your instrument. You can access the VISA VIs from the Function >> Instrument I/O >> VISA palette.
The instrument driver and NI-VISA driver will install examples and the API required to communicate with your instrument. Use these examples as programming references and an easy way to start using your instrument.
Refer to the following resources for LabVIEW examples. If you are using the NI-VISA driver, refer to the instrument-specific NI-VISA examples.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.