Hpe5250a_couplestate, Hpe5250a_dcl – Agilent Technologies Agilent E5250A User Manual

Page 245

Advertising
background image

Agilent E5250A User’s Guide, Edition 11

8-21

VXIplug&play Driver

Driver Functions

hpe5250a_coupleState

This function controls the couple port mode for the specified card. This function
applies only to the E5252A card.

Syntax

ViStatus _VI_FUNC hpe5250a_coupleState(ViSession vi,
ViInt16 couplestate_cardno, ViInt16 couple_state);

Parameters

vi

Instrument handle returned from hpe5250a_init( ).

couplestate_cardn
o

Card number. 1 (card 1), 2 (card 2), 3 (card 3), 4 (card 4), or 5
(all card) in the normal configuration mode, or 0 (all card in the
automatic configuration mode). For the configuration mode, see
hpe5250a_func.

couple_state

Couple port mode. 0 (OFF) or 1 (ON).

hpe5250a_dcl

This function sends a device clear (DCL) to the instrument.

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 hpe5250a_dcl(ViSession vi);

Parameters

vi

Instrument handle returned from hpe5250a_init( ).

Advertising