beautypg.com

Agb220xa_esr_q, Agb220xa_func, Agb220xa_esr_q -23 agb220xa_func -23 – Agilent Technologies B2201A User Manual

Page 209

background image

Agilent B2200 User’s Guide, Edition 2

6-23

VXI plug&play Driver

Driver Functions

agb220xa_esr_Q

This function returns the contents of the ESR register. The driver returns the
equivalent messages (see Parameters).

Syntax

ViStatus _VI_FUNC agb220xa_esr_Q(ViSession vi, ViChar_VI_FAR errstr[ ] );

Parameters

vi

Instrument handle returned from agb220xa_init( ).

errstr[ ]

Response from instrument.

Bit Value

Message

1

“ESR_OPC”

2

“ESR_RQL”

4

“ESR_QYE_ERROR”

8

“ESR_DEVICE_DEPENDENT_ERROR”

16

“ESR_EXECUTION_ERROR”

32

“ESR_COMMAND_ERROR”

64

“ESR_URQ”

128

“ESR_PON”

OTHERS

“ESR_MULTI_EVENT”

agb220xa_func

This function is used to set the channel configuration to the auto configuration mode
or the normal configuration mode.

Syntax

ViStatus _VI_FUNC agb220xa_func(ViSession vi, ViInt16 channel_config);

Parameters

vi

Instrument handle returned from agb220xa_init( ).

channel_config

Configuration mode. 0 (auto) or 1 (normal).

This manual is related to the following products: