B.2 numerical values, B.3 abort command, B.4 calibrate commands and queries – KEPCO KLR Series Developers Guide User Manual

Page 104: B.5 display[:window]:text[:data]? query, B.6 initiate[:immediate] command, Abor, Ibrate, Disp, Init, Iate

Advertising
background image

B-2

KLR-DEV 060713

B.2

NUMERICAL VALUES

The SCPI data parser on the KLR supports a maximum of 8 digits after the decimal point and a maximum inte-
ger of 4 x 10

8

. Any values greater than these are not processed by the device and no error is generated. The

largest string that can be received or transmitted by the KLR is 253 characters.

All numerical data is returned in scientific notation, digits with decimal point and Exponent, e.g., 2.71E1 for 27.1
after calibration constants have been applied. Thus. for example, VOLT 14;VOLT? may return 1.39997E1
which indicates that the unit has been calibrated to provide 13.9997V for a programmed value of 14V, within
the calculation accuracy of the KLR. Error “-120” results from syntactical errors, e.g., the exponent exceeds 8,
a letter is identified, etc. Error “-222” is produced if the value exceeds the range of acceptable values for the
parameter.

B.3

ABORt COMMAND

ABOR

Syntax:

Short Form: ABOR

Long Form: ABORt

Description: Cancels previously armed trigger, resets WTG. if the trigger system is armed (INIT:CONT set to

OFF and INIT:IMM sent), sending ABORt disarms the trigger system so subsequent trigger com-
mands have no effect. If INIT:CONT ON has been programmed, this command has no effect. Related
Commands: INIT, *TRG. (See example, Figure B-1.)

B.4

CALibrate COMMANDS AND QUERIES

CAL

CAL commands and queries are used to perform calibration of the unit via the control interface. These
commands must be issued in a specific sequence in order to properly calibrate the unit. To use these
commands, refer to Kepco’s website (www.kepcopower.com/drivers) and download the LabWindows/
CVI Version 5 driver for KLR. This file provides remote calibration capability and uses the following
supported commands and queries:

CAL:CEXT command
CAL:CGA command
CAL:CURR:LEV command
CAL:CURR[:DATA] command
CAL:DATA command
CAL:DPOT command
CAL:SAVE command
CAL:STAT command and query
CAL:VEXT command
CAL:VGA command
CAL:VOLT:LEV command
CAL:VOLT[:DATA] command
CAL:ZERO command

B.5

DISPlay[:WINDow]:TEXT[:DATA]?

QUERY

DISP:TEXT?

Syntax:

Short Form: DISP[:WIND]:TEXT[:DATA]?

Long Form: DISPlay[:WINDow]:TEXT[:DATA]?

Return Value: Character string displayed on front panel Status display.

Description: Returns the text displayed on front panel Status display. Returns the character string displayed on

Status display.

B.6

INITiate[:IMMediate] COMMAND

INIT[:IMM]

Syntax:

Short Form: INIT[:IMM] Long Form: INITiate[:IMMediate]

Description: Arms a single trigger event. If INIT:CONT is OFF (disabled), then INIT[:IMM] arms the trigger sys-

tem for a single trigger event and sets the WTG bit in the Questionable Status register to 1. If
INIT:CONT is ON (enabled), then the trigger system is continuously armed. Sending INIT[:IMM] after
enabling INT:CONT is redundant and causes the power supply to return an E213 “INIT ignored” error
message. Sending an active trigger command (*TRG) completes the sequence, causing the power
supply output to be programmed to the previously stored values of VOLT:TRIG and CURR:TRIG. After
a trigger command has been received, subsequent trigger commands have no effect unless preceded
by INIT[:IMM] or INIT:CONT ON. Related Commands: <GET>, *RST, *TRG (See example, Figure B-
1).

NOTE: If the selected trigger source is external (TRIG:SOUR EXT) and INIT:CONT is enabled, the first

trigger command must be preceded by INIT[:IMM]; subsequent trigger commands will be pro-
cessed normally.

Advertising