Click or drag to resize

DriverSession::InstrumentModel

Returns the instrument model of the device with which the driver is communicating.

virtual const std::string& InstrumentModel() const;

const std::string& InstrumentModel(ViSession Vi);
Parameters
Vi

[in] ViSession handle for the driver session.

Return Value

Returns the instrument model of the device with which the driver is communicating.

Remarks

The value returned here is set by the implementation of the GetIdentificationInfo function. By default, Nimbus implements the GetIdentificationInfo by sending a *IDN? query to the instrument and parsing an IEEE 488.2 response.

When simulating, this function returns the Model value passed as part of the DriverSetup string. If no Model value was passed to the driver initialization function, then the default instrument model is returned when simulating.

Download a complete CHM version of this documentation here.