Cache
- Updated2025-10-14
- 1 minute(s) read
Gets or sets whether to cache the value of properties.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsg
public Boolean Cache { get; set; }
Remarks
true if caching is enabled; otherwise, false. The default value is true.
If you set this property to true , NI-RFSG caches the value of properties, and keeps track of the current instrument settings so that it can avoid sending redundant commands to the instrument.
If you set this property to false, NI-RFSG does not cache the value of properties.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The Cache property was accessed after the associated NIRfsg object was disposed. |