Agb220xa_init, Agb220xa_opc_q, Agb220xa_init -27 agb220xa_opc_q -27 – Agilent Technologies B2201A User Manual
Page 213: Om agb220xa_init

Agilent B2200 User’s Guide, Edition 2
6-27
VXI plug&play Driver
Driver Functions
agb220xa_init
This function initializes the software connection to the instrument and optionally
verifies that instrument is in the system. In addition, it may perform any necessary
actions to place the instrument in its reset state.
If the agb220xa_init function encounters an error, then the value of the vi output
parameter will be VI_NULL.
Syntax
ViStatus _VI_FUNC agb220xa_init(ViRsrc InstrDesc, ViBoolean id_query,
ViBoolean do_reset, ViPSession vi);
Parameters
InstrDesc
Instrument description. Examples; GPIB0::1::INSTR.
id_query
VI_TRUE (to perform In-System Verification), or
VI_FALSE (do not perform In-System Verification).
do_reset
VI_TRUE (to perform reset operation), or
VI_FALSE (do not perform reset operation).
vi
Instrument handle. This is VI_NULL if an error occurred
during the initialization.
agb220xa_opc_Q
This function does the *OPC? common command.
Syntax
ViStatus _VI_FUNC agb220xa_opc_Q(ViSession vi, ViPBoolean result);
Parameters
vi
Instrument handle returned from agb220xa_init( ).
result
VI_TRUE (Operation complete), or
VI_FALSE (Operation is pending).