When checked, Nimbus will generate code in the attribute getter and setter preamble sections that caches the attribute value between calls. This can reduce I/O traffic if redundant calls to the attribute occur, but it can also lead to cache coherency issues (data in memory out-of-sync with the actual instrument settings) if the property couplings are not thoroughly understood and properly specified.
Attribute State Caching Editor
Nimbus allows state caching to be enabled on an attribute-by-attribute basis. The Attribute State Caching Editor allows the driver developer to enable or disable state caching for the selected attribute and to specify cache couplings. See the topic Understanding State Caching for more information.
Enable caching of this attribute
Attributes invalidated when this attribute is set
This list contains the names of any cached attributes that will be invalidated whenever this attribute is set. Invoking the attribute setter will cause any previously cached values corresponding to the specified attributes to be discarded.
To add an attribute to the invalidation list
Section titled “To add an attribute to the invalidation list”-
Click in the first available entry of the list.
-
Enter an attribute name, without the driver
PREFIX_ATTR_portion. For example, for an attribute with a full attribute ID ofACME4321_ATTR_TRIGGER_SOURCE, only the stringTRIGGER_SOURCEwould be entered here. -
Press the enter key.
To remove an attribute from the invalidation list
Section titled “To remove an attribute from the invalidation list”-
Click on the row selector to the left of a attribute name.
-
Press the delete key.