[in] ViSession handle for the driver session.
DriverSession::GetVisaResourceManager
Returns the VISA resource manager that was used to create the VISA I/O session associated with the driver session.
Syntax
Section titled “Syntax”ViSession GetVisaResourceManager() const;
ViSession GetVisaResourceManager(ViSession Vi);Parameters
Section titled “Parameters”Vi
Return value
Section titled “Return value”Returns the ViSession handle to the VISA resource manager that was used to create the VISA I/O session.
Remarks
Section titled “Remarks”This function is only defined when the driver is configured to use VISA as its underlying I/O mechanism on the I/O Property Page.
Example
Section titled “Example”The following example demonstrates use of the GetVisaResourceManager function.
ViStatus _VI_FUNC acme4321_ConfigureSweep(ViSession Vi, ViReal64 StartFrequency, ViReal64 StopFrequency){ auto resourceManager = GetVisaResourceManager(Vi);
// ...}