Click or drag to resize

DriverSession::ModelInFamily

Indicates if the specified instrument model is a member of the specified instrument family.

virtual bool ModelInFamily(const std::string& strModel, const std::string& strFamily) const;

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

[in] ViSession handle for the driver session.

strModel

[in] The instrument model to test against membership in the specified strFamily.

strFamily

[in] The instrument family to test the specified strModel against for membership.

Return Value

Returns true if the specified instrument model 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.