Ivi_UseSpecificSimulation
Usage
ViBoolean = Ivi_UseSpecificSimulation(ViSession vi);
Purpose
This function returns the current value of the IVI_ATTR_USE_SPECIFIC_SIMULATION attribute for the session you specify.
Use Ivi_UseSpecificSimulation in the high-level functions in specific and class instrument drivers. Ivi_UseSpecificSimulation provides fast, convenient access to the IVI_ATTR_USE_SPECIFIC_SIMULATION attribute because it does no error checking and does not lock the session.
Note Do not call this function unless you have already locked the session. |
Parameters
Name | Type | Description |
---|---|---|
vi | ViSession |
The ViSession handle that you obtain from Ivi_SpecificDriverNew. The handle identifies a particular IVI session. |
Return Value
Returns the value of the IVI_ATTR_SIMULATE_IN_SPECIFIC attribute for the session. This attribute controls whether the specific driver or the class driver simulates I/O operations when simulation is enabled.
Values:
VI_TRUE (1) | Simulate in specific driver |
VI_FALSE (0) | Simulate in class driver |
If you pass an invalid session handle to the function, this parameter returns VI_FALSE.