Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4 2-67
Driver Function Reference
hpe5250a_openList_Q
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.
hpe5250a_openList_Q
This function will query the instrument for the channels open given in the
’openchan_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.
The ’open_status’ parameter is an array of integers containing the return values of
the query. The ’open_status’ array returned will correspond one to one with
’openchan_list’ parameter.
Syntax
ViStatus _VI_FUNC hpe5250a_openList_Q(ViSession vi,
ViInt32_VI_FAR openchan_list[ ], ViInt32 _VI_FAR open_status[ ]);
Parameters
vi
Instrument handle returned from hpe5250a_init( ).
openchan_list[ ]
Channel numbers to know the open 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.
open_status[ ]
Status of the channels given in the openchan_list.
1 (opened) or 0 (closed).
hpe5250a_readStatusByte_Q
This function returns the contents of the status byte register.
Syntax
ViStatus _VI_FUNC hpe5250a_readStatusByte_Q(ViSession vi,
ViPInt16 statusByte);
Parameters
vi
Instrument handle returned from hpe5250a_init( ).
statusByte
The contents of the status byte are returned in this parameter.
Содержание 4155C
Страница 3: ......
Страница 13: ...1 Installation...
Страница 18: ...1 6 Agilent 4155C 4156C VXIplug play Driver User s Guide Edition 4 Installation Installing VXIplug play Driver...
Страница 19: ...2 Driver Function Reference...
Страница 89: ...3 Programming Examples for Visual Basic Users...
Страница 147: ...4 Programming Examples for Visual Basic NET Users...
Страница 183: ...5 Programming Examples for C Users...
Страница 225: ...6 Programming Examples for VEE Users...
Страница 271: ...7 Sample Application Programs Using VEE...