Hpe5250a_biaschancard, Hpe5250a_biaschanlist – Agilent Technologies Agilent E5250A User Manual

Page 231

Advertising
background image

Agilent E5250A User’s Guide, Edition 11

8-7

VXIplug&play Driver

Driver Functions

hpe5250a_biasChanCard

This function will enable or disable bias on all the output ports of the specified card.

Syntax

ViStatus _VI_FUNC hpe5250a_biasChanCard(ViSession vi,
ViInt16 disable_enable, ViInt16 bias_cardno);

Parameters

vi

Instrument handle returned from hpe5250a_init( ).

disable_enable

Bias status.

0 : sets bias enabled card.

1 : sets bias disabled card.

bias_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_biasChanList

This function will enable or disable bias on all the output ports specified by the
biaschan_list.

The parameter ’biaschan_list’ is an array of integers with each integer representing
one channel. The last number of the ’biaschan_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_biasChanList(ViSession vi,
ViInt16 biaschan_disen, ViInt32 _VI_FAR biaschan_list[ ] );

Parameters

vi

Instrument handle returned from hpe5250a_init( ).

biaschan_disen

Bias status.

0 : sets bias enabled port.

1 : sets bias disabled port.

biaschan_list[ ]

Channel numbers. 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