Programmer’s Guide 11-35
SCPI Command Summary
SCPI Device Command Summary
Table 11-17 PROGram (1 of 2)
1. IBASIC programs can be generated and controlled in the instrument.
2. Commands grouped under the SELected mnemonic in the PROGram subsystem
operate on the active program buffer.
SUBSYSTEM COMMANDS FORM DESCRIPTION
PROGram
1
:CATalog? query
only
STRING
Lists the names of the defined
IBASIC programs — response is
"PROG" (if a program is present)
or the null string ("").
PROGram
1
[:SELected]
2
:DEFine
<block>
BLOCK Downloads an IBASIC program
from an external controller.
PROGram
1
[:SELected]
2
:DELete:ALL
command
only
Deletes all IBASIC programs
from the program buffer —
equivalent to an HP BASIC
SCRATCH A command.
PROGram
1
[:SELected]
2
:DELete[:SELected]
command
only
Deletes the active IBASIC
program — equivalent to an HP
BASIC SCRATCH A command.
PROGram
1
[:SELected]
2
:EXECute
<string>
command
only
Executes an IBASIC command.
PROGram
1
[:SELected]
2
:MALLocate
<num>
NR1 Allocates memory space for
IBASIC programs — choose an
integer between 2048 and
4000000 bytes.