ni-rfsg-dotnet-api-ref_doc

Content Type
Programming Language
Current manual
Table of Contents

RfsgDriverOperation.Cache Property

RfsgDriverOperation.Cache Property

RfsgDriverOperationCache Property

Gets or sets whether to cache the value of properties.

Namespace:  NationalInstruments.ModularInstruments.NIRfsg
Assembly:  NationalInstruments.ModularInstruments.NIRfsg.Fx40 (in NationalInstruments.ModularInstruments.NIRfsg.Fx40.dll) Version: 2022

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 NIRfsg object was disposed.

Remarks

If you set this property to , 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 , NI-RFSG does not cache the value of properties.

See Also

Was this information helpful?