Click or drag to resize

DriverSession::CacheEnabled

Indicates if state caching is currently enabled for the driver session.

virtual bool CacheEnabled() const;

bool CacheEnabled(ViSession Vi);

Parameters
Vi

[in] ViSession handle for the driver session.

Return Value

Returns true if state caching is currently enabled and false otherwise.

Remarks

This value is initially set at driver initialization time by interrogating both the OptionsString parameter to the InitWithOptions function and any session information the user may have configured in the IVI Configuration Store. After session initialization, the client application may change this value via the CACHE attribute.

Download a complete CHM version of this documentation here.