Ivi_ApplySimulationDriverDefaultSetup
Usage
ViStatus Ivi_ApplySimulationDriverDefaultSetup (ViSession vi, ViChar simulationDriverSessionName[]);
Purpose
This function applies the default attribute setup you specify in the IVI configuration store file for the simulation driver. The simulation driver should call this function after completely initializing a new session.
Parameters
Input | ||
Name | Type | Description |
---|---|---|
vi | ViSession | The ViSession handle that you obtain from Ivi_SpecificDriverNew. The handle identifies a particular IVI session. |
simulationDriverSessionName | ViChar[] | Pass the name of the simulation driver session item specified in the IVI configuration store for the simulation driver. |
Return Value
Contains the status code that the function call returns. IVI engine functions can return error and warning values from several sets of status codes. Some status codes are unique to the IVI engine. Other status codes are the same codes that VISA Library functions return. Still others are error or warning values that functions in specific instrument drivers return. Each set of status codes has its own numeric range.
Regardless of the source of the status code, 0 always indicates success, a positive value indicates a warning, and a negative value indicates an error.