SCPI Command Format

The HP E1429 digitizer is programmed with SCPI commands. SCPI commands are based on a hierarchical structure, also known as a tree system. In this system, associated commands are grouped together under a common node or root, thus, forming subtrees or subsystems. An example is the digitizer’s ’ARM’ subsystem shown on the following page.

ARM

[:STARt :SEQuence[1]] :COUNt <number > :DELay < period >

[:IMMediate][no query] :LEVel<n >

:NEGative < voltage > :POSitive < voltage >

:SLOPe[< n >] <edge > :SOURce[< n >] <source >

ARM is the root keyword of the command; :STARtSEQuence1 is the second level keyword; :COUNt, :DELay, ... are third level keywords, and so on.

Keyword Separator A colon (:) always separates one command keyword from a lower level command keyword as shown below:

ARM:LEV:NEG 2

Abbreviated Commands

The command syntax shows most commands as a mixture of upper and lower case letters. The upper case letters indicate the abbreviated spelling for the command. For shorter program lines, send the abbreviated form. For better program readability, you may want to send the entire command. The digitizer will accept either the abbreviated form or the entire command.

For example, if a command’s syntax contains the keyword COUNt, then COUN and COUNT are acceptable forms. Other forms of COUNt such as COU will generate an error.

You can use upper or lower case letters. Therefore, COUNT, coun, or Coun are all acceptable.

Chapter 4

Command Reference 179

Page 179
Image 179
HP E1429A manual Scpi Command Format, Abbreviated Commands, Armlevneg