PH 415 Computer Interfacing
OSU logo
The content of this page is undergoing revision and will be moved to another site soon.
National Instruments Devices

Table of Contents

Analog and Digital IO Devices

NI-DAQmx Resources

NI-DAQmx Applications

NI-VISA

  • NI-VISA enables register-level communication with PCI (or PXI) DAQ cards which are bound to NI-DAQmx by treating them as PXI resources. To view what can be done with a PXI card with NI-VISA, select something similar to "PXI2::6::INSTR" that shows up under PXI System and press "Open VISA Test Panel". The accessible functionality should be evident.
  • This sample program can connect to a pci-6221 board but ends abruptly when there is no communication language.

PyVisa

  • PyVisa can be used with XP to communicate with VISA compliant instruments. As the documentation shows, this is accomplished using a VISA-compatible DLL.
  • Use PyVisa to find all available devices, and then use the appropriate resource name to establish communication.