2 Introduction to Programming
42 Keysight Models 6811C, 6812C, and 6813C Programming Guide
Structure of a SCPI Message
SCPI messages consist of one or more message units ending in a message
terminator. The terminator is not part of the syntax, but implicit in the way your
programming language indicates the end of a line (such as a newline or
end-of-line character).
The message unit
The simplest SCPI command is a single message unit consisting of a command
header (or keyword) followed by a message terminator.
ABORt<newline>
VOLTage?<newline>
The message unit may include a parameter after the header. The parameter
usually is numeric, but it can be a string:
VOLTage 20<newline>
VOLTage MAX<newline>