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

DCPowerDriverOperationCache Property
Gets or sets whether to cache the value of properties.
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx40 (in NationalInstruments.ModularInstruments.NIDCPower.Fx40.dll) Version: 2023
Syntax
public bool Cache { get; set; }
Public Property Cache As Boolean Get Set
Property Value
Type: Booleanif caching is enabled; otherwise, . The default value is .
Exceptions
Exception | Condition |
---|---|
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.