2-28 Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4
Driver Function Reference
hp4156b_readData
result
*OPC? command execution result. Returned data. VI_TRUE
(Operation complete), or VI_FALSE (Operation is pending).
Example
ViSession vi;
ViStatus ret;
ViPBoolean result;
ret = hp4156b_opc_Q(vi,&result);
hp4156b_readData
This function reads and returns the source setup data or the data measured by the
hp4156b_startMeasure function.
Syntax
ViStatus _VI_FUNC hp4156b_readData(ViSession vi, ViPInt32 eod,
ViPInt32 data_type, ViPReal64 value, ViPInt32 status, ViPInt32 channel);
Parameters
vi
Instrument handle returned from hp4156b_init( ).
eod
End of data flag. Returned data. 1 (end of data) or 0 (not EOD).
data_type
Data type of “value”. Returned data. 0, 1, 3, 8, 9, 11, 14, or 15.
0: Voltage setup data
1: Current setup data
3: Time setup data
8: Voltage measurement data
9: Current measurement data
11: Time measurement data
14: Sampling index data
15: Stress status data
value
Measurement data or source setup data. Returned data.
status
Measurement status or source status. Returned data. For the
status value, see “Status Code” on page 2-12.
channel
Channel number of the unit for measurement or output.
Returned data. 1 to 6 (SMU1 to SMU6), 21 (VSU1), 22
(VSU2), 23 (VMU1), 24 (VMU2), 27 (PGU1), or 28 (PGU2).
hp4156b_readStatusByte_Q
This function returns the contents of the status byte register.
Содержание 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...