An Introduction To The Scpi Language - HP 34970A User Manual

Data acquisition / switch unit
Table of Contents

Advertisement

Chapter 5 Remote Interface Reference

An Introduction to the SCPI Language

An Introduction to the SCPI Language
SCPI (Standard Commands for Programmable Instruments) is an
-based instrument command language designed for test and
ASCII
measurement instruments. Refer to "Simplified Programming Overview,"
starting on page 201, for an introduction to the basic techniques used to
program the instrument over the remote interface.
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 subsystems. A portion of the
SENSE subsystem is shown below to illustrate the tree system.
SENSe:
VOLTage
:DC:RANGe {<
VOLTage
:DC:RANGe? [{(
FREQuency
:VOLTage:RANGe {<
FREQuency
:VOLTage:RANGe? [{(
RESistance
:OCOMpensated {OFF|ON}[,(
RESistance
:OCOMpensated?
TEMPerature
:RJUNction? [(
SENSe is the root keyword of the command, VOLTage and FREQuency
are second-level keywords, and DC and VOLTage are third-level keywords.
A colon ( : ) separates a command keyword from a lower-level keyword.
296
range
>|MINimum|MAXimum}[,(
@
<
ch_list
>)|MINimum|MAXimum}]
range
>|MINimum|MAXimum}[,(
ch_list
@
<
>)|MINimum|MAXimum}]
ch_list
@
<
>)]
[(
@<ch_list
>)]
@
ch_list
>)]
<
@
ch_list
<
>)]
@
<
ch_list
>)]

Advertisement

Table of Contents
loading

Table of Contents