NI-DAQmx .NET Framework 4.5 API Reference

DaqSystem.ClearLastDaqWarning Method

  • Updated2023-02-21
  • 1 minute(s) read
DaqSystem.ClearLastDaqWarning Method
Clears the value of the LastDaqWarning property, by setting the error code to zero and the error string to a blank string.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302

Syntax

public void ClearLastDaqWarning()
Public Sub ClearLastDaqWarning

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

This method clears information only about warnings that occur in the thread from which the method is called. This behavior distinguishes warnings that are caused by actions in one thread from warnings that are caused by independent actions that occur at the same time in another thread.

See Also

Log in to get a better experience