Hpe5250a_esr_q, Hpe5250a_func – Agilent Technologies Agilent E5250A User Manual

Page 248

Advertising
background image

8-24

Agilent E5250A User’s Guide, Edition 11

VXIplug&play Driver
Driver Functions

hpe5250a_esr_Q

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

Syntax

ViStatus _VI_FUNC hpe5250a_esr_Q(ViSession vi, ViChar _VI_FAR errstr[ ] );

Parameters

vi

Instrument handle returned from hpe5250a_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”

hpe5250a_func

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

Syntax

ViStatus _VI_FUNC hpe5250a_func(ViSession vi, ViInt16 channel_config);

Parameters

vi

Instrument handle returned from hpe5250a_init( ).

channel_config

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

Advertising