Agilent Technologies B2902 Service Manual Page 185

  • Download
  • Add to my manuals
  • Print
  • Page
    / 326
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 184
Agilent B2900 SCPI Command Reference, Edition 2 4- 63
Subsystem Commands
:PROGram[:SELected]:DEFine
Before executing this command, the program must be selected by the
:PROGram[:SELected]:NAME command with a new program name. Or else, an
error occurs.
Attempting to overwrite an existing program causes an error. Delete the program
first by using the
:PROGram[:SELected]:DELete[:SELected] command.
Syntax :PROGram[:SELected]:DEFine program_code
:PROGram[:SELected]:DEFine?
Parameter program_code Program code. Up to 256 byte per execution. Sum of all
program size in the program memory must be up to 100 KB.
Maximum of 100 programs can be memorized. Parameter data
type is block. Both definite length block and indefinite length
block are available. Program code cannot contain control
characters except for the trailing linefeed.
For the definite length block, program_code must be #nms which consists of the
header #nm and the command string s. For example, #213:OUTP:STAT ON.
n: Number of digits for m. (ex: 2)
m: Number of characters (8-bit data bytes) for the command string. (ex: 13)
s: Command string. (ex: :OUTP:STAT ON (total 13 characters))
For the indefinite length block, program_code must be #0s which consists of the
header #0 and the command string s. For example, #0:OUTP:STAT ON.
In the command string, the following characters have special meaning.
\n: Command delimiter
%%: Percent (%) character
#: Comment header
program_code does not support the following.
Query commands
SCPI common commands except for *CLS, *ESE, and *SRE commands
Program subsystem commands except for :PROG:STAT command
program_code supports variables in the format %h% (h: integer. 1 to 100). It is
replaced with the value set by the
:PROGram:VARiable command before executing
the program.
Page view 184
1 ... 184 185 186 ... 326

Comments to this Manuals

No comments