Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4 2-65
Driver Function Reference
hpe5250a_func
Syntax
ViStatus _VI_FUNC hpe5250a_esr_Q(ViSession vi, ViChar _VI_FAR errstr[ ]);
Parameters
vi
Instrument handle returned from hpe5250a_init( ).
errstr[ ]
Response from instrument. 1, 2, 4, 8, 16, 32, 64, 128 or others.
1 (ESR_OPC), 2 (ESR_RQL), 4 (ESR_QYE_ERROR),
8 (ESR_DEVICE_DEPENDENT_ERROR),
16 (ESR_EXECUTION_ERROR),
32 (ESR_COMMAND_ERROR),
64 (ESR_URQ), 128 (ESR_PON), or
others (ESR_MULTI_EVENT).
hpe5250a_func
This function is used to set the channel configuration to the auto configuration mode
or the normal configuration mode.
Syntax
ViStatus _VI_FUNC hpe5250a_func(ViSession vi, ViInt16 channel_config);
Parameters
vi
Instrument handle returned from hpe5250a_init( ).
channel_config
Configuration mode. 0 (auto) or 1 (normal).
hpe5250a_init
This function initializes the software connection to the instrument and optionally
verifies that instrument is in the system. In addition, it may perform any necessary
actions to place the instrument in its reset state.
If the hpe5250a_init function encounters an error, then the value of the vi output
parameter will be VI_NULL.
Syntax
ViStatus _VI_FUNC hpe5250a_init(ViRsrc InstrDesc, ViBoolean id_query,
ViBoolean do_reset, ViPSession vi);
Parameters
InstrDesc
Instrument description. Examples; GPIB0::1::INSTR.
id_query
VI_TRUE (to perform In-System Verification), or
VI_FALSE (do not perform In-System Verification).
do_reset
VI_TRUE (to perform reset operation), or
VI_FALSE (do not perform reset operation).
Содержание 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...