NI-DCPower .NET fx45 API Reference

Table of Contents

DCPowerDriverOperation.Cache Property

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

DCPowerDriverOperationCache Property

Gets or sets whether to cache the value of properties.

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

Syntax

public bool Cache { get; set; }
Public Property Cache As Boolean
	Get
	Set

Property Value

Type: Boolean
if caching is enabled; otherwise, . The default value is .

Exceptions

ExceptionCondition
ObjectDisposedException The Cache property was accessed after the associated NIDCPower object was disposed.

Remarks

If you set this property to , NI-DCPower tracks the current NI-DCPower instrument settings and avoids sending redundant commands to the instrument. NI-DCPower might always cache or never cache particular properties, regardless of the setting of this property.

See Also

Log in to get a better experience