Programming Overview - 5
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();
The output voltage is regulated and measured at the power output terminals unless the remote sense function is used. The Agilent MCCD can be configured to regulate and measure the voltage at either the power terminals or the sense terminals.
To set and query where the voltage is sensed, use:
cfSetSense();
cfGetSense();
61