Agilent Technologies E4371A Video Gaming Accessories User Manual


 
Programming Overview - 5
61
NOTE: The measurement log contents are cleared when a sequence is initiated.
Set and query the Measurement logging voltage and current interval criteria with:
cfSetMeasLogInterval();
cfGetMeasLogInterval();
To read the Measurement log, use:
cfReadMeasLog();
To reset the read pointer to either the beginning of the log or immediately ahead of the write pointer, use:
cfReset();
To clear the Measurement log, use:
cfInitiate();
Time Stamp Function
The measurement log only records the time in seconds from the start of a cell forming sequence. To
determine the time when the forming sequence actually starts, use the cfGetSeqTime() function in
conjunction with the clock on your controller.
The cfGetSeqTime() function returns the time that has elapsed (in seconds) since a sequence was started
or triggered. After your program has determined that a sequence is running, it can call this function and
compute the sequence start time using the following algorithm:
StartTime = CurrentTime cfGetSeqTime()
Output Measurements
The instrument is capable of taking measurements at its output terminals on command. The following
measurement may be made on a single output, or on all outputs.
For voltage measurements, use
cfMeasVoltage();
For current measurements, use
cfMeasCurrent();
The following resistance measurements may take several seconds to complete. You may need to
temporarily adjust the cfSetTimeout() function to account for the increased execution time. If the
measurement could not be completed for some reason, the special value CF_NOT_A_NUMBER
(9.91E37) is returned.
For ac resistance measurements, use
cfMeasACResistance();
For dc resistance measurements use
cfMeasDCResistance();
For output probe resistance measurements, use
csMeasOutputProbeResistance();
For sense probe resistance measurements, use
csMeasSenseProbeResistance();