Click or drag to resize

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);
Parameters
Vi

[in] ViSession handle for the driver session.

strFamily

[in] The instrument family to test the connected instrument model against for membership.

Return Value

Returns true if the connected instrument (or the model being simulated) is a member of the specified instrument family 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.