Agb220xa_func, Agb220xa_groundchancard – Agilent Technologies Agilent B2201A User Manual

Page 206

Advertising
background image

6-20

Agilent B2200 User’s Guide, Edition 4

VXIplug&play Driver
Driver Functions

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).

agb220xa_groundChanCard

This function ground-enables or disables all the output ports of the specified card.

Syntax

ViStatus _VI_FUNC agb220xa_groundChanCard(ViSession vi,
ViInt16 disable_enable, ViInt16 gnd_cardno);

Parameters

vi

Instrument handle returned from agb220xa_init( ).

disable_enable

Status of the card, ground enabled or ground disabled.

0 : sets ground enabled card.

Advertising