[in] ViSession handle for the driver session.
DriverSession::InstrumentIsModel
Indicates if the connected instrument (or model being simulated) is the same as the specified model.
Syntax
Section titled “Syntax”virtual bool InstrumentIsModel(const std::string& strModel) const;
bool InstrumentIsModel(ViSession Vi, const std::string& strModel);Parameters
Section titled “Parameters”Vi
strModel
[in] The instrument model to test against the current instrument model.
Return value
Section titled “Return value”Returns true if the connected instrument (or the model being simulated) is the same as the specified model and false otherwise.
Remarks
Section titled “Remarks”The list of instrument models and their instrument family association is configured using the Models Property Page.