Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between Session and driver session in IVI Configuration Store

I want to create a driver session and associate it with a sw module and a hardware asset. But i don't find APIs in configuration server to do so.

IviConfig_SetSessionHardwareAssetReference (IviSessionHandle SessionHandle,
                                                              IviHardwareAssetHandle HardwareAssetHandle);

This function takes session handle rather than Driver session handle. Why is it so???






0 Kudos
Message 1 of 2
(3,202 Views)
The IviDriverSession class is derived from the IviSession class. You may pass an IviDriverSession handle to any of the IviSession functions such as  IviConfig_SetSessionHardwareAssetReference.
 
The IviDriverSession functions in the C API are those that are special to the IviDriverSession class. The IviSession functions are common to both.
 
z_haider
Message 2 of 2
(3,179 Views)