DaqException(string, int)
- Updated2026-02-05
- 1 minute(s) read
Initializes a new instance of the DaqException class with the specified error message and NI-DAQmx driver error code.
Syntax
Namespace: NationalInstruments.DAQmx
public DaqException(string message, int errorCode)
Remarks
NI-DAQmx Driver Error Codes
Parameters
| Name | Type | Description |
|---|---|---|
| message | string | The error message that explains the cause of the exception. |
| errorCode | int | The NI-DAQmx driver error code that caused this exception to be thrown. Refer to NI-DAQmx Driver Error Codes for a list of possible values. |