How to Check Whether a DAQ Device is Simulated in LabVIEW?

Updated Jul 10, 2018

Reported In

Software

  • LabVIEW

Driver

  • NI-DAQmx

Issue Details

I have several real and simulated DAQ devices in NI Measurement & Automation Explorer (MAX). How can I programmatically determine whether the device is real or simulated in LabVIEW? 

Solution

There are two ways to determine whether a DAQ device is real or simulated using the NI-DAQmx Device Property node.
  1. Device Is Simulated property - This property returns a boolean "True" if the device is simulated.
  2. Identification >> Device Serial Number property - This property returns an interger "0" if the device is simulated.
To get DAQmx Device property node, in LabVIEW Block Diagram, go to Functions >> Measurement I/O >> NI DAQmx >> Advanced >> System Setup >> Device Node.

WAS THIS ARTICLE HELPFUL?

Not Helpful