NI-DCPower .NET fx45 API Reference

Table of Contents

DCPowerDriverOperation.RangeCheck Property

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

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: Boolean
if validating property values and method parameters are enabled; otherwise, .

Exceptions

ExceptionCondition
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.

See Also

Log in to get a better experience