![]() | 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);
[in] ViSession handle for the driver session.
Returns the instrument model of the device with which the driver is communicating.
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.