[in] ViSession handle for the driver session.
DriverSession::CacheEnabled
Indicates if state caching is currently enabled for the driver session.
Syntax
Section titled “Syntax”virtual bool CacheEnabled() const;
bool CacheEnabled(ViSession Vi);Parameters
Section titled “Parameters”Vi
Return value
Section titled “Return value”Returns true if state caching is currently enabled and false otherwise.
Remarks
Section titled “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.