DAQmx Write Input Data as NaN

Updated Jun 12, 2020

Reported In


  • LabVIEW


  • NI-DAQmx

Issue Details

I put double type data in which value is 'NaN(Not A Number)' into DAQmx Write.vi. However, it did not occur any errors. What values does hardware generate?


NaN is short for Not a Number constant, But it is double type. When the DAQmx Write.vi receives a NaN value, this function does not output an error. Because, double type is still valid. At this time, NaN returns value '0'.

Additional Information

If the range to generate is set higher or lower than 0 on the DAQmx channel, the value returns 0. If necessary, programmed exceptions are required for non-numeric input like case structure.