Agb220xa_cmdstring_q, Agb220xa_compenc, Agb220xa_compenc fun – Agilent Technologies Agilent B2201A User Manual
Page 201

Agilent B2200 User’s Guide, Edition 4
6-15
VXIplug&play Driver
Driver Functions
cmd_str
Instrument command (cannot exceed 256 bytes in length).
result
Response from instrument.
agb220xa_cmdString_Q
This function passes the cmd_str string to the instrument. This entry point will wait
for a response which must be a string (character data). You specify the cmd_str and
size parameters, and get result[ ].
Syntax
ViStatus _VI_FUNC agb220xa_cmdString_Q(ViSession vi, ViString cmd_str,
ViInt32 size, ViChar_VI_FAR result[ ] );
Parameters
vi
Instrument handle returned from agb220xa_init( ).
cmd_str
Instrument command (cannot exceed 256 bytes in length).
size
Length of result in bytes. 2 to 32767.
result[ ]
Response from instrument.
agb220xa_compenC
This function compensates capacitance/conductance data measured by the Agilent
4284A LCR meter, and returns compensation results. Before this function is
executed, a compensation data file must be specified by using the
agb220xa_selectCompenFile function. The file must contain the appropriate
compensation coefficients for your measurement environment. For obtaining the
compensation coefficients for your environment and creating the compensation data
file, see “Capacitance Compensation” on page 4-20.
Syntax
agb220xa_compenC(ViSession vi, ViReal64 frequency, ViReal64 raw_c,
ViReal64 raw_g, ViPReal64 compen_c, ViPReal64 compen_g);
Parameters
vi
Instrument handle returned from agb220xa_init( ).
frequency
Measurement frequency (in Hz). 1E3 (1 kHz) to 1E6 (1 MHz).
raw_c
Capacitance (in F) measured by the 4284A.
raw_g
Conductance (in S) measured by the 4284A.
compen_c
Capacitance compensation result (in F). Returned value.
compen_g
Conductance compensation result (in S). Returned value.