NI-DCPower .NET fx45 API Reference

Table of Contents

DCPowerWarning Class

  • Updated2024-01-04
  • 3 minute(s) read
DCPowerWarning Class

DCPowerWarning Class

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

Inheritance Hierarchy

SystemObject
  NationalInstruments.ModularInstruments.NIDCPowerDCPowerWarning

Namespace:  NationalInstruments.ModularInstruments.NIDCPower
Assembly:  NationalInstruments.ModularInstruments.NIDCPower.Fx45 (in NationalInstruments.ModularInstruments.NIDCPower.Fx45.dll) Version: 2023

Syntax

public sealed class DCPowerWarning
Public NotInheritable Class DCPowerWarning

The DCPowerWarning type exposes the following members.

Properties

  NameDescription
Public propertyCode
Gets the GUID code assigned to the warning.
Public propertyStatic memberErrorQueryNotSupportedWarningCode
Gets the warning code when Error Query is not supported.
Public propertyStatic memberMeasurementOverRangeWarningCode
Gets the warning code when measurement is over range.
Public propertyStatic memberRangeCheckInProgressWarningCode
Gets the warning code when measurement was attempted while a range check was in progress.
Public propertyText
Gets the message related to the warning.
Public propertyStatic memberUnexpectedDriverWarningCode
Gets the warning code for an unexpected driver warning.
Top

Methods

  NameDescription
Public methodEquals(Object)
Determines whether the current instance of DCPowerWarning and the object that you specify are equal.
(Overrides ObjectEquals(Object).)
Public methodEquals(DCPowerWarning)
Determines whether the current instance of DCPowerWarning and the DCPowerWarning object that you specify are equal.
Public methodEquals(DCPowerWarning, Boolean)
Checks for the equality for the two DCPowerWarning objects considering whether warning message should be compared or not.
Public methodGetHashCode
Returns the hash code for the current instance of DCPowerWarning.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Converts the current instance of DCPowerWarning to string.
(Overrides ObjectToString.)
Top

Operators

  NameDescription
Public operatorStatic memberEquality
Checks whether the two instances of DCPowerWarning are equal.
Public operatorStatic memberInequality
Checks whether the two instances of DCPowerWarning are unequal.
Top

Remarks

Represents the list of warnings returned by the driver.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Log in to get a better experience