beautypg.com

KEPCO KLP Series Developer's Guide, Rev 1 User Manual

Page 56

background image

4-14

KLP-DEV 031113

When the Function Generator button on the Front Panel is clicked, the function generator panel
(Figure 4-10) is displayed. At the top right of the panel, the type of waveform is selected by Sig-
nal Type: either Sine or Sawtooth. Dwell indicates the period of one waveform. The Number of
points determines the smoothness of the waveform as it is constructed incrementally. The value
of the non-changing parameter, current for a voltage waveform (shown in Figure 4-13) or volt-
age for a current waveform must be specified. The # of Cycles indicates how many waveforms
to produce; if set to 0 the waveform repeats continuously.

The waveshape chosen by Signal Type can be altered as desired by changing the amplitude,
d-c offset, frequency, duty cycle, and phase angle represented by individual bar graphs. The
arrows at the top and/or bottom of the bars can be used to alter the settings, or discrete values
can be entered in the box below the bar. As changes are made to the parameters, the Com-
manded Waveform display shows what the waveform will look like when it is running.

Once the Start button is clicked, the commands are sequentially sent to the KLP to build the
waveform by incrementally changing the output. While the waveform is being generated, peri-
odic measurements of the KLP output are made and shown in the Measured Waveform display.
To stop the waveform click on the Stop button which is red while the waveform is running.

Figure 4-13 is a block diagram that shows how the function generator was implemented using
list commands in this example. The KepcoDCPwr Clear All Lists.vi was executed first. This VI
clears the previous list, allowing the new list to be sent to the KLP. Lists are not deleted from the
KLP except when a virtual model setting is changed or when the Clear All function is executed.
The KepcoDCPwr Configure User Sequence.vi does the actual downloading of the points to the
KLP unit. The KepcoDCPwr Configure Voltage Mode.vi causes the list to be executed.

The KepcoDCPwr Configure User Sequence.vi is shown in Figure 4-11. This logic is specifically
configured to generate a voltage list where two arrays of voltage and dwell times are supplied,
along with the operating current and number of cycles for the list to execute. In the left-most
case statement there is a command to send one entry for the control and current lists of the
internal arbitrary waveform generator. The last two functions in the diagram send the dwell and
then the voltage list to the KLP. These functions, along with the individual write of the
LIST:COUN command, set up the arbitrary waveform generator for the selected number of rep-
etitions.