3 software timed ramp execution, Figure 4-9. ramp function panel, current ramp, Software timed ramp execution -14 – KEPCO KLR Series Developers Guide User Manual
Page 56: Ramp function panel, current ramp -14

4-14
KLR-DEV 060713
4.6.3
SOFTWARE TIMED RAMP EXECUTION
Clicking the Start Ramp button on the Software Ramp panel (Figure 4-8) causes the Ramp
Function Panel (Figure 4-9) to be displayed as the ramp is being generated. Checking the
Readback Voltage or Readback Current checkboxes above the DC VOLTS or DC AMPERES
indicators cause the Voltage and Current indicators to show measured voltage and current
vs.commanded values of voltage and current if unchecked.
FIGURE 4-9. RAMP FUNCTION PANEL, CURRENT RAMP
The information from the Software Ramp Panel is passed to either KepcoDCPwr Software
Timed Ramp Example.vi for a voltage ramp or KepcoDCPwr Current Software Timed Ramp
Example.vi for a current ramp. The computer sends the proper commands to the KLR that gen-
erate the ramp. The checkboxes for Readback Voltage, Readback Current can be altered while
the ramp is being generated to allow the indicators to display either measured or commanded
voltage or current. The Disable @ End and Repeat checkboxes can also be altered while the
ramp is being generated.
The actual function that creates the ramp, a series of points, is shown in Figure 4-12. The logic
for each point is very simple: send the voltage to the unit with the voltage level command, mea-
sure the voltage using the Kepco measure vi and do it again for current. A delay is initiated at
the start of the function so the time it takes for the commands to execute does not affect the
overall ramp operation (unless the dwell time is less than 0.01 second on an older PC or about
0.008 second on a higher performance computer).