Agb220xa_groundstate, Agb220xa_init, Om agb220xa_init – Agilent Technologies Agilent B2201A User Manual
Page 209

Agilent B2200 User’s Guide, Edition 4
6-23
VXIplug&play Driver
Driver Functions
gnd_port
Input port number to be set to the ground port. 1 to 14 (input
port 1 to input port 14).
agb220xa_groundState
This function controls the ground mode for the specified card. When ground mode is
ON, the input ground port is connected to all ground enabled input ports and output
ports that are not connected to any other input ports. Ground disabled output ports
are never connected to the input ground port when ground mode is ON. For details,
see “Ground Mode” on page 3-18.
The ground mode cannot be set to ON when the bias mode is ON.
Syntax
ViStatus _VI_FUNC agb220xa_groundState(ViSession vi, ViInt16 gstate_cardno,
ViInt16 state);
Parameters
vi
Instrument handle returned from agb220xa_init( ).
gstate_cardno
Card number. 1 (card 1), 2 (card 2), 3 (card 3), 4 (card 4), or 5
(all card) in the normal configuration mode, or 0 (all card in the
auto configuration mode). For the configuration mode, see
agb220xa_func.
state
Ground mode. 0 (OFF) or 1 (ON).
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).