beautypg.com

Agb220xa_timeout_q, Agb220xa_unusedport – Agilent Technologies Agilent B2201A User Manual

Page 215

background image

Agilent B2200 User’s Guide, Edition 4

6-29

VXIplug&play Driver

Driver Functions

agb220xa_timeOut_Q

This function returns the timeout value for driver I/O transactions in milliseconds.

Syntax

ViStatus_VI_FUNC agb220xa_timeOut_Q(ViSession vi, ViPInt32 pTimeOut);

Parameters

vi

Instrument handle returned from agb220xa_init( ).

pTimeOut

Minimum timeout period that the driver can be set to, in
milliseconds.

agb220xa_unusedPort

This function ground-enables the specified input ports of the specified card.

The parameter “unused_port” is an array of integers with each integer representing
one port. The last number of the “unused_port” should be “0” (numeric zero) to
identify the end of the array. The maximum number of ports that can be specified by
the array is agb220xa_UNUSEDPORT_MAX.

Syntax

ViStatus _VI_FUNC agb220xa_unusedPort(ViSession vi, ViInt16 unused_cardno,
ViInt32_VI_FAR unused_port[ ] );

Parameters

vi

Instrument handle returned from agb220xa_init( ).

unused_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
auto configuration mode). For the configuration mode, see
agb220xa_func.

unused_port[ ]

Input ports to be ground enabled. 1 to 9 are available. Multiple
port numbers can be set.

The input ground port and a ground enabled input port cannot be assigned to the
same input port.

If the ground enabled input port and a couple port have been assigned to the same
input port, the ground mode and the couple mode cannot be used in parallel.