Click or drag to resize

DriverSession::QueryInstrStatusEnabledOriginal

Indicates if instrument error polling was enabled for the driver session when the session was originally initialized.

virtual bool QueryInstrStatusEnabledOriginal() const;

bool QueryInstrStatusEnabledOriginal(ViSession Vi);

Parameters
Vi

[in] ViSession handle for the driver session.

Return Value

Returns true if instrument error polling was enabled for the driver session when the session was orginally initialized 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. Unlike the QueryInstrStatusEnabled function, which returns a value that can change over the lifetime of a driver session, this function always returns the initial value at session initialization time.

Download a complete CHM version of this documentation here.