![]() | DriverSession::InstrumentInFamily |
Indicates if the connected instrument (or model being simulated) is a member of the specified instrument family.
virtual bool InstrumentInFamily(const std::string& strFamily) const; bool InstrumentInFamily(ViSession Vi, const std::string& strFamily);
[in] ViSession handle for the driver session.
[in] The instrument family to test the connected instrument model against for membership.
Returns true if the connected instrument (or the model being simulated) is a member of the specified instrument family and false otherwise.
The list of instrument models and their instrument family association is configured using the Models Property Page.