$JLOHQW$'DWD$FTXLVLWLRQ6ZLWFK8QLW
4XLFN5HIHUHQFH*XLGH
SCPI Command Summary
The following conventions are used for SCPI command syntax for remote
interface programming:
• Square brackets ( [ ] ) indicate optional keywords or parameters.
• Braces ( { } ) enclose parameter choices within a command string.
• Triangle brackets ( < > ) enclose parameters for which you must
substitute a value.
• A vertical bar ( | ) separates multiple parameter choices.
Rules for Using a Channel List
Many of the
parameter which allow you to specify one or more channels. The channel
number has the form (
cc is the channel number. You can specify a single channel, multiple channels,
or a range of channels as shown below.
• The following command configures a scan list to include only channel 10
on the module in slot 300.
ROUT:SCAN (
• The following command configures a scan list to include multiple
channels on the module in slot 200. The scan list now contains only
channels 10, 12, and 15 (the scan list is redefined each time you send a
new ROUTe:SCAN command ).
ROUT:SCAN (
• The following command configures a scan list to include a range of
channels. When you specify a range of channels, the range may contain
invalid channels (they are ignored), but the first and last channel in the
range must be valid. The scan list now contains channels 5 through 10
(slot 100) and channel 15 (slot 200).
ROUT:SCAN (
SCPI commands for the 34970A include a scan_list or ch_list
@scc ), where s is the slot number (100, 200, or 300) and
@310)
@210,212,215)
@105:110,215)
Scan Measurement Commands
(see page 226 in the User’s Guide )
MEASure
:TEMPerature? {
,{<
type>|DEF}[,1[,{< resolution>|MIN|MAX|DEF}]] ,( @< scan_list>)
:VOLTage:DC? [{<
[,<
resolution>|MIN|MAX|DEF}],] ( @< scan_list>)
TCouple|RTD|FRTD|THERmistor|DEF}
range>|AUTO |MIN|MAX|DEF}
:VOLTage:AC? [{<range >|AUTO |MIN|MAX|DEF}
[,<
resolution>|MIN|MAX|DEF}],] ( @< scan_list>)
:RESistance? [{<range >|AUTO |MIN|MAX|DEF}
[,<
:FRESistance? [{<
resolution>|MIN|MAX|DEF}],] ( @< scan_list>)
range>|AUTO |MIN|MAX|DEF}
[,<resolution >|MIN|MAX|DEF}],] (@ <scan_list >)
:CURRent:DC? [{<
[,<
resolution>|MIN|MAX|DEF}],] ( @< scan_list>)
:CURRent:AC? [{<
[,<
resolution>|MIN|MAX|DEF}],] ( @< scan_list>)
range>|AUTO |MIN|MAX|DEF}
range>|AUTO |MIN|MAX|DEF}
:FREQuency? [{<range >|AUTO |MIN|MAX|DEF}
[,<
:PERiod? [{<
resolution>|MIN|MAX|DEF}],] ( @< scan_list>)
range>|AUTO |MIN|MAX|DEF}
[,<resolution >|MIN|MAX|DEF}],] (@ <scan_list >)
:DIGital:BYTE? (
:TOTalize? {
@< scan_list>)
READ|RRESet} ,(@ <scan_list >)
Monitor Commands
(see page 237 in the User’s Guide )
ROUTe
:MONitor (
:MONitor?
ROUTe
:MONitor:STATe {
:MONitor:STATe?
ROUTe:MONitor:DATA?
@< channel>)
OFF|ON}
Scan Statistics Commands
(see page 233 in the User’s Guide )
CALCulate
:AVERage:MINimum? [(
:AVERage:MINimum:TIME? [(@ <ch_list >)]
:AVERage:MAXimum? [(
:AVERage:MAXimum:TIME? [(
:AVERage:AVERage? [(
:AVERage:PTPeak? [(@<ch_list >)]
:AVERage:COUNt? [(
:AVERage:CLEar [(
DATA:LAST? [<num_rdgs >, ][(@ <channel >)]
This command redefines the scan list when executed.
Default parameters are shown in bold.
@< ch_list>)]
@< ch_list>)]
@< ch_list>)]
@< ch_list>)]
@< ch_list>)]
@< ch_list>)]
2
Scan Configuration Commands
(see page 226 in the User’s Guide )
ROUTe
:SCAN (
:SCAN?
:SCAN:SIZE?
TRIGger
:SOURce {BUS|IMMediate |EXTernal|ALARm1|ALARm2|ALARm3|ALARm4|TIMer}
:SOURce?
TRIGger
:TIMer {<
:TIMer?
TRIGger
:COUNt {<
:COUNt?
ROUTe
:CHANnel:DELay <
:CHANnel:DELay? [(
:CHANnel:DELay:AUTO {OFF|ON}[,(
:CHANnel:DELay:AUTO? [(
FORMat
:READing:ALARm {
:READing:ALARm?
:READing:CHANnel {
:READing:CHANnel?
:READing:TIME {
:READing:TIME?
:READing:UNIT {
:READing:UNIT?
FORMat
:READing:TIME:TYPE {ABSolute|
:READing:TIME:TYPE?
@ < scan_list>)
seconds>|MIN |MAX}
count>|MIN |MAX|INFinity}
seconds>[,( @< ch_ list>)]
@< ch_list>)]
@< ch_list>)]
OFF|ON}
OFF|ON}
OFF|ON}
OFF|ON}
@< ch_list>)]
RELative}
ABORt
INITiate
READ?
Scan Memory Commands
(see page 235 in the User’s Guide )
DATA:POINts?
DATA:REMove? <
num_rdgs>
SYSTem:TIME:SCAN?
FETCh?
R? [<max_count >]
This command redefines the scan list when executed.
This command applies to all channels in the instrument (Global setting).
Default parameters are shown in bold.
3
Scanning With an External Instrument
(see page 239 in the User’s Guide )
ROUTe
:SCAN (
:SCAN?
:SCAN:SIZE?
TRIGger
:SOURce {BUS|IMMediate|EXTernal|TIMer }
:SOURce?
TRIGger
:TIMer {<
:TIMer?
TRIGger
:COUNt {<
:COUNt?
ROUTe
:CHANnel:DELay <
:CHANnel:DELay? [(
ROUTe
:CHANnel:ADVance:SOURce {
:CHANnel:ADVance:SOURce?
ROUTe
:CHANnel:FWIRe {OFF|ON}[,(
:CHANnel:FWIRe? [(
INSTrument
:DMM {OFF|ON}
:DMM?
:DMM:INSTalled?
@ < scan_list>)
seconds>|MIN |MAX}
count>|MIN|MAX|INFinity }
seconds>[,( @< ch_ list>)]
@ < ch_list>)]
EXTernal|BUS|IMMediate}
@< ch_list>)]
@< ch_list>)]
This command redefines the scan list when executed.
This command applies to all channels in the instrument (Global setting).
Default parameters are shown in bold.
4
Temperature Configuration Commands
(see page 219 in the User’s Guide )
CONFigure
:TEMPerature {
,{<
CONFigure? [(@ <ch_list >)]
UNIT
:TEMPerature {
:TEMPerature? [(
[SENSe:]TEMPerature:TRANsducer
:TYPE {
:TYPE? [(
[SENSe:]TEMPerature:TRANsducer
:TCouple:TYPE {B|E|J|
:TCouple:TYPE? [(
:TCouple:CHECk {
:TCouple:CHECk? [(
[SENSe:]TEMPerature:TRANsducer
:TCouple:RJUNction:TYPE {
:TCouple:RJUNction:TYPE? [(
:TCouple:RJUNction {<
:TCouple:RJUNction? [(
type>|DEF}[,1[,{< resolution>|MIN|MAX|DEF}]] ,( @< scan_list>)
TCouple|RTD|FRTD|THERmistor|DEF}[,(@ <ch_list >)]
[SENSe:]TEMPerature:RJUNction? [(
[SENSe:]TEMPerature:TRANsducer
:RTD:TYPE {85 |91}[,(@ <ch_list >)]
:RTD:TYPE? [(@<ch_list >)]
:RTD:RESistance[:REFerence] <
:RTD:RESistance[:REFerence]? [(
[SENSe:]TEMPerature:TRANsducer
:FRTD:TYPE {
:FRTD:TYPE? [(
:FRTD:RESistance[:REFerence] <
:FRTD:RESistance[:REFerence]? [(
[SENSe:]TEMPerature:TRANsducer
:THERmistor:TYPE {2252|
:THERmistor:TYPE? [(
[SENSe:]
TEMPerature:NPLC {0.02|0.2|1|2|10 |20|100|200|MIN|MAX}[,(@<ch_list >)]
TEMPerature:NPLC? [{(
TCouple|RTD|FRTD|THERmistor|DEF}
C|F|K}[,( @< ch_list>)]
@< ch_list>)]
@< ch_list>)]
K|N|R|S|T}[,( @< ch_list>)]
@< ch_list>)]
OFF|ON}[,(@ <ch_list >)]
@< ch_list>)]
INTernal|EXTernal|FIXed}[,(@ <ch_list >)]
@ < ch_list>)]
temperature>|MIN|MAX}[,( @< ch_list>)]
@< ch_list>)]
@< ch_list>)]
reference >[,( @< ch_list >)]
@< ch_list>)]
85|91}[,(@ <ch_list >)]
@< ch_list>)]
5000|10000}[,(@ <ch_list >)]
@< ch_list>)]
@< ch_list>)|MIN|MAX}]
reference >[,( @< ch_list >)]
@< ch_list>)]
This command redefines the scan list when executed.
Default parameters are shown in bold.
5
Voltage Configuration Commands
(see page 223 in the User’s Guide )
CONFigure
:VOLTage:DC [{<
[,<resolution >|MIN|MAX|DEF}],] (@ <scan_list >)
CONFigure? [(
[SENSe:]
VOLTage:DC:RANGe {<range >|MIN|MAX}[,(@ <ch_list >)]
VOLTage:DC:RANGe? [{(
VOLTage:DC:RANGe:AUTO {OFF|
VOLTage:DC:RANGe:AUTO? [(
[SENSe:]
VOLTage:DC:RESolution {<resolution >|MIN|MAX}[,(@ <ch_list >)]
VOLTage:DC:RESolution? [{(
[SENSe:]
VOLTage:DC:APERture {<
VOLTage:DC:APERture? [{(
[SENSe:]
VOLTage:DC:NPLC {0.02|0.2|
VOLTage:DC:NPLC? [{(
INPut
:IMPedance:AUTO {
:IMPedance:AUTO? [(
[SENSe:]
ZERO:AUTO {OFF|ONCE|ON }[,(@ <ch_list >)]
ZERO:AUTO? [(
CONFigure
:VOLTage:AC [{<
[,<
CONFigure? [(
[SENSe:]
VOLTage:AC:RANGe {<
VOLTage:AC:RANGe? [{(
VOLTage:AC:RANGe:AUTO {OFF|
VOLTage:AC:RANGe:AUTO? [(
[SENSe:]
VOLTage:AC:BANDwidth {3|
VOLTage:AC:BANDwidth? [{(
resolution>|MIN|MAX|DEF}],] ( @< scan_list>)
range>|AUTO |MIN|MAX|DEF}
@< ch_list>)]
@< ch_list>)|MIN|MAX}]
ON}[,(@ <ch_list >)]
@< ch_list>)]
@< ch_list>)|MIN|MAX}]
time >|MIN|MAX}[,( @< ch_list >)]
@< ch_list>)|MIN|MAX}]
1|2|10|20|100|200|MIN|MAX}[,( @<ch_list>)]
@<ch_list>)|MIN|MAX}]
OFF|ON}[,(@ <ch_list >)]
@< ch_list>)]
@< ch_list>)]
range>|AUTO |MIN|MAX|DEF}
@ < ch_list>)]
range>|MIN|MAX}[,( @< ch_list>)]
@ < ch_list>)|MIN|MAX}]
ON}[,(@ <ch_list >)]
@< ch_list>)]
20|200|MIN|MAX}[,(@ <ch_list >)]
@ < ch_list>)|MIN|MAX}]
This command redefines the scan list when executed.
Default parameters are shown in bold.
6