Gets or sets whether to cache the value of properties.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsa

public bool Cache { get; set; }

Remarks

true if caching is enabled; otherwise, false. The default value is true.

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

Exceptions

TypeDescription
System.ObjectDisposedException

The Cache property was accessed after the associated NIRfsa object was disposed.