Agb220xa_detectcoupleport, Agb220xa_error_message, Agb220xa_error_query – Agilent Technologies Agilent B2201A User Manual
Page 204

6-18
Agilent B2200 User’s Guide, Edition 4
VXIplug&play Driver
Driver Functions
A device clear will abort the present operation and enable the instrument to accept a
new command or query.
This is particularly useful in situations where it is not possible to determine the
instrument state. In this case, it is customary to send a device clear before issuing a
new instrument driver function. The device clear ensures that the instrument will be
able to begin processing the new commands.
Syntax
ViStatus _VI_FUNC agb220xa_dcl(ViSession vi);
Parameters
vi
Instrument handle returned from agb220xa_init( ).
agb220xa_detectCouplePort
This function detects the input ports connected to the Kelvin cable, and assigns them
as the input couple ports that will be used for the Kelvin connection. The input
couple port setting is effective for the all cards. This command overwrites the
previous couple port setting.
Syntax
ViStatus _VI_FUNC agb220xa_detectCouplePort(ViSession vi);
Parameters
vi
Instrument handle returned from agb220xa_init( ).
agb220xa_error_message
This function translates the error return value from an instrument driver function to
a readable string.
Syntax
ViStatus _VI_FUNC agb220xa_error_message(ViSession vi, ViStatus
error_number, ViChar_VI_FAR message[ ] );
Parameters
vi
Instrument handle returned from agb220xa_init( ).
error_number
Error return value from the driver function.
message[ ]
Error message string. This is limited to 256 characters.
agb220xa_error_query
This function returns the error numbers and corresponding error messages in the
error queue of a instrument. See Chapter 9 for a listing of the instrument error
numbers and messages.