[in] ViSession handle for the driver session.
DriverSession::InstrumentModel
Returns the instrument model of the device with which the driver is communicating.
Syntax
Section titled “Syntax”virtual const std::string& InstrumentModel() const;
const std::string& InstrumentModel(ViSession Vi);Parameters
Section titled “Parameters”Vi
Return value
Section titled “Return value”Returns the instrument model of the device with which the driver is communicating.
Remarks
Section titled “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.