Hpe5250a_biaschanlist_q – Agilent Technologies Agilent E5250A User Manual

Page 232

Advertising
background image

8-8

Agilent E5250A User’s Guide, Edition 11

VXIplug&play Driver
Driver Functions

hpe5250a_biasChanList_Q

This function will query the instrument for the bias status for the channels given in
the 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.

The ’bias_status’ parameter is an array of integers containing the return values of
the query. The ’bias_status’ array returned will correspond one to one with
’biaschan_list’ parameter.

Syntax

ViStatus _VI_FUNC hpe5250a_biasChanList_Q(ViSession vi, ViInt16 bias_disen,
ViInt32 _VI_FAR biaschan_list[ ], ViInt32 _VI_FAR bias_status[ ] );

Parameters

vi

Instrument handle returned from hpe5250a_init( ).

bias_disen

Bias status for the query.

0 : confirms if the port is the bias enabled.

1 : confirms if the port is the bias disabled.

biaschan_list[ ]

Channel numbers to know the bias status. 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.

bias_status[ ]

Bias status of the channels given in the biaschan_list. Returned
value depends on the setting of bias_disen as shown below:

when bias_disen=0, 0 means bias disabled, 1 means enabled.

when bias_disen=1, 0 means bias enabled, 1 means disabled.

Advertising