DCPowerDriverOperation.RangeCheck Property
- Updated2024-01-04
- 1 minute(s) read

DCPowerDriverOperationRangeCheck Property
Gets or sets whether to validate proper values and method parameters. If you enable this property,
NI-DCPower validates the parameter values that you pass to NI-DCPower methods.
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx45 (in NationalInstruments.ModularInstruments.NIDCPower.Fx45.dll) Version: 2023
Syntax
public bool RangeCheck { get; set; }
Public Property RangeCheck As Boolean Get Set
Property Value
Type: Booleanif validating property values and method parameters are enabled; otherwise, .
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The RangeCheck property was accessed after the associated NIDCPower object was disposed. |
Remarks
Range checking parameters is very useful for debugging. After you validate your program, you can set this
property to to disable range checking and maximize performance.