InstrumentSupported
Indicates if the current instrument is supported by the driver.
Syntax
Section titled “Syntax”bool InstrumentSupported() const;Return value
Section titled “Return value”Returns true if the current model is supported.
Remarks
Section titled “Remarks”In order for a model to be supported, it must be listed in the Models Page of the Driver Settings Editor.
Example
Section titled “Example”The following example demonstrates use of the InstrumentSupported function.
HRESULT Acme4321::Configure(){ HRESULT hr = S_OK;
if (!InstrumentSupported()) return err.ModelNotSupported(GetModel());
hr = InstrPrintCommand();
return hr;}