Click or drag to resize

DriverSession::InvalidateAllAttributes

Invalidates the cached value of all attributes on all repeated capabilities.

virtual void InvalidateAllAttributes();

ViStatus InvalidateAllAttributes(ViSession Vi);
Parameters
Vi

[in] ViSession handle for the driver session.

Remarks

This function is used to invalidate the cached value of all attributes. Invalidating a cached attribute forces the driver to communicate with the instrument the next time the attribute is read or written.

Example

The following example demonstrates use of the InvalidateAllAttributes function.

C++
ViStatus _VI_FUNC acme4321_ConfigureArmCount(ViSession Vi, ViConstString RepCapIdentifier, ViInt32 ArmCount)
{
    InvalidateAllAttributes(Vi);

    // ...
}

Download a complete CHM version of this documentation here.