Click or drag to resize

DriverSession::InstrumentIsModel

Indicates if the connected instrument (or model being simulated) is the same as the specified model.

virtual bool InstrumentIsModel(const std::string& strModel) const;

bool InstrumentIsModel(ViSession Vi, const std::string& strModel);
Parameters
Vi

[in] ViSession handle for the driver session.

strModel

[in] The instrument model to test against the current instrument model.

Return Value

Returns true if the connected instrument (or the model being simulated) is the same as the specified model and false otherwise.

Remarks

The list of instrument models and their instrument family association is configured using the Models Property Page.

Download a complete CHM version of this documentation here.