DAQmx Equivalent for AI Single Scan and AO Single Update

Updated Mar 9, 2020

Issue Details

  • I have some Traditional DAQ code that I need to update. Is there a DAQmx VI to replace the AI Single Scan and AO Single Update VIs?
  • What equivalent DAQmx functions exist to replace "AI Single Scan vi" and "AO Single Update vi"?
  • Are there some guidelines for transitioning Traditional DAQ to DAQmx?

Solution

There is no direct equivalent for the "AI Single Scan.vi" and "AO Single Update.vi". Instead, DAQmx uses the "DAQmx Read" to read AI signals, and "DAQmx Write" to write data.
However, the Traditional DAQ functions are available if both Traditional DAQ and DAQmx are installed.

National Instruments offer some Traditional NI-DAQ Compatibility VIs that are designed to allow you to run Traditional DAQ LabVIEW applications on devices that are only supported by DAQmx.
These compatibility VIs are designed to be used with LabVIEW 7.0 or 7.1 and older operating systems such as Windows XP, Windows 2000 and Windows NT.

National Instruments recommends transitioning to DAQmx entirely to minimise any problems with older Traditional DAQ functions. See Transition from Traditional NI-DAQ (Legacy) to NI-DAQmx in LabVIEW for guidance on how to do this.