Hpe5250a_opencard, Hpe5250a_openlist – Agilent Technologies Agilent E5250A User Manual

Page 250

Advertising
background image

8-26

Agilent E5250A User’s Guide, Edition 11

VXIplug&play Driver
Driver Functions

hpe5250a_openCard

This function will disconnect all input ports from all output ports for the specified
card. Then if bias mode is ON, connects the input bias port to all bias enabled output
ports.

Syntax

ViStatus _VI_FUNC hpe5250a_openCard(ViSession vi, ViInt16 open_cardno);

Parameters

vi

Instrument handle returned from hpe5250a_init( ).

open_cardno

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.

hpe5250a_openList

This function will disconnect the input ports from the output ports specified by the
channel list.

The parameter ’openchan_list’ is an array of integers with each integer representing
one channel. The last number of the ’openchan_list’ should be "0" (numeric zero)
to identify the end of the list. The maximum number of channels that can be
specified by the list is 100.

Syntax

ViStatus _VI_FUNC hpe5250a_openList(ViSession vi,
ViInt32_VI_FAR openchan_list[ ] );

Parameters

vi

Instrument handle returned from hpe5250a_init( ).

openchan_list[ ] Channel numbers to disconnect. 5 digits integer. ABCDE.

where A: card number, BC: input port number, DE: output port
number. Top zero(s) can be ignored. For example, if A=0,
BC=01, and DE=01, channel number should be 101 instead of
00101.

Advertising