Agilent Technologies E4371A Video Gaming Accessories User Manual


 
6 - Language Dictionary
76
cfGetOutputState
Syntax
int cfGetOutputState(CF_HANDLE server, CF_OUTPUT_STATE *state);
Description
Returns the output state of the Agilent MCCD when the run state is CF_IDLE. The server
argument can be either a handle to a group obtained by cfOpenGroup, or a handle to all cells in
the instrument if no groups are defined. The possible return values are:
CF_OUTPUT_OFF
The output state of the Agilent MCCD is off.
CF_OUTPUT_CHARGE
The output of the Agilent MCCD is in the charging state.
CF_OUTPUT_DISCHARGE
The output of the Agilent MCCD is in the discharging state.
In the OFF state, the channel outputs are open-circuited and supply no current. In the charge and
discharge states, channel outputs are controlled by cfSetVoltage and cfSetCurrent.
See Also
cfSetOutputState, cfSetVoltage, cfSetCurrent
cfGetRunState
Syntax
int cfGetRunState(CF_HANDLE server, CF_RUN_STATE *state);
Description
Returns the current instrument run state (CF_IDLE, CF_ERASING, CF_INITIATED,
CF_FORMING, CF_PROTECTED, CF_NOT_READY, CF_INTERLOCKED, or
CF_HW_FAILED). The server argument can be either a handle to a group obtained by
cfOpenGroup, or a handle to all cells in the instrument if no groups are defined.
cfGetSense
Syntax
int cfGetSense(CF_HANDLE server, CF_SENSE *sense);
Description
Returns the remote or local sense settings. The value returned is either CF_SENSE_REMOTE or
CF_SENSE_LOCAL. Remote and local sense selection is controlled by cfSetSense.
See Also
cfSetSense