Language Dictionary - 6

cfReadTestLog

Syntax

int cfReadTestLog(CF_HANDLE server, CF_READP *read_pos, int bufsize, char *buffer, int *retcount);

Description

Returns up to bufsize characters from the test log. The test log contains entries which describe any errors that occur during calibration or selftest. The number of characters read into the buffer is returned in retcount. The value pointed to by the read_pos argument controls which portion of the log is read. If this value is the special value CF_READ_FIRST, data is returned starting at the beginning of the log. Subsequent calls to cfReadSelftestLog use the location pointed to by read_pos to keep track of the read position. When the retcount argument is 0, the end of the log has been reached.

The format of the test log is

error-number, error message <newline>

The test log remains readable in the instrument until either the line power is turned off or another cfSelftest, cfCal, cfCalStandard, or cfCalTransfer command is given.

cfReset

Syntax

int cfReset(CF_HANDLE server);

Description

Sets most programmable functions to their power-on states. This command clears any previously defined sequence steps and sequence tests and aborts any sequence that may be in progress. All cell outputs are set to the off state.

cfReset does not affect settings of the following: cfGetSerialConfig, cfReadSerial, cfGetSerialStatus, or digital configuration. It does not clear any logs or data queues.

cfResetSeq

Syntax

int cfResetSeq(CF_HANDLE server);

Description

Clears any previously defined sequence steps and sequence tests and aborts any sequence that may be in progress. 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.

87

Page 87
Image 87
Agilent Technologies E4370A, E4371A, E4374A manual CfReadTestLog, CfResetSeq