Represents the exception that is thrown when an NI-PowerSignalsDAQ driver error occurs.

Derives from

  • Exception

Syntax

Namespace: NationalInstruments.PowerSignalsDaq

public class PowerSignalsDaqException : Exception

Remarks

You can use this class to handle exceptions that are expected to be thrown by the NI-PowerSignalsDAQ driver.

Constructors

NameDescription
PowerSignalsDaqException(Exception, ErrorCode, string, params object[])

Initializes a new instance of the PowerSignalsDaqException class with a reference to the inner exception that is the cause of this exception and a specified error type and error message.

PowerSignalsDaqException(ErrorCode, string, params object[])

Initializes a new instance of the PowerSignalsDaqException class with a specified error type and error message.

Properties

NameDescription
ErrorCode

Gets the error code of the exception of PowerSignalsDaqException type.