Provides warning codes for the warnings raised by the underlying driver.

Derives from

None

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public class DCPowerWarning

Remarks

Represents the list of warnings returned by the driver.

Thread Safety

All members of this type are safe for multithreaded operations.

Properties

NameDescription
Code

Gets the GUID code assigned to the warning.

ErrorQueryNotSupportedWarningCode

Gets the warning code when Error Query is not supported.

MeasurementOverRangeWarningCode

Gets the warning code when measurement is over range.

RangeCheckInProgressWarningCode

Gets the warning code when measurement was attempted while a range check was in progress.

Text

Gets the message related to the warning.

UnexpectedDriverWarningCode

Gets the warning code for an unexpected driver warning.

Methods

NameDescription
Equals(DCPowerWarning, bool)

Checks for the equality for the two DCPowerWarning objects considering whether warning message should be compared or not.

Equals(DCPowerWarning)

Determines whether the current instance of DCPowerWarning and the DCPowerWarning object that you specify are equal.

Equals(object)

Determines whether the current instance of DCPowerWarning and the object that you specify are equal.

GetHashCode()

Returns the hash code for the current instance of DCPowerWarning.

ToString()

Converts the current instance of DCPowerWarning to string.

Operators

NameDescription
operator!=(DCPowerWarning, DCPowerWarning)

Checks whether the two instances of DCPowerWarning are unequal.

operator==(DCPowerWarning, DCPowerWarning)

Checks whether the two instances of DCPowerWarning are equal.