beautypg.com

KEPCO KLP Series (older -1200 models) VISA Driver Manual User Manual

Page 4

background image

4

KLP-VISA 010906

LIST Program Run Status

KpKlp_Prog_Stat

Status of LIST program (running or stopped)

Relay Mode

KpKlp_GetRelayMode

Gets operating mode of instrument relay. 0 = Factory, 1 = Manual,
2 = List Program

Relay Status

KpKlp_GetRelayStatus

Gets on/off status of instrument relay.

Set Relay Status

KpKlp_SetRelayStatus

Sets relay on (energized) or off (de-energized) if Relay Mode is set to
Manual (1).

Set Value

KpKlp_SetValue

Sets the output voltage, the output current of the power supply,
depending on the slide selection position. The values are checked
against the maximum acceptable values for the corresponding power
supply.

Get Value

KpKlp_GetValue

Gets the output voltage, the output current of the power supply
depending on slide selection position.

Trigger

KpKlp_Trig

Triggers the instrument once. The output will go to the trigger voltage
and current values.

Measure Current and
Voltage Output Values

KpKlp_MeasVoltCurr

Measures the values of output (voltage and current).

Get Source Mode

KpKlp_GetSourceMode

Gets the operating mode of the power supply.

Output On/Off

KpKlp_OutputOnOff

Sets the output on or off.

Get Output Status

KpKlp_getOutputState

Returns the output status (on or off).

UTILITY FUNCTIONS — This class of functions provides lower level functions to communicate with the instrument and to change
instrument parameters.

Revision Query

KpKlp_RevisionQuery

Returns the revision numbers of the instrument driver and instrument
firmware version from the *idn? query. This instrument driver's Revi-
sion Number is "Rev 1.0, 9/99, CVI 5.1" and the KLP firmware version
is Firmware Version "1.0". This data is necessary when requesting
technical support.

Model Query

KpKlp_ModelQuery

Return the model number of the KLP power supply.

Serial Number Query

KpKlp_SerialnQuery

Returns the serial number of the KLP power supply. The serial num-
ber is extracted from the answer to the *idn? query.

Query SCPI Version

KpKlp_GetScpiVersion

Returns the power supply answer to the Query SCPI Version com-
mand. Checks the Standard Commands for Programmable Instru-
ments (SCPI) language version.

Self-Test

KpKlp_selfTest

Runs the instrument's self test routine and returns the test result(s).

Error-Query

KpKlp_errorQuery

Reads an error code from the instrument's error queue.

Error Message

KpKlp_errorMessage

Takes the Status Code returned by the instrument driver functions,
interprets it and returns it as a user readable string.

Calibration Status On/Off

KpKlp_CalStatus

Used to enter or exit the calibration state. To enter the calibration state
a 4-character numeric password is required. When the instrument is
shipped from the factory the calibration password is as defined in
Table 2. The password protects the instrument against unauthorized
calibrations.

Calibration Mode

KpKlp_CalMode

Allows the user to select the calibration mode (either voltage, current
or external analog calibration) and also allows selection of 0 (min), full
scale (max), or external readback calibration.

Calibration Zero

KpKlp_CalZero

Used to zero the output of the power supply before switching from
voltage calibration to current calibration (to allow a calibration resistor
to be connected between the power supply output terminals.

Calibration Save

KpKlp_CalSave

Stores the calibration results in the nonvolatile calibration memory of
the instrument as well as the date included with the Save command.

TABLE 1. KLP VISA DRIVER FUNCTIONS (CONTINUED)

Purpose

Function Name

Description