1
Introduction to Programming
2
U2300A Series USB DAQ Programming Guide
Introduction to the SCPI Language
SCPI (Standard Commands for Programmable Instruments) is an
ASCII- based instrument command language designed for test and
measurement instruments. 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 {<range>|MIN|MAX}[,(@<ch_list>)]
DC:RANGe? [(@<ch_list>)|MIN|MAX}]
RESistance:
OCOMpensated {OFF|0|ON|1}[,(@<ch_list>)]
OCOMpensated? [(@<ch_list>)]
TEMPerature:
RJUNction? [(@<ch_list>)]
SENSe
is the root keyword of the command,
VOLTage
,
RESistance
, and
TEMPerature
are second- level keywords, and
DC
,
OCOMpensated
,
and
RJUNction a
re third- level keywords. A colon (
:
) separates a command
keyword from a lower- level keyword.
Summary of Contents for U2300A Series
Page 8: ...VIII U2300A Series USB DAQ Programming Guide Contents ...
Page 18: ...1 Introduction to Programming 10 U2300A Series USB DAQ Programming Guide ...
Page 40: ...5 CONFigure Subsystem 32 U2300A Series USB DAQ Programming Guide ...
Page 60: ...6 IEEE 488 Common Command 52 U2300A Series USB DAQ Programming Guide ...
Page 70: ...7 MEASure Subsystem 62 U2300A Series USB DAQ Programming Guide ...
Page 84: ...8 OUTPut Subsystem 76 U2300A Series USB DAQ Programming Guide ...
Page 92: ...9 Root Commands 84 U2300A Series USB DAQ Programming Guide ...
Page 104: ...10 ROUTe Subsystem 96 U2300A Series USB DAQ Programming Guide See Also ROUTe CHANnel RSouRCe ...
Page 130: ...11 SENSe Subsystem 122 U2300A Series USB DAQ ...
Page 162: ...15 WAVeform Subsystem 154 U2300A Series USB DAQ Programming Guide ...
Page 168: ...16 Error Messages 160 U2300A Series USB DAQ Programming Guide ...