Rp/Ec Trend Experimental Sequence

Run the Rp/Ec Trend standard technique by selecting Experiment > DC Corrosion > Rp/Ec Trend from the Framework™ menu bar. This initiates the following sequence of events:

  1. Framework creates a Runner window, and the RpEc Trend.exp script is run in this window.
  2. The script creates a Runner window. In this runner window, the script outputs a Setup dialog box. This dialog box allows you to specify parameters such as the data file name, the scan parameters for each test, and the time between tests. Clicking the OK button accepts the parameters and starts the experimental run.
  3. The script obtains the use of the potentiostat specified in the Setup dialog box. If the potentiostat is in use or the output file cannot be opened, the script returns you to the Setup dialog box.
  4. The script opens the data file specified in the setup. The file header information is written to the data file. This header information includes:
    1. Tags identifying possible analyses
    2. The time and date at which the script was started
    3. A list of the Setup parameters.

    This information is written to the file prior to data-acquisition.

  5. If electrode-conditioning was specified in Setup, the script conditions the electrode by applying a known voltage for a period of time.
  6. At the start of the repetitive loop, the script checks that the Total experiment time is not exceeded. If it has been exceeded, the script halts and closes the Runner window.
  7. The system then runs a complete Polarization Resistance experiment. An optional initial delay is performed if it was requested in the setup file. In all cases, Eoc is measured at open circuit prior to the scan.
  8. The actual scan occurs. The potential of the sample is swept from the Initial E to the Final E. Current readings at fixed time-intervals are taken during the sweep. At each point the current range is automatically switched to the optimal range for the measured cell current. If IR-compensation has been selected, each potential is corrected for the measured IR-drop of the preceding point.
  9. When the scan is over, the cell is turned off until it is time for another test.
  10. The script calculates Rp from a linear least-squares fit of the current-versus-potential data that were just recorded. The resulting data point is appended to the data file. The point is also plotted on a real-time plot of Rp and Eoc versus time.
  11. The script checks the repeat cycle time, and sees if it is time to start the next curve. The script delays if necessary. After this delay it loops back to step 6.