agilent 34970a/72a command reference · remarks if a scan is in progress when the command is...

1635
Keysight 34970A/34972A Command Reference Notice: This document contains references to Agilent Technologies. Agilent's former Test and Measurement business has become Keysight Technologies. For more information, go to www.keysight.com. This Help file contains reference information to help you program the Keysight 34970A/34972A over a remote interface using the programming language. Introduction to the Command Language Commands by Subsystem Commands A-Z Command Quick Reference Error Messages Factory Reset State Instrument Preset State Plug-In Module Reference Information

Upload: others

Post on 20-Apr-2020

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Keysight34970A/34972ACommandReference

Notice:ThisdocumentcontainsreferencestoAgilentTechnologies.Agilent'sformerTestandMeasurementbusinesshasbecomeKeysightTechnologies.Formoreinformation,gotowww.keysight.com.

ThisHelpfilecontainsreferenceinformationtohelpyouprogramtheKeysight34970A/34972Aoveraremoteinterfaceusingtheprogramminglanguage.

IntroductiontotheCommandLanguage

CommandsbySubsystem

CommandsA-Z

CommandQuickReference

ErrorMessages

FactoryResetState

InstrumentPresetState

Plug-InModuleReferenceInformation

Page 2: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

RelatedInformationForfurtherinformation,clickonthelinkofinterest:LibrariesandInstrumentDriversKeysight34970A/34972ADocumentationKeysight34972AWebInterfaceProgrammingExamplesContactKeysightTechnologiesTrademarks

©KeysightTechnologies,Inc.2009-2014

Version2.00

Page 3: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CommandsbySubsystemABORt

FETCh?

INITiate

INPut:IMPedance:AUTO

READ?

R?

UNIT:TEMPerature

CALCulateSubsystem

CALibrationSubsystem

CONFigureSubsystem

DATASubsystem

DIAGnosticSubsystem

DISPlaySubsystem

FORMatSubsystemIntroduction

IEEE-488.2CommonCommands

INSTrumentSubsystemIntroduction

MEASureSubsystem

MEMorySubsystem

MMEMorySubsystem

OUTPutSubsystem

ROUTeSubsystem

SENSeSubsystem

Page 4: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SOURceSubsystem

STATusSubsystem

SYSTemSubsystem

TRIGgerSubsystem

Page 5: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ABORtSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 6: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

ABORt

Page 7: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandabortsameasurementinprogressfromascan.

Page 8: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Ifascanisinprogresswhenthecommandisreceived,thescanwillnotbecompletedandyoucannotresumethescanfromwhereitleftoff.Notethatifyouinitiateanewscan,allreadingsareclearedfrommemory.

The*RSTcommandwillabortameasurement,clearthescanlist,andsetallmeasurementparameterstotheirfactorysettings.TheInstrumentPreset(SYSTem:PRESetcommand)alsoabortsameasurementbutitdoesnotclearthescanlist.

Page 9: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandabortsthemeasurementinprogress.

ABOR

Page 10: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlso*RST

SYSTem:PRESet

Page 11: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

FETCh?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 12: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

FETCh?

Page 13: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandtransfersreadingsstoredinnon-volatilememorytotheinstrument'soutputbuffer,whereyoucanreadthemintoyourcomputer.ThereadingsstoredinmemoryarenoterasedwhenyoureadthemwithFETCh?.TheformatofthereadingscanbechangedusingFORMat:READingcommands.

Page 14: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

TheFETCh?commandwillwaituntilthemeasurementiscompletetoterminate.

Readingscanbeacquiredduringascanusingthemultiplexeranddigitalmodules.

Youcanstoreatleast50,000readingsinmemoryandallreadingsareautomaticallytimestamped.Ifmemoryoverflows,thenewreadingswilloverwritethefirst(oldest)readingsstored;themostrecentreadingsarealwayspreserved.

Eachtimeyoustartanewscan,theinstrumentclearsallreadings(includingalarmdata)storedinreadingmemoryfromthepreviousmeasurement.Therefore,thecontentsofmemoryarealwaysfromthemostrecentmeasurement.

Whenyouabortameasurement(seeABORtcommand),theinstrumentwillterminateanyreadinginprogress(readingsarenotclearedfrommemory).Thereadingsremaininmemoryandcanbereaduntilyouclearthemorinitiateanewscan.

TheoutputfromthiscommandisaffectedbythesettingsoftheFORMat:READingcommands.Dependingontheformatsselected,eachreadingmayormaynotbestoredwithmeasurementunits,timestamp,channelnumber,andalarmstatusinformation.

The*RSTcommandwillclearthescanlistandsetallmeasurementparameterstotheirfactorysettings.TheInstrumentPreset(SYSTem:PRESetcommand)willnotclearthescanlist;however,thiscommandwillclearreadingmemoryandallstoredstatisticaldata.

Theinstrumentclearsallreadingsfrommemorywhenanewscanisinitiated,whenanymeasurementparametersarechanged

Page 15: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

(CONFigureandSENSecommands),andwhenthetriggeringconfigurationischanged(TRIGgercommands).

TheinstrumentclearsallreadingsfrommemoryafteraFactoryReset(*RSTcommand)orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 16: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thecommandtransfersallreadingsfrommemory(withformattingassetbytheFORMat:READingcommands)butdoesnoterasethem.Multipleresponsesareseparatedbycommas.

Page 17: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

ThefollowingprogramsegmentshowshowtousetheFETCh?commandwiththeCONFigureandINITiatecommands.TheROUTe:SCANcommandputsthetwochannelsintothescanlist(andredefinesthescanlist).TheINITiatecommandplacestheinstrumentinthe"wait-for-trigger"state,scansthespecifiedchannelswhentherear-panelExtTrigInputlineispulsedlow,andthensendsthereadingstomemory.TheFETCh?commandtransfersthereadingsfrommemorytotheinstrument'soutputbuffer.

CONF:VOLT:DC10,0.003,(@103,108)

ROUT:SCAN(@103,108)

TRIG:SOUREXT

INIT

FETC?

TypicalResponse:+4.27150000E-03,+1.32130000E-03

Page 18: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoINITiate

ROUTe:SCAN

Page 19: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

INITiateSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 20: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

INITiate

Page 21: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandchangesthestateofthetriggeringsystemfromthe"idle"statetothe"wait-for-trigger"state.ScanningwillbeginwhenthespecifiedtriggerconditionsaresatisfiedfollowingthereceiptoftheINITiatecommand.Readingsarestoredintheinstrument'sinternalreadingmemory.NotethattheINITiatecommandalsoclearstheprevioussetofreadingsfrommemory.

Ifascanlistiscurrentlydefined(seeROUTe:SCANcommand),theINITiatecommandperformsascanofthespecifiedchannels.

Ifascanlistisnotcurrentlydefined,theINITiatecommandfails.

Page 22: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

StoringreadingsinmemoryusingtheINITiatecommandisgenerallyfasterthansendingreadingstomemoryusingtheREAD?command.TheINITiatecommandisalsoan"overlapped"command.ThismeansthatafterexecutingtheINITiatecommand,youcansendothercommandsthatdonotaffectthemeasurements.

Youcanstoreupto50,000readingsinmemoryandallreadingsareautomaticallytimestamped.Ifmemoryoverflows,thenewreadingswilloverwritethefirst(oldest)readingsstored;themostrecentreadingsarealwayspreserved.Inaddition,bit9issetintheQuestionableDataRegister'sconditionregister(seeStatusSystemIntroduction).

Forscanningmeasurementsusingthemultiplexermodules,anerrorisgeneratediftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.TheinternalDMMisnotrequiredforoperationsonthedigitalmodules.

Ifascanlistcontainingmultiplexerchannelsiscurrentlydefined(seeROUTe:SCANcommand),theINITiatecommandperformsascanofthespecifiedchannels.Whenthescanisinitiated,theinstrumentwillopenallchannelsinbanksthatcontainoneormorechannelsinthescanlist.

Theinstrumentscansthelistofchannelsinascendingorderfromslot100throughslot300(channelsarere-orderedasneeded).Whenyouspecifyarangeofchannelsinthe<scan_list>,thechannelsarealwayssortedinascendingorder.Therefore,(@109:101)willalwaysbeinterpretedas101,102,103,etc.

Onceyouinitiateascan,anerrorwillbegeneratedifyouattempttochangeanymeasurementparameters(CONFigureandSENSe

Page 23: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

commands)orthetriggeringconfiguration(TRIGgercommands).Toabortascaninprogress,sendtheABORtcommand.

Toretrievethereadingsfrommemory,usetheFETCh?command.Thereadingsarenoterasedfrommemorywhenyoureadthem.Youcansendthecommandmultipletimestoretrievethesamedatainreadingmemory.

Page 24: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

ThefollowingprogramsegmentshowshowtousetheINITiatecommandwiththeCONFigureandFETCh?commands.TheROUTe:SCANcommandputsthetwochannelsintothescanlist(andredefinesthescanlist).TheINITiatecommandplacestheinstrumentinthe"wait-for-trigger"state,scansthespecifiedchannelswhentherear-panelExtTrigInputlineispulsedlow,andthensendsthereadingstomemory.TheFETCh?commandtransfersthereadingsfrommemorytotheinstrument'soutputbuffer.

CONF:VOLT:DC10,0.003,(@103,108)

ROUT:SCAN(@103,108)

TRIG:SOUREXT

INIT

FETC?

TypicalResponse:+4.27150000E-03,+1.32130000E-03

Page 25: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoFETCh?

READ?

ROUTe:SCAN

Page 26: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

INPut:IMPedance:AUTOSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 27: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

INPut:IMPedance:AUTO<state>[,(@<ch_list>)]

INPut:IMPedance:AUTO?[(@<ch_list>)]

Page 28: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandenablesordisablestheautomaticinputresistancemodeforDCvoltagemeasurementsonthespecifiedchannels.

Page 29: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<state> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 30: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

WithAUTOOFF(default),theinputresistanceisfixedat10MΩforallranges.

WithAUTOON,theinputresistanceissetto>10GΩforthe100mV,1V,and10Vranges.

Page 31: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnstheinputresistancesettingas0(OFF)or1(ON)onthespecifiedchannels.

Page 32: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsetstheimpedanceto>10GΩfortwochannels.

INP:IMP:AUTOON(@105,109)

Thefollowingqueriesfortheimpedanceontwochannels.

INP:IMP:AUTO?(@105,109)

TypicalResponse:1,1

Page 33: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCONFigure:VOLTage:DC

MEASure:VOLTage:DC?

Page 34: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

R?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 35: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

R?[<max_count>]

Page 36: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreadsanderasesreadingsfromvolatilememoryuptothespecified<max_count>.Thereadingsareerasedfrommemorystartingwiththeoldestreadingfirst.Thepurposeofthiscommandistoallowyoutoperiodicallyremovereadingsfrommemorythatwouldnormallycausereadingmemorytooverflow(forexample,duringascanwithaninfinitescancount).

Page 37: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<max_count> Numeric Maximumnumberofreadingstobereadanderasedfrommemory,from1to50,000.

Eraseallstoredreadings,upto50,000

Page 38: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

ThiscommandisaspecialversionoftheDATA:REMove?commandwithfasterexecutiontime.YoucanreadmemoryatanytimeusingtheR?command,evenduringascan.

Readingscanbeacquiredduringascanusingthemultiplexeranddigitalmodules.Forscanningmeasurementsusingthemultiplexermodules,anerrorisgeneratediftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.TheinternalDMMisnotrequiredforoperationsonthedigitalmodules.

Youcanstoreupto50,000readingsinmemoryandallreadingsareautomaticallytimestamped.Ifmemoryoverflows,thenewreadingswilloverwritethefirst(oldest)readingsstored;themostrecentreadingsarealwayspreserved.Inaddition,bit9issetintheQuestionableDataRegister'sconditionregister(seeStatusSystemIntroduction).

Eachreadingisreturnedwithsomecombinationofmeasurementunits,timestamp,channelnumber,andalarmstatusinformation,dependingonthesettingssetbytheFORMat:READingcommands.Thetimestampiseitherinrelativeformat(timeinsecondssincethebeginningofthescan)orabsoluteformat(timeofdaywithdate,basedontheinstrument'sclockassetbytheSYSTem:DATEandSYSTem:TIMEcommands).ThechoiceofabsoluteandrelativetimeisdeterminedbytheFORMat:READing:TIME:TYPEcommand.

Theinstrumentclearsallreadingsfrommemorywhenanewscanisinitiated,whenanymeasurementparametersarechanged(CONFigureandSENSecommands),andwhenthetriggeringconfigurationischanged(TRIGgercommands).

TheinstrumentclearsallreadingsfrommemoryafteraFactory

Page 39: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Reset(*RSTcommand)orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 40: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsaseriesofreadingsinDefinite-LengthBlockformat.Thesyntaxisapoundsign(#)followedbyanon-zerodigitrepresentingthenumberofdigitsinthedecimalintegertofollow.Thisdigitisfollowedbyadecimalintegerindicatingthenumberof8-bitdatabytestofollow.Thisisfollowedbyablockofdatacontainingthespecifiednumberofbytes.

Forexample:

Page 41: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thisqueryreadsthetwooldestreadingsanderasesthemfrommemory.

R?2

TypicalResponse:#231+2.87536000E-04,+3.18131400E-03

Page 42: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoDATA:REMove?

Page 43: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

READ?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 44: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

34970ASyntax:READ?

34972ASyntax:READ?[(@<scan_list>)]

Page 45: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandchangestheinstrument'striggeringsystemfromthe"idle"statetothe"wait-for-trigger"state.ScanningwillbeginwhenthespecifiedtriggerconditionsaresatisfiedfollowingthereceiptoftheREAD?command.Readingsarethensentimmediatelytoreadingmemoryandtheinstrument'soutputbuffer.Onthe34970A,youmustthenreceivethereadingsintoyourcomputerortheinstrumentwillstopscanningwhentheoutputbufferbecomesfull.Readingsarenotstoredintheinstrument’sinternalmemorywhenusingREAD?.Onthe34972A,thereadingsarealwayssenttomemoryandtheywillstillbeavailableafterREAD?finishes.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizer)

34908A40ChannelSingle-EndedMultiplexerModule

Page 46: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<scan_list> ScanList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Thisisarequiredparameter.

Page 47: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

SendingtheREAD?commandissimilartosendingtheINITiatecommandfollowedimmediatelybytheFETCh?command.

Youcanstoreupto50,000readingsinmemoryandallreadingsareautomaticallytimestamped.Ifmemoryoverflows,thenewreadingswilloverwritethefirst(oldest)readingsstored;themostrecentreadingsarealwayspreserved.Inaddition,bit9issetintheQuestionableDataRegister'sconditionregister(seeStatusSystemIntroduction).

Forscanningmeasurementsusingthemultiplexermodules,anerrorisgeneratediftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.TheinternalDMMisnotrequiredforoperationsonthedigitalmodules.

Theinstrumentscansthelistofchannelsinascendingorderfromslot100throughslot300(channelsarere-orderedasneeded).Whenyouspecifyarangeofchannelsinthe<scan_list>,thechannelsarealwayssortedinascendingorder.Therefore,(@109:101)willalwaysbeinterpretedas101,102,103,etc.

Onceyouinitiateascan,anerrorwillbegeneratedifyouattempttochangeanymeasurementparameters(CONFigureandSENSecommands)orthetriggeringconfiguration(TRIGgercommands).Toabortascaninprogress,sendtheABORtcommand.

Eachreadingisreturnedwithsomecombinationofmeasurementunits,timestamp,channelnumber,andalarmstatusinformation,dependingonthesettingssetbytheFORMat:READingcommands.Thetimestampiseitherinrelativeformat(timeinsecondssincethebeginningofthescan)orabsoluteformat(timeofdaywithdate,basedontheinstrument'sclockassetbytheSYSTem:DATEandSYSTem:TIMEcommands).Thechoiceof

Page 48: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

absoluteandrelativetimeisdeterminedbytheFORMat:READing:TIME:TYPEcommand.

TheREAD?queryisnotvalidwiththe*TRGcommand(usedwithTRIGger:SOURceBUScommandforsoftwaretriggering).

TheinstrumentclearsallreadingsfrommemoryafteraFactoryReset(*RSTcommand)orafteranInstrumentPreset(SYSTem:PRESetcommand).

Ifyouspecifya<scan_list>withthisquery(34972Aonly),itwilloverwritethecurrentscanlist.

Page 49: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thecommandsendsreadingsdirectlytoreadingmemoryandtheinstrument'soutputbuffer(withformattingassetbytheFORMat:READingcommands).Multipleresponsesareseparatedbycommas.

Page 50: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingprogramsegmentshowshowtousetheREAD?commandwiththeCONFigurecommand.TheROUTe:SCANcommandputsthetwochannelsintothescanlist(andredefinesthescanlist).TheREAD?commandplacestheinstrumentinthe"wait-for-trigger"state,scansthespecifiedchannelswhentherear-panelExtTrigInputlineispulsedlow,sendsthereadingstoreadingmemoryandtheinstrument'soutputbuffer.

CONF:VOLT:DC10,0.003,(@103,108)!Configure

channels

ROUT:SCAN(@103,108)!Definethescanlist

TRIG:SOUREXT

READ?!Appliestothepresentscanlist

TypicalResponse:+4.27150000E-03,+1.32130000E-03

Page 51: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoFETCh?

INITiate

ROUTe:SCAN

Page 52: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

UNIT:TEMPeratureSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 53: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

UNIT:TEMPerature<units>[,(@<ch_list>)]

UNIT:TEMPerature?[(@<ch_list>)]

Page 54: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandselectsthetemperatureunits(°C,°F,orKelvin)onthespecifiedchannels.Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Thefollowingtableshowswhichtemperaturetransducersaresupportedbyeachofthemultiplexermodules.

Module Thermocouple RTD2-

Wire

RTD4-

Wire

Thermistor

34901AArmatureMultiplexer

Yes Yes Yes Yes

34902AReedMultiplexer

Yes Yes Yes Yes

34908AArmatureMultiplexer(1-Wire)

NotRecommended1

Yes No Yes

1Withaone-wiremultiplexer,evenverysmallgroundcurrentscanintroducesubstantialmeasurementerror.

Page 55: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<units> Discrete {C|F|K},forCelsius,FahrenheitorKelvin

Thisisarequiredparameter.

ThefactorydefaultisC.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 56: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Youcanmixtemperatureunitsondifferentchannelswithintheinstrumentandonthesamemodule.

IfthecorrespondingchannelsarenotconfiguredfortemperaturemeasurementspriortothesendingoftheUNIT:TEMPeraturecommand,theinstrumentwilldispatchanerrormessage.

SettingtheMx+B(seeCALCulate:SCALe:UNITcommand)measurementlabelto°C,°F,orKhasnoeffectonthetemperaturemeasurementunitscurrentlyselected.

TheCONFigureandMEASure?commandsautomaticallyselect°C.

Theinstrumentsetsthetemperatureunitsto°CafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 57: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsC,F,orKforeachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 58: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsetsthetemperatureunitsto°Fonchannels12and13inslot300.

CONF:TEMPTC,B,(@312,313)

UNIT:TEMPF,(@312,313)

Thefollowingqueryreturnsthetemperatureunitsselectedonchannels12and13inslot300.

UNIT:TEMP?(@312,313)

TypicalResponse:F,F

Page 59: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALCulate:SCALe:UNIT

CONFigure:TEMPerature

MEASure:TEMPerature?

Page 60: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulateSubsystemIntroductionTheinternalDMMisrequiredtostorereadingsinmemoryandperformcalculations.Readingscanbeacquiredduringascanusingthe34970A/34972Amultiplexermoduleslistedbelow.

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule

34908A40ChannelSingle-EndedMultiplexerModule

Page 61: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CommandSummaryCALCulate:AVERage:AVERage?

CALCulate:AVERage:CLEar

CALCulate:AVERage:COUNt?

CALCulate:AVERage:MAXimum?

CALCulate:AVERage:MAXimum:TIME?

CALCulate:AVERage:MINimum?

CALCulate:AVERage:MINimum:TIME?

CALCulate:AVERage:PTPeak?

CALCulate:COMPare:DATA

CALCulate:COMPare:DATA?

CALCulate:COMPare:MASK

CALCulate:COMPare:MASK?

CALCulate:COMPare:STATe

CALCulate:COMPare:STATe?

CALCulate:COMPare:TYPE

CALCulate:COMPare:TYPE?

CALCulate:LIMit:LOWer

CALCulate:LIMit:LOWer?

CALCulate:LIMit:LOWer:STATe

CALCulate:LIMit:LOWer:STATe?

CALCulate:LIMit:UPPer

Page 62: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:LIMit:UPPer?

CALCulate:LIMit:UPPer:STATe

CALCulate:LIMit:UPPer:STATe?

CALCulate:SCALe:GAIN

CALCulate:SCALe:GAIN?

CALCulate:SCALe:OFFSet

CALCulate:SCALe:OFFSet?

CALCulate:SCALe:OFFSet:NULL

CALCulate:SCALe:STATe

CALCulate:SCALe:STATe?

CALCulate:SCALe:UNIT

CALCulate:SCALe:UNIT?

Page 63: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:AVERage:MINimum?CALCulate:AVERage:AVERage?CALCulate:AVERage:MAXimum?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 64: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALCulate:AVERage:MINimum?[(@<ch_list>)]

CALCulate:AVERage:AVERage?[(@<ch_list>)]

CALCulate:AVERage:MAXimum?[(@<ch_list>)]

Page 65: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thesequeriesreturntheminimum,average(arithmeticmean)andmaximumvaluesfoundoneachofthespecifiedchannelsduringthescan.Eachchannelshouldbeamultiplexer,digitalortotalizerchannelthathasbeenconfiguredtobepartofthescanlist.Ifitisnotpartofthescanlist,noerrorwillbegenerated,butthevaluereturnedwillbeameaninglessvalueof0.

Page 66: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 67: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Youcanreadthevaluesatanytime,evenduringascan.AnerrorisgeneratediftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.

ThecalculationstartswhentheinternalDMMistriggered.Theinstrumentclearsthestoredstatisticaldataonallchannelswhenanewscanisstarted,whentheCALCulate:AVERage:CLEarcommandisexecuted,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 68: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsanumberintheform"+2.61920000E+01".Multipleresponsesareseparatedbycommas.Ifnodataisavailableforthespecifiedchannels,itreturns+0.00000000E+00.

Page 69: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnstheminimumvaluesfoundonchannels05through08onthemoduleinslot100.

Inthisexample,youcanreplacetheMINnodewithMAXorAVER.

CALC:AVER:MIN?(@105:108)

TypicalResponse:+3.13830293E+01,+1.98732123E+01,9.38293055E+00,1.20393822E+01

Page 70: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALCulateSubsystemIntroduction

Page 71: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:AVERage:CLEarSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 72: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALCulate:AVERage:CLEar[(@<ch_list>)]

Page 73: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandclearsallvaluesfromthestatisticsregistersforthespecifiedchannels.Eachchannelshouldbeamultiplexer,digitalortotalizerchannelthathasbeenconfiguredtobepartofthescanlist.Ifitisnotpartofthescanlist,noerrorwillbegenerated,butthevaluereturnedwillbeameaninglessvalueof0.Theminimum,maximum,average,count,andpeak-to-peakvaluesarecleared.Thevaluesforallscannedchannelsarealsoclearedatthestartofanewscan.

Page 74: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 75: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Althoughthiscommandclearstheminimum,maximum,average,count,andpeak-to-peakvalues,noreadingsareclearedfrommemory.

TheinstrumentgeneratesanerroriftheinternalDMMisdisabled(seeINSTrument:DMM)ornotinstalledinthemainframe.

Theinstrumentclearsthestoredstatisticaldataonallchannelswhenanewscanisstarted,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 76: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandclearsthestoredstatisticaldataonchannels1through10inslot200.

CALC:AVER:CLEar(@201:210)

Page 77: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALCulateSubsystemIntroduction

CALCulate:AVERage:MINimum?

CALCulate:AVERage:MAXimum?

CALCulate:AVERage:AVERage?

CALCulate:AVERage:COUNt?

CALCulate:AVERage:PTPeak?

Page 78: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:AVERage:COUNt?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 79: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALCulate:AVERage:COUNt?[(@<ch_list>)]

Page 80: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreturnsthenumberofreadingstakenoneachofthespecifiedchannelsduringthescan.Eachchannelshouldbeamultiplexer,digitalortotalizerchannelthathasbeenconfiguredtobepartofthescanlist.Ifitisnotpartofthescanlist,noerrorwillbegenerated,butthevaluereturnedwillbeameaninglessvalueof0.

Page 81: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 82: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Youcanreadthevaluesatanytime,evenduringascan.AnerrorisgeneratediftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.

ThecalculationstartswhentheinternalDMMistriggered.Theinstrumentclearsthestoredstatisticaldataonallchannelswhenanewscanisstarted,whentheCALCulate:AVERage:CLEarcommandisexecuted,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 83: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsanumberintheform"+7.90000000E+01".Multipleresponsesareseparatedbycommas.Ifnodataisavailableforthespecifiedchannels,itreturns0.

Page 84: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnsthenumberofreadingstakenonchannels05through08onthemoduleinslot100.

CALC:AVER:COUNt?(@105:108)

TypicalResponse:+2.00000000E+01,1.90000000E+01,2.10000000E+01,2.00000000E+01

Page 85: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALCulateSubsystemIntroduction

CALCulate:AVERage:MINimum?

CALCulate:AVERage:MAXimum?

CALCulate:AVERage:AVERage?

Page 86: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:AVERage:MINimum:TIME?CALCulate:AVERage:MAXimum:TIME?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 87: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALCulate:AVERage:MINimum:TIME?[(@<ch_list>)]

CALCulate:AVERage:MAXimum:TIME?[(@<ch_list>)]

Page 88: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thesequeriesreturnthetimethattheminimumormaximumreadingwastakenonthespecifiedchannelsduringthescan(infulltimeanddateformat).Eachchannelmustbeamultiplexer,digitalinputortotalizerchannelthathasbeenconfiguredtobepartofthescanlist.

Page 89: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 90: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Youcanreadthevaluesatanytime,evenduringascan.AnerrorisgeneratediftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.

ThecalculationstartswhentheinternalDMMistriggered.Theinstrumentclearsthestoredstatisticaldataonallchannelswhenanewscanisstarted,whentheCALCulate:AVERage:CLEarcommandisexecuted,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

ThiscommandisnotaffectedbytheFORMat:READing:TIME:TYPEcommand,whichselectsthetimeformatforstoringscanneddatainmemory(absolutetimeversusrelativetime).

Page 91: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Foreachchannel,thequeryreturnsthetimeintheformyyyy,mm,dd,hh,mm,ss.sss.Forexample,2009,10,03,14,35,06.215wouldmeanOctober3,2009at2:35:06.215PM.

Page 92: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnsthetimeoftheminimumreadingonchannels03and04onthemoduleinslot100.

CALC:AVER:MIN:TIME?(@103:104)

TypicalResponse:2009,12,20,08,39,27.283,2009,12,20,08,39,28.011

Page 93: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALCulateSubsystemIntroduction

Page 94: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:AVERage:PTPeak?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 95: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALCulate:AVERage:PTPeak?[(@<ch_list>)]

Page 96: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreturnsthepeaktopeakvalue(maximumminusminimum)foundoneachofthespecifiedchannelsduringthescan.Eachchannelshouldbeamultiplexer,digitalortotalizerchannelthathasbeenconfiguredtobepartofthescanlist.Ifitisnotpartofthescanlist,noerrorwillbegenerated,butthevaluereturnedwillbeameaninglessvalueof0.

Page 97: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> Channellist Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 98: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Youcanreadthevaluesatanytime,evenduringascan.AnerrorisgeneratediftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.

ThecalculationstartswhentheinternalDMMistriggered.Theinstrumentclearsthestoredstatisticaldataonallchannelswhenanewscanisstarted,whentheCALCulate:AVERage:CLEarcommandisexecuted,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 99: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsanumberintheform"+2.61920000E+01".Multipleresponsesareseparatedbycommas.Ifnodataisavailableforthespecifiedchannels,itreturns+0.00000000E+00.

Page 100: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnsthepeaktopeakvaluesfoundonchannels05through08onthemoduleinslot100.

CALC:AVER:PTP?(@105:108)

TypicalResponse:+3.13830293E+01,+1.98732123E+01,9.38293055E+00,1.20393822E+01

Page 101: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALCulateSubsystemIntroduction

CALCulate:AVERage:MINimum?

CALCulate:AVERage:MAXimum?

CALCulate:AVERage:AVERage?

Page 102: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:COMPare:DATASyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 103: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALCulate:COMPare:DATA<data>[,(@<ch_list>)]

CALCulate:COMPare:DATA?[(@<ch_list>)]

Page 104: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandsetsthedigitaldataforpatterncomparisonsonthespecifieddigitalinputchannels.Youcanusethepatterncomparisonfeaturetogenerateanalarmwhenaspecificdigitalpatternisdetected.

UsedWith:

34907AMultifunctionModule(digitalinputchannelsonly)

Page 105: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<data> Numeric An8-bitdigitalpatternforcomparison,specifiedasanintegerfrom0to255.

Thisisarequiredparameter.

<ch_list> ChannelList Oneormore

channels,asshown:

(@301)-channel01onthemoduleinslot300.

(@301:302)-channels01and02onthemoduleinslot300.

(@101,201:202,302)-channel01onthemoduleinslot100,channels01and02onthemoduleinslot200,andchannel02onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 106: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Notethatthespecifiedchannelsdonothavetobepartofthescanlisttogenerateanalarm.Alarmsareevaluatedcontinuouslyassoonasyouenablethem.Alarmsareevaluatedconstantlyonthemultifunctionmodule,butalarmdataisstoredinreadingmemoryonlyduringascan.

Thechannelwidthtakesprecedenceoverthespecifieddigitalpattern.Ifthespecifiedpatternisgreaterthanthechannelwidth,additionalbitswillbeignored.Forexample,ifyousetthechannelwidthto"BYTE"andthenspecifyapatternof"256"(100000000),thepatternwillbetruncatedto"00000000"(theleading"1"willbeignored).

Afterspecifyingthedesireddigitalpattern,usetheCALCulate:COMPare:STATecommandtoenablepatterncomparisonsonthespecifiedchannels.Ifyouwanttomonitorthestateofspecificbits,usetheCALCulate:COMPare:DATAcommandinconjunctionwiththeCALCulate:COMPare:MASKcommandtospecifyamaskpattern.

UsetheCALCulate:COMPare:TYPEcommandtospecifywhetheranalarmorhardwareinterruptconditionisgeneratedwhenaspecificbitpatternorbitpatternchangeisdetected.

AFactoryReset(*RSTcommand)clearsthedigitalpatternandturnsoffthepatterncomparisonmode.AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotclearthedataanddoesnotturnoffthepatterncomparisonmode.

Page 107: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthecomparisonpatternasadecimalvalue(binaryandhexadecimalvaluesareconvertedtotheirdecimalequivalents).Multipleresponsesareseparatedbycommas.

Page 108: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingqueryreturnsthecomparisonpatternselectedforchannel01ofthe34907Amultifunctionmoduleinslot300.

CALC:COMP:DATA?(@301)!Alwaysreturnsdecimal

equivalent

TypicalResponse:140

Thefollowingprogramsegmentsetsthedigitalpatternforthe34907Amultifunctionmoduleinslot100andthenenablesthepatterncomparisonmode.Whenthedatareadfromthebankisequaltothecomparisonpattern,analarmwillbegeneratedonAlarm2.

CALC:COMP:DATA#HF6,(@101)!Setcomparisonpattern

(11110110)

CALC:COMP:TYPEEQUAL,(@101)!Generatealarmon

patternmatch

OUTP:ALARM2:SOUR(@101)!Enablealarms

CALC:COMP:STATON,(@101)!Enablepatterncomparison

mode

Thefollowingqueryreturnsthecomparisonpatternselectedforthe34907Amultifunctionmoduleinslot100.

CALC:COMP:DATA?(@101)!Alwaysreturnsdecimal

equivalent

TypicalResponse:+246

Page 109: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALCulateSubsystemIntroduction

CALCulate:COMPare:MASK

CALCulate:COMPare:STATe

CALCulate:COMPare:TYPE

OUTPut:ALARm{1|2|3|4}:SOURce

Page 110: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:COMPare:MASKSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 111: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALCulate:COMPare:MASK<mask>[,(@<ch_list>)]

CALCulate:COMPare:MASK?[(@<ch_list>)]

Page 112: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandisusedinconjunctionwiththeCALCulate:COMPare:DATAcommandtosetthedigitalmaskdataforpatterncomparisonsonthespecifieddigitalinputchannels.Youcanusethepatterncomparisonfeaturetogenerateanalarmwhenaspecificdigitalpatternisdetected.

UsedWith:

34907AMultifunctionModule(digitalinputchannelsonly)

Page 113: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<mask> Numeric An8-bitmaskpatternforcomparison,specifiedasanintegerfrom0to255.Activebitsarespecifiedas1's,and"don'tcare"bitsarespecifiedas0's.

Thisisarequiredparameter.

<ch_list> ChannelList Oneormore

channels,asshown:

(@301)-channel01onthemoduleinslot300.

(@301:302)-channels1and2onthemoduleinslot300.

(@101,201:202,302)-channel1onthemoduleinslot100,channels01and02onthemoduleinslot200,andchannel02onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 114: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Notethatthespecifiedchannelsdonothavetobepartofthescanlisttogenerateanalarm.Alarmsareevaluatedcontinuouslyassoonasyouenablethem.Alarmsareevaluatedconstantlyonthemultifunctionmodule,butalarmdataisstoredinreadingmemoryonlyduringascan.

Thechannelwidthtakesprecedenceoverthespecifieddigitalpattern.Ifthespecifiedpatternisgreaterthanthechannelwidth,additionalbitswillbeignored.Forexample,ifyousetthechannelwidthto"BYTE"andthenspecifyapatternof"256"(100000000),thepatternwillbetruncatedto"00000000"(theleading"1"willbeignored).

Afterspecifyingthedesireddigitalpattern,usetheCALCulate:COMPare:STATecommandtoenablepatterncomparisonsonthespecifiedchannels.

AFactoryReset(*RSTcommand)clearsthemaskandturnsoffthepatterncomparisonmode.AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotclearthemaskanddoesnotturnoffthepatterncomparisonmode.

Page 115: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthemaskasadecimalvalue(binaryandhexadecimalvaluesareconvertedtotheirdecimalequivalents).Multipleresponsesareseparatedbycommas.

Page 116: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Toillustratehowthecalculationsareperformed,seetheexamplebelowwhichassumesthatadecimal146wasreadfromthechannel.Sincethecalculationsproduceanon-zeroresult(decimal16),aninterruptisnotgenerated.

MSBLSB10010010Datareadfromport(decimal146)10001100CALC:COMP:DATAcommand(decimal140)00011110X-ORresult11110000CALC:COMP:MASKcommand(decimal240)00010000ANDresult(decimal16,nointerruptgenerated)

Thefollowingqueryreturnsthecomparisonpatternselectedforthemoduleinslot300.

CALC:COMP:MASK?(@301)!Alwaysreturnsdecimal

equivalent

TypicalResponse:240

Thefollowingprogramsegmentsetsthedigitalpatternforthe34907Amultifunctionmoduleinslot100,appliesamasktothelowerbyte,andthenenablesthepatterncomparisonmode.Whenthedatareadfromthelowerbyteisequaltothecomparisonpattern,analarmwillbegeneratedonAlarm2.

CALC:COMP:DATA:WORD#HF6F6,(@101)!Setcomparison

pattern(1111011011110110)

CALC:COMP:MASK#H00FF,(@101)!Setmaskpattern(0000

000011111111)

CALC:COMP:TYPEEQUAL,(@101)!Generatealarmon

patternmatch

Page 117: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

OUTP:ALARM2:SOUR(@101)!Enablealarms

CALC:COMP:STATON,(@101)!Enablepatterncomparison

mode

Toillustratehowthecalculationsareperformed,seetheexamplebelowwhichassumesthatadecimal37595wasreadfromthechannel.Sincethecalculationsproduceanon-zeroresult(decimal13),analarmisnotgenerated.

MSBLSB1001001011011011Datareadfromport(decimal37595)1111011011110110CALC:COMP:DATAcommand(decimal63222)0110010000101101X-ORresult0000000011111111CALC:COMP:MASKcommand(decimal255)0000000000001101ANDresult(decimal13,noalarmgenerated)

Thefollowingqueryreturnsthecomparisonpatternselectedforchannel01ofthe34907Amultifunctionmoduleinslot100.

CALC:COMP:MASK?(@101)!Alwaysreturnsdecimal

equivalent

TypicalResponse:+255

Page 118: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALCulateSubsystemIntroduction

CALCulate:COMPare:DATA

CALCulate:COMPare:STATe

CALCulate:COMPare:TYPE

OUTPut:ALARm{1|2|3|4}:SOURce

Page 119: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:COMPare:STATeSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 120: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALCulate:COMPare:STATe<state>[,(@<ch_list>)]

CALCulate:COMPare:STATe?[(@<ch_list>)]

Page 121: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommanddisablesorenablesthepatterncomparisonmodeonthespecifieddigitalinputchannels.Youcanusethepatterncomparisonfeaturetogenerateanalarmwhenaspecificdigitalpatternisdetected.

UsedWith:

34907AMultifunctionModule(digitalinputchannelsonly)

Page 122: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<state> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

<ch_list> ChannelList Oneormore

channels,asshown:

(@301)-channel01onthemoduleinslot300.

(@301:302)-channels01and02onthemoduleinslot300.

(@101,201:202,302)-channel01onthemoduleinslot100,channels01and02onthemoduleinslot200,andchannel02onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 123: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Notethatthespecifiedchannelsdonothavetobepartofthescanlisttogenerateanalarm.Alarmsareevaluatedcontinuouslyassoonasyouenablethem.Alarmsareevaluatedconstantlyonthemultifunctionmodule,butalarmdataisstoredinreadingmemoryonlyduringascan.

AFactoryReset(*RSTcommand)turnsoffthepatterncomparisonmode.AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotturnoffthepatterncomparisonmode.

Page 124: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthestateofthecomparisonmodeas0(OFF)or1(ON)forthespecifiedbank.Multipleresponsesareseparatedbycommas.

Page 125: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandsetsthecomparisonmodeONforthethreespecifiedchannels.

CALC:COMP:STAT1,(@201,202,301)

Thefollowingqueryreturnsthestateofthepatterncomparisonmodeforchannel01onthemodulesinslot200and300.

CALC:COMP:STAT?(@201,301)

TypicalResponse:1,1

Page 126: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALCulateSubsystemIntroduction

CALCulate:COMPare:DATA

CALCulate:COMPare:MASK

CALCulate:COMPare:TYPE

OUTPut:ALARm{1|2|3|4}:SOURce

Page 127: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:COMPare:TYPESyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 128: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALCulate:COMPare:TYPE<mode>[,(@<ch_list>)]

CALCulate:COMPare:TYPE?[(@<ch_list>)]

Page 129: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandconfiguresthespecifieddigitalinputchannelstogenerateanalarmwhenaspecificbitpatternorbitpatternchangeisdetected.ThiscommandisusedinconjunctionwiththeCALCulate:COMPare:DATAcommandwhichsetsthedatabitpatternandtheCALCulate:COMPare:MASKcommandwhichsetsthemaskbitpattern.

UsedWith:

34907AMultifunctionModule(digitalinputchannelsonly)

Page 130: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<mode> Discrete {EQUal|NEQual} Thisisarequiredparameter.

Thepower-onvalueisNEQual.

<ch_list> ChannelList Oneormore

channels,asshown:

(@301)-channel01onthemoduleinslot300.

(@301:302)-channels01and02onthemoduleinslot300.

(@101,201:202,302)-channel01onthemoduleinslot100,channels01and02onthemoduleinslot200,andchannel02onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 131: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Notethatthespecifiedchannelsdonothavetobepartofthescanlisttogenerateanalarm.Alarmsareevaluatedcontinuouslyassoonasyouenablethem.Alarmsareevaluatedconstantlyonthemultifunctionmodule,butalarmdataisstoredinreadingmemoryonlyduringascan.

SelectEQUaltogenerateanalarmorinterruptwhenthedatareadfromthespecifiedchannelisequaltoCALCulate:COMPare:DATA,afterbeingmaskedbyCALCulate:COMPare:MASK.

SelectNEQual(notequal)togenerateanalarmorinterruptwhenthedatareadfromthebankisnotequaltoCALCulate:COMPare:DATAafterbeingmaskedbyCALCulate:COMPare:MASK.

Bitsmaskedoffas0("don'tcare")byCALCulate:COMPare:MASKareignored.

Thechannelwidthtakesprecedenceoverthespecifieddigitalpattern.Ifthespecifiedpatternisgreaterthanthechannelwidth,additionalbitswillbeignored.Forexample,ifyousetthechannelwidthto"BYTE"andthenspecifyapatternof"256"(100000000),thepatternwillbetruncatedto"00000000"(theleading"1"willbeignored).

AFactoryReset(*RSTcommand)clearsthepatterncomparesettingandturnsoffthepatterncomparisonmode.AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotclearthepatterncomparesettinganddoesnotturnoffthepatterncomparisonmode.

Page 132: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsEQUorNEQforthespecifiedbank.Multipleresponsesareseparatedbycommas.

Page 133: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandsetsthecomparisonmodeforthespecifiedchannelstoEQUal.

CALC:COMP:TYPEEQU,(@301:302)

Thefollowingqueryreturnsthecomparisonmodeforthetwospecifiedchannels.

CALC:COMP:TYPE?(@301:302)

TypicalResponse:EQU,EQU

Page 134: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlso

CALCulate:COMPare:DATA

CALCulate:COMPare:MASK

CALCulate:COMPare:STATe

OUTPut:ALARm{1|2|3|4}:SOURce

Page 135: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:LIMit:LOWerCALCulate:LIMit:UPPerSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 136: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALCulate:LIMit:LOWer<lo_limit>[,(@<ch_list>)]CALCulate:LIMit:LOWer?[(@<ch_list>)]

CALCulate:LIMit:UPPer<hi_limit>[,(@<ch_list>)]CALCulate:LIMit:UPPer?[(@<ch_list>)]

Page 137: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Theinstrumenthasfouralarmswhichyoucanconfiguretoalertyouwhenareadingexceedsspecifiedlimitsonamultiplexerchannelduringascan.Thesecommandssetthelowerandupperlimitsforalarmsonthespecifiedchannels.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(totalizerchannelonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 138: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<lo_limit> Numeric Anynumericvalue 0

<hi_limit> Numeric Anynumericvalue;fortotalizerchannels,the<hi_limit>referstoamaximumcount.

0

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 139: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Alarmsareevaluatedduringascanoramonitormeasurementonchannelsofamultiplexermodule.Forscanningusingamultiplexermodule,anerrorisgeneratediftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.TheinternalDMMisnotrequiredforoperationsonthedigitalmodulesandthespecifiedchannelsdonothavetobepartoftheactivescanlisttogenerateanalarm.

Youcanassignalowerlimit,anupperlimit,orbothtoanyconfiguredchannelinthescanlist.Thelowerlimitmustalwaysbelessthanorequaltotheupperlimit.

Onceyouhavedefinedthelowerlimits,usetheCALCulate:LIMit:LOWer:STATecommandtoenablealarmsonthespecifiedchannels.Similarly,useCALCulate:LIMit:UPPer:STATeaftersettingtheupperlimits.

ThealarmsareevaluatedbytheinternalDMMfromthetimetheCALCulate:LIMit:LOWer:STATeONandCALCulate:LIMit:UPPer:STATeONcommandsareexecuted.

Youmustconfigurethechannel(function,transducertype,etc.)beforesettinganyalarmlimits.Ifyouchangethemeasurementconfiguration,alarmsareturnedoffandthelimitvaluesarecleared.Alarmsarealsoturnedoffwhenyouchangethetemperatureprobetype,temperatureunits,ordisabletheinternalDMM.

Youcanassignmultiplechannelstoanyofthefouravailablealarms(numbered1through4,seeOUTPut:ALARm<n>:SOURcecommand).Forexample,youcanconfiguretheinstrumenttogenerateanalarmontheAlarm1outputwhenalimitisexceededonanyofchannels103,205,or310.Youcannot,however,assignalarmsonaspecificchanneltomorethanonealarmnumber.

Page 140: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

IfyouplantousealarmsonachannelwhichwillalsouseMx+Bscaling,besuretoconfigurethescalingvaluesfirst.Ifyouattempttoassignthealarmlimitsfirst,theinstrumentwillturnoffalarmsandclearthelimitvalueswhenyouenablescalingonthatchannel.Ifyouspecifyacustommeasurementlabelwithscaling,itisautomaticallyusedwhenalarmsareloggedonthatchannel.

Ifyouredefinethescanlist,alarmsarenolongerevaluatedonthosechannels(duringascan)butthelimitvaluesarenotcleared.Ifyoudecidetoaddachannelbacktothescanlist(withoutchangingthefunction),theoriginallimitvaluesarerestoredandalarmsareturnedbackon.Thismakesiteasytotemporarilyremoveachannelfromthescanlistwithoutenteringthealarmvaluesagain.

Togenerateanalarmwhenaspecificcountisreachedonatotalizerchannel,seetheCALCulate:LIMit:UPPercommand.Togenerateanalarmwhenaspecificbitpatternorbitpatternchangeisdetectedonadigitalinputchannel,seetheCALCulate:COMParecommands.

TheinstrumentclearsallalarmlimitsandturnsoffallalarmsafteraFactoryReset(*RSTcommand),InstrumentPreset(SYSTem:PRESetcommand),orCardReset(SYSTem:CPONcommand).

Page 141: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnstheupperorlowerlimitintheform"-1.00000000E+15"foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 142: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Inthefollowingexamples,youcansubstitutethenodenameUPPforLOW.

Thefollowingcommandsetsthelowerlimitto-0.25onchannels03and13inslot100.

CALC:LIM:LOW-0.25,(@103,113)

Thefollowingqueryreturnsthelowerlimitsettingsonchannels03and13inslot100.

CALC:LIM:LOW?(@103,113)

TypicalResponse:-2.50000000E-01,-2.50000000E-01

Page 143: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALCulateSubsystemIntroduction

CALCulate:LIMit:LOWer:STATe

Page 144: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:LIMit:LOWer:STATeCALCulate:LIMit:UPPer:STATeSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 145: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALCulate:LIMit:LOWer:STATe<mode>,(@<ch_list>)CALCulate:LIMit:LOWer:STATe?(@<ch_list>)

CALCulate:LIMit:UPPer:STATe<mode>,(@<ch_list>)CALCulate:LIMit:UPPer:STATe?(@<ch_list>)

Page 146: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thesecommandsdisableorenablethelowerandupperalarmlimitsonthespecifiedmultiplexerchannels.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 147: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<mode> Boolean {OFF|0|ON|1} OFF

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 148: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Alarmdatacanbestoredinoneoftwolocationsdependingonwhetherascanlistisrunningwhenthealarmoccurs.

a. Ifanalarmeventoccursonachannelasitisbeingscanned,thenthatchannel'salarmstatusisstoredinreadingmemoryasthereadingsaretaken.Eachreadingthatisoutsidethespecifiedalarmlimitisloggedinmemory.Youcanstoreatleast50,000readingsinmemoryduringascan.

b. Asalarmeventsaregenerated,theyarealsologgedinanalarmqueue,whichisseparatefromreadingmemory.Thisistheonlyplacethatnon-scannedalarmsgetlogged(alarmsduringachannelmonitor,alarmsgeneratedbythedigitalmodules,etc.).Upto20alarmscanbeloggedinthealarmqueue.Ifmorethan20alarmeventsaregenerated,theywillbelost(onlythefirst20alarmsaresaved).Evenifthealarmqueueisfull,thealarmstatusisstoredinreadingmemoryduringascan.

Alarmsareevaluatedduringascanoramonitormeasurementonchannelsofamultiplexermodule.Forscanningusingamultiplexermodule,anerrorisgeneratediftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.TheinternalDMMisnotrequiredforoperationsonthedigitalmodulesandthespecifiedchannelsdonothavetobepartoftheactivescanlisttogenerateanalarm.

Whenanalarmoccurs,theinstrumentstoresrelevantinformationaboutthealarminthequeue.Thisincludesthereadingthatcausedthealarm,thetimeofdayanddateofthealarm,andthechannelnumberonwhichthealarmoccurred.TheinformationstoredinthealarmqueueisalwaysinabsolutetimeandisnotaffectedbytheFORMat:READing:TIME:TYPEcommandsetting.

Alarmsareloggedinthealarmqueueonlywhenareading

Page 149: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

crossesalimit,notwhileitremainsoutsidethelimitandnotwhenitreturnstowithinlimits.

Inadditiontobeingstoredinreadingmemory,alarmsarealsorecordedintheirownSCPIStatusSystem.YoucanconfiguretheinstrumenttousethestatusregistertogenerateaServiceRequest(SRQ)whenalarmsaregenerated.FormoreinformationontheStatusSystemfortheinstrument,seeStatusSystemIntroduction.

Onthedigitalmodules,youcansetanupperlimitforthetotalizerchannels(nolowerlimitisallowed).Thesechannelsdonothavetobepartoftheactivescanlisttogenerateanalarm,butalarmdataisstoredinreadingmemoryonlyaspartofascan.

Togenerateanalarmwhenaspecificcountisreachedonatotalizerchannel,seetheCALCulate:LIMit:UPPercommand.Togenerateanalarmwhenaspecificbitpatternorbitpatternchangeisdetectedonadigitalinputchannel,seetheCALCulate:COMParecommands.

TheinstrumentclearsallalarmlimitsandturnsoffallalarmsafteraFactoryReset(*RSTcommand),InstrumentPreset(SYSTem:PRESetcommand),orCardReset(SYSTem:CPONcommand).

Page 150: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON)foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 151: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Intheexamplesbelow,youcanreplacethenodenameUPPwithLOW.

Thefollowingprogramsegmentsetsanupperlimitonchannels03and13inslot100andthenenablesalarmsonthesechannels.

CALC:LIM:UPP10.25,(@103,113)

CALC:LIM:UPP:STATON,(@103,113)

Thefollowingqueryreturnsthestateofupperlimitsonchannels03and13inslot100.

CALC:LIM:UPP:STAT?(@103,113)

TypicalResponse:1,1

Thefollowingcommandsetstheupperlimitto4095ontotalizerchannels01and02inslot300andthenenablesalarmsonthesechannels.

CALC:LIM:UPP4.095E+03,(@301,302)

CALC:LIM:UPP:STATON,(@301,302)

Page 152: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALCulateSubsystemIntroduction

CALCulate:LIMit:UPPer

OUTPut:ALARm{1|2|3|4}:SOURce

SYSTem:ALARm?

Page 153: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:SCALe:GAINCALCulate:SCALe:OFFSetSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 154: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALCulate:SCALe:GAIN<gain>[,(@<ch_list>)]CALCulate:SCALe:GAIN?[(@<ch_list>)]

CALCulate:SCALe:OFFSet<offset>[,(@<ch_list>)]CALCulate:SCALe:OFFSet?[(@<ch_list>)]

Page 155: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thesecommandssetthegain("M")andoffset("B")forscaledreadingsonthespecifiedmultiplexerchannels.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 156: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<gain> Numeric Anyvaluebetween-1E15to+1E15

Thisisarequiredparameter.

Thefactorydefaultis1.

<offset> Numeric Anyvaluebetween-1E+15and+1E+15.

Thisisarequiredparameter.

Thefactorydefaultis0.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemodulein

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 157: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

slot200andchannels02through08onthemoduleinslot300.

Page 158: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Scalingisappliedusingthefollowingequation:

ScaledReading=(GainxMeasurement)+Offset

Aftersettingthegainandoffsetvalues,usetheCALCulate:SCALe:STATecommandtoenablethescalingfunction.

Readingscanbeacquiredduringascanusingthemultiplexer.Forscanningmeasurementsusingthemultiplexermodules,anerrorisgeneratediftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.

Youmustconfigurethechannel(function,transducertype,etc.)beforeapplyinganyscalingvalues.Ifyouchangethemeasurementconfiguration,scalingisturnedoffonthatchannelandthegainandoffsetvaluesarereset(M=1andB=0).Scalingisalsoturnedoffwhenyouchangethetemperatureprobetype,temperatureunits,ordisabletheinternalDMM.

Ifyouchangethemeasurementconfiguration(function,transducertype,etc.)onachannelortheinternalDMM,scalingisturnedoffonthosechannelsandthegainandoffsetvaluesarecleared.

Ifyouplantousescalingonachannelwhichwillalsousealarms,besuretoconfigurethescalingvaluesfirst.Ifyouattempttoassignthealarmlimitsfirst,theinstrumentwillturnoffalarmsandclearthelimitvalueswhenyouenablescalingonthatchannel.Ifyouspecifyacustommeasurementlabelwithscaling,itisautomaticallyusedwhenalarmsareloggedonthatchannel.

Ifyouredefinethescanlist,nochangewillbemadetothescalingstateorthegainandoffsetvalues.Ifyoudecidetoaddachannelbacktothescanlist,theoriginalgainandoffsetvaluesarerestored.

Page 159: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Youcanusescalingtomakea"null"measurementonachannelandstoreitastheoffset("B")forsubsequentmeasurements.Thisallowsyoutoadjustforvoltageorresistiveoffsetsthroughyourwiringtothepointofthemeasurement.SeeCALCulate:SCALe:OFFSet:NULL.

TheCONFigureandMEASure?commandsautomaticallysetthegain("M")to1andoffset("B")to0.

AFactoryReset(*RSTcommand)turnsoffscalingandclearsthescalingvaluesonallchannels(gain=1,offset=0).AnInstrumentPreset(SYSTem:PRESetcommand)doesnotclearthescalingvaluesanddoesnotturnoffscaling.

Page 160: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthegainoroffsetvalueforeachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 161: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsetsthegainto+1.25onchannels03and13inslot100.

CALC:SCAL:GAIN1.25,(@103,113)

Thefollowingqueryreturnsthegainsettingsonchannels03and13inslot100.

CALC:SCAL:GAIN?(@103,113)

TypicalResponse:+1.25000000E+00,+1.25000000E+00

Thefollowingcommandsetstheoffsetto+10.125onchannels03and13inslot100.

CALC:SCAL:OFFS10.125,(@103,113)

Thefollowingqueryreturnstheoffsetvaluesonchannels03and13inslot100.

CALC:SCAL:OFFS?(@103,113)

TypicalResponse:+1.01250000E+01,+1.01250000E+01

Page 162: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALCulateSubsystemIntroduction

CALCulate:SCALe:OFFSet:NULL

CALCulate:SCALe:STATe

CALCulate:SCALe:UNIT

Page 163: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:SCALe:OFFSet:NULLSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 164: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALCulate:SCALe:OFFSet:NULL[(@<ch_list>)]

Page 165: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandmakesanimmediatenullmeasurementonthespecifiedchannelsandstoresitastheoffset("B")forsubsequentmeasurements.Thisallowsyoutoadjustforvoltageorresistiveoffsetsthroughyourwiringtothepointofthemeasurement.

Page 166: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 167: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandmakesanimmediatenullmeasurementonchannels206through210.

CALC:SCAL:OFFS:NULL(@206:210)

Page 168: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALCulateSubsystemIntroduction

CALCulate:SCALe:GAIN

CALCulate:SCALe:OFFSet

CALCulate:SCALe:STATe

CALCulate:SCALe:UNIT

Page 169: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:SCALe:STATeSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 170: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALCulate:SCALe:STATe<state>[,(@<ch_list>)]

CALCulate:SCALe:STATe?[(@<ch_list>)]

Page 171: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommanddisablesorenablesMx+Bscalingonthespecifiedchannels.Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 172: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<state> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 173: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Scalingisappliedusingthefollowingequation:

ScaledReading=(GainxMeasurement)+Offset

Readingscanbeacquiredduringascanusingthemultiplexer.Forscanningmeasurementsusingthemultiplexermodules,anerrorisgeneratediftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.

Youmustconfigurethechannel(function,transducertype,etc.)beforeapplyinganyscalingvalues.Ifyouchangethemeasurementconfiguration,scalingisturnedoffonthatchannelandthegainandoffsetvaluesarereset(M=1andB=0).Scalingisalsoturnedoffwhenyouchangethetemperatureprobetype,temperatureunits,ordisabletheinternalDMM.

Ifyouchangethemeasurementconfiguration(function,transducertype,etc.)onachannel,scalingisturnedoffonthosechannelsandthegainandoffsetvaluesarecleared.

Ifyouplantousescalingonachannelwhichalsousesalarms,besuretoconfigurethescalingvaluesfirst.Ifyouattempttoassignthealarmlimitsfirst,theinstrumentwillturnoffalarmsandclearthelimitvalueswhenyouenablescalingonthatchannel.Ifyouspecifyacustommeasurementlabelwithscaling,itisautomaticallyusedwhenalarmsareloggedonthatchannel.

Ifyouredefinethescanlist,nochangewillbemadetothescalingstateorthegainandoffsetvalues.Ifyoudecidetoaddachannelbacktothescanlist,theoriginalgainandoffsetvaluesarerestored.

TheCONFigureandMEASure?commandsautomaticallydisablescalingonthespecifiedchannels.

Page 174: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

AFactoryReset(*RSTcommand)turnsoffscalingandclearsthescalingvaluesonallchannels(gain=1,offset=0).AnInstrumentPreset(SYSTem:PRESetcommand)doesnotclearthescalingvaluesanddoesnotturnoffscaling.

Page 175: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON)foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 176: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingprogramsegmentsetsgainandoffsetvaluesonchannels03and13inslot100andthenenablesscalingonthesechannels.

CALC:SCAL:GAIN1.25,(@103,113)

CALC:SCAL:OFFS10.125,(@103,113)

CALC:SCAL:STATON,(@103,113)

Thefollowingqueryreturnsthescalingsettingsonchannels03and13inslot100.

CALC:SCAL:STAT?(@103,113)

TypicalResponse:1,1

Page 177: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALCulateSubsystemIntroduction

CALCulate:SCALe:GAIN

CALCulate:SCALe:OFFSet

CALCulate:SCALe:OFFSet:NULL

CALCulate:SCALe:UNIT

Page 178: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:SCALe:UNITSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 179: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALCulate:SCALe:UNIT<quoted_string>[,(@<ch_list>)]

CALCulate:SCALe:UNIT?[(@<ch_list>)]

Page 180: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandallowsyoutospecifythecustomlabelofuptothreecharacters(forexample,RPM,PSI)forscaledmeasurementsonthespecifiedchannels.Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 181: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<quoted_string> QuotedASCIIString

AquotedASCIIstringofuptothreecharacters.Youcanuseletters(A-Z),numbers(0-9),anunderscore(_),orthe"#"characterwhichdisplaysadegreesymbol(°)onthefrontpanel(displayedasablankspaceinanoutputstringfromtheremoteinterface).Thefirstcharactermustbealetterorthe"#"character(the"#"characterisallowedonlyastheleftmostcharacterinthelabel).Theremainingtwocharacterscanbeletters,numbers,oranunderscore.

Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemodulein

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 182: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

slot200andchannels02through08onthemoduleinslot300.

Page 183: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Readingscanbeacquiredduringascanusingthemultiplexer.Forscanningmeasurementsusingthemultiplexermodules,anerrorisgeneratediftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.

Ifyousetthemeasurementlabelto°C,°F,orK,notethatthishasnoeffectthetemperatureunitssetusingtheUNIT:TEMPeraturecommand.

TheCONFigureandMEASure?commandsautomaticallyrevertstheunittothenaturalunitsforthefunction.

AFactoryReset(*RSTcommand)turnsoffscaling,clearsthescalingvalues(gain=1,offset=0),andautomaticallyrevertstheunittothenaturalunitsforthefunction.AnInstrumentPreset(SYSTem:PRESetcommand)doesnotclearthescalingvaluesormeasurementlabelsanddoesnotturnoffscaling.

Page 184: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreadsthemeasurementunitsforeachchannelspecifiedandreturnsanASCIIstringenclosedindoublequotes.Multipleresponsesareseparatedbycommas.

Page 185: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandaddsthemeasurementlabel"RPM"(RevolutionsPerMinute)tochannels03and13inslot100.

CALC:SCAL:UNIT"RPM",(@103,113)orCALC:SCAL:UNIT

'RPM',(@103,113)

Thefollowingqueryreturnsthemeasurementlabelsassignedtochannels03and13inslot100.

CALC:SCAL:UNIT?(@103,113)

TypicalResponse:"RPM","RPM"

Page 186: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALCulateSubsystemIntroduction

CALCulate:SCALe:GAIN

CALCulate:SCALe:OFFSet

CALCulate:SCALe:OFFSet:NULL

CALCulate:SCALe:STATe

Page 187: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALibrationSubsystemIntroductionTheCALibrationcommandsareusedtocalibratetheKeysight34970A/34972A.Pleasenotethattheuseofthesecommandsrequiresadetailedknowledgeoftheappropriatecalibrationprocedures,whicharedescribedintheKeysight34970A/34972AServiceGuide.PleaserefertothatguidebeforeattemptingtocalibratetheinstrumentasimproperuseoftheCALibrationcommandscanadverselyaffecttheaccuracyandreliabilityoftheinstrument.

Page 188: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CommandSummaryCALibration?

CALibration:COUNt?

CALibration:SECure:CODE

CALibration:SECure:STATe

CALibration:SECure:STATe?

CALibration:STRing

CALibration:STRing?

CALibration:VALue

CALibration:VALue?

Page 189: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALibration?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 190: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALibration?

Page 191: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandperformsacalibrationoftheinternalDMMorDACchannelonthe34907Amultifunctionmoduleusingthespecifiedcalibrationvalue(CALibration:VALuecommand).Beforeyoucancalibratetheinstrument,youmustunsecureitbyenteringthecorrectsecuritycode.

Foramoredetaileddiscussionofthecalibrationprocedures,seetheKeysight34970A/34972AServiceGuide.PleaserefertothatguidebeforeattemptingtocalibratetheinstrumentasimproperuseoftheCALibrationcommandscanadverselyaffecttheaccuracyandreliabilityoftheinstrument.

Page 192: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Ifacalibrationfails,theinstrumentreturns1andgeneratesanerrormessage.Foracompletelistingoftheerrormessagesrelatedtocalibrationfailures,seeSCPIErrorMessages.

TheinternalDMMisanoptionalassemblyfortheKeysight34970A/34972A.TheinstrumentgeneratesanerrorwiththiscommandiftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.

ThiscommandincrementsthecalibrationcountbyonecountfortheDMMandDACchannels(seeCALibration:COUNt?command).

Page 193: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(calibrationpassed)or1(calibrationfailed).

Page 194: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandperformsacalibrationandreturnsapass/failindication.

CAL?

TypicalResponse:0

Page 195: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALibration:SECure:STATe

CALibration:VALue

Page 196: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALibration:COUNt?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 197: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALibration:COUNt?

Page 198: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandqueriestheinstrumenttodeterminethenumberoftimesithasbeencalibrated.Notethatyourinstrumentwascalibratedbeforeitleftthefactory.Whenyoureceiveyourinstrument,besuretoreadthevariouscountstodetermineitsinitialvalue.

Foramoredetaileddiscussionofthecalibrationprocedures,seetheKeysight34970A/34972AServiceGuide.PleaserefertothatguidebeforeattemptingtocalibratetheinstrumentasimproperuseoftheCALibrationcommandscanadverselyaffecttheaccuracyandreliabilityoftheinstrument.

UsedWith:

InternalDMM

Page 199: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thecalibrationcountincrementsuptoamaximumof65,535,afterwhichitrollsoverto0.Becausethevalueincrementsbyoneforeachcalibrationpoint,acompletecalibrationmayincreasethevaluebymanycounts.

ThemainframecalibrationcountisincrementedbytheCALibration?command(themainframemustbeunsecured;seeCALibration:SECure:STATeOFFcommand).Youcanreadthecalibrationcountregardlessofwhethertheinstrumentissecured.

ThecalibrationcountisalsoincrementedbycalibrationsoftheDACchannelsonthe34907Amultifunctionmodule.

Thecalibrationcountisstoredinnon-volatilememory,anddoesnotchangewhenpowerhasbeenoff,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 200: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthecalibrationcountindicatinghowmanycalibrationshavebeenperformed.

Page 201: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnsthecalibrationcount.

CAL:COUN?

TypicalResponse:+273

Page 202: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALibrationSubsystemIntroduction

CALibration?

CALibration:SECure:STATe

Page 203: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALibration:SECure:CODESyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 204: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALibration:SECure:CODE<new_code>

Page 205: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandallowsyoutoenteranewsecuritycodetopreventaccidentalorunauthorizedcalibrations.Thespecifiedcodeisusedtounsecurethemainframeandallinstalledmodules.Tochangethesecuritycode,youmustfirstunsecuretheinstrumentusingtheoldsecuritycode,andthenenteranewcode.

Foramoredetaileddiscussionofthecalibrationprocedures,seetheKeysight34970A/34972AServiceGuide.PleaserefertothatguidebeforeattemptingtocalibratetheinstrumentasimproperuseoftheCALibrationcommandscanadverselyaffecttheaccuracyandreliabilityoftheinstrument.

UsedWith:

InternalDMM

Page 206: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<new_code> ASCIIString

Astringofupto12characters.Youdonothavetouseall12charactersbutthefirstcharactermustalwaysbealetter(A-Z).Theremaining11characterscanbeletters,numbers(0-9),ortheunderscorecharacter("_").Blankspacesarenotallowed.

Thisisarequiredparameter.

Page 207: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

RemarksThesecuritycodeissetto"HP034970"or"AT034972",dependingontheproductnumber,whentheinstrumentisshippedfromthefactory.Notethatthethirdcharacterofthesecuritycodeisazero(0)andnotacapitalO.

Ifyouforgetyoursecuritycode,youcanoverridethesecurityfeature.SeetheKeysight34970A/34972AServiceGuideformoreinformation.

Thesecuritycodeisstoredinnon-volatilememory,anddoesnotchangewhenpowerhasbeenoff,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 208: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandsetsanewcalibrationsecuritycode(theinstrumentmustbeunsecured).

CAL:SEC:CODET3ST_DUT165

Page 209: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALibrationSubsystemIntroduction

CALibration:SECure:STATe

Page 210: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALibration:SECure:STATeSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 211: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALibration:SECure:STATe<state>,<code>

CALibration:SECure:STATe?

Page 212: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandunsecuresorsecurestheinstrumentforcalibration.Thisfeaturerequiresyoutoprovideasecuritycodetopreventaccidentalorunauthorizedcalibrationsoftheinstrument.Beforeyoucancalibratetheinstrument,youmustunsecureitbyenteringthecorrectsecuritycode.

Foramoredetaileddiscussionofthecalibrationprocedures,seetheKeysight34970A/34972AServiceGuide.PleaserefertothatguidebeforeattemptingtocalibratetheinstrumentasimproperuseoftheCALibrationcommandscanadverselyaffecttheaccuracyandreliabilityoftheinstrument.

UsedWith:

InternalDMM

Page 213: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<state> Boolean {OFF|0|ON|1} ON

<code> StringAstringofupto12characters.Youdonothavetouseall12charactersbutthefirstcharactermustalwaysbealetter(A-Z).Theremaining11characterscanbeletters,numbers(0-9),ortheunderscorecharacter("_").Blankspacesarenotallowed.

Thisisarequiredparameter.

Page 214: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

RemarksWhenyoufirstreceiveyourinstrument,itissecured,andthesecuritycodeissetto"HP034970"or"AT034972",dependingontheproductnumber.Notethatthethirdcharacterofthesecuritycodeisazero(0)andnotacapitalO.

Onceyouenterasecuritycode,thatcodemustbeusedforbothfront-panelandremoteoperation.Forexample,ifyousecuretheinstrumentfromthefrontpanel,youmustusethatsamecodetounsecureitfromtheremoteinterface.

UnsecuringtheinstrumentusingthiscommandenablestheinternalDMMtobecalibrated.

TocalibratetheinternalDMM,usetheCALibration?command.

Thecalibrationsecuritysettingisstoredinnon-volatilememory,anddoesnotchangewhenpowerhasbeenoff,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 215: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON),indicatingthecurrentcalibrationsecuritysetting.

Page 216: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandunsecurestheinstrument.Notethatthe"HP034970"stringappliestothe34970A;the"AT034972"stringappliestothe34972A.

CAL:SEC:STATOFF,HP034970

Thefollowingqueryreturnsthecurrentcalibrationsecuritysetting.Inthiscase,itisOFF.

CAL:SEC:STAT?

TypicalResponse:0

Page 217: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALibrationSubsystemIntroduction

CALibration:SECure:CODE

Page 218: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALibration:STRingSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 219: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALibration:STRing<quoted_string>

CALibration:STRing?

Page 220: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandallowsyoutostoreonemessageincalibrationmemoryinthemainframe.Forexample,youcanstoresuchinformationasthedatewhenthelastcalibrationwasperformed,thedatewhenthenextcalibrationisdue,theinstrument'sserialnumber,oreventhenameandphonenumberofthepersontocontactforanewcalibration.

Foramoredetaileddiscussionofthecalibrationprocedures,seetheKeysight34970A/34972AServiceGuide.PleaserefertothatguidebeforeattemptingtocalibratetheinstrumentasimproperuseoftheCALibrationcommandscanadverselyaffecttheaccuracyandreliabilityoftheinstrument.

UsedWith:

InternalDMM

Page 221: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<quoted_string> QuotedASCIIString

Astringofupto40charactersenclosedinquotes.Youcanuseletters(A-Z),numbers(0-9),andspecialcharacterslike"@","%","*",andsoon.

Thisisarequiredparameter.

Page 222: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

RemarksYoucanrecordacalibrationmessageonlyfromtheremoteinterfaceandonlywhentheinstrumentisunsecured(seeCALibration:SECure:STATeOFFcommand).Youcanreadthemessagefromeitherthefront-panelorovertheremoteinterface.Youcanreadthecalibrationmessagewhethertheinstrumentissecuredorunsecured.

Thecalibrationmessagemaycontainupto40characters.Fromthefrontpanel,youcanviewonly13charactersofthemessageatatime.

Fromthefrontpanel,commas,periods,andsemicolonsshareadisplayspacewiththeprecedingcharacter,andarenotconsideredindividualcharacters.

Storingacalibrationmessagewilloverwriteanymessagepreviouslystoredinmemory.

Thecalibrationmessageisstoredinnon-volatilememory,anddoesnotchangewhenpowerhasbeenoff,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset

Page 223: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

(SYSTem:PRESetcommand).

Page 224: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsanASCIIstringenclosedindoublequotes.Ifnocalibrationmessagehasbeenspecified,anemptyquotedstring("")isreturned.

Page 225: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandstoresamessageincalibrationmemoryinthemainframe.

CAL:STR"CAL:18Aug2009"orCAL:STR'CAL:18

Aug2009'

Thefollowingqueryreturnsthemessagecurrentlystoredincalibrationmemoryinthemainframe(thequotesarealsoreturned).

CAL:STR?

TypicalResponse:"CAL:18Aug2009"

Page 226: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALibrationSubsystemIntroduction

CALibration:SECure:STATe

Page 227: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALibration:VALueSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 228: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CALibration:VALue<value>

CALibration:VALue?

Page 229: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandspecifiesthevalueoftheknowncalibrationsignalasoutlinedinthecalibrationproceduresintheKeysight34970A/34972AServiceGuide.ThiscommandisusedforinternalDMMcalibrations.

Foramoredetaileddiscussionofthecalibrationprocedures,seetheKeysight34970A/34972AServiceGuide.PleaserefertothatguidebeforeattemptingtocalibratetheinstrumentasimproperuseoftheCALibrationcommandscanadverselyaffecttheaccuracyandreliabilityoftheinstrument.

Page 230: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<value>Numeric

Desiredcalibrationsignalintheunitsspecifiedbythepresentmeasurementfunction.

Thisisarequiredparameter.

Page 231: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

RemarksTheinternalDMMisanoptionalassemblyfortheKeysight34970A/34972A.TheinstrumentgeneratesanerrorwiththiscommandiftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.

Page 232: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthecalibrationvalueintheform+1.00000000E-01.

Page 233: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsetscalibrationvalueto+10.001010volts.

CAL:VAL10.001010

Thefollowingqueryreturnsthepresentcalibrationvalue.

CAL:VAL?

TypicalResponse:+1.00101000E+01

Page 234: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCALibrationSubsystemIntroduction

CALibration?

Page 235: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CONFigureSubsystemIntroductionTheCONFigurecommandsprovidethemostflexiblewaytoprogramtheinstrumentformeasurements.Whenyouexecutethesecommands,theinstrumentusesdefaultvaluesfortherequestedmeasurementconfiguration(liketheMEASure?command).However,themeasurementisnotautomaticallystartedandyoucanchangesomemeasurementattributesbeforeactuallyinitiatingthemeasurement.Thisallowsyoutoincrementallychangetheinstrument'sconfigurationfromthedefaultconditions.

UsetheINITiateorREAD?commandtoinitiatethemeasurement.

AMEASurecommandissimplyaCONFigurecommandfollowedbyaREAD?

Ifyouspecifya<ch_list>withoneofthesecommands,that<ch_list>overwritesthecurrentscanlist.

TheCONFigurecommandsarevalidonlywiththefollowingKeysight34970A/34972Aplug-inmoduleswhichcanbeconfiguredtobepartofascan.IftheinternalDMMisnotinstalledorisdisabled,thennoDMM-relatedconfigurationsareallowed.However,scanningisallowedonthedigitalinputandtotalizerchannelsevenwithouttheinternalDMM.

34901A 20-ChannelArmatureMultiplexer(2-wireor4-wire)

34902A 16-ChannelReedMultiplexer(2-wireor4-wire)

34907A MultifunctionModule(digitalinputandtotalizerchannelsonly)

34908A 40-ChannelArmatureMultiplexer(2-wireonly)

Page 236: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CommandSummaryCONFigure?

CONFigure:CURRent:AC

CONFigure:CURRent:DC

CONFigure:DIGital:BYTE

CONFigure:FREQuency

CONFigure:FRESistance

CONFigure:PERiod

CONFigure:RESistance

CONFigure:TEMPerature

CONFigure:TOTalize

CONFigure:VOLTage:AC

CONFigure:VOLTage:DC

Page 237: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CONFigure?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 238: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CONFigure?[(@<ch_list>)]

Page 239: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreturnsthepresentconfigurationonthespecifiedchannelsandreturnsaseriesofquotedstrings.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalI/Oonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 240: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 241: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

IftheinternalDMMisnotinstalledorisdisabled,thennoDMM-relatedconfigurationsareallowed.However,scanningisallowedonthedigitalinputandtotalizerchannelsevenwithouttheinternalDMM.

The*RSTcommandwillclearthescanlistandsetallmeasurementparameterstotheirfactorysettings.TheInstrumentPreset(SYSTem:PRESetcommand)willnotclearthescanlist;however,thiscommandwillclearreadingmemoryandallstoredstatisticaldata.

Page 242: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsaseriesofcomma-separatedfieldsindicatingthepresentfunction,range,andresolutionforthespecifiedchannels.Multipleresponsesareseparatedbycommas.Theshortformofthefunctionnameisalwaysreturned(e.g.,"CURR:AC","FREQ",etc.).

Example:MultiplexerChannel

Example:DigitalI/OChannel

Example:TotalizerChannel

Page 243: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingprogramsegmentconfiguresmultiplexerchannels03and08inslot100andthenreadsbacktheconfiguration(thequotesarealsoreturned).

CONF:RES1000,1,(@103)

CONF:TEMPTHER,5000,1,0.1,(@108)

CONF?(@103,108)

TypicalResponse:"RES+1.000000E+03,+1.000000E-01","TEMPTHER,5000,+1.000000E+00,+1.000000E-04"

Thefollowingqueryreturnsthepresentconfigurationofeverychannelinthescanlist.

CONF?

Page 244: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCONFigureSubsystemIntroduction

Page 245: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CONFigure:CURRent:ACCONFigure:CURRent:DCSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 246: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CONFigure:CURRent:AC[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

CONFigure:CURRent:DC[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

Page 247: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThesecommandsconfigurethechannelsforACorDCcurrentmeasurementsbutdonotinitiatethescan.

TheCONFigurecommanddoesnotplacetheinstrumentinthe"wait-for-trigger"state.UsetheINITiateorREAD?commandinconjunctionwithCONFiguretoplacetheinstrumentinthe"wait-for-trigger"state.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module(channels21and22only)

Page 248: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<range> NumericExpectedvalueinamps(rangesshownbelow).

10mA(MIN)100mA1A(MAX)

AUTO

<resolution> Numeric Desiredresolutioninamps. Fixedat6½digits

<scan_list> ScanList Oneormorechannels,

asshown:

(@321)-channel21onthemoduleinslot300.

(@221:222)-channels21through22onthemoduleinslot200.

(@121:122,222,321:322)-channels21and22onthemoduleinslot100,channel22onthemoduleinslot200,andchannels21-22onthemoduleinslot300.

Notethatthechannelsmustbeoftheforms21ands22,wheresisthe

Thisisarequiredparameter.

Page 249: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

firstdigitoftheslotnumber.

Page 250: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Whenyouspecifyarangeofchannelswiththiscommand,anychannelsthatareinvalidwillbeignored(noerrorwillbegenerated)butthefirstandlastchannelintherangemustbevalidfortheselectedfunction.

Youcanallowtheinstrumenttoautomaticallyselectthemeasurementrangeusingautorangingoryoucanselectafixedrangeusingmanualranging.Autorangingisconvenientbecausetheinstrumentdecideswhichrangetouseforeachmeasurementbasedontheinputsignal.Forfastestscanningoperation,usemanualrangingoneachmeasurement(someadditionaltimeisrequiredforautorangingsincetheinstrumenthastomakearangeselection).

Ifyouselectautoranging(byspecifying"AUTO"or"DEF"),anerrorwillbegeneratedifyouspecifyadiscretevalueforthe<resolution>parameter.Whenautorangingiscombinedwithadiscreteresolution,theinstrumentcannotaccuratelyresolvetheintegrationtime(especiallyiftheinputsignaliscontinuouslychanging).Ifyourapplicationrequiresautoranging,besuretospecify"AUTO"forthe<resolution>parameteroromittheparameterfromthecommand.

Autorangethresholds:Downrangeat:<10%ofrangeUprangeat:>120%ofrange

Becausethiscommandresetsallmeasurementparametersonthespecifiedchannelstotheirdefaultvalues,besuretosendtheCONFigurecommandbeforesettinganyothermeasurementparameters.

Iftheinputsignalisgreaterthancanbemeasuredontheselectedrange(manualranging),theinstrumentgivesanoverload

Page 251: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

indication:"±OVLD"fromthefrontpanelor"±9.9E+37"fromtheremoteinterface.

ForACmeasurements,theresolutionisfixedat6½digits.TheonlywaytocontrolthereadingrateforACmeasurementsisbychangingthechanneldelayorbysettingtheACfiltertothehighestfrequencylimit.The<resolution>parameteronlyaffectsthenumberofdigitsshownonthefrontpanel.

The*RSTcommandwillclearthescanlistandsetallmeasurementparameterstotheirfactorysettings.TheInstrumentPreset(SYSTem:PRESetcommand)willnotclearthescanlist;however,thiscommandwillclearreadingmemoryandallstoredstatisticaldata.

Page 252: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThesecommandsshowtheCONFigure:CURRent:ACcommand.Ineachcase,youcouldsubstitutetheCONFigure:CURRent:DCcommandandtheexamplewouldbevalid.

ThefollowingprogramsegmentconfigurestheinstrumentforACcurrentmeasurementsonchannel21inslot100.TheREAD?commandplacestheinstrumentinthe"wait-for-trigger"state,scansthechannelonce,andthensendsthereadingtoreadingmemoryandtheinstrument'soutputbuffer.Thedefaultrange(autorange)andresolution(fixedat6½digits)areusedforthemeasurement.

CONF:CURR:AC(@121)

ROUT:SCAN(@121)

READ?

TypicalResponse:+8.54530000E-02

ThefollowingprogramsegmentconfigurestheinstrumentforanACcurrentmeasurementonchannels21and22inslot100.TheINITiatecommandplacestheinstrumentinthe"wait-for-trigger"state,scansthechannelsonce,andstoresthereadingsinmemory.TheFETCh?commandtransfersthereadingsfromreadingmemorytotheinstrument'soutputbuffer.The1Arangeisselectedwith200mAresolution.

CONF:CURR:AC1,0.2,(@121,122)

ROUT:SCAN(@121,122)

INIT

FETC?

TypicalResponse:+4.27150000E-02,+1.32130000E-03

Page 253: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCONFigure?

FETCh?

INITiate

READ?

MEASure:CURRent:AC?

MEASure:CURRent[:DC]?

ROUTe:CHANnel:DELay

ROUTe:SCAN

[SENSe:]CURRent:AC:BANDwidth

Page 254: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CONFigure:DIGital:BYTESyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 255: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CONFigure:DIGital:BYTE(@<scan_list>)

Page 256: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandconfigurestheinstrumenttoscanthespecifieddigitalinputchannelsonthemultifunctionmoduleasbytedata,butdoesnotinitiatethescan.Thiscommandredefinesthescanlist.

UsedWith:

34907AMultifunctionModule(digitalinputonly)

Page 257: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<scan_list> Scanlist Oneormoredigital

I/Ochannels,asshown:

(@301)-channel01onthemoduleinslot300.

(@101:102,201,302)-channels01and02onthemodulesonslot100,channel01onthemoduleinslot200,andchannel02onthemoduleinslot300.

Thisisarequiredparameter.

Page 258: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thedigitalinputchannelsarenumbered"s01"(LSB)and"s02"(MSB),wheresisthefirstdigitoftheslotnumber.

Notethatifyouincludebothdigitalinputchannelsinthescanlist,theinstrumentwillreaddatafrombothportssimultaneouslywiththesametimestamp.Thisallowsyoutoexternallycombinethetwo8-bitvalueintoone16-bitvalue.

Page 259: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandconfigurestheinstrumenttoscanchannels01and02onslot100asbytedata.

CONF:DIG:BYTE(@101:102)

Page 260: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCONFigureSubsystemIntroduction

Page 261: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CONFigure:FREQuencyCONFigure:PERiodSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 262: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CONFigure:FREQuency[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

CONFigure:PERiod[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

Page 263: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thesecommandsconfigurethechannelsforfrequencyorperiodmeasurements,buttheydonotinitiatethescan.

TheCONFigurecommanddoesnotplacetheinstrumentinthe"wait-for-trigger"state.UsetheINITiateorREAD?commandinconjunctionwithCONFiguretoplacetheinstrumentinthe"wait-for-trigger"state.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 264: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<range> NumericExpectedvalueinHz(frequency)orseconds(period).Validvaluesrangefrom3Hzto300kHz,andtheirinverses(forperiod).

Forfrequencyandperiodmeasurements,thisparameterisonlyusedinconjunctionwiththe<resolution>parametertosetthegatetime.Itisotherwiseunnecessaryforfrequencyandperiodmeasurements.

AUTO

<resolution> Numeric DesiredresolutioninHz(frequency)orseconds(period).

0.000003xRange(1PLC)

<scan_list> ScanList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

Thisisarequiredparameter.

Page 265: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Page 266: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Whenyouspecifyarangeofchannelswiththiscommand,anychannelsthatareinvalidwillbeignored(noerrorwillbegenerated)butthefirstandlastchannelintherangemustbevalidfortheselectedfunction.

Iftheinputsignalisgreaterthancanbemeasuredontheselectedrange(manualranging),theinstrumentgivesanoverloadindication:"±OVLD"fromthefrontpanelor"±9.9E+37"fromtheremoteinterface.

The*RSTcommandwillclearthescanlistandsetallmeasurementparameterstotheirfactorysettings.TheInstrumentPreset(SYSTem:PRESetcommand)willnotclearthescanlist;however,thiscommandwillclearreadingmemoryandallstoredstatisticaldata.

Page 267: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingprogramsegmentconfigurestheinstrumentforfrequencymeasurementsonchannel04inslot300.TheREAD?commandplacestheinstrumentinthe"wait-for-trigger"state,scansthechannelonce,andthensendsthereadingtoreadingmemoryandtheinstrument'soutputbuffer.Thedefaultrange(autorange)andresolution(fixedat6½digits)areusedforthemeasurement.

CONF:FREQ(@304)

ROUT:SCAN(@304)

READ?

TypicalResponse:+1.32130000E+03

Thefollowingprogramsegmentconfigurestheinstrumentforfrequencymeasurementsonchannels03and08inslot100.TheINITiatecommandplacestheinstrumentinthe"wait-for-trigger"state,scansthechannelsonce,andstoresthereadingsinmemory.TheFETCh?commandtransfersthereadingsfromreadingmemorytotheinstrument'soutputbuffer.

CONF:FREQ100,(@103,108)

ROUT:SCAN(@103,108)

INIT

FETC?

TypicalResponse:+4.27150000E+03,+1.32130000E+03

Thefollowingprogramsegmentconfigureschannel10onthemoduleinslot300forafrequencymeasurement.TheREAD?commandplacestheinstrumentinthe"wait-for-trigger"state,initiatesatrigger,andthen

Page 268: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

sendsthereadingtoreadingmemoryandtheinstrument'soutputbuffer.Thedefaultrange(autorange)andresolution(fixedat6½digits)areusedforthemeasurement.

CONF:FREQ(@310)

READ?

TypicalResponse:+10.13240000E+03

Page 269: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCONFigure?

FETCh?

INITiate

MEASure:FREQuency?

MEASure:PERiod?

READ?

ROUTe:SCAN

[SENSe:]FREQuency:RANGe:LOWer

[SENSe:]FREQuency:VOLTage:RANGe:AUTO

Page 270: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CONFigure:RESistanceCONFigure:FRESistanceSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 271: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CONFigure:RESistance[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

CONFigure:FRESistance[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

Page 272: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thesecommandsconfigurethechannelsfor2-wire(RESistance)or4-wire(FRESistance)resistancemeasurementsbutdonotinitiatethescan.

TheCONFigurecommanddoesnotplacetheinstrumentinthe"wait-for-trigger"state.UsetheINITiateorREAD?commandinconjunctionwithCONFiguretoplacetheinstrumentinthe"wait-for-trigger"state.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule(doesnotsupport4-wiremeasurement)

Page 273: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<range> NumericExpectedvalueinohms,upto100MW.

AUTO

<resolution> Numeric Desiredresolutioninohms. 0.000003xRange(1PLC)

<scan_list> ScanList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Thisisarequiredparameter.

Page 274: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

FortheFRESistanceversionofthiscommand,channelnispairedwithchanneln+10(34901A)orn+8(34902A)toprovidesourceandsenseconnections.

Whenyouspecifyarangeofchannelswiththiscommand,anychannelsthatareinvalidwillbeignored(noerrorwillbegenerated)butthefirstandlastchannelintherangemustbevalidfortheselectedfunction.

Youcanallowtheinstrumenttoautomaticallyselectthemeasurementrangeusingautorangingoryoucanselectafixedrangeusingmanualranging.Autorangingisconvenientbecausetheinstrumentdecideswhichrangetouseforeachmeasurementbasedontheinputsignal.Forfastestscanningoperation,usemanualrangingoneachmeasurement(someadditionaltimeisrequiredforautorangingsincetheinstrumenthastomakearangeselection).

Ifyouselectautoranging(byspecifying"AUTO"or"DEF"),anerrorwillbegeneratedifyouspecifyadiscretevalueforthe<resolution>parameter.Whenautorangingiscombinedwithadiscreteresolution,theinstrumentcannotaccuratelyresolvetheintegrationtime(especiallyiftheinputsignaliscontinuouslychanging).Ifyourapplicationrequiresautoranging,besuretospecify"AUTO"forthe<resolution>parameter,oromittheparameterfromthecommandandusethe[SENSe:]VOLTage[:DC]NPLCcommandtospecifythedesiredintegrationtime.

Autorangethresholds:Downrangeat:<10%ofrangeUprangeat:>120%ofrange

Sincethesecommandsresetallmeasurementparametersonthe

Page 275: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

specifiedchannelstotheirdefaultvalues,besuretosendtheCONFigurecommandbeforesettinganyothermeasurementparameters.

Iftheinputsignalisgreaterthancanbemeasuredontheselectedrange(manualranging),theinstrumentgivesanoverloadindication:"±OVLD"fromthefrontpanelor"±9.9E+37"fromtheremoteinterface.

The*RSTcommandwillclearthescanlistandsetallmeasurementparameterstotheirfactorysettings.TheInstrumentPreset(SYSTem:PRESetcommand)willnotclearthescanlist;however,thiscommandwillclearreadingmemoryandallstoredstatisticaldata.

Page 276: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingprogramsegmentconfigurestheinstrumentfor2-wireresistancemeasurementsonchannel04inslot300.TheREAD?commandplacestheinstrumentinthe"wait-for-trigger"state,scansthechannelonce,andthensendsthereadingtoreadingmemoryandtheinstrument'soutputbuffer.Thedefaultrange(autorange)andresolution(1PLC)areusedforthemeasurement.

CONF:RES(@304)

ROUT:SCAN(@304)

READ?

TypicalResponse:+1.32130000E+04

Thefollowingprogramsegmentconfigurestheinstrumentfor2-wireresistancemeasurementsonchannels03and08inslot100.TheINITiatecommandplacestheinstrumentinthe"wait-for-trigger"state,scansthechannelsonce,andstoresthereadingsinmemory.TheFETCh?commandtransfersthereadingsfromreadingmemorytotheinstrument'soutputbuffer.The1kΩrangeisselectedwith1Ωresolution.

CONF:RES1000,1,(@103,108)

ROUT:SCAN(@103,108)

INIT

FETC?

TypicalResponse:+4.27150000E+02,+1.32130000E+02

Thefollowingprogramsegmentconfigurestheinstrumentfor4-wireresistancemeasurementsonchannels03and08inslot100.TheINITiatecommandplacestheinstrumentinthe"wait-for-trigger"state,

Page 277: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

scansthechannelsonce,andstoresthereadingsinmemory.TheFETCh?commandtransfersthereadingsfromreadingmemorytotheinstrument'soutputbuffer.The1kΩrangeisselectedwith1Ωresolution.

CONF:FRES1000,1,(@301,302)!Notethatfora4-wire

measurement,channels

!301and302are

automaticallypairedwith

!311and312,

respectively(34901Amodule).

ROUT:SCAN(@301,302)

INIT

FETC?

TypicalResponse:+4.27150000E+02,+1.32130000E+02

Page 278: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCONFigureSubsystemIntroduction

CONFigure?

FETCh?

INITiate

MEASure:RESistance?

MEASure:FRESistance?

READ?

ROUTe:SCAN

[SENSe:]RESistance:OCOMpensated

Page 279: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CONFigure:TEMPeratureSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 280: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CONFigure:TEMPerature{<probe_type>|DEF},{<type>|DEF}[,1[,{<resolution>|MIN|MAX|DEF}]],(@<scan_list>)

Page 281: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thesecommandsconfigurethechannelsfortemperaturemeasurementsbutdonotinitiatethescan.Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

TheCONFigurecommanddoesnotplacetheinstrumentinthe"wait-for-trigger"state.UsetheINITiateorREAD?commandinconjunctionwithCONFiguretoplacetheinstrumentinthe"wait-for-trigger"state.

Thefollowingtableshowswhichtemperaturetransducersaresupportedbyeachofthemultiplexermodules.

Module Thermocouple RTD2-

Wire

RTD4-

Wire

Thermistor

34901AArmatureMultiplexer

Yes Yes Yes Yes

34902AReedMultiplexer

Yes Yes Yes Yes

34908AArmatureMultiplexer(1-Wire)

NotRecommended1

Yes No Yes

1Withaone-wiremultiplexer,evenverysmallgroundcurrentscanintroducesubstantialmeasurementerror.

Page 282: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<probe_type> Discrete{TCouple|RTD|FRTD|THERmistor|DEF}

TCouple

<type> DiscreteForTCouple:

{B|E|J|K|N|R|S|T}

ForRTD {85|91}ForFRTD {85|91}ForTHERmistor {2252|5000|10000}

ForTCouple:

ForRTDForFRTDForTHERmistor

<resolution> Numeric TheresolutionindegreesCelsius,Fahrenheit,orKelvin.ThetemperaturescaleinuseisspecifiedbytheUNIT:TEMPeraturecommand.

1PLC

<scan_list> ScanList Oneormorechannels,asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Thisisarequiredparameter.

Page 283: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Fortemperaturemeasurements,theinstrumentinternallyselectstherange;youcannotselectwhichrangeisused.Inthecommandsyntax,besuretoinclude"1"asshownforthe<range>parameter(precedingthe<resolution>parameter).

ForRTDandFRTDmeasurements,use"85"tospecifya=0.00385or"91"tospecifya=0.00391.Notethatthiscommandalsoredefinesthescanlist.Thedefault(DEF)typeis"85"(a=0.00385).

Whenyouspecifyarangeofchannelswiththiscommand,anychannelsthatareinvalidwillbeignored(noerrorwillbegenerated)butthefirstandlastchannelintherangemustbevalidfortheselectedfunction.

Forthermocouplemeasurements,theinstrumentinternallyselectsthe100mVrange.ForthermistorandRTDmeasurements,theinstrumentautorangestothecorrectrangeforthetransducerresistancemeasurement.Specifythepairedchannelinthelowerbank(source)asthe<ch_list>channel.

Thermocouplemeasurementsrequireareferencejunctiontemperature(see[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction:TYPEcommand).Forthereferencejunctiontemperature,youcanuseaninternalmeasurementonthemodule'sterminalblock(34901Aonly),anexternalthermistororRTDmeasurement,oraknownfixedjunctiontemperature.Ifyouselectanexternalreference,theinstrumentmakesthermocouplemeasurementsrelativetoapreviously-storedRTDorthermistormeasurementstoredinthereferenceregister.

Bydefault,afixedreferencejunctiontemperatureof0.0°Cisused(see[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction

Page 284: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

command).

Ifyouselectautoranging(byspecifying"AUTO"or"DEF"),anerrorwillbegeneratedifyouspecifyadiscretevalueforthe<resolution>parameter.Whenautorangingiscombinedwithadiscreteresolution,theinstrumentcannotaccuratelyresolvetheintegrationtime(especiallyiftheinputsignaliscontinuouslychanging).Ifyourapplicationrequiresautoranging,besuretospecify"DEF"forthe<resolution>parameter,oromittheparameterfromthecommandandusethe[SENSe:]TEMPerature:NPLCcommandtospecifythedesiredintegrationtime.

Sincethiscommandresetsallmeasurementparametersonthespecifiedchannelstotheirdefaultvalues,besuretosendtheCONFigurecommandbeforesettinganyothermeasurementparameters.

For4-wireresistancemeasurements,theinstrumentautomaticallypairschannelninBank1withchanneln+10inBank2(34901A)orn+8(34902A)toprovidethesourceandsenseconnections.Forexample,makethesourceconnectionstotheHIandLOterminalsonchannel02inBank1andthesenseconnectionstotheHIandLOterminalsonchannel12(34901A)or10(34902A)inBank2.SpecifythepairedchannelinBank1(source)asthe<ch_list>channel(channelsinBank2arenotallowedinthe<ch_list>).

Becausechannelsareautomaticallypairedfor4-wireresistancemeasurements(seepreviousRemark),attemptstore-configurethepairedchannelinBank2willresultinanerror.Forexample:

CONF:VOLT:DC(@105)!ConfigureBank2channelfor

DCvoltagemeasurements

ROUT:SCAN(@101:110)!Addchannelstoscanlist

CONF:FRES(@101)!Generateserrorandclears

scanlist

Page 285: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

For4-wireRTDmeasurements,theinstrumentautomaticallyenablestheautozerofunction.

The*RSTcommandwillclearthescanlistandsetallmeasurementparameterstotheirfactorysettings.TheInstrumentPreset(SYSTem:PRESetcommand)willnotclearthescanlist;however,thiscommandwillclearreadingmemoryandallstoredstatisticaldata.

Page 286: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingprogramsegmentconfigurestheinstrumentforB-typethermocouplemeasurementsonchannel04inslot300.TheREAD?commandplacestheinstrumentinthe"wait-for-trigger"state,scansthechannelonce,andthensendsthereadingtoreadingmemoryandtheinstrument'soutputbuffer.Thedefaultresolution(fixedat6½digits)isusedforthemeasurement(assumesdefaulttemperatureunits).

CONF:TEMPTC,B,(@304)

ROUT:SCAN(@304)

READ?

TypicalResponse:+3.65640000E+01

Thefollowingprogramsegmentconfigurestheinstrumentfor5kΩthermistormeasurementsonchannels03and08inslot100.TheINITiatecommandplacestheinstrumentinthe"wait-for-trigger"state,scansthechannelsonce,andstoresthereadingsinmemory.TheFETCh?commandtransfersthereadingsfromreadingmemorytotheinstrument'soutputbuffer.This2-wiremeasurementismadewith0.1°Cresolution(assumesdefaulttemperatureunits).

CONF:TEMPTHER,5000,1,0.1,(@103,108)

ROUT:SCAN(@103,108)

INIT

FETC?

TypicalResponse:+2.47150000E+01,+3.12130000E+01

Thefollowingprogramsegmentconfiguresthecurrentscanlistfora2-wireRTDmeasurement(no<ch_list>isspecified).TheREAD?

Page 287: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

commandplacestheinstrumentinthe"wait-for-trigger"state,initiatesatrigger,andthensendsthereadingtoreadingmemoryandtheinstrument'soutputbuffer.Thedefaultresolution(fixedat6½digits)isusedforthemeasurement(assumesdefaulttemperatureunits).

CONF:TEMPRTD,85(@203)

READ?

TypicalResponse:+2.12320000E+01

Page 288: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCONFigure?

FETCh?

INITiate

MEASure:TEMPerature?

READ?

ROUTe:SCAN

[SENSe:]TEMPerature:NPLC

[SENSe:]TEMPerature:TRANsducer:FRTD:RESistance[:REFerence]

[SENSe:]TEMPerature:TRANsducer:RTD:RESistance[:REFerence]

UNIT:TEMPerature

Page 289: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CONFigure:TOTalizeSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 290: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CONFigure:TOTalize<mode>,(@<scan_list>)

Page 291: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandconfigurestheinstrumenttoreadthespecifiedtotalizerchannelsonthemultifunctionmodulebutdoesnotinitiatethescan.Toreadthetotalizerduringascanwithoutresettingthecount,setthe<mode>toREAD.Toreadthetotalizerduringascanandresetthecountto0afteritisread,setthe<mode>toRRESet(thismeans"readandreset").

TheCONFigurecommanddoesnotplacetheinstrumentinthe"wait-for-trigger"state.UsetheINITiateorREAD?commandinconjunctionwithCONFiguretoplacetheinstrumentinthe"wait-for-trigger"state.

UsedWith:

34907AMultifunctionModule(totalizechannelonly)

Page 292: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<mode> Discrete {READ|RRESet} READ

<scan_list> ScanList Oneormore

totalizerchannels,asshown:

(@303)-channel03onthemoduleinslot300.

(@103,203,303)-channel03onthemodulesonslot100,200,and300.

Thisisarequiredparameter.

Page 293: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thetotalizerchannelisalwaysoftheforms03,wheresisthefirstdigitoftheslotnumber.

Themaximumcountis67,108,863(226-1).Thecountrollsoverto0afterreachingthemaximumallowedvalue.

Ifthecountrollsoverto0,the"TotalizerOverflow"bit(bit11)issetintheQuestionableDataregister.FormoreinformationontheStatusSystemfortheinstrument,seeStatusSystemIntroduction.

SelectingtheRRESetmodeperformsasynchronizedreadandresetoperationonthespecifiedtotalizerchannels.Ifyouweretousediscretecommands,suchasREAD?and[SENSe:]TOTalize:CLEar:IMMediate,youwouldlikelylosecountsoccurringbetweenthetwocommands.

The*RSTcommandwillclearthescanlistandsetallmeasurementparameterstotheirfactorysettings.TheInstrumentPreset(SYSTem:PRESetcommand)willnotclearthescanlist;however,thiscommandwillclearreadingmemoryandallstoredstatisticaldata.

Page 294: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandconfigurestotalizerchannel03onthemoduleinslot200tobereadwithoutresettingitscount.

CONF:TOTREAD,(@203)

Thefollowingcommandconfigurestotalizerchannel03onthemoduleinslot300toberesetto0afteritisread.

CONF:TOTRRES,(@303)

Page 295: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCONFigureSubsystemIntroduction

CONFigure?

FETCh?

INITiate

READ?

[SENSe:]TOTalize:DATA?

Page 296: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CONFigure:VOLTage:ACCONFigure:VOLTage:DCSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 297: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

CONFigure:VOLTage:AC[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

CONFigure:VOLTage:DC[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

Page 298: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thesecommandsconfigurethechannelsinthe<scan_list>forACorDCvoltagemeasurementsbutdonotinitiatethescan.

TheCONFigurecommanddoesnotplacetheinstrumentinthe"wait-for-trigger"state.UsetheINITiateorREAD?commandinconjunctionwithCONFiguretoplacetheinstrumentinthe"wait-for-trigger"state.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 299: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<range> NumericExpectedvalueinvolts

AUTO

<resolution> Numeric Desiredresolutioninvolts. 0.000003xRange(1PLC)

<scan_list> ScanList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Thisisarequiredparameter.

Page 300: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Whenyouspecifyarangeofchannelswiththiscommand,anychannelsthatareinvalidwillbeignored(noerrorwillbegenerated)butthefirstandlastchannelintherangemustbevalidfortheselectedfunction.

Youcanallowtheinstrumenttoautomaticallyselectthemeasurementrangeusingautorangingoryoucanselectafixedrangeusingmanualranging.Autorangingisconvenientbecausetheinstrumentdecideswhichrangetouseforeachmeasurementbasedontheinputsignal.Forfastestscanningoperation,usemanualrangingoneachmeasurement(someadditionaltimeisrequiredforautorangingsincetheinstrumenthastomakearangeselection).

Ifyouselectautoranging(byspecifying"AUTO"or"DEF"),anerrorwillbegeneratedifyouspecifyadiscretevalueforthe<resolution>parameter.Whenautorangingiscombinedwithadiscreteresolution,theinstrumentcannotaccuratelyresolvetheintegrationtime(especiallyiftheinputsignaliscontinuouslychanging).Ifyourapplicationrequiresautoranging,besuretospecify"AUTO"forthe<resolution>parameteroromittheparameterfromthecommand.

Autorangethresholds:Downrangeat:<10%ofrangeUprangeat:>120%ofrange

Becausethiscommandresetsallmeasurementparametersonthespecifiedchannelstotheirdefaultvalues,besuretosendtheCONFigurecommandbeforesettinganyothermeasurementparameters.

Iftheinputsignalisgreaterthancanbemeasuredontheselectedrange(manualranging),theinstrumentgivesanoverload

Page 301: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

indication:"±OVLD"fromthefrontpanelor"±9.9E+37"fromtheremoteinterface.

ForACmeasurements,theresolutionisfixedat6½digits.TheonlywaytocontrolthereadingrateforACmeasurementsisbychangingthechanneldelayorbysettingtheACfiltertothehighestfrequencylimit.The<resolution>parameteronlyaffectsthenumberofdigitsshownonthefrontpanel.

The*RSTcommandwillclearthescanlistandsetallmeasurementparameterstotheirfactorysettings.TheInstrumentPreset(SYSTem:PRESetcommand)willnotclearthescanlist;however,thiscommandwillclearreadingmemoryandallstoredstatisticaldata.

Page 302: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThesecommandsshowtheCONFigure:VOLTage:ACcommand.Ineachcase,youcouldsubstitutetheCONFigure:VOLTage:DCcommandandtheexamplewouldbevalid.

ThefollowingprogramsegmentconfigurestheinstrumentforACvoltagemeasurementsonchannel04inslot300.TheREAD?commandplacestheinstrumentinthe"wait-for-trigger"state,scansthechannelonce,andthensendsthereadingtoreadingmemoryandtheinstrument'soutputbuffer.Thedefaultrange(autorange)andresolution(fixedat6½digits)areusedforthemeasurement.

CONF:VOLT:AC(@304)

ROUT:SCAN(@304)

READ?

TypicalResponse:+1.86850000E-03

ThefollowingprogramsegmentconfigurestheinstrumentforACvoltagemeasurementsonchannels03and08inslot100.TheINITiatecommandplacestheinstrumentinthe"wait-for-trigger"state,scansthechannelsonce,andstoresthereadingsinmemory.TheFETCh?commandtransfersthereadingsfromreadingmemorytotheinstrument'soutputbuffer.The1Vrangeisselected.

CONF:VOLT:AC1,(@103,108)

ROUT:SCAN(@103,108)

INIT

FETC?

TypicalResponse:+4.27150000E-03,+1.32130000E-03

Page 303: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Thefollowingprogramsegmentconfigureschannel10onthemoduleinslot300foranACvoltagemeasurement.TheREAD?commandplacestheinstrumentinthe"wait-for-trigger"state,initiatesatrigger,andthensendsthereadingtoreadingmemoryandtheinstrument'soutputbuffer.Thedefaultrange(autorange)andresolution(fixedat6½digits)areusedforthemeasurement.

CONF:VOLT:AC(@310)

READ?

TypicalResponse:+1.26360000E-02

Page 304: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoCONFigureSubsystemIntroduction

CONFigure:CURRent:AC

CONFigure?

FETCh?

INITiate

MEASure[:VOLTage]:AC?

MEASure[:VOLTage][:DC]?

READ?

ROUTe:CHANnel:DELay

ROUTe:SCAN

[SENSe:]VOLTage:AC:BANDwidth

Page 305: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DATASubsystemIntroduction

CommandSummaryDATA:LAST?

DATA:POINts?

DATA:POINts:EVENt:THReshold

DATA:POINts:EVENt:THReshold?

DATA:REMove?

Page 306: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DATA:LAST?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 307: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

DATA:LAST?[<num_rdgs>,](@<channel>)

Page 308: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreturnsthemostrecentreadingorreadingstakenonthespecifiedchannelduringthescan.

Page 309: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<num_rdgs> Numeric Anintegerfrom1tothenumberofreadingsstoredinmemoryforthespecified<channel>.

1

<channel> ChannelAsinglechannel,specifiedasinthefollowingexamples.

(@310)-channel10onthemoduleinslot300.

(@214)-channel14onthemoduleinslot200.

Thisisarequiredparameter.

Page 310: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thequeryreturnsthereadingsinorder,startingwiththeearliestreadinginthegroupofrecentreadings.Ifyouspecifymorereadingsthanarecurrentlystoredinmemory,theinstrumentgeneratesanerrormessage.

Readingscanbeacquiredduringascanusingthemultiplexerordigitalmodules.

Eachreadingisreturnedwithsomecombinationofmeasurementunits,timestamp,channelnumber,andalarmstatusinformation,dependingonthesettingssetbytheFORMat:READingcommands.Thetimestampiseitherinrelativeformat(timeinsecondssincethebeginningofthescan)orabsoluteformat(timeofdaywithdate,basedontheinstrument'sclockassetbytheSYSTem:DATEandSYSTem:TIMEcommands).ThechoiceofabsoluteandrelativetimeisdeterminedbytheFORMat:READing:TIME:TYPEcommand.

Page 311: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthespecifiednumberofreadingsforthespecifiedchannel(ortheinternalDMM).Ifnodataisavailableforthespecifiedchannel,thequeryreturns0foreachfield.

Forexample:

1ReadingwithUnits(26.195°C) 4ChannelNumber 2Date(November21,2004) 5AlarmLimitThresholdCrossed(0

=NoAlarm,1=LO,2=HI) 3TimeofDay(3:30:23.000PM)

Page 312: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnsthelastreadingonchannel08inslot100.

DATA:LAST?(@108)

TypicalResponse:+1.84280000E-05VDC,2004,11,21,14,54,33.104,108,0

Page 313: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoDATASubsystemIntroduction

FORMatSubsystemIntroduction

SYSTem:DATE

SYSTem:TIME

Page 314: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DATA:POINts?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 315: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

DATA:POINts?

Page 316: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreturnsthetotalnumberofreadingscurrentlystoredinreadingmemoryfromascan.

Page 317: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Youcanreadthecountatanytime,evenduringascan.

Youcanstoreatleast50,000readingsinmemoryandallreadingsareautomaticallytimestamped.Ifmemoryoverflows,abitintheSTATus:QUEStionable:CONDition?registerissetandnewreadingswilloverwritethefirst(oldest)readingsstored.Themostrecentreadingsarealwayspreserved.Readingmemoryisnotclearedwhenyoureadit.

Thequestionablestatusbitwillbeclearedwhenmemoryiscleared.ThequestionablestatusbitwillnotbeclearedifmemoryisemptiedwithDATA:REMove?orR?.

Theinstrumentclearsallreadingsfrommemorywhenanewscanisinitiated,whenanymeasurementparametersarechanged(CONFigureandSENSecommands),andwhenthetriggeringconfigurationischanged(TRIGgercommands).

TheinstrumentclearsallreadingsfrommemoryafteraFactoryReset(*RSTcommand)orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 318: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsavaluebetween0and50,000asasignedinteger,indicatingthenumberofreadingscurrentlystoredinreadingmemory.

Page 319: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnsthenumberofreadingsinmemory.

DATA:POIN?

TypicalResponse:+320

Page 320: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoDATASubsystemIntroduction

DATA:REMove?

Page 321: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DATA:POINts:EVENt:THResholdSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 322: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

DATA:POINts:EVENt:THReshold<num_rdgs>

DATA:POINts:EVENt:THReshold?

Page 323: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandsetsabitintheStandardOperationRegistergroupeventregisterwhenthespecifiednumberofreadingshavebeenstoredinreadingmemoryfromascan.The"MemoryThreshold"bit(bit9)issettoa"1"intheeventregisterwhenthenumberofstoredreadingsisgreaterthanorequaltothespecifiedmemorythreshold.

FormoreinformationontheStatusSystemfortheinstrument,seeStatusSystemIntroduction.

Page 324: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type Rangeof

Values

DefaultValue

<num_rdgs> Numeric Anintegerfrom1to50,000

Thisisarequiredparameter.

Thefactorydefaultvalueis1.

Page 325: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Toreportanysubsequentevents,thereadingcountmustfirstdropbelowtheprogrammedmemorythresholdbeforereachingthethresholdagain.UsetheR?orDATA:REMovecommandtoremovereadingsfrommemory.

Toenablethe"MemoryThreshold"bit(bit9)tobereportedtotheStatusByte,usetheSTATus:OPERation:ENABlecommand.

Oncethe"MemoryThreshold"bitisset,itwillremainsetuntilclearedbytheSTATus:OPERation[:EVENt]?commandor*CLS(clearstatus)command.

Theinstrumentresetsthememorythresholdto"1"afteraFactoryReset(*RSTcommand)orwhenmainframepoweriscycled.ThememorythresholdvalueisnotresetbytheSYSTem:PRESet,*CLS,orSTATus:PRESetcommand.

Page 326: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthenumberofreadingscurrentlyspecifiedasthememorythresholdasasignedinteger.

Page 327: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsetsthememorythresholdto125readings.

DATA:POIN:EVEN:THR125

Thefollowingqueryreadsthememorythresholdsetting.

DATA:POIN:EVEN:THR?

TypicalResponse:+125

Page 328: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoDATASubsystemIntroduction

STATus:OPERation:ENABle

Page 329: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DATA:REMove?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 330: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

DATA:REMove?<num_rdgs>

Page 331: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreadsandclearsthespecifiednumberofreadingsfromthenon-volatilememory.Thisallowsyoutocontinueascanwithoutlosingdatastoredinmemory(ifmemorybecomesfull,newreadingswilloverwritethefirstreadingsstored).Thespecifiednumberofreadingsareclearedfrommemory,startingwiththeoldestreading.

Page 332: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<num_rdgs> Numeric Anintegerrepresentingthenumberofreadingstobereadanderasedfrommemory.

Thisisarequiredparameter.

Page 333: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Youcanremovereadingsfrommemoryatanytime,evenduringascan.

Youcanstoreatleast50,000readingsinmemoryduringascan.Readingsarestoredonlyduringascan.Ifmemoryoverflows,thenewreadingswilloverwritethefirst(oldest)readingsstored;themostrecentreadingsarealwayspreserved.Inaddition,bit9issetintheQuestionableDataRegister'sconditionregister(seeStatusSystemIntroduction).

Iffewerthanthespecifiednumberofreadingsarecurrentlyinmemory,anerrorwillbegenerated.YoucanusetheDATA:POINts?querytodeterminethetotalnumberofreadingscurrentlyinmemory.

Eachreadingisreturnedwithsomecombinationofmeasurementunits,timestamp,channelnumber,andalarmstatusinformation,dependingonthesettingssetbytheFORMat:READingcommands.Thetimestampiseitherinrelativeformat(timeinsecondssincethebeginningofthescan)orabsoluteformat(timeofdaywithdate,basedontheinstrument'sclockassetbytheSYSTem:DATEandSYSTem:TIMEcommands).ThechoiceofabsoluteandrelativetimeisdeterminedbytheFORMat:READing:TIME:TYPEcommand.

Theinstrumentclearsallreadingsfrommemorywhenanewscanisinitiated,whenanymeasurementparametersarechanged(CONFigureandSENSecommands),andwhenthetriggeringconfigurationischanged(TRIGgercommands).

TheinstrumentclearsallreadingsfrommemoryafteraFactoryReset(*RSTcommand),afteranInstrumentPreset(SYSTem:PRESetcommand),orwhenmainframepoweriscycled.

Page 334: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthespecifiednumberofreadings(withformattingassetbytheFORMat:READingcommands)andthenerasesthemfrommemory.Multipleresponsesareseparatedbycommas.

Page 335: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnsthreereadings(startingwiththeoldestreadingfirst)anderasesthemfrommemory.

DATA:REM?3

TypicalResponse:+4.27150000E+02,+1.32130000E+03,+3.65300000E+03

Page 336: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoDATASubsystemIntroduction

DATA:POINts?

FORMatSubsystemIntroduction

R?

Page 337: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DIAGnosticSubsystemIntroduction

CommandSummaryDIAGnostic:DMM:CYCLes?

DIAGnostic:DMM:CYCLes:CLEar

DIAGnostic:PEEK:SLOT:DATA?

DIAGnostic:POKE:SLOT:DATA

DIAGnostic:RELay:CYCLes?

DIAGnostic:RELay:CYCLes:CLEar

Page 338: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DIAGnostic:DMM:CYCLes?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 339: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

DIAGnostic:DMM:CYCLes?

Page 340: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThisqueryreturnsthecyclecountofthethreebackplanerelaysontheinternalDMM.Theserelaysopenorclosewhenafunctionorrangeischangedonamodule.Thequeryreturnsthreenumbersindicatingthecyclecountonrelays1,2,and3(whichcorrespondtorelaysK102,K103,andK104respectively).

Page 341: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

TheinternalDMMisanoptionalassemblyfortheKeysight34970A/34972A.TheinstrumentgeneratesanerrorwiththiscommandiftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.

Toreadthecyclecountonthemultiplexerandswitchmodules,usetheDIAGnostic:RELay:CYCLes?command.

SeetheKeysight34970A/34972AServiceGuideforinformationonreplacingrelays.

Page 342: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsthecyclecountonthespecifiedinternalDMMrelay.

Page 343: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnsthecyclecountonthethreerelays.

DIAG:DMM:CYCL?

TypicalResponse:+58023,+57291,+66239

Page 344: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoDIAGnosticSubsystemIntroduction

DIAGnostic:DMM:CYCLes:CLEar

DIAGnostic:RELay:CYCLes?

Page 345: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DIAGnostic:DMM:CYCLes:CLEarSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 346: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

DIAGnostic:DMM:CYCLes:CLEar{1|2|3}

Page 347: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandresetstherelaycyclecountonthespecifiedinternalDMMrelay.

Page 348: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

YoumustunsecuretheinstrumentwithCALibration:SECure:STATetoresetthecyclecount.

Page 349: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

ThefollowingcommandresetstherelaycyclecountoninternalDMMrelay2.

DIAGnostic:DMM:CYCLes:CLEar2

Page 350: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoDIAGnosticSubsystemIntroduction

DIAGnostic:DMM:CYCLes?

Page 351: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DIAGnostic:PEEK:SLOT:DATA?DIAGnostic:POKE:SLOT:DATASyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 352: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

DIAGnostic:PEEK:SLOT:DATA?{100|200|300}

DIAGnostic:POKE:SLOT:DATA{100|200|300},<quoted_string>

Page 353: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThePOKEcommandallowsyoutoaddacustomlabelofupto10characterstothemoduleinthespecifiedslot.Charactersbeyondthetenthcharacteraretruncated,andnoerrormessageisgenerated.ThePEEKqueryreturnsthelabelstring.

Page 354: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<quoted_string> QuotedASCIIString

AquotedASCIIstringofupto10characters.

Thisisarequiredparameter.

Page 355: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Onepossibleuseforthiscommandistoallowyoutodifferentiatebetweenmodulesofthesametypefromwithinyourprogram.

Thecustomlabelisstoredinnon-volatilememoryonthemodule.

YoumustunsecuretheinstrumentwithCALibration:SECure:STATeOFFbeforeyoucanstorethecustomlabel.

Page 356: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThePEEKqueryreturnsthelabelstring.

Page 357: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandaddsalabeltothemoduleinslot200.

DIAG:POKE:SLOT:DATA200,"TestMod1"

Thefollowingqueryreturnsthelabelassociatedwithslot200.

DIAG:PEEK:SLOT:DATA?200

TypicalResponse:TestMod1

Page 358: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoDIAGnosticSubsystemIntroduction

Page 359: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DIAGnostic:RELay:CYCLes?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 360: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

DIAGnostic:RELay:CYCLes?(@<ch_list>)

Page 361: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreadsthecyclecountonthespecifiedchannels.Inadditiontothechannelrelays,youcanalsoquerythecountontheAnalogBusrelaysandbankrelays.

UsedWith:

Allmodulesexceptfor34907A

Page 362: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormorechannels,as

shown:

(@302)-channel12onthemoduleinslot300.

(@311:314)-channels11through14onthemoduleinslot300.

(@201:212,213,322:323,198)-channels1through12and13onthemoduleinslot200,channels22through23onthemoduleinslot300,andtreerelay98onthemoduleinslot100.

Thisisarequiredparameter.

Page 363: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

RemarksOntheRFMultiplexermodules,eachbankconsistsoftwoleafrelaysandonetreerelay(seediagrambelow).Themodulestoresthecyclecountforeachofthethreerelaysonallfourbanks.TheDIAGnostic:RELay:CYCLes?queryalwaysreturnsthesamecountforchannels111and112,113and114,121and122,and123and124.

a. TheresetstateofthethreerelaysisshownaboveforBank1(aresetoperationselectsthelowestchannelwithinthebank).Thecyclecountforanyofthethreerelaysisincrementedwhenevertherelaytransitionsfromtheresetstate.Therefore,thecyclecountreflectsacompletetransitionoftherelayfrom,andbackto,theresetstate.For

Page 364: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

example,closingChannel111willnotincrementtheleafrelaycyclecount,butclosingChannel112willincrementthecyclecount.

ToreadthecyclecountontherelaysassociatedwithfunctionselectionandisolationontheinternalDMM,usetheDIAGnostic:DMM:CYCLes?command.

SeetheKeysight34970A/34972AServiceGuideforinformationonreplacingrelays.

Page 365: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthecyclecountforeachchannelspecified.Thevaluereturnedisbetween0and4,294,967,294(32-bitvalue).Multipleresponsesareseparatedbycommas.

Page 366: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnsthecyclecountonchannels03and13inslot100.

DIAG:REL:CYCL?(@103,113)

TypicalResponse:+76289,+11055

Page 367: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoDIAGnosticSubsystemIntroduction

DIAGnostic:DMM:CYCLes?

DIAGnostic:RELay:CYCLes:CLEar

Page 368: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DIAGnostic:RELay:CYCLes:CLEarSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 369: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

DIAGnostic:RELay:CYCLes:CLEar(@<ch_list>)

Page 370: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandresetsthecyclecountonthespecifiedchannels.

Page 371: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifthisparameterisomitted,thecommandappliestothecurrentscanlist.

Page 372: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Theinstrumentmustbeunsecuredinordertoresetthecyclecount.SeetheCALibration:SECure:STATecommandformoreinformationonunsecuringtheinstrument.

OntheRFMultiplexermodules(34905A,34906A),eachbankconsistsoftwoleafrelaysandonetreerelay(seeDIAGnostic:RELay:CYCLes?command).Clearingthecyclecountonaspecificchannelwillclearthecountonallthreerelaysinthecorrespondingbank.

Page 373: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandclearsthecyclecountonchannels03and13inslot100.

DIAG:REL:CYCL:CLE(@103,113)

Page 374: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoDIAGnosticSubsystemIntroduction

CALibration:SECure:STATe

DIAGnostic:RELay:CYCLes?

Page 375: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DISPlaySubsystemIntroduction

CommandSummaryDISPlay

DISPlay?

DISPlay:TEXT

DISPlay:TEXT?

DISPlay:TEXT:CLEar

Page 376: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DISPlaySyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 377: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

DISPlay<state>

DISPlay?

Page 378: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommanddisablesorenablestheinstrument'sfront-paneldisplay.Forsecurityreasonsorforaslightincreaseinmeasurementrates,youmaywanttoturnoffthefront-paneldisplay.Whendisabled,theentirefront-paneldisplaygoesdarkandalldisplayannunciatorsexceptERRORaredisabled.

Page 379: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<state> Boolean {OFF|0|ON|1} ON

Page 380: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

AllkeysexceptLocalaredisabledwhenthedisplayisoff.

Youcandisablethefront-paneldisplayfromtheremoteinterfaceonly.

Sendingatextmessagetothedisplay(seeDISPlay:TEXTcommand)overridesthedisplaystate;thismeansthatyoucandisplayamessageevenifthedisplayisturnedoff.

Thefront-paneldisplayisautomaticallyenabledwhenpoweriscycled,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).ItisalsoenabledwhenyoupresstheLocalkey.TheOFFstateisrememberedifyoureturntoremote.

Page 381: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON).

Page 382: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommanddisablesthefront-paneldisplay.

DISPOFF

Thefollowingqueryreturnsthefront-paneldisplaysetting.

DISP?

TypicalResponse:0

Page 383: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoDISPlaySubsystemIntroduction

DISPlay:TEXT

Page 384: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DISPlay:TEXTSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 385: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

DISPlay:TEXT<quoted_string>

DISPlay:TEXT?

Page 386: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommanddisplaysatextmessageontheinstrument'sfront-paneldisplay.Theinstrumentcandisplayupto12charactersonthefrontpanel;anyadditionalcharactersaretruncated(noerrorisgenerated).

Page 387: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<quoted_string> QuotedASCIIString

Astringofupto12charactersenclosedinquotationmarks.Youcanuseletters(A-Z),numbers(0-9),andspecialcharacterslike"@","%","*",andsoon.Use"#"charactertodisplayadegreesymbol(°).

Thisisarequiredparameter.

Page 388: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Commas,periods,colons,andsemicolonsshareadisplayspacewiththeprecedingcharacter,andarenotconsideredindividualcharacters.

Whileamessageisdisplayedonthefrontpanel,readingsfromascanormonitorarenotsenttothefront-paneldisplay.

Sendingatextmessagetothedisplayoverridesthedisplaystate(seeDISPlay:STATecommand);thismeansthatyoucandisplayamessageevenifthedisplayisturnedoff.

Thedisplaytextisnotstoredaspartoftheinstrumentstatebythe*SAVcommand.

Thefront-paneldisplayisautomaticallyclearedwhenpoweriscycled,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 389: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreadsthemessagecurrentlydisplayedonthefrontpanelandreturnsanASCIIstringenclosedindoublequotes.Ifnomessageisdisplayed,anullstring("")isreturned.

Page 390: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsdisplayamessageonthefrontpanel(thequotesarenotdisplayed).

DISP:TEXT"SCANNING..."orDISP:TEXT'SCANNING

...'

Thefollowingqueryreturnsthemessagecurrentlydisplayedonthefrontpanel(thequotesarealsoreturned).

DISP:TEXT?

TypicalResponse:"SCANNING..."

Page 391: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoDISPlaySubsystemIntroduction

DISPlay:TEXT:CLEar

Page 392: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DISPlay:TEXT:CLEarSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 393: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

DISPlay:TEXT:CLEar

Page 394: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandclearsthetextmessagedisplayedontheinstrument'sfront-paneldisplay(seeDISPlay:TEXTcommand).

Page 395: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Clearingthetextmessagedoesnotoverridethedisplaystate(seeDISPlay:STATecommand);ifthedisplaywasdisabledpriortoclearingthetextmessage,thedisplaywillremaindisabled.

Thefront-paneldisplayisautomaticallyclearedwhenpoweriscycled,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 396: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandclearsthetextmessageonthefrontpanel.

DISP:TEXT:CLEAR

Page 397: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoDISPlaySubsystemIntroduction

DISPlay

DISPlay:TEXT

Page 398: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

FORMatSubsystemIntroductionDuringascan,theinstrumentautomaticallyaddsatimestamptoallreadingsandstorestheminmemory.Eachreadingisalsostoredwithmeasurementunits,timestamp,channelnumber,andalarmstatusinformation.Youcanspecifywhichinformationyouwantreturnedwiththereadings(fromthefrontpanel,alloftheinformationisavailableforviewing).Thereadingformatappliestoallreadingsbeingremovedfromtheinstrumentfromascan;youcannotsettheformatonaper-channelbasis.Theexamplesbelowshowareadinginrelativeandabsoluteformatwithallfieldsenabled.

Notethatabsoluteformatshowsthetimeofdaywiththedate,andrelativetimeshowsthetimesincethestartofthescan.

RelativeFormat(Default):

1ReadingwithUnits(26.195°C)

3ChannelNumber

2ElapsedTime(17ms) 4AlarmLimitThresholdCrossed(0=NoAlarm,1=LO,2=HI)

AbsoluteFormat(Default):

Page 399: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

1ReadingwithUnits(26.195°C)

4ChannelNumber

2Date(November21,2004) 5AlarmLimitThresholdCrossed(0=NoAlarm,1=LO,2=HI)

3TimeofDay(3:30:23.000PM)

TheFORMatcommandsarevalidonlywiththefollowingKeysight34970A/34972Aplug-inmodules,whichcanbeconfiguredtobepartofascan.TheinternalDMMmustalsobeinstalledandenabled.

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34903A20ChannelActuator/GPSwitchModule

34904A4x8Two-WireMatrixModule

34905A2GHzDual1:4RFMux,50OhmModule

34906A2GHzDual1:4RFMux,75OhmModule

34907AMultifunctionModule

34908A40ChannelSingle-EndedMultiplexerModule

Page 400: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CommandSummaryFORMat:READing:ALARm

FORMat:READing:ALARm?

FORMat:READing:CHANnel

FORMat:READing:CHANnel?

FORMat:READing:TIME

FORMat:READing:TIME?

FORMat:READing:TIME:TYPE

FORMat:READing:TIME:TYPE?

FORMat:READing:UNIT

FORMat:READing:UNIT?

Page 401: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

FORMat:READing:ALARmSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 402: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

FORMat:READing:ALARm<state>

FORMat:READing:ALARm?

Page 403: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommanddisablesorenablestheinclusionofalarminformationwithdataretrievedbytheREAD?command,theFETCh?command,andotherqueriesofscanresults.ThiscommandoperatesinconjunctionwiththeotherFORMat:READingcommands(theyarenotmutuallyexclusive).SeeFormatSubsystemIntroductionforexamplesoffully-formattedresultsfromascan.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 404: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<state> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

ThefactoryresetvalueisOFF(disabled).

Page 405: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thereadingformatappliestoallreadingsbeingretrievedfromtheinstrument;youcannotsettheformatonaper-channelbasis.

TheCONFigureandMEASure?commandsautomaticallydisablethealarmsetting.

Thealarmsettingisstoredinvolatilememoryandwillbedisabled(OFF)whenpoweristurnedofforafteraFactoryReset(*RSTcommand).

Page 406: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON).

Page 407: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablestheinclusionofalarminformation.

FORM:READ:ALARON

Thefollowingqueryreturnsthealarmsetting.

FORM:READ:ALAR?

TypicalResponse:1

Page 408: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoFORMatSubsystemIntroduction

FORMat:READing:CHANnel

Page 409: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

FORMat:READing:CHANnelSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 410: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

FORMat:READing:CHANnel<mode>

FORMat:READing:CHANnel?

Page 411: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommanddisablesorenablestheinclusionofchannelnumberinformationwithdataretrievedbytheREAD?command,theFETCh?command,orotherqueriesofscanresults.ThiscommandoperatesinconjunctionwiththeotherFORMat:READingcommands(theyarenotmutuallyexclusive).SeeFormatSubsystemIntroductionforexamplesoffully-formattedresultsfromascan.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 412: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<mode> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

ThefactorydefaultvalueisOFF(disabled).

Page 413: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thereadingformatappliestoallreadingsbeingretrievedfromtheinstrument;youcannotsettheformatonaper-channelbasis.

TheCONFigureandMEASure?commandsautomaticallydisablethechannelsetting.

Thechannelsettingisstoredinvolatilememoryandwillbedisabled(OFF)whenpoweristurnedofforafteraFactoryReset(*RSTcommand).

Page 414: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON).

Page 415: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablestheinclusionofchannelnumberinformation.

FORM:READ:CHANON

Thefollowingqueryreturnsthechannelnumbersetting.

FORM:READ:CHAN?

TypicalResponse:1

Page 416: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoFORMatSubsystemIntroduction

FORMat:READing:ALARm

FORMat:READing:TIME

FORMat:READing:UNIT

Page 417: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

FORMat:READing:TIMESyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 418: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

FORMat:READing:TIME<mode>

FORMat:READing:TIME?

Page 419: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommanddisablesorenablestheinclusionofatimestampwithdataretrievedbytheREAD?command,theFETCh?command,orotherqueriesofscanresults.ThiscommandoperatesinconjunctionwiththeotherFORMat:READingcommands(theyarenotmutuallyexclusive).SeeFormatSubsystemIntroductionforexamplesoffully-formattedresultsfromascan.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 420: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<mode> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

ThefactorydefaultvalueisOFF(disabled).

Page 421: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thereadingformatappliestoallreadingsbeingretrievedfromtheinstrument;youcannotsettheformatonaper-channelbasis.

Ifenabled,thetimestampinformationisshowneitherinabsolutetime(timeofdaywithdate)orrelativetime(timeinsecondssincestartofscan)assetbytheFORMat:READing:TIME:TYPEcommand.

TheCONFigureandMEASure?commandsautomaticallydisablethetimestampsetting.

Thetimestampsettingisstoredinvolatilememoryandwillbedisabled(OFF)whenpoweristurnedofforafteraFactoryReset(*RSTcommand).

Page 422: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON).

Page 423: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablestheinclusionofatimestamp.

FORM:READ:TIMEON

Thefollowingqueryreturnsthetimestampsetting.

FORM:READ:TIME?

TypicalResponse:1

Page 424: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoFORMatSubsystemIntroduction

FORMat:READing:ALARm

FORMat:READing:CHANnel

FORMat:READing:TIME:TYPE

FORMat:READing:UNIT

Page 425: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

FORMat:READing:TIME:TYPESyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 426: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

FORMat:READing:TIME:TYPE<format>

FORMat:READing:TIME:TYPE?

Page 427: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandselectsthetimeformatfortimestampsreturnedwhenFORMat:READing:TIMEisON.Youcanselectabsolutetime(timeofdaywithdate)orrelativetime(timeinsecondssincestartofscan).ThiscommandoperatesinconjunctionwiththeotherFORMat:READingcommands(theyarenotmutuallyexclusive).SeeFormatSubsystemIntroductionforexamplesoffully-formattedresultsfromascan.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 428: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<format> Discrete {ABSolute|RELative} Thisisarequiredparameter.

ThefactorydefaultisRELative.

Page 429: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thereadingformatappliestoallreadingsbeingretrievedfromtheinstrument;youcannotsettheformatonaper-channelbasis.

Intermsofreadingstoreddatafrommemory,therelativeformatisconsiderablyfasterthantheabsoluteformat.

Theabsoluteformatisbasedontheinstrument'sreal-timeclockassetbytheSYSTem:DATEandSYSTem:TIMEcommands.

Thetimeformatsettingisstoredinvolatilememoryandwillbedisabled(OFF)whenpoweristurnedofforafteraFactoryReset(*RSTcommand).

Page 430: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsABSorREL.

Page 431: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablestheabsolutetimeformat(readingsarestoredwithtimeofdayanddateinformation).

FORM:READ:TIME:TYPEABSFORM:READ:TIMEON

Thefollowingqueryreturnsthetimeformatsetting.

FORM:READ:TIME:TYPE?

TypicalResponse:ABS

Page 432: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoFORMatSubsystemIntroduction

FORMat:READing:TIME

SYSTem:DATE

SYSTem:TIME

Page 433: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

FORMat:READing:UNITSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 434: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

FORMat:READing:UNIT<mode>

FORMat:READing:UNIT?

Page 435: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommanddisablesorenablestheinclusionofmeasurementunits(VAC,VDC,OHM,etc.)withdataretrievedbytheREAD?command,theFETCh?command,orotherqueriesofscanresults.ThiscommandoperatesinconjunctionwiththeotherFORMat:READingcommands(theyarenotmutuallyexclusive).SeeFormatSubsystemIntroductionforexamplesoffully-formattedresultsfromascan.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 436: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<mode> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

ThefactorydefaultvalueisOFF(disabled).

Page 437: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thereadingformatappliestoallreadingsbeingretrievedfromtheinstrument;youcannotsettheformatonaper-channelbasis.

TheCONFigureandMEASure?commandsautomaticallydisabletheunitsetting.

Theunitsettingisstoredinvolatilememoryandwillbedisabled(OFF)whenpoweristurnedofforafteraFactoryReset(*RSTcommand).

Page 438: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON).

Page 439: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablestheinclusionofmeasurementunits.

FORM:READ:UNITON

Thefollowingqueryreturnsthemeasurementunitssetting.

FORM:READ:UNIT?

TypicalResponse:1

Page 440: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlso

FORMatSubsystemIntroduction

FORMat:READing:ALARm

FORMat:READing:CHANnel

FORMat:READing:TIME

FORMat:READing:TIME:TYPE

Page 441: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

IEEE-488CommonCommandsIntroduction

CommandSummary*CLS

*ESE

*ESE?

*ESR?

*IDN?

*OPC

*OPC?

*PSC

*PSC?

*RCL

*RST

*SAV

*SRE

*SRE?

*STB?

*TRG

*TST?

*WAI

Page 442: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

*CLSSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 443: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

*CLS

Page 444: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommand,whosenamederivesfromCLearStatus,clearstheeventregistersinallregistergroups.Italsoclearstheerrorqueueandthealarmqueue,butitdoesnotcleartheenableregisters.

Page 445: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandclearstheeventregisterbits,alarmqueue,anderrorqueue.

*CLS

Page 446: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoIEEE-488CommonCommandsIntroduction

*ESR?

STATus:OPERation[:EVENt]?

STATus:QUEStionable[:EVENt]?

Page 447: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

*ESESyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 448: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

*ESE<enable_val>

*ESE?

Page 449: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandenablesbitsintheenableregisterfortheStandardEventRegistergroup.Theselectedbitsarethenreportedtobit5oftheStatusByteRegister.

FormoreinformationontheStatusSystemfortheinstrument,seeStatusSystemIntroduction.

Page 450: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<enable_val> Numeric Thedecimalvalueequaltothebinary-weightedsumofthebitsintheregister(seetablebelow).

Thisisarequiredparameter.

Page 451: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

ThefollowingtableliststhebitdefinitionsfortheStandardEventRegister.

Bit#

BitName DecimalValue

Definition

0 OperationComplete

1 Allcommandspriortoandincluding*OPChavebeenexecuted.

1 NotUsed NotUsed 0isreturned.

2 QueryError 4 Theinstrumenttriedtoreadtheoutputbufferbutitwasempty.Or,anewcommandlinewasreceivedbeforeapreviousqueryhasbeenread.Or,boththeinputandoutputbuffersarefull.

3 DeviceError 8 Adevice-specificerrorhasbeengenerated.Foracompletelistingoftheerrormessages,seeErrorMessages.

4 ExecutionError

16 Anexecutionerroroccurred.Theseerrorcodesareintherange-100to-199.

5 Command 32

Page 452: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Error Acommanderroroccurred.Theseerrorcodesareintherange-200to-299.

6 NotUsed NotUsed 0isreturned.

7 PowerOn 128 Powerhasbeenturnedoffandonsincethelasttimetheeventregisterwasreadorcleared.

Usethe<enable_val>parametertospecifywhichbitswillbeenabled.Thedecimalvaluespecifiedcorrespondstothebinary-weightedsumofthebitsyouwishtoenableintheregister.Forexample,toenablebit2(decimalvalue=4),bit3(decimalvalue=8),andbit7(decimalvalue=128),thecorrespondingdecimalvaluewouldbe140(4+8+128).

The*CLS(clearstatus)commandwillnotcleartheenableregisterbutitdoesclearallbitsintheeventregister.

Page 453: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreadstheenableregisterandreturnsadecimalvaluethatcorrespondstothebinary-weightedsumofallbitssetintheregister.Forexample,ifbit3(decimalvalue=8)andbit7(decimalvalue=128)areenabled,thequerywillreturn"+136".

Page 454: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablesbit4(decimalvalue=16)intheenableregister.Ifanexecutionerroroccurs,thisconditionwillbereportedtotheStatusByteRegister(bit4willbesethigh).

*ESE16

Thefollowingqueryreturnswhichbitsareenabledintheregister.

*ESE?

TypicalResponse:+16

Page 455: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoIEEE-488CommonCommandsIntroduction

*ESR?

Page 456: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

*ESR?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 457: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

*ESR?

Page 458: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandqueriestheeventregisterfortheStandardEventRegistergroup.Thisisaread-destructiveregister,andthebitsareclearedwhenyoureadtheregister.

FormoreinformationontheStatusSystemfortheinstrument,seeStatusSystemIntroduction.

Page 459: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

ThefollowingtableliststhebitdefinitionsfortheStandardEventRegister.

Bit#

BitName DecimalValue

Definition

0 OperationComplete

1 Allcommandspriortoandincluding*OPChavebeenexecuted.

1 NotUsed NotUsed 0isreturned.

2 QueryError 4 Theinstrumenttriedtoreadtheoutputbufferbutitwasempty.Or,anewcommandlinewasreceivedbeforeapreviousqueryhasbeenread.Or,boththeinputandoutputbuffersarefull.

3 DeviceError

8 Adevice-specificerrorhasbeengenerated.Foracompletelistingoftheerrormessages,seeErrorMessages.

4 ExecutionError

16 Anexecutionerroroccurred.Theseerrorcodesareintherange-100to-199.

Page 460: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

5 CommandError

32 Ancommanderroroccurred.Theseerrorcodesareintherange-200to-299.

6 NotUsed NotUsed 0isreturned.

7 PowerOn 128 Powerhasbeenturnedoffandonsincethelasttimetheeventregisterwasreadorcleared.

InordertobereportedtotheStatusRegister,thecorrespondingbitsintheeventregistermustbeenabledusingthe*ESEcommand.

Onceabitisset,itremainssetuntilclearedbyreadingtheeventregisterorexecutionofthe*CLS(clearstatus)command.

Page 461: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreadstheeventregisterandreturnsadecimalvaluewhichcorrespondstothebinary-weightedsumofallbitssetintheregister(seetableabove).Forexample,ifbit2(decimalvalue=4)andbit4(decimalvalue=16)areset(andthecorrespondingbitsareenabled),thiscommandwillreturn+20.

Page 462: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreadstheeventregister(bits3and4areset).

*ESR?

TypicalResponse:+24

Page 463: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoIEEE-488CommonCommandsIntroduction

*ESE

*CLS

Page 464: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

*IDN?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 465: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

*IDN?

Page 466: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreadstheinstrument'sidentificationstring,whichincludesthemanufacturername,themodelnameandfirmwareversioninformation.

Page 467: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Forthe34970A,thequeryreturnsastringwiththefollowingformat:

HEWLETT-PACKARD,34970A,0,XX-Y-Z

where:

XX Measurementprocessorfirmwareversion

Y I/Oprocessorfirmwareversion

Z Frontpanelprocessorfirmwareversion

Forthe34972A,thequeryreturnsastringwiththefollowingformat:

KeysightTechnologies,34972A,<serial#>,i.ii-o.oo-fp-fpga

where:

i.ii I/Oprocessorfirmwareversion

o.oo Measurementprocessorfirmwareversion

fp Frontpanelprocessorfirmwareversion

Page 468: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

fpga FPGAversion

Page 469: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnstheinstrument'sidentificationstringfora34972A.

*IDN?

TypicalResponse:KeysightTechnologies,34972A,MY12345678,1.01-1.00-01-0002

Thefollowingqueryreturnstheinstrument'sidentificationstringfora34970A.

*IDN?

TypicalResponse:HEWLETT-PACKARD,34970A,0,13-2-2

Page 470: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoIEEE-488CommonCommandsIntroduction

Page 471: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

*OPC*OPC?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 472: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

*OPC

*OPC?

Page 473: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThecommandformstartstheOPCstateengineandreturns.Attheendofthecurrentscan,bit0oftheenableregisterfortheStandardEventRegisterwillbesetto1.Thequeryformreturns1totheoutputbufferatthecompletionofthecurrentoperation.

FormoreinformationontheStatusSystemfortheinstrument,seeStatusSystemIntroduction.FormoreinformationontheStandardEventRegister,see*ESE.

Page 474: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thiscommandenablesyoutosynchronizeyourapplicationwiththeinstrument.

YoucanconfigureSRQinterruptstonotifyuserapplications.

Notethedifferencebetweenthe*OPCcommandandthe*OPC?query.The*OPC?querysetstheoutputbufferto1atthecompletionofthecurrentoperation.

Page 475: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandreturnsimmediatelyandcausesthestatussystemtosetthe"OperationComplete"bitattheendofthecurrentscan.

*OPC

Thefollowingquerysends"1"totheoutputbufferwhenthecurrentoperationcompletes.

*OPC?

TypicalResponse:+1

Page 476: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoIEEE-488CommonCommandsIntroduction

*ESE

Page 477: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

*PSCSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 478: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

*PSC<state>

*PSC?

Page 479: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Power-OnStatusClear.Thiscommandenablesordisablestheclearingofcertainenableregistersatpoweron.With*PSC0specified,theseregistersarenotclearedatpoweron.With*PSC1specified,theseregistersareclearedatpoweron.Thefollowingregistersareaffected:

RegisterName

Command

QuestionableDataRegister

STATus:QUEStionable:ENABle

StandardOperationRegister

STATus:OPERation:ENABle

AlarmRegister

STATus:ALARm:ENABle

StatusByteRegister

*SRE(ServiceRequestEnable)

StandardEventRegister

*ESE(EventStatusEnable)

The*PSCcommanddoesnotaffecttheclearingoftheconditionoreventregisters,justtheenableregisters.FormoreinformationontheStatusSystemfortheinstrument,seeStatusSystemIntroduction.

Page 480: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<state> Boolean {OFF|0|ON|1} ON

Page 481: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(donotclearatpoweron)or1(clearatpoweron).

Page 482: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommanddisablesthepower-onclearingoftheaffectedregisters.

*PSC0

Thefollowingqueryreturnsthepower-onstatusclearsetting.

*PSC?

TypicalResponse:0

Page 483: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlso*SRE

*STB?

Page 484: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

*SAV*RCLSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 485: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

*SAV{0|1|2|3|4|5}

*RCL{0|1|2|3|4|5}

Page 486: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thesecommandsstoreandrecallinstrumentstatesintothespecifiedstoragelocation.The*SAVcommandsavesthecurrentinstrumentstateandoverwritesanystatepreviouslystoredinthesamelocationisoverwritten(noerrorisgenerated).

Page 487: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Theinstrumenthassixstoragelocationsinnon-volatilememorytostoreinstrumentstates.Youcanstoretheinstrumentstateinlocation0,1,2,3,4,or5,butyoucanonlyrecallastatefromalocationthatcontainsapreviouslystoredstate.

LANI/Oconfigurationisnotstoredbya*SAVoperationorrecalledbya*RCL.Onlyinstrumentconfigurationisrecalled.

Whenshippedfromthefactory,allsixstoragelocationsareempty.

State0isoverwrittenatpowerdown.

AFactoryReset(*RSTcommand)doesnotaffecttheconfigurationsstoredinmemory.Onceastateisstored,itremainsuntilitisoverwritten.

Page 488: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandstoresthecurrentinstrumentstateinlocation1.

*SAV1

Page 489: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoIEEE-488CommonCommandsIntroduction

Page 490: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

*RSTSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 491: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

*RST

Page 492: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandresetstheinstrumenttotheFactoryconfiguration.SeeFactoryResetStateforacompletelistingoftheinstrument'sFactoryconfiguration.

Page 493: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thiscommanddoesnotaffectanypreviously-storedinstrumentstates(see*SAVcommand).

ThiscommanddoesnotaffectI/Osettings,suchasIPaddress.

ThevalueofCALibration:SECure:STATeisnotaffectedby*RST.

Page 494: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandresetstheinstrument.

*RST

Page 495: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoIEEE-488CommonCommandsIntroduction

Page 496: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

*SRESyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 497: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

*SRE<enable_val>

*SRE?

Page 498: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandenablesbitsintheenableregisterfortheStatusByteRegister.Onceenabled,thecorrespondingbitsmaygenerateaRequestforService(RQS)intheStatusByte.ThisRQSeventmaygeneratea"callback"toyourapplicationasatypeofasynchronousinterrupt.

FormoreinformationontheStatusSystemfortheinstrument,seeStatusSystemIntroduction.

Page 499: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<enable_val> Numeric Adecimalvaluewhichcorrespondstothebinary-weightedsumofthebitsintheregister(seetablebelow).

Thisisarequiredparameter.

Page 500: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

ThefollowingtableliststhebitdefinitionsfortheStatusByteRegister.

Bit#

BitName DecimalValue

Definition

0 NotUsed 1 Alwayszero.

1 AlarmSummary

2 OneormorebitsaresetintheAlarmRegister(bitsmustbeenabled).

2 ErrorQueue 4 OneormoreerrorshavebeenstoredintheErrorQueue.UsetheSYSTem:ERRor?querytoreadanddeleteerrors.

3 QuestionableDataSummary

8 OneormorebitsaresetintheQuestionableDataRegister(bitsmustbeenabled,seeSTATus:QUEStionable:ENABlecommand).

4 MessageAvailable

16 Dataisavailableintheinstrument'soutputbuffer.

5 StandardEventSummary

32 OneormorebitsaresetintheStandardEventRegister(bitsmustbeenabled,see*ESEcommand).

6 MasterSummary

64 OneormorebitsaresetintheStatusByteRegisterandmaygenerateaRequestforService(RQS).Bitsmustbeenabledusingthe*SREcommand.

7 Standard 128 Oneormorebitsaresetinthe

Page 501: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

OperationSummary

StandardOperationRegister(bitsmustbeenabled,seeSTATus:OPERation:ENABlecommand).

Usethe<enable_val>parametertospecifywhichbitswillbeenabled.Thedecimalvaluespecifiedcorrespondstothebinary-weightedsumofthebitsyouwishtoenableintheregister.Forexample,toenablebit3(decimalvalue=8)andbit5(decimalvalue=32),thecorrespondingdecimalvaluewouldbe40(8+32).

The*CLS(clearstatus)commandwillnotcleartheenableregisterbutitdoesclearallbitsintheeventregister.

A*CLSor*RSTcommanddoesnotclearthebitsintheStatusByteenableregister.

Besuretosendthedecimalvalueofthebitandnotthebitnumber.Forexample,toenablebit4,send*SRE16,not*SRE4.

Page 502: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreadstheenableregisterandreturnsadecimalvaluethatcorrespondstothebinary-weightedsumofallbitssetintheregister.Forexample,ifbit3(decimalvalue=8)andbit5(decimalvalue=32)areenabled,thequerywillreturn+40.

Page 503: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablesbit4(decimalvalue=16)intheenableregister.

*SRE16

Thefollowingqueryreturnswhichbitsareenabledintheregister.

*SRE?

TypicalResponse:+16

Page 504: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoIEEE-488CommonCommandsIntroduction

*STB?

Page 505: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

*STB?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 506: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

*STB?

Page 507: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandqueriestheconditionregisterfortheStatusByteRegistergroup.Thisisaread-onlyregisterandthebitsarenotclearedwhenyoureadtheregister.

FormoreinformationontheStatusSystemfortheinstrument,seeStatusSystemIntroduction.

Page 508: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

ThefollowingtableliststhebitdefinitionsfortheStatusByteRegister.

Bit#

BitName DecimalValue

Definition

0 NotUsed 1 Alwayszero.

1 AlarmSummary

2 OneormorebitsaresetintheAlarmRegister(bitsmustbeenabled).

2 ErrorQueue 4 OneormoreerrorshavebeenstoredintheErrorQueue.UsetheSYSTem:ERRor?querytoreadanddeleteerrors.

3 QuestionableDataSummary

8 OneormorebitsaresetintheQuestionableDataRegister(bitsmustbeenabled,seeSTATus:QUEStionable:ENABlecommand).

4 MessageAvailable

16 Dataisavailableintheinstrument'soutputbuffer.

5 StandardEventSummary

32 OneormorebitsaresetintheStandardEventRegister(bitsmustbeenabled,see*ESEcommand).

6 MasterSummary

X OneormorebitsaresetintheStatusByteRegisterandmaygenerateaRequestforService(RQS).Bitsmustbeenabledusingthe*SREcommand.

7 StandardOperationSummary

128 OneormorebitsaresetintheStandardOperationRegister(bitsmustbeenabled,seeSTATus:OPERation:ENABle

Page 509: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

command).

ThisqueryreturnsthesameresultsasaSerialPollbutthe"MasterSummary"bit(bit6)isnotclearedifaSerialPollhasoccurred.

Unlikehowaresetclearstheconditionregister,afactoryreset(*RSTcommand)doesnotcleartheStatusByteRegister.

Page 510: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreadstheconditionregisterandreturnsadecimalvaluethatcorrespondstothebinary-weightedsumofallbitssetintheregister(seetableabove).Forexample,ifbit3(decimalvalue=8)andbit5(decimalvalue=32)areset(andthecorrespondingbitsareenabled),thiscommandwillreturn"+40".

Page 511: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreadstheconditionregister(bits3and5areset).

*STB?

TypicalResponse:+40

Page 512: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoIEEE-488CommonCommandsIntroduction

*SRE

Page 513: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

*TRGSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 514: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

*TRG

Page 515: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandsendsasoftwaretriggertotheinstrumentwhentheinstrumentisconfiguredforTRIGger:SOURceBUS.

Page 516: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thesoftwaretriggeroperationthatthiscommandexecutesisacceptedbytheinstrumentonlywhentheinstrumentisacquiringdata(executingINITiate).

Aftersettingthetriggersource,youmustplacetheinstrumentinthewait-for-triggerstateusingtheINITiatecommand.OnceyouhavesenttheINITiatecommand,theinstrumentwillbufferonesoftwaretriggertobeappliedatthenextwait-for-triggerstate,soitisnotnecessarytoverifythattheinstrumentispreciselyinthewait-for-triggerstate.

The*TRGcommanddoesnotworkwiththeREAD?command.

Page 517: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandstriggertheinstrument.

TRIG:SOURBUS

INIT

*TRG

Page 518: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoIEEE-488CommonCommandsIntroduction

INITiate

Page 519: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

*TST?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 520: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

*TST?

Page 521: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandperformsacompleteself-testoftheinstrumentandreturnsapass/failindication.Theself-testrunsaseriesoftestsandwilltakeapproximately45secondstocomplete.Ifalltestspass,youcanhaveahighconfidencethattheinstrumentisoperational.

Page 522: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Whensendingthe*TST?query,youmayneedtoincreasethetimeoutperiodforyourIOLibraryreadresponsetimetoallowthecommandtocompletewithoutcausingatimeouterror.

Ifoneormoretestsfail,+1isreturnedandoneormoreerrorsarestoredintheerrorqueue.Foracompletelistingoftheerrormessagesrelatedtoself-testfailures,seeErrorMessages.

Ifoneormoretestsfail,seetheKeysight34970A/34972AServiceGuideforinstructionsonobtainingservice.

Uponcompletion,*TST?restorestheinstrumenttoitsfactoryresetstate.

Page 523: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns+0(alltestspassed)or+1(oneormoretestsfailed).Fordetailsonpossibleerrorreturnediftestsfail,seeErrorMessages.

Page 524: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandperformsaself-testandreturnsapass/failindication.Inthiscase,therearenofailures.

*TST?

TypicalResponse:+0

Page 525: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoIEEE-488CommonCommandsIntroduction

Page 526: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

*WAISyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 527: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

*WAI

Page 528: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandwaitsforallpendingoperationstocompletebeforeexecutinganyadditionalcommandsovertheinterface.

Page 529: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Functionandrangechangesareconsideredpendingoperations.Therefore,*WAIwillwaitforthesechangestocomplete.

Becausethiscommandstopsthecommandparserfromoperating,itisbettertouse*OPC?forsynchronizationpurposes.

Page 530: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandwaitsuntilallpendingoperationscomplete.

INIT;*WAI;:ROUT:CLOS(@101)!Ensuresthatthe

scanstartedbytheINITfinishes

!beforethe

ROUT:CLOScommandisexecuted.

Page 531: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoIEEE-488CommonCommandsIntroduction

*OPC

Page 532: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

INSTrumentSubsystemIntroduction

CommandSummaryINSTrument:DMM

INSTrument:DMM?

INSTrument:DMM:INSTalled?

Page 533: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

INSTrument:DMMSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 534: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

INSTrument:DMM<state>

INSTrument:DMM?

Page 535: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommanddisablesorenablestheinternalDMM.WhenyouchangethestateoftheinternalDMM,theinstrumentissuesaFactoryReset(*RSTcommand).

Page 536: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<state> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

Page 537: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsthestateoftheinternalDMMas0(disabled)or1(enabled).

Page 538: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandenablestheinternalDMM.

INST:DMMON

ThefollowingqueryreturnsthestateoftheDMM,whichisONinthiscase.

INST:DMM?

TypicalResponse:1

Page 539: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoINSTrumentSubsystemIntroduction

Page 540: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

INSTrument:DMM:INSTalled?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 541: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

INSTrument:DMM:INSTalled?

Page 542: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThisquerydetermineswhethertheinternalDMMisinstalledinthemainframe.

Page 543: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

TheinternalDMMisanoptionalassemblyfortheKeysight34970A/34972A.

Page 544: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(notinstalled)or1(installed).

Page 545: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

ThefollowingcommanddeterminesthattheinternalDMMispresent.

INST:DMM:INST?

TypicalResponse:1

Page 546: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoINSTrumentSubsystemIntroduction

INSTrument:DMM

Page 547: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

LXISubsystemIntroductionThefollowingcommandssupportLANeXtensionsforInstrumentation(LXI)functionality.

Page 548: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CommandSummaryLXI:IDENtify:STATe

LXI:IDENtify:STATe?

LXI:RESet

LXI:RESTart

Page 549: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

LXI:IDENtify[:STATe]Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 550: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

LXI:IDENtify[:STATE]<state>

LXI:IDENtify[:STATE]?

Page 551: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandturnstheLXIIdentifyIndicatoronthefrontpaneldisplayonoroff.

Page 552: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<state> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

Page 553: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

TheLXIIdentifyIndicatorhelpsyouidentifywhichLXIdeviceisassociatedwiththeLANaddressyouareusing.

TheinstrumentturnsofftheLXIIdentifyIndicatorafteraFactoryReset(*RSTcommand).

YoucanpresstheLOCALkeytoturnofftheLXIIdentifyIndicator.

Page 554: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsthecurrentLXIIdentifyIndicatorstate:0(OFF)or1(ON).

Page 555: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandturnsontheLXIIdentifyIndicator.

LXI:IDENON

ThefollowingqueryreturnsthestateoftheLXIIdentifyIndicator.

LXI:IDEN?

TypicalResponse:1

Page 556: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoLXISubsystemIntroduction

Page 557: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

LXI:RESetSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Thisfunctionalityisavailableonthe34972Aonly.

Page 558: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

LXI:RESet

Page 559: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandresetstheinstrument'sLANsettingstotheirdefaultvalues.

Page 560: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

ThefollowingcommandresetstheLANsettings.

LXI:RES

Page 561: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoLXISubsystemIntroduction

Page 562: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

LXI:RESTartSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Thisfunctionalityisavailableonthe34972Aonly.

Page 563: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

LXI:RESTart

Page 564: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandrestartstheLANwiththecurrentparameters.

Page 565: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

ThefollowingcommandrestartstheLANinterface.

LXI:REST

Page 566: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoLXISubsystemIntroduction

Page 567: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MEASureSubsystemIntroductionIfyouspecifya<ch_list>withoneofthesecommands,that<ch_list>overwritesthecurrentscanlist.

Page 568: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CommandSummaryMEASure:CURRent:AC?

MEASure:CURRent:DC?

MEASure:DIGital:BYTE?

MEASure:FREQuency?

MEASure:FRESistance?

MEASure:PERiod?

MEASure:RESistance?

MEASure:TEMPerature?

MEASure:TOTalize?

MEASure:VOLTage:AC?

MEASure:VOLTage:DC?

Page 569: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MEASure:CURRent:AC?MEASure:CURRent:DC?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 570: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MEASure:CURRent:AC?[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

MEASure:CURRent:DC?[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

Page 571: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThesecommandsareequivalenttoCONFigure:CURRent:ACorCONFigure:CURRent:DCfollowedbyaREAD?.

Page 572: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMEASureSubsystemIntroduction

CONFigure:CURRent:AC

CONFigure:CURRent:DC

READ?

Page 573: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MEASure:DIGital:BYTE?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 574: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MEASure:DIGital:BYTE?(@<scan_list>)

Page 575: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandisequivalenttoCONFigure:DIGital:BYTEfollowedbyaREAD?.

Page 576: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMEASureSubsystemIntroduction

CONFigure:DIGital:BYTE

READ?

Page 577: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MEASure:FREQuency?MEASure:PERiod?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 578: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MEASure:FREQuency?[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

MEASure:PERiod?[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

Page 579: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThesecommandsareequivalenttoCONFigure:FREQuencyorCONFigure:PERiodfollowedbyaREAD?.

Page 580: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMEASureSubsystemIntroduction

CONFigure:FREQuency

CONFigure:PERiod

[SENSe:]FREQuency:RANGe:LOWer

[SENSe:]FREQuency:VOLTage:RANGe

[SENSe:]PERiod:VOLTage:RANGe

READ?

Page 581: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MEASure:RESistance?MEASure:FRESistance?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 582: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MEASure:RESistance?[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

MEASure:FRESistance?[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

Page 583: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThesecommandsareequivalenttoCONFigure:RESistanceorCONFigure:FRESistancefollowedbyaREAD?.

Page 584: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMEASureSubsystemIntroduction

CONFigure:RESistance

[SENSe:]RESistance:OCOMpensated

CONFigure:FRESistance

[SENSe:]FRESistance:OCOMpensated

READ?

Page 585: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MEASure:TEMPerature?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 586: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MEASure:TEMPerature?{<probe_type>|DEF},{<type>|DEF}[,1[,{<resolution>|MIN|MAX|DEF}]],(@<scan_list>)

Page 587: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandisequivalenttoCONFigure:TEMPeraturefollowedbyaREAD?.

Page 588: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMEASureSubsystemIntroduction

CONFigure:TEMPerature

READ?

Page 589: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MEASure:TOTalize?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 590: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MEASure:TOTalize?<mode>,(@<scan_list>)

Page 591: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandisequivalenttoCONFigure:TOTalizefollowedbyaREAD?.

Page 592: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMEASureSubsystemIntroduction

CONFigure:TOTalize

READ?

Page 593: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MEASure:VOLTage:AC?MEASure:VOLTage:DC?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 594: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MEASure:VOLTage:AC?[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

MEASure:VOLTage:DC?[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

Page 595: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThesecommandsareequivalenttoCONFigure:VOLTage:ACorCONFigure:VOLTage:DCfollowedbyaREAD?.

Page 596: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMEASureSubsystemIntroduction

CONFigure[:VOLTage][:DC]

CONFigure[:VOLTage]:AC

ROUTe:CHANnel:DELay

ROUTe:CHANnel:DELay:AUTO

[SENSe:]VOLTage:AC:BANDwidth

CONFigure:VOLTage:AC

CONFigure:VOLTage:DC

READ?

Page 597: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MEMorySubsystemIntroduction

CommandSummaryMEMory:NSTates?

MEMory:STATe:DELete

MEMory:STATe:NAME

MEMory:STATe:NAME?

MEMory:STATe:RECall:AUTO

MEMory:STATe:RECall:AUTO?

MEMory:STATe:VALid?

Page 598: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MEMory:NSTates?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 599: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MEMory:NSTates?

Page 600: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreturnsthetotalnumberofmemorylocationsavailableforstatestorage.Forthe34970A/34972A,thiscommandalwaysreturnsthenumber6.

Page 601: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Location0isincluded,butitisreservedforpower-downstatestorage.

Page 602: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthenumber+6.

Page 603: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnsthenumberofstates.

MEMory:NSTates?

TypicalResponse:+6

Page 604: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMEMorySubsystemIntroduction

Page 605: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MEMory:STATe:DELeteSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 606: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MEMory:STATe:DELete<location>

Page 607: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommanddeletesthecontentsofthespecifiedstoragelocation.

Page 608: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type Rangeof

Values

DefaultValue

<location> NumericAnintegerfrom0to5

Thisisarequiredparameter.

Page 609: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Notethatyoucannotrecalltheinstrumentstatefromastoragelocationthatwasdeleted.Anerrorisgeneratedifyouattempttorecalladeletedstate(+291,"Notabletorecallstate:itisempty").

Page 610: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommanddeletesthecontentsofstoragelocation1.

MEM:STAT:DEL1

Page 611: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMEASureSubsystemIntroduction

*SAV

*RCL

Page 612: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MEMory:STATe:NAMESyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 613: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MEMory:STATe:NAME<location>[,<name>]

MEMory:STATe:NAME?<location>

Page 614: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandassignsanametothespecifiedstoragelocation.Youcannamealocationfromthefrontpanelorovertheremoteinterfacebutyoucanrecallanamedstateonlyfromthefrontpanel.Fromtheremoteinterface,youcanonlyrecallastoredstateusingthe*RCLcommandwithanumber(0through5).

Page 615: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<location> Numeric Anintegerfrom0to5

Thisisarequiredparameter.

<name> UnquotedASCIIString

Aunquotedstringofupto12characters.Thefirstcharactermustbealetter(A-Z),buttheremaining11characterscanbeletters,numbers(0-9),ortheunderscorecharacter("_").Blankspacesarenotallowed.

Ifomitted,thedefaultnameisusedforthespecifiedstoragelocation.

Page 616: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Whenshippedfromthefactory,defaultnamesareassignedtostoragelocations1through5.Thedefaultnamesare"STATE1","STATE2",andsoon.

Ifyouomitthe<name>parameter,thedefaultnameisassignedtothespecifiedstoragelocation.Thisprovidesaneasywaytoresettheassociatednametoitsfactorydefault;however,thestoredstateisnotdeleted.

Theinstrumentgeneratesanerrorifyouspecifyanamewithmorethan12characters.

Deletingthecontentsofastoragelocation(seeMEMory:STATe:DELetecommand)willresettheassociatednametoitsfactorydefault("STATE1","STATE2",etc.).

AFactoryReset(*RSTcommand)doesnotaffecttheconfigurationsstoredinmemory.Onceastateisstored,itremainsuntilitisoverwrittenorspecificallydeleted.

Page 617: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreadsthenameassignedtothespecifiedstoragelocationandreturnsaquotedASCIIstring.Ifthespecifiedlocationhasnocustomassigned,thedefaultnameisreturned("STATE1","STATE2",etc.).

Page 618: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandassignsthenameTEST_RACK_1tostoragelocation1.

MEM:STAT:NAME1,TEST_RACK_1

Thefollowingqueryreturnsthenameassignedtostoragelocation1.

MEM:STAT:NAME?1

TypicalResponse:"TEST_RACK_1"

Page 619: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMEMorySubsystemIntroduction

*SAV

*RCL

Page 620: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MEMory:STATe:RECall:AUTOSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 621: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MEMory:STATe:RECall:AUTO<mode>

MEMory:STATe:RECall:AUTO?

Page 622: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandenablesordisables(default)theautomaticrecallofthepower-downstate(state0)whenpoweristurnedon.Select"ON"toautomaticallyrecallthepower-downstate.Select"OFF"toissueaFactoryReset(*RST)whenpoweristurnedon(inthismode,thepower-downstateisnotautomaticallyrecalled).

Page 623: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<mode> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

Page 624: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Whentheinstrumentisshippedfromthefactory,theautomaticrecallmodeisdisabled.

State0getsstoredeverytimethepoweristurnedoff.

Page 625: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON).

Page 626: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablestheautomaticrecallmode.

MEM:STAT:REC:AUTOON

Thefollowingqueryreturnstheautomaticrecallsetting.

MEM:STAT:REC:AUTO?

TypicalResponse:1

Page 627: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMEMorySubsystemIntroduction

*SAV

Page 628: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MEMory:STATe:VALid?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 629: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MEMory:STATe:VALid?<location>

Page 630: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandqueriesthespecifiedstoragelocationtodeterminewhetheravalidstateiscurrentlystoredinthislocation.Duringthevalidationprocess,theinstrumentverifiesthatthelocationisnotempty.Youcanusethiscommandbeforesendingthe*RCLcommandtodeterminewhetherastatehasbeenpreviouslystoredinthislocation.

Page 631: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<location> NumericAnintegerfrom0to5

Thisisarequiredparameter.

Page 632: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thiscommanddoesnotguaranteethatnoerrorswillbegeneratedwhenastoredstateisrecalledusingthe*RCLcommand.Evenifthiscommanddeterminesthatthespecifiedstoragelocationisvalid,individualmodulesmaystillbeinstatesthatwillgenerateanerror.

Page 633: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0ifnostatehasbeenstoredinthespecifiedlocationorifithasbeendeleted.Itreturns1ifavalidstateisstoredinthespecifiedlocation.

Page 634: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnsa0,indicatingthatnovalidstateiscurrentlystoredinlocation3.

MEM:STAT:VAL?3

TypicalResponse:0

Page 635: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMEMorySubsystemIntroduction

Page 636: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MMEMorySubsystemIntroductionThisfunctionalityisavailableonthe34972Aonly.

Page 637: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CommandSummaryMMEMory:EXPort?

MMEMory:FORMat:READing:CSEParator

MMEMory:FORMat:READing:CSEParator?

MMEMory:FORMat:READing:RLIMit

MMEMory:FORMat:READing:RLIMit?

MMEMory:IMPort:CATalog?

MMEMory:IMPort:CONFig?

MMEMory:LOG[:ENABle]

MMEMory:LOG[:ENABle]?

Page 638: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MMEMory:EXPort?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Thisfunctionalityisavailableonthe34972Aonly.

Page 639: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MMEMory:EXPort?

Page 640: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryexportsthecurrentcontentsofreadingmemory,alongwiththeinstrumentconfiguration,tothedefaultdirectoryontheUSBdrive:

/34972A/data/<SN>/yyyymmdd_hhmmssmmm

Notethan<SN>istheinstrument'sserialnumber,yyyymmddindicatesthecurrentdate,andhhmmssmmmindicatesthecurrenttimein24-hourclockformat,downtothemillisecond.

Itwaitsuntiltheexportiscompleteandreturns0(noerrors)or1(exporthaderrors).

Page 641: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Adirectorynamed/34972A/data/MY12345678/20100120_130542169wouldindicatedatatakenfrominstrumentMY12345678atthetimeof42.169secondsafter1:05pmonJanuary20,2010.

YoucancontrolthefielddelimiterintheexportedfileswithMMEMory:FORMat:READing:CSEParator.

Exportingthecontentsofreadingmemorycanbealengthyoperation,dependingonthenumberofreadingsinmemory.

FortypicalUSBdrives,thereisafilesystemlimitof999filesandfoldersperdirectory.Ifyoureceiveerrormessagenumber410,"Notenoughdiskspace"whileexportingdata,checktoensurethatyouhavenothitthelimitof999timestampedfoldersforyourinstrument.Youmayreceiveerror410evenifadditionalspaceisavailableonthedrive.

Page 642: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(noerrors)or1(exporthaderrors)whenthefileexportiscomplete.Ifthequeryreturnsa1,usetheSYSTem:ERRor?commandtoreadtheerrors.

Page 643: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryexportsthecurrentcontentsofreadingmemory,alongwiththeinstrumentconfiguration,totheUSBdrive.

MMEMory:EXPort?

Typicalresponse:0

Page 644: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMMEMorySubsystemIntroduction

MMEMory:FORMat:READing:RLIMit

MMEMory:FORMat:READing:CSEParator

Page 645: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MMEMory:FORMat:READing:CSEParatorSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 646: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MMEMory:FORMat:READing:CSEParator<column_separator>

MMEMory:FORMat:READing:CSEParator?

Page 647: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandallowsyoutospecifythecharacterusedtoseparatethecolumnsintheoutputdataontheUSBdrive.Thisenablesyoutomakethefileconformwiththeapplicationsoftwarethatyouwilluseforviewingthefile.

Page 648: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<column_separator> Discrete{TAB|COMMa|SEMicolon}

Thisisarequiredparameter.

ThefactorydefaultisCOMMa.

Page 649: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Whentheinstrumentisshippedfromthefactory,thedefaultstatefor<column_separator>isCOMMa.

Thevalueofthe<state>willbesavedinnon-volatilememoryontheinstrumentandwillnotbeaffectedby*RSTorSYSTem:PRESet.

Page 650: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsTAB,COMMorSEMtoindicatethevalueofthe<column_separator>.

Page 651: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandspecifiesthattabsshouldbeusedtoseparatethecolumnsintheoutputdataontheUSBdrive.

MMEMory:FORMat:READing:CSEParatorTAB

Thefollowingqueryindicatesthecharacterusedtoseparatecolumns.Inthiscase,itistabs.

MMEMory:FORMat:READing:CSEParator?

TypicalResponse:TAB

Page 652: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMMEMorySubsystemIntroduction

Page 653: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MMEMory:FORMat:READing:RLIMitSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 654: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MMEMory:FORMat:READing:RLIMit<row_limit>

MMEMory:FORMat:READing:RLIMit?

Page 655: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandallowsyoutospecifywhetherthemaximumnumberofsweepsthatcanbeloggedtoasingleUSBdatafileshouldbelimitedtoonelessthan64K(216-1=65,535).If<row_limit>isON,sweepsarestoredinfilesnameddat00001.csv,dat00002.csv,dat00003.csv,andsoon,with65,535sweepsperfile.If<row_limit>isOFF,dataloggedforthescanisstoredinasinglefilenameddat00001.csv,whichislimitedbyboththespaceavailableontheUSBdriveandhowthedriveisformatted,uptoamaximumof232sweeps(roughly4.3billion).

Page 656: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<row_limit> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

ThefactorydefaultisON.

Page 657: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thisfeatureenablesyoutoaccommodatecertainversionsofcommonspreadsheet,databaseanddataanalysisprogramsthathavelimitationsof64Krowsperfile.

Whentheinstrumentisshippedfromthefactory,thedefaultstatefor<row_limit>isON.

Thevalueofthe<row_limit>willbesavedinnon-volatilememoryontheinstrumentandwillnotbeaffectedby*RSTorSYSTem:PRESet.

Page 658: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON).

Page 659: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandturnstherowlimitfeatureon,causingUSBdatafilestobesplitatthe64K-1boundary.

MMEMory:FORMat:READing:RLIMitON

Thefollowingqueryindicateswhethertherowlimitfeatureison.Inthiscase,itisOFF.

MMEMory:FORMat:READing:RLIMit?

TypicalResponse:0

Page 660: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMMEMorySubsystemIntroduction

MMEMory:LOG[:ENABle]

MMEMory:FORMat:READing:CSEParator

Page 661: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MMEMory:IMPort:CATalog?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Thisfunctionalityisavailableonthe34972Aonly.

Page 662: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MMEMory:IMPort:CATalog?

Page 663: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThisqueryreturnsacataloglistingalloftheKeysightBenchLinkDataLoggerconfiguration(BLCFG)filesintherootdirectoryoftheUSBdrive.

Page 664: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

IftheUSBdriveisnotinsertedorcontainsnofiles,thequeryreturnsanemptystring:"".

ThiscommandwillonlyrecognizefilesintherootdirectoryoftheUSBdrivewitha.BLCFGextension.

Thecommandwillrecognizeupto50BLCFGfilesintherootdirectory.Ifmorethan50filesarefoundinthedrive'srootdirectory,thesystemwillrecognizeonlythe50withthemostrecenttimestamps.

Page 665: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thisqueryreturnsthecatalogasalistofquotedfilenames,separatedbycommas:

"<file_name1>","<file_name2>","<file_name3>",etc.

Notethatthefilenameswillincludethe.BLCFGextension.

Page 666: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

ThefollowingqueryreturnsalistofallBLCFGfilesintherootdirectoryoftheUSBdrive.Inthiscase,therearetwofiles.

MMEM:IMP:CAT?

TypicalResponse:"MyConfig1.BLCFG","PrevConfig.BLCFG"

Page 667: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMMEMorySubsystemIntroduction

Page 668: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MMEMory:IMPort:CONFig?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 669: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MMEMory:IMPort:CONFig?"<configuration_file>"

Page 670: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThisqueryimportsanKeysightBenchLinkDataLoggerconfiguration(BLCFG)fileandattemptstoconfiguretheinstrumentaccordingtothecontentsoftheBLCFGfile.Itwaitsuntiltheimportiscompleteandreturns0(noerrors)or1(importhaderrors).

Page 671: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<configuration_file> FilenameAnyfilename,alwayswitha.BLCFGextension.

Thisisarequiredparameter.

Page 672: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

TheconfigurationfilemustresideintherootdirectoryoftheUSBdrive;hencenopathisincludedinthespecificationofthe"<configuration_file>."

Onlythe50mostrecentBLCFGfileswillbeaccessible.Fileswithnameslongerthan40characterswillnotbeaccessible.

PossibleerrorsincludeacardsetmismatchbetweentheinstrumentandtheBLCFGfile,oracorruptfile.YoushouldaddresserrorsbydiagnosingyourBLCFGfileswiththeKeysightBenchLinkDataLoggertool.

Importoperationscantakeseveralseconds,andthe"Busy"statussystembit(bit14)isassertedduringthistime.Becausethisisaquery,nomorecommandswillbeprocessedontheI/Oportfromwhichitwassentuntilthequerycompletesandreturnsa0or1.

Page 673: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(noerrors)or1(importhaderrors)whenthefileimportiscomplete.Ifthequeryreturnsa1,usetheSYSTem:ERRor?commandtoreadtheerrors.

Page 674: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingqueryperformstheimportandthenreturnsa0or1.Inthiscase,itreturnsa1,indicatingthatthefileimporthadoneormoreerrors.

MMEMory:IMPort:CONFig?"My34972ASetup.BLCFG"

Typicalresponse:0

Page 675: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMMEMorySubsystemIntroduction

Page 676: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MMEMory:LOG[:ENABle]Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 677: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

MMEMory:LOG[:ENABle]<state>

MMEMory:LOG[:ENABle]?

Page 678: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandallowsyoutospecifywhetherscannedreadingsareloggedtotheUSBdriveastheyaretaken.

Page 679: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<state> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

ThefactorydefaultstateisOFF.

Page 680: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thevalueofthe<state>willbesavedinnon-volatilememoryontheinstrumentandwillnotbeaffectedby*RSTorSYSTem:PRESet.

Forshortscans,aREAD?orMEASURE?querymaytakeabitofextratimetocompleteifyouarealsologgingtoUSB.

IfyouremovetheUSBdriveduringlogging,loggingwillstopbutthescanwillcontinue.Ifyoure-attachtheUSBdrive,itwillnotcauseloggingtoresumeunlessyoufollowthefive-stepprocedureshownbelow.Otherwise,loggingwillresumeatthenextINITiate.

ToreplaceaUSBstickonasystemactivelyloggingdatatoUSB:

1. PresstheSCANbuttonforseveralsecondsuntilthescanstops.

2. Waituntilthefrontpanelindicatesthattheboxisagainidle.Itcantakesometimeafterthescanhasbeeninterrupted,forloggingtotheUSBdrivetocomplete.

3. Oncetheinstrumentisidle,removetheUSBdrive.

4. Aftertheoldstickisremoved,wait5secondsbeforeinsertingthenewUSBdrive.

5. PresstheSCANbuttonagaintorestartscanningandloggingtothenewUSBdrive.

FortypicalUSBdrives,thereisafilesystemlimitof999filesandfoldersperdirectory.Ifyoureceiveerrormessagenumber410,"Notenoughdiskspace"whileloggingdata,checktoensurethatyouhavenothitthelimitof999timestampedfoldersforyourinstrument.Youmayreceiveerror410evenifadditionalspaceisavailableonthedrive.

Page 681: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

1.

Page 682: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON).

Page 683: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandspecifiesthatscannedreadingsaretobeloggedtotheUSBdriveastheyaretaken.Datawillalsosimultaneouslybewrittentoreadingmemory.ToscandataintoreadingmemorywithoutloggingitontheUSBdrive,youwoulduseMMEM:LOGOFF.

MMEMory:LOGON

ThefollowingqueryindicateswhetherscannedreadingsaretobeloggedtotheUSBdrive.Inthiscase,thereturnedvalueof1indicatesthatloggingtotheUSBdriveisON(enabled).

MMEMory:LOG?

TypicalResponse:1

Page 684: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoMMEMorySubsystemIntroduction

Page 685: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

OUTPutSubsystemIntroduction

CommandSummaryOUTPut:ALARm:CLEar:ALL

OUTPut:ALARm:MODE

OUTPut:ALARm:MODE?

OUTPut:ALARm:SLOPe

OUTPut:ALARm:SLOPe?

OUTPut:ALARm{1|2|3|4}:CLEar

OUTPut:ALARm{1|2|3|4}:SOURce

OUTPut:ALARm{1|2|3|4}:SOURce?

Page 686: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

OUTPut:ALARm{1|2|3|4}:CLEarOUTPut:ALARm:CLEar:ALLSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 687: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

OUTPut:ALARm{1|2|3|4}:CLEar

OUTPut:ALARm:CLEar:ALL

Page 688: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

TheOUTPut:ALARm{1|2|3|4}:CLEarcommandclearsthespecifiedalarmoutputline.TheOUTPut:ALARm:CLEar:ALLcommandclearsallfouralarmoutputlines.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 689: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Youcanmanuallycleartheoutputlinesatanytime(evenduringascan)andthealarmdatainmemoryisnotcleared(however,dataisclearedwhenyouinitiateanewscan).Thealarmoutputsarealsoclearedwhenyouinitiateanewscan.

AFactoryReset(*RSTcommand)clearsallfouralarmoutputsbutdoesnotclearthealarmqueueineitherconfiguration.

Page 690: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandclearsalarmoutputline2.

OUTP:ALAR2:CLE

Thefollowingcommandclearsallfouralarmoutputlines.

OUTP:ALAR:CLE:ALL

Page 691: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoOUTPutSubsystemIntroduction

OUTPut:ALARm:MODE

OUTPut:ALARm:SLOPe

OUTPut:ALARm{1|2|3|4}:SOURce

Page 692: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

OUTPut:ALARm:MODESyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 693: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

OUTPut:ALARm:MODE<mode>

OUTPut:ALARm:MODE?

Page 694: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandselectstheconfigurationofthefourTTLalarmoutputlines(theselectedconfigurationappliestoallfouralarmoutputlines).Thefouralarmoutputsareavailablefromtherear-panelAlarmOutputconnector.

LatchMode:Inthismode(default),thecorrespondingoutputlineislatchedtruewhenthefirstalarmoccursandremainsasserteduntilyouclearitbyinitiatinganewscanorcyclingpower.Youcanmanuallycleartheoutputlinesatanytime(evenduringascan)andthealarmdatainmemoryisnotcleared(however,dataisclearedwhenyouinitiateanewscan).

TrackMode:Inthismode,thecorrespondingoutputlineisassertedonlywhileachannel'sreadingcrossesalimitandsubsequentreadingsremainoutsidethelimit.Whenareadingreturnstowithinlimits,theoutputlineisautomaticallycleared.Youcanmanuallycleartheoutputlinesatanytime(evenduringascan)andthealarmdatainmemoryisnotcleared(however,dataisclearedwhenyouinitiateanewscan).Thealarmoutputsarealsoclearedwhenyouinitiateanewscan.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 695: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<mode> Discrete{LATCh|TRACk}

Thisisarequiredparameter.

ThefactorydefaultisLATCh

Page 696: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

AFactoryReset(*RSTcommand)clearsallfouralarmoutputsbutdoesnotclearthealarmqueueineitherconfiguration.

Page 697: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsLATCorTRAC.Theselectedconfigurationappliestoallfouralarmoutputlines.

Page 698: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablesthetrackmodeonallfouralarmoutputlines.

OUTP:ALAR:MODETRAC

Thefollowingqueryreturnstheconfigurationofthefouralarmoutputlines.

OUTP:ALAR:MODE?

TypicalResponse:TRAC

Page 699: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoOUTPutSubsystemIntroduction

OUTPut:ALARm:SLOPe

OUTPut:ALARm{1|2|3|4}:SOURce

OUTPut:ALARm{1|2|3|4}:CLEar

Page 700: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

OUTPut:ALARm:SLOPeSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 701: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

OUTPut:ALARm:SLOPe<edge>

OUTPut:ALARm:SLOPe?

Page 702: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandselectstheslopeofthepulsefromthefourTTLalarmoutputs(theselectedconfigurationappliestoallfouralarmoutputlines).Thefouralarmoutputsareavailablefromtherear-panelAlarmOutputconnector.

Ifyouselectthenegative/fallingedge,0V(TTLlow)indicatesanalarm.Ifyouselectthepositive/risingedge,+5V(TTLhigh)indicatesanalarm.

Changingtheslopeoftheoutputlinesmaycausethelinestochangestate.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizer)

34908A40ChannelSingle-EndedMultiplexerModule

Page 703: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<edge> Discrete {NEGative|POSitive} Thisisarequiredparameter.

ThekeywordNEGativereferstoafallingedge,andthekeywordPOSitivereferstoarisingedge,asshownbelow.

Page 704: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

AFactoryReset(*RSTcommand)resetstheslopetothenegative/fallingedge.

Page 705: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsNEGorPOS.Theselectedconfigurationappliestoallfouralarmoutputlines.

Page 706: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandselectsthepositive/risingedgeonallfouralarmoutputlines.

OUTP:ALAR:SLOPPOS

Thefollowingqueryreturnstheslopeofthefouralarmoutputlines.

OUTP:ALAR:SLOPE?

TypicalResponse:POS

Page 707: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoOUTPutSubsystemIntroduction

OUTPut:ALARm:MODE

OUTPut:ALARm{1|2|3|4}:SOURce

OUTPut:ALARm{1|2|3|4}:CLEar

Page 708: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

OUTPut:ALARm{1|2|3|4}:SOURceSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 709: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

OUTPut:ALARm{1|2|3|4}:SOURce(@<ch_list>)

OUTPut:ALARm{1|2|3|4}:SOURce?

Page 710: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandassignsoneoffouralarmnumberstoreportanyalarmconditionsonthespecifiedmultiplexerordigitalchannels.

Onthedigitalmodules,youcanconfiguretheinstrumenttogenerateanalarmwhenaspecificbitpatternorbitpatternchangeisdetectedonadigitalinputchannelorwhenaspecificcountisreachedonatotalizerchannel.Thesechannelsdonothavetobepartoftheactivescanlisttogenerateanalarm.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 711: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Thisisarequiredparameter.

Page 712: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Youcanassignmultiplechannelstoanyofthefouravailablealarms(numbered1through4,seeOUTPut:ALARm<n>:SOURcecommand).Forexample,youcanconfiguretheinstrumenttogenerateanalarmontheAlarm1outputwhenalimitisexceededonanyofchannels103,205,or310.Youcannot,however,assignalarmsonaspecificchanneltomorethanonealarmnumber.

AFactoryReset(*RSTcommand)clearsallalarmlimitsandturnsoffallalarms.AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotclearthealarmlimitsanddoesnotturnoffalarms.

Page 713: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsaseriesofchannelnumbersinDefinite-LengthBlockformat.Thesyntaxisapoundsign(#)followedbyanon-zerodigitrepresentingthenumberofdigitsinthedecimalintegertofollow.Thisdigitisfollowedbyadecimalintegerindicatingthenumberof8-bitdatabytestofollow.Thisisfollowedbyablockofdatacontainingthespecifiednumberofbytes.

Forexample:

Anemptyscanlist(onewithnochannelsselected)willreturn"#13(@)".

Page 714: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandassignsAlarm2toreportanyalarmconditionsonchannels03and13inslot100.

OUTP:ALAR2:SOUR(@103,113)

ThefollowingqueryreturnsthechannelsassignedtoAlarm2.

OUTP:ALAR2:SOUR?

TypicalResponse:#210(@103,113)

Page 715: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoOUTPutSubsystemIntroduction

CALCulate:LIMit:LOWer

CALCulate:LIMit:UPPer

OUTPut:ALARm:MODE

OUTPut:ALARm:SLOPe

OUTPut:ALARm{1|2|3|4}:CLEar

Page 716: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ROUTeSubsystemIntroduction

CommandSummaryROUTe:CHANnel:ADVance:SOURce

ROUTe:CHANnel:ADVance:SOURce?

ROUTe:CHANnel:DELay

ROUTe:CHANnel:DELay?

ROUTe:CHANnel:DELay:AUTO

ROUTe:CHANnel:DELay:AUTO?

ROUTe:CHANnel:FWIRe

ROUTe:CHANnel:FWIRe?

ROUTe:CLOSe

ROUTe:CLOSe?

ROUTe:CLOSe:EXCLusive

ROUTe:DONE?

ROUTe:MONitor

ROUTe:MONitor?

ROUTe:MONitor:DATA?

ROUTe:MONitor:STATe

ROUTe:MONitor:STATe?

ROUTe:OPEN

ROUTe:OPEN?

ROUTe:SCAN

ROUTe:SCAN?

ROUTe:SCAN:SIZE?

Page 717: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ROUTe:CHANnel:ADVance:SOURceSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 718: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

ROUTe:CHANnel:ADVance:SOURce<source>

ROUTe:CHANnel:ADVance:SOURce?

Page 719: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandselectsthesourcetoprovidethechanneladvancesignaltothenextchannelinthescanlistforexternalscanning.Whenthechanneladvancesignalisreceived,theinstrumentopensthecurrentlyselectedchannelandclosesthenextchannelinthescanlist.TheinstrumentwillacceptanexternalTTLtriggerpulse,asoftware(bus)command,oranimmediate(continuous)scantrigger.

ThiscommandisvalidonlywhentheinternalDMMisdisabled(seeINSTrument:DMMcommand)orremovedfromtheKeysight34970A/34972A.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 720: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<source> Discrete {EXTernal|BUS|IMMediate} Thisisarequiredparameter.

ThefactorydefaultisEXTernal

Page 721: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

FortheEXTernalsource,the34970A/34972Awillacceptahardwaretriggerappliedtotherear-panelChanAdvInputline(Pin6).ForanexternaldevicesuchasaDMM,thetriggerreceivedbythe34970A/34972AisnormallysourcedbytheDMM'sVoltmeterCompleteoutputsignal.The34970A/34972Aadvancestothenextchannelinthescanlisteachtimealow-trueTTLpulseisreceived.

FortheBUS(software)source,the34970A/34972Aistriggeredbythe*TRGcommandreceivedovertheremoteinterface.The*TRGcommandwillnotbeacceptedunlessthe34970A/34972Aisinthe"wait-for-trigger"state(seeINITiatecommand).IftheinternalDMMreceivesanexternaltriggerbeforethenext"waitingfortrigger"state,itwillbufferone*TRGcommandandthenignoreanyadditionaltriggersreceived(noerrorisgenerated).

FortheIMMediate(continuous)source,thechanneladvancesignalisalwayspresent.

Thechanneladvancesignalisignoredunlessyouhaveinitiatedthescan(INITiatecommand)andhavereceivedascantrigger(TRIGger:SOURcecommand).AlthoughtheROUTe:CHANnel:ADVance:SOURcecommandsharessomeofthesamesignalsastheTRIGger:SOURcecommand,theycannotbesettothesamesource(exceptIMMediate).Ifyouattempttoselectthesamesource,anerrorisgeneratedandtheTRIGger:SOURceisresettoIMMediate.

Whenthefirsttriggerisreceived,the34970A/34972Aclosesthefirstchannelinthescanlistwithoutwaitingforthespecifiedchanneladvancesource.IfthechanneladvancesourceisEXTernalandthe34970A/34972Areceivesaneventbeforeitisready,itwillbufferoneeventandthenignoreanyadditionaleventsreceived(noerrorisgenerated).

Page 722: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Afterthefinalchannelinthescanlistisclosed,onemorechanneladvanceeventmustbereceivedtocompletethescan.

Achanneladvancesignalisnotrequiredfordigitalinputortotalizerchannelsincludedinthescanlist.Measurementsonthesechannelsarestillperformedbythe34970A/34972Aanddonotrequiresynchronizationwiththeexternalinstrument.

Page 723: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthepresentchanneladvancesource:"EXT","BUS",or"IMM".

Page 724: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingprogramsegmentconfiguresthe34970A/34972Aforscanningusinganexternalchanneladvancesource.Inthisconfiguration,the34970A/34972Aadvancestothenextchannelinthescanlisteachtimealow-trueTTLpulseisreceived.

INST:DMMOFF!DisableinternalDMM

ROUT:SCAN(@101:120)!Configurescanlist

TRIG:SOURIMM!Settriggersource

TRIG:COUN5!Settriggercount

ROUT:CHAN:ADV:SOUREXT!Setchanneladvancesource

Thefollowingqueryreturnsthechanneladvancesourcecurrentlyselectedonthe34970A/34972A.

ROUT:CHAN:ADV:SOUR?

TypicalResponse:EXT

Page 725: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoROUTeSubsystemIntroduction

INITiate

INSTrument:DMM

ROUTe:CHANnel:FWIRe

TRIGger:SOURce

Page 726: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ROUTe:CHANnel:DELaySyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 727: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

ROUTe:CHANnel:DELay<seconds>,(@<ch_list>)

ROUTe:CHANnel:DELay?(@<ch_list>)

Page 728: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandaddsadelaybetweenmultiplexerchannelsinthescanlist(usefulforhigh-impedanceorhigh-capacitancecircuits).Thedelayisinsertedbetweentherelayclosureandtheactualmeasurementoneachchannel,inadditiontoanydelaythatwillimplicitlyoccurduetorelaysettlingtime.Theprogrammedchanneldelayoverridesthedefaultchanneldelaythattheinstrumentautomaticallyaddstoeachchannel.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizerchannelsonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 729: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<seconds> Numeric Anumberfrom0to60,with1msresolution.

Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Page 730: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Youcanselectauniquedelayforeachchannelonthemodule.Thedefaultchanneldelayisautomatic;theinstrumentdeterminesthedelaybasedonfunction,range,integrationtime,andACfiltersetting.

Thechanneldelayisvalidonlywhilescanning.Ifnochannelshavebeenassignedtothescanlist(seeROUTe:SCANcommand),thespecifiedchanneldelayisignored(noerrorisgenerated).

Toensureyouaregettingthemostaccuratemeasurementspossible,usecarewhensettingthechanneldelaylessthanthedefaultvalue(Automatic).Thedefaultchanneldelayisdesignedtooptimizeparameters,suchassettlingtime,forthemostaccuratemeasurements.

TheCONFigureandMEASure?commandssetthechanneldelaytoAutomatic.

TheinstrumentsetsthechanneldelaytoAutomaticafteraFactoryReset(*RSTcommand).

Page 731: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthedelayinsecondsintheform"+1.00000000E+00"foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 732: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandaddsa2-secondchanneldelaytochannels03and13inslot100.

ROUT:CHAN:DEL2,(@103,113)

Thefollowingqueryreturnsthechanneldelayselectedonchannels03and13inslot100.

ROUT:CHAN:DEL?(@103,113)

TypicalResponse:+2.00000000E+00,+2.00000000E+00

Page 733: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoROUTeSubsystemIntroduction

ROUTe:CHANnel:DELay:AUTO

ROUTe:SCAN

Page 734: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ROUTe:CHANnel:DELay:AUTOSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 735: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

ROUTe:CHANnel:DELay:AUTO<state>[,(@<ch_list>)]

ROUTe:CHANnel:DELay:AUTO?[(@<ch_list>)]

Page 736: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommanddisablesorenablesanautomaticchanneldelayonthespecifiedchannels.Ifenabled,theinstrumentdeterminesthedelaybasedonfunction,range,integrationtime,andACfiltersetting.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizerchannelsonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 737: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<state> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 738: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

SelectingaspecificchanneldelayusingtheROUTe:CHANnel:DELaycommanddisablestheautomaticchanneldelay.

TheCONFigureandMEASure?commandssetthechanneldelaytoAutomatic.

TheinstrumentsetsthechanneldelaytoAutomaticafteraFactoryReset(*RSTcommand).

Page 739: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON)foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 740: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablesanautomaticchanneldelayonchannels03and13inslot100.

ROUT:CHAN:DEL:AUTOON,(@103,113)

Thefollowingqueryreturnstheautomaticchanneldelaysettingsonchannels03and13inslot100.

ROUT:CHAN:DEL:AUTO?(@103,113)

TypicalResponse:1,1

Page 741: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoROUTeSubsystemIntroduction

ROUTe:CHANnel:DELay

Page 742: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ROUTe:CHANnel:FWIReSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 743: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

ROUTe:CHANnel:FWIRe<state>[,(@<ch_list>)]

ROUTe:CHANnel:FWIRe?[(@<ch_list>)]

Page 744: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandconfiguresthespecifiedchannelsfor4-wireexternalscanningwithouttheinternalDMM.Whenenabled,channelnispairedwithchanneln+10(34901A)orn+8(34902A)toprovidesourceandsenseconnections.

ThiscommandisvalidonlywhentheinternalDMMisdisabled(seeINSTrument:DMMcommand)orremovedfromtheKeysight34970A/34972A.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

Page 745: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<state> Boolean {OFF|0|ON|1}

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

If<ch_list>isomitted,thiscommandappliestothecurrentscanlist.

Page 746: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

SpecifythepairedchannelinBank1(source)asthe<ch_list>channel(channelsinBank2arenotallowedinthe<ch_list>).

TheROUTe:CLOSe,ROUTe:CLOSe:EXCLusive,andROUTe:OPENcommandsignorethecurrentROUTe:CHANnel:FWIResetting(ifnochannelsareinthescanlist).

Page 747: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON)foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 748: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandconfigureschannels03and05inslot100for4-wireexternalscanning.

INST:DMMOFF!DisableinternalDMM

ROUT:CHAN:FWIRON,(@103,105)!Enable4-wire

configuration

Thefollowingqueryreturnsthe4-wireconfigurationselectedonchannels03and05inslot100.

ROUT:CHAN:FWIR?(@103,105)

TypicalResponse:1,1

Page 749: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoROUTeSubsystemIntroduction

INSTrument:DMM

ROUTe:CHANnel:ADVance:SOURce

Page 750: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ROUTe:CLOSeSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 751: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

ROUTe:CLOSe(@<ch_list>)

ROUTe:CLOSe?(@<ch_list>)

Page 752: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandclosesthespecifiedchannelsonamultiplexerorswitchmodule.Onthemultiplexermodules,ifanychannelonthemoduleisdefinedtobepartofthescanlist,attemptingtosendthiscommandwillresultinanerror.

UsedWith:

Allmodulesexcept34907A

Page 753: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Thisisarequiredparameter.

Page 754: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Forthematrixmodule(34904A),thechannelnumberrepresentstheintersectionofthedesiredrowandcolumn.Forexample,channel234representstheintersectionofrow3andcolumn4onthemoduleinslot200(assumestwo-wiremode).Formoreinformation,seethesimplifiedschematics.

TheRFMultiplexermodules(34905A,34906A)willnotrespondtotheROUTe:OPENcommand(anerrorisgenerated).To"open"achannelonthesemodules,sendtheROUTe:CLOSecommandtoadifferentchannelinthesamebank.

Aspartofthescansetup,theROUTe:SCANcommandexaminesthescanlistanddetermineswhichchannelrelaysandAnalogBusrelayswillbeimpactedbythescan.Thefollowingruleswillapplyoncethescanisinitiatedandwillimpactwhatrelayscanbemanuallyopenedandclosed.

a. Whenthescanisinitiated,theinstrumentwillopenallchannelsinmodulesthatcontainoneormorechannelsinthescanlist.

b. Whilethescanisrunning,theinstrumentprohibitsuseofallchannelsinmodulesthatcontainoneormorechannelsinthespecified<ch_list>(thesechannelsarededicatedtothescan).

Page 755: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns1ifthespecifiedchannelisclosedor0ifthespecifiedchannelisopen.Multipleresponsesareseparatedbycommas.

Page 756: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandcloseschannels03and13inslot100(noAnalogBusconnectionsaremade).

ROUT:CLOS(@103,113)

Thefollowingcommandcloseschannel03onthematrixmoduleinslot300.

ROUT:CLOS(@303)

Thefollowingqueryreadsthestateofchannels03and13inslot100(1=closed;0=open).

ROUT:CLOS?(@103,113)

TypicalResponse:1,1

Page 757: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoROUTeSubsystemIntroduction

DIAGnostic:RELay:CYCLes?

ROUTe:CLOSe:EXCLusive

ROUTe:OPEN

Page 758: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ROUTe:CLOSe:EXCLusiveSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 759: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

ROUTe:CLOSe:EXCLusive(@<ch_list>)

Page 760: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandopensallchannelsonamultiplexerorswitchmoduleandthenclosesthespecifiedchannels.Onthemultiplexermodules,ifanychannelonthemoduleisdefinedtobepartofthescanlist,attemptingtosendthiscommandwillresultinanerror.

UsedWith:

Allmodulesexcept34907A

Page 761: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Thisisarequiredparameter.

Page 762: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Forthematrixmodules(34904A),thechannelnumberrepresentstheintersectionofthedesiredrowandcolumn.Forexample,channel234representstheintersectionofrow3andcolumn4onthemoduleinslot200(assumestwo-wiremode).Formoreinformation,seethesimplifiedschematics.

Thiscommandopensallchannelsfirst,andthenclosesthechannelsinthe<ch_list>,oneatatime.Beforeitcloseseachchannel,itopensallpreviouschannels.

TheRFMultiplexermodules(34905A,34906A)willnotrespondtotheROUTe:OPENcommand(anerrorisgenerated).To"open"achannelonthesemodules,sendtheROUTe:CLOSe:EXCLusivecommandtoadifferentchannelinthesamebank.

Page 763: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandopensallchannelsandthencloseschannel03onthematrixmoduleinslot300.

ROUT:CLOS:EXCL(@303)

Page 764: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoROUTeSubsystemIntroduction

ROUTe:CLOSe

ROUTe:OPEN

Page 765: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ROUTe:DONE?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 766: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

ROUTe:DONE?

Page 767: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueriesthestatusofallrelayoperationsoncardsnotinvolvedinthescanandreturnsa1whenallrelayoperationsarefinished(evenduringascan).

Page 768: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsa1.

Page 769: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnsa1whenallrelayoperationsarefinished.

ROUT:DONE?

TypicalResponse:1

Page 770: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoROUTeSubsystemIntroduction

Page 771: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ROUTe:MONitorSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 772: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

ROUTe:MONitor(@<channel>)

ROUTe:MONitor?

Page 773: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommand/queryselectsthechanneltobedisplayedonthefrontpanel.Onlyonechannelcanbemonitoredatatime.

Page 774: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<channel> ChannelAsinglechannel,specifiedasinthefollowingexamples.

(@310)-channel10onthemoduleinslot300.

(@214)-channel14onthemoduleinslot200.

Thisisarequiredparameter.

Page 775: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Channelsmustbeconfiguredforameasurementinordertobemonitored(seeCONFigureandSENSecommands).Configuringachannelforameasurementmakesitmonitorableandmakesitpartofthescanlist.

AscanalwayshaspriorityovertheMonitorfunction(seeROUTe:SCANcommand).

Anychannelthatcanbe"read"bytheinstrumentcanbemonitored.Thisincludesanycombinationoftemperature,voltage,resistance,current,frequency,orperiodmeasurementsonmultiplexerchannels.Youcanalsomonitoradigitalinputchannelorthetotalizercountonthedigitalmodules.

Mx+BscalingandalarmlimitsareappliedtotheselectedchannelduringaMonitorandallalarmdataisstoredinthealarmqueue(whichwillbeclearedifpowerfails).

Formonitoroperationsusingamultiplexermodule,nomeasurementsaretakeniftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.TheinternalDMMisnotrequiredformonitoroperationsonthedigitalmodules.

For4-wireresistancemeasurements,theinstrumentautomaticallypairschannelninBank1withchanneln+10(34901A)orn+8(34902A)toprovidethesourceandsenseconnections.

Thecountonatotalizerchannelisnotresetwhenitisbeingmonitored(theMonitorignoresthetotalizerresetmode).

Page 776: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnstheMonitorchannelinDefinite-LengthBlockformat.Thesyntaxisapoundsign(#)followedbyanon-zerodigitrepresentingthenumberofcharacterstofollow.Thisdigitisfollowedbyadecimalintegerindicatingthenumberofdatabytestofollow.Thisisfollowedbyablockofdatacontainingthespecifiednumberofbytes.Thequeryalwaysreturnsthechannelcurrentlydisplayedonthefrontpanel.

Forexample:

Page 777: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingprogramsegmentconfigureschannel3inslot100forDCvoltagemeasurements,enablesmonitoringonthechannel,andturnsontheMonitormode.

CONF:VOLT:DC(@103)

ROUT:MON:CHAN(@103)

ROUT:MON:STATON

ThefollowingcommandqueriesthechannelcurrentlyselectedastheMonitorchannel.

ROUT:MON:CHAN?

TypicalResponse:#16(@103)

Page 778: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoROUTeSubsystemIntroduction

ROUTe:MONitor:STATe

Page 779: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ROUTe:MONitor:DATA?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 780: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

ROUTe:MONitor:DATA?

Page 781: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreadsthemonitordatafromtheselectedchannel.Itreturnsthereadingonly;theunits,time,channel,andalarminformationarenotreturned(theFORMat:READingcommandsdonotapplytomonitorreadings).

Page 782: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

IftheMonitormodeisnotcurrentlyenabled,thisqueryreturnsanerrorindicatingthatitisunabletoperformtherequestedoperation.

ReadingsacquiredduringaMonitorarenotstoredinmemorybuttheyaredisplayedonthefrontpanel;however,allreadingsfromascaninprogressatthesametimearestoredinmemory.

Page 783: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsonereadingfortheMonitorchannel,intheformat+1.12345678E+01.Ifnodataisavailableforthespecifiedchannel,instrumentwaitsfordatatobecomeavailable.

Page 784: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingqueryreturnsonereadingfromtheMonitorchannel.

ROUT:MON:DATA?

TypicalResponse:+1.84280000E-05

Page 785: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoROUTeSubsystemIntroduction

ROUTe:MONitor

ROUTe:MONitor:STATe

Page 786: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ROUTe:MONitor:STATeSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 787: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

ROUTe:MONitor:STATe<mode>

ROUTe:MONitor:STATe?

Page 788: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommanddisablesorenablestheMonitormode.TheMonitormodeisequivalenttomakingcontinuousmeasurementsonasinglechannelwithaninfinitescancount.Onlyonechannelcanbemonitoredatatimebutyoucanchangethechannelbeingmonitoredatanytime.Thisfeatureisusefulfortroubleshootingyoursystembeforeatestorforwatchinganimportantsignal.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizer)

34908A40ChannelSingle-EndedMultiplexerModule

Page 789: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<mode> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

Page 790: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Channelsmustbeconfiguredforameasurementinordertobemonitored(seeCONFigureandSENSecommands).Configuringachannelforameasurementmakesitmonitorableandmakesitpartofthescanlist.

TheMonitormodeisautomaticallyenabledonallchannelsthatarepartoftheactivescanlist(seeROUTe:SCANcommand).

AscanalwayshaspriorityovertheMonitorfunction(seeROUTe:SCANcommand).

TheMonitormodeignoresalltriggersettings(seeTRIGger:SOURcecommand)andtakescontinuousreadingsontheselectedchannelusingtheIMMediate(continuous)source.

Anychannelthatcanbe"read"bytheinstrumentcanbemonitored.Thisincludesanycombinationoftemperature,voltage,resistance,current,frequency,orperiodmeasurementsonmultiplexerchannels.Youcanalsomonitoradigitalinputchannelorthetotalizercountonthedigitalmodules.

Mx+BscalingandalarmlimitsareappliedtotheselectedchannelduringaMonitorandallalarmdataisstoredinthealarmqueue(whichwillbeclearedifpowerfails).

Formonitoroperationsusingamultiplexermodule,nomeasurementsaretakeniftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.TheinternalDMMisnotrequiredformonitoroperationsonthedigitalmodules.

Thecountonatotalizerchannelisnotresetwhenitisbeingmonitored(theMonitorignoresthetotalizerresetmode).

ReadingsacquiredduringaMonitorarenotstoredinmemorybut

Page 791: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

theyaredisplayedonthefrontpanel;however,allreadingsfromascaninprogressatthesametimearestoredinmemory.

Page 792: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON).

Page 793: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingprogramsegmentconfigureschannel3inslot100forDCvoltagemeasurements,enablesmonitoringonthechannel,andturnsontheMonitormode.

CONF:VOLT:DC(@103)

ROUT:MON:CHAN(@103)

ROUT:MON:STATON

ThefollowingqueryreturnsthestateoftheMonitormode.

ROUT:MON:STAT?

TypicalResponse:1

Page 794: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoROUTeSubsystemIntroduction

ROUTe:CLOSe

ROUTe:MONitor:DATA?

ROUTe:OPEN

Page 795: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ROUTe:OPENSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 796: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

ROUTe:OPEN(@<ch_list>)

ROUTe:OPEN?(@<ch_list>)

Page 797: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandopensthespecifiedchannelsonamultiplexerorswitchmodule.

UsedWith:

Allmodulesexcept34907A

Page 798: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Thisisarequiredparameter.

Page 799: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Forthematrixmodules,thechannelnumberrepresentstheintersectionofthedesiredrowandcolumn.Forexample,channel234representstheintersectionofrow3andcolumn4onthemoduleinslot200(assumestwo-wiremode).Formoreinformation,seethesimplifiedschematics.

TheRFMultiplexermodules(34905A,34906A)willnotrespondtotheROUTe:OPENcommand(anerrorisgenerated).To"open"achannelonthesemodules,sendtheROUTe:CLOSecommandtoadifferentchannelinthesamebank.

Aspartofthescansetup,theROUTe:SCANcommandexaminesthescanlistanddetermineswhichchannelrelaysandAnalogBusrelayswillbeimpactedbythescan.Thefollowingruleswillapplyoncethescanisinitiatedandwillimpactwhatrelayscanbemanuallyopenedandclosed.

a. Whenthescanisinitiated,theinstrumentwillopenallchannelsinmodulesthatcontainoneormorechannelsinthescanlist.

b. Whilethescanisrunning,theinstrumentprohibitsuseofallchannelsinmodulesthatcontainoneormorechannelsinthespecified<ch_list>(thesechannelsarededicatedtothescan).

Page 800: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns1ifthespecifiedchannelisopenor0ifthespecifiedchannelisclosed.Multipleresponsesareseparatedbycommas.

Page 801: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandopenschannels03and13inslot100.

ROUT:OPEN(@103,113)

Thefollowingcommandopenschannel03onthematrixmoduleinslot300.

ROUT:OPEN(@303)

Thefollowingcommandopenschannels01through08onthematrixmoduleinslot300.

ROUT:OPEN(@301:308)

Thefollowingqueryreadsthestateofchannels03and06inslot100(1=open;0=closed).

ROUT:OPEN?(@103,106)

TypicalResponse:1,1

Page 802: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoROUTeSubsystemIntroduction

ROUTe:CLOSe

Page 803: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ROUTe:SCANSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 804: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

ROUTe:SCAN(@<scan_list>)

ROUTe:SCAN?

Page 805: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandselectsthechannelstobeincludedinthescanlist.ThiscommandisusedinconjunctionwiththeCONFigurecommandstosetupanautomatedscan.Thespecifiedchannelssupersedeanychannelspreviouslydefinedtobepartofthescanlist.Tostartthescan,usetheINITiateorREAD?command.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizer)

34908A40ChannelSingle-EndedMultiplexerModule

Toremoveallchannelsfromthepresentscanlist,send"ROUT:SCAN(@)".

Page 806: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<scan_list> ScanList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Thisisarequiredparameter.

Page 807: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Toremoveallchannelsfromthescanlist,issuethecommandROUT:SCAN(@).

Theinstrumentscansthelistofchannelsinascendingorderfromslot100throughslot300(channelsarere-orderedasneeded).Whenyouspecifyarangeofchannelsinthe<scan_list>,thechannelsarealwayssortedinascendingorder.Therefore,(@109:101)willalwaysbeinterpretedas101,102,103,etc.

YoucanuseeithertheinternalDMMoranexternalinstrumenttomakemeasurementsofyourconfiguredchannels.However,the34970A/34972Aallowsonlyonescanlistatatime;youcannotscansomechannelsusingtheinternalDMMandothersusinganexternalinstrument.Readingsarestoredin34970A/34972AmemoryonlywhentheinternalDMMisused,exceptfordigitalinputandtotalizerchannels.

Youcanstoreatleast50,000readingsinmemoryandallreadingsareautomaticallytimestamped.Ifmemoryoverflows,thenewreadingswilloverwritethefirst(oldest)readingsstored;themostrecentreadingsarealwayspreserved.Youcanreadthecontentsofmemoryatanytime,evenduringascan.Readingmemoryisnotclearedwhenyoureadit.

Eachtimeyoustartanewscan,theinstrumentclearsallreadings(includingalarmdata)storedinreadingmemoryfromthepreviousmeasurement.Therefore,thecontentsofmemoryarealwaysfromthemostrecentmeasurement.

Ifyouabortascanthatisrunning(seeABORtcommand),theinstrumentwillterminateanyreadinginprogress(readingsarenotclearedfrommemory).Ifascanisinprogresswhenthecommandisreceived,thescanwillnotbecompletedandyoucannotresumethescanfromwhereitleftoff.Notethatifyouinitiateanewscan,

Page 808: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

allreadingsareclearedfrommemory.

TheCONFigureandMEASure?commandsoverwritethescanlist.

Thepresentscanlistisstoredinnon-volatilememoryandwillberetainedwhenpoweristurnedoff.

Page 809: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsalistofchannelnumbersinDefinite-LengthBlockformat.Thesyntaxisapoundsign(#)followedbyanon-zerodigitrepresentingthenumberofcharacterstofollow.Thisdigitisfollowedbyadecimalintegerindicatingthenumberofdatabytestofollow.Thisisfollowedbyablockofdatacontainingthespecifiednumberofbytes.Anemptyscanlist(onewithnochannelsselected)willindicatedby"#13(@)"

Forexample:

Page 810: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingprogramsegmentshowshowtousetheCONFigurecommandtoconfiguretwochannelsforDCvoltagemeasurements.TheROUTe:SCANcommandputsthetwochannelsintothescanlist(andredefinesthescanlist).TheINITiatecommandplacestheinstrumentinthe"wait-for-trigger"stateandthensendsthereadingstomemory.TheFETCh?commandtransfersthereadingsfrommemorytotheinstrument'soutputbuffer.

CONF:VOLT:DC10,0.003,(@103,108)

ROUT:SCAN(@103,108)

INIT

FETC?

TypicalResponse:+4.27150000E-03,+1.32130000E-03

Thefollowingcommandclearsthepresentscanlist.

ROUT:SCAN(@)

Thefollowingqueryreturnsalistofchannelsinthepresentscanlist.

ROUT:SCAN?

TypicalResponse:#210(@103,108)

Page 811: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoROUTeSubsystemIntroduction

ABORt

INITiate

READ?

ROUTe:SCAN:SIZE?

Page 812: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ROUTe:SCAN:SIZE?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 813: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

ROUTe:SCAN:SIZE?

Page 814: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreturnsthenumberofchannelsinthescanlist.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizer)

34908A40ChannelSingle-EndedMultiplexerModule

Page 815: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thepresentscanlistisstoredinnon-volatilememoryandwillberetainedwhenpoweristurnedoff.

Page 816: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthenumberofchannelsasasignedintegerfrom0to120.

Page 817: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnsthenumberofchannelsinthescanlist.

ROUT:SCAN(@101:120)

ROUT:SCAN:SIZE?

TypicalResponse:+20

Page 818: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoROUTeSubsystemIntroduction

ROUTe:SCAN

Page 819: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SENSeSubsystemIntroductionIfyouspecifya<ch_list>withoneofthesecommands,that<ch_list>overwritesthecurrentscanlist.

Page 820: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CommandSummary

ACCurrent

[SENSe:]CURRent:AC:BANDwidth

[SENSe:]CURRent:AC:BANDwidth?

[SENSe:]CURRent:AC:RANGe

[SENSe:]CURRent:AC:RANGe?

[SENSe:]CURRent:AC:RANGe:AUTO

[SENSe:]CURRent:AC:RANGe:AUTO

[SENSe:]CURRent:AC:RESolution

[SENSe:]CURRent:AC:RESolution?

DCCurrent

[SENSe:]CURRent:DC:APERture

[SENSe:]CURRent:DC:APERture?

[SENSe:]CURRent:DC:NPLC

[SENSe:]CURRent:DC:NPLC?

[SENSe:]CURRent:DC:RANGe

[SENSe:]CURRent:DC:RANGe?

[SENSe:]CURRent:DC:RANGe:AUTO

[SENSe:]CURRent:DC:RANGe:AUTO

[SENSe:]CURRent:DC:RESolution

[SENSe:]CURRent:DC:RESolution?

ACVoltage

Page 821: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]VOLTage:AC:RANGe

[SENSe:]VOLTage:AC:RANGe?

[SENSe:]VOLTage:AC:RANGe:AUTO

[SENSe:]VOLTage:AC:RANGe:AUTO?

[SENSe:]VOLTage:AC:BANDwidth

[SENSe:]VOLTage:AC:BANDwidth?

DCCurrent

[SENSe:]VOLTage:DC:APERture

[SENSe:]VOLTage:DC:APERture?

[SENSe:]VOLTage:DC:NPLC

[SENSe:]VOLTage:DC:NPLC?

[SENSe:]VOLTage:DC:RANGe

[SENSe:]VOLTage:DC:RANGe?

[SENSe:]VOLTage:DC:RANGe:AUTO

[SENSe:]VOLTage:DC:RANGe:AUTO?

[SENSe:]VOLTage:DC:RESolution

[SENSe:]VOLTage:DC:RESolution?

2-WireResistance

[SENSe:]RESistance:APERture

[SENSe:]RESistance:APERture?

[SENSe:]RESistance:NPLC

[SENSe:]RESistance:NPLC?

[SENSe:]RESistance:OCOMpensated

[SENSe:]RESistance:OCOMpensated?

Page 822: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]RESistance:RANGe

[SENSe:]RESistance:RANGe?

[SENSe:]RESistance:RANGe:AUTO

[SENSe:]RESistance:RANGe:AUTO?

[SENSe:]RESistance:RESolution

[SENSe:]RESistance:RESolution?

4-WireResistance

[SENSe:]FRESistance:APERture

[SENSe:]FRESistance:APERture?

[SENSe:]FRESistance:NPLC

[SENSe:]FRESistance:NPLC?

[SENSe:]FRESistance:OCOMpensated

[SENSe:]FRESistance:OCOMpensated?

[SENSe:]FRESistance:RANGe

[SENSe:]FRESistance:RANGe?

[SENSe:]FRESistance:RANGe:AUTO

[SENSe:]FRESistance:RANGe:AUTO?

[SENSe:]FRESistance:RESolution

[SENSe:]FRESistance:RESolution?

Frequency

[SENSe:]FREQuency:APERture

[SENSe:]FREQuency:APERture?

[SENSe:]FREQuency:RANGe:LOWer

[SENSe:]FREQuency:RANGe:LOWer?

Page 823: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]FREQuency:VOLTage:RANGe

[SENSe:]FREQuency:VOLTage:RANGe?

[SENSe:]FREQuency:VOLTage:RANGe:AUTO

[SENSe:]FREQuency:VOLTage:RANGe:AUTO?

Period

[SENSe:]PERiod:APERture

[SENSe:]PERiod:APERture?

[SENSe:]PERiod:VOLTage:RANGe

[SENSe:]PERiod:VOLTage:RANGe?

[SENSe:]PERiod:VOLTage:RANGe:AUTO

[SENSe:]PERiod:VOLTage:RANGe:AUTO?

Temperature

[SENSe:]TEMPerature:APERture

[SENSe:]TEMPerature:APERture?

[SENSe:]TEMPerature:NPLC

[SENSe:]TEMPerature:NPLC?

[SENSe:]TEMPerature:RJUNction?

[SENSe:]TEMPerature:TRANsducer:FRTD:OCOMpensated

[SENSe:]TEMPerature:TRANsducer:FRTD:OCOMpensated?

[SENSe:]TEMPerature:TRANsducer:FRTD:RESistance[:REFerence]

[SENSe:]TEMPerature:TRANsducer:FRTD:RESistance[:REFerence]?

[SENSe:]TEMPerature:TRANsducer:FRTD:TYPE

[SENSe:]TEMPerature:TRANsducer:FRTD:TYPE?

[SENSe:]TEMPerature:TRANsducer:RTD:OCOMpensated

Page 824: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TEMPerature:TRANsducer:RTD:OCOMpensated?

[SENSe:]TEMPerature:TRANsducer:RTD:RESistance[:REFerence]

[SENSe:]TEMPerature:TRANsducer:RTD:RESistance[:REFerence]?

[SENSe:]TEMPerature:TRANsducer:RTD:TYPE

[SENSe:]TEMPerature:TRANsducer:RTD:TYPE?

[SENSe:]TEMPerature:TRANsducer:TCouple:CHECk

[SENSe:]TEMPerature:TRANsducer:TCouple:CHECk?

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction?

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction:TYPE

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction:TYPE?

[SENSe:]TEMPerature:TRANsducer:TCouple:TYPE

[SENSe:]TEMPerature:TRANsducer:TCouple:TYPE?

[SENSe:]TEMPerature:TRANsducer:THERmistor:TYPE

[SENSe:]TEMPerature:TRANsducer:THERmistor:TYPE?

[SENSe:]TEMPerature:TRANsducer:TYPE

[SENSe:]TEMPerature:TRANsducer:TYPE?

DigitalI/OandTotalizer

[SENSe:]DIGital:DATA:{BYTE|WORD}?

[SENSe:]TOTalize:CLEar:IMMediate

[SENSe:]TOTalize:DATA?

[SENSe:]TOTalize:SLOPe

[SENSe:]TOTalize:SLOPe?

[SENSe:]TOTalize:STARt[:IMMediate]

[SENSe:]TOTalize:STOP[:IMMediate]

Page 825: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TOTalize:TYPE

[SENSe:]TOTalize:TYPE?

Miscellaneous

[SENSe:]FUNCtion

[SENSe:]FUNCtion?

[SENSe:]ZERO:AUTO

[SENSe:]ZERO:AUTO?

Page 826: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]CURRent:AC:BANDwidthSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 827: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]CURRent:AC:BANDwidth{<filter>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]CURRent:AC:BANDwidth?[{(@<ch_list>)|MIN|MAX}]

Page 828: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

TheinstrumentusesthreedifferentACfilterswhichenableyoutoeitheroptimizelowfrequencyaccuracyorachievefasterACsettlingtimes.Theinstrumentselectstheslow(3Hz),medium(20Hz),orfast(200Hz)filterbasedontheinputfrequencythatyouspecifywiththiscommandfortheselectedchannels.Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module(channels21and22only)

Page 829: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<filter> Discrete {3|20|200} 20

<ch_list> ChannelList Oneormorechannels,

asshown:

(@321)-channel21onthemoduleinslot300.

(@221:222)-channels21through22onthemoduleinslot200.

(@121:122,222,321:322)-channels21and22onthemoduleinslot100,channel22onthemoduleinslot200,andchannels21-22onthemoduleinslot300.

Notethatthechannelsmustbeoftheforms21ands22,wheresisthefirstdigitoftheslotnumber.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 830: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

ThiscommandappliestoACcurrentmeasurementsonly.

Forthe<filter>parameter,specifythelowestfrequencyexpectedintheinputsignalonthespecifiedchannels.Theinstrumentselectstheappropriatefilterbasedonthefrequencyyouspecify.

InputFrequency

DefaultSettlingDelay

MinimumSettlingDelay

3Hzto300kHz(Slow)

7seconds/reading

1.5seconds

20Hzto300kHz(Medium)

1second/reading

200ms

200Hzto300kHz(Fast)

0.12seconds/reading

20ms

TheCONFigureandMEASure?commandsautomaticallyselectthedefault20Hz(medium)filter.

Theinstrumentselectsthedefault20Hz(medium)filterafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

ThesettlingdelayiscontrolledbytheROUTe:CHANnel:DELaycommand.YougetthedefaultdelaywithROUTe:CHANnel:DELay:AUTOON.

Page 831: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns3(slow),20(medium),or200(fast)foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 832: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandselectstheslowfilter(3Hz)onchannels21and22inslot100.

CURR:AC:BAND3,(@121,122)

ThefollowingqueryreturnstheACfiltersettingsonchannels21and22inslot100.

CURR:AC:BAND?(@121,122)

TypicalResponse:3,3

Page 833: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

[SENSe:]CURRent:AC:RANGe

CONFigure:CURRent:AC

Page 834: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]CURRent:AC:RANGe[SENSe:]CURRent:DC:RANGeSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 835: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]CURRent:AC:RANGe{<range>|MIN|MAX}[,(@<ch_list>)][SENSe:]CURRent:AC:RANGe?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]CURRent:DC:RANGe{<range>|MIN|MAX}[,(@<ch_list>)][SENSe:]CURRent:DC:RANGe?[{(@<ch_list>)|MIN|MAX}]

Page 836: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThesecommandsselectthemeasurementrangeforACandDCcurrentmeasurementsonthespecifiedchannels.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module(channels21and22only)

Page 837: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<range> DiscreteExpectedvalueinamps(rangesshownbelow).

10mA(MIN)100mA1A(MAX)

Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@321)-channel21onthemoduleinslot300.

(@221:222)-channels21through22onthemoduleinslot200.

(@121:122,222,321:322)-channels21and22onthemoduleinslot100,channel22onthemoduleinslot200,andchannels21-22onthemoduleinslot300.

Notethatthechannelsmustbeoftheforms21ands22,wheresisthefirstdigitoftheslot

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 838: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

number.

Page 839: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Selectingadiscreterangewilldisableautorangingonthespecifiedchannels(see[SENSe:]CURRent:AC:RANGe:AUTOand[SENSe:]CURRent:DC:RANGe:AUTOcommands).

TheCONFigureandMEASure?commandsautomaticallyenableautorangingifthefirstparameterisAUTO,DEForomitted.

Iftheinputsignalisgreaterthancanbemeasuredontheselectedrange(manualranging),theinstrumentgivesanoverloadindication:"±OVLD"fromthefrontpanelor"±9.9E+37"fromtheremoteinterface.

TheinstrumentselectsautorangingafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 840: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnstherangeintheform"+1.00000000E-01"foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 841: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandselectsthe100mArangeonchannels21and22inslot100.

CURR:AC:RANG0.1,(@121,122)

Thefollowingqueryreturnstherangeselectedonchannels21and22inslot100.

CURR:AC:RANG?(@121,122)

TypicalResponse:+1.00000000E-01,+1.00000000E-01

Page 842: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:CURRent:AC

CONFigure:CURRent:DC

[SENSe:]CURRent:AC:RANGe:AUTO

[SENSe:]CURRent:DC:RANGe:AUTO

Page 843: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]CURRent:AC:RANGe:AUTO[SENSe:]CURRent:DC:RANGe:AUTOSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 844: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]CURRent:AC:RANGe:AUTO<state>[,(@<ch_list>)][SENSe:]CURRent:AC:RANGe:AUTO?[(@<ch_list>)]

[SENSe:]CURRent:DC:RANGe:AUTO<state>[,(@<ch_list>)][SENSe:]CURRent:DC:RANGe:AUTO?[(@<ch_list>)]

Page 845: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThesecommandsdisableorenableautorangingforACandDCcurrentmeasurementsonthespecifiedchannels.Autorangingisconvenientbecausetheinstrumentautomaticallyselectstherangeforeachmeasurementbasedontheinputsignaldetected.Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module(channels21and22only)

Page 846: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<mode> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@321)-channel21onthemoduleinslot300.

(@221:222)-channels21through22onthemoduleinslot200.

(@121:122,222,321:322)-channels21and22onthemoduleinslot100,channel22onthemoduleinslot200,andchannels21-22onthemoduleinslot300.

Notethatthechannelsmustbeoftheforms21ands22,wheresisthefirstdigitoftheslotnumber.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 847: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Autorangethresholds:Downrangeat:<10%ofrangeUprangeat:>120%ofrange

Withautorangingenabled,theinstrumentselectsoneofthefollowingrangesbasedontheinputsignaldetected:

10mA100mA1A

Selectingadiscreterange(see[SENSe:]CURRent:AC:RANGecommand)willdisableautorangingonthespecifiedchannels.

TheCONFigureandMEASure?commandsautomaticallyenableautorangingifthefirstparameterisAUTO,DEForomitted.

TheinstrumentenablesautorangingafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 848: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON)foreachchannelinthe<ch_list>.Multiplevaluesareseparatedbycommas.

Page 849: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Intheseexamples,youcouldsubstitutethenodenameDCforAC.

ThefollowingcommandturnsonACcurrentmeasurementautorangingfortwochannels.

CURR:AC:RANG:AUTO1,(@221:222)

Thefollowingqueryreturnsthevalueofautorangingforthreechannels.

CURR:AC:RANG:AUTO?(@221,321,322)

TypicalResponse:1,0,1

Page 850: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

Page 851: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]CURRent:AC:RESolution[SENSe:]CURRent:DC:RESolutionSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 852: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]CURRent:AC:RESolution{<resolution>|MIN|MAX}[,(@<ch_list>)][SENSe:]CURRent:AC:RESolution?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]CURRent:DC:RESolution{<resolution>|MIN|MAX}[,(@<ch_list>)][SENSe:]CURRent:DC:RESolution?[{(@<ch_list>)|MIN|MAX}]

Page 853: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandselectsthemeasurementresolutionforcurrentmeasurementsonthespecifiedchannels.Theinstrumentclearsallreadingsfrommemorywhenanewscanisinitiated,whenanymeasurementparametersarechanged(CONFigureandSENSecommands),andwhenthetriggeringconfigurationischanged(TRIGgercommands).Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module(channels21and22only)

Page 854: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<resolution> Numeric Desiredresolutioninamps. 0.000003xRange(1PLC)

<ch_list> ChannelList Oneormorechannels,

asshown:

(@321)-channel21onthemoduleinslot300.

(@221:222)-channels21through22onthemoduleinslot200.

(@121:122,222,321:322)-channels21and22onthemoduleinslot100,channel22onthemoduleinslot200,andchannels21-22onthemoduleinslot300.

Notethatthechannelsmustbeoftheforms21ands22,wheresisthefirstdigitoftheslotnumber.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 855: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Forthe<resolution>parameter,youcansubstituteMINorMAXforanumericvalue.MINselectsthesmallestvalueaccepted,whichgivesthehighestresolution;MAXselectsthelargestvalueaccepted,whichgivestheleastresolution.

Theinstrumentwilldispatchasettingsconflicterrorifyouissuethiscommandwhen[SENSe:]CURRent:AC:RANGe:AUTO(ACresolution)or[SENSe:]CURRent:DC:RANGe:AUTO(DCresolution)isONforoneormoreofthespecifiedchannels.

Settingtheresolutionalsosetstheintegrationtimeforthemeasurement.Thefollowingtableshowstherelationshipbetweenintegrationtime,measurementresolution,numberofdigits,andnumberofbits.

IntegrationTime

Resolution Digits Bits

0.02PLC <0.0001xRange

4½Digits

15

0.2PLC <0.00001xRange

5½Digits

18

1PLC <0.000003xRange

5½Digits

20

2PLC <0.0000022xRange

6½Digits

21

10PLC <0.000001xRange

6½Digits

24

20PLC <0.0000008xRange

6½Digits

25

100PLC <0.0000003xRange

6½Digits

26

Page 856: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

200PLC <0.00000022xRange

6½Digits

26

Youcanalsosettheintegrationtimebyspecifyinganaperturetime(see[SENSe:]CURRent[:DC]:APERturecommand).However,notethatspecifyingintegrationtimeusingNPLCsexecutesfasterandoffersbetternoiserejectioncharacteristicsforvaluesofNPLCgreaterthan1.

TheCONFigure,MEASure?,[SENSe:]CURRent[:DC]:NPLC,and[SENSe:]CURRent[:DC]:RESolutioncommandsautomaticallydisabletheaperturemode(thesecommandsselectanintegrationtimeinNPLCs).

Theinstrumentsetstheresolutionto1PLCafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 857: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnstheresolutionintheform"+1.00000000E-04"foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 858: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsetsthemeasurementresolutionto0.01mAonchannels21and22inslot100.

CURR:DC:RES0.00001,(@121,122)

Thefollowingqueryreturnstheresolutionselectedonchannels21and22inslot100.

CURR:DC:RES?(@121,122)

CURR:DC:APER:ENAB?!Verifythataperturemodeis

disabled("0")

TypicalResponse:+1.00000000E-04,+1.00000000E-04

Page 859: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:CURRent:AC

CONFigure:CURRent:DC

[SENSe:]CURRent:AC:RANGe:AUTO

[SENSe:]CURRent:DC:RANGe:AUTO

[SENSe:]CURRent:DC:APERture

[SENSe:]CURRent:DC:NPLC

Page 860: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]CURRent:DC:APERtureSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 861: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]CURRent:DC:APERture{<time>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]CURRent:DC:APERture?[{(@<ch_list>)|MIN|MAX}]

Page 862: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandenablestheaperturemodeandsetstheintegrationtimeinseconds(calledaperturetime)forDCcurrentmeasurementsonthespecifiedchannels.Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

YoushouldusethiscommandonlywhenyouwantprecisecontroloftheintegrationtimeoftheinternalDMM.Otherwise,specifyingintegrationtimeusingNPLC(see[SENSe:]CURRent[:DC]:NPLCcommand)executesfasterandoffersbetterpowerlinenoiserejectioncharacteristicsforvaluesofNPLCgreaterthan1.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module(channels21and22only)

Page 863: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<time> Numeric Desiredaperturetimeinsecondsbetween400µsand1second,with4µsresolution.MIN=400µs,MAX=1second

Aperturedisabled.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@321)-channel21onthemoduleinslot300.

(@221:222)-channels21through22onthemoduleinslot200.

(@121:122,222,321:322)-channels21and22onthemoduleinslot100,channel22onthemoduleinslot200,andchannels21-22onthemoduleinslot300.

Notethatthechannelsmustbeoftheforms21ands22,wheresisthefirstdigitoftheslotnumber.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 864: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Forthe<seconds>parameter,youcansubstituteMINorMAXforanumericvalue.MINselectsthesmallestvalueaccepted,whichgivesthelowestresolution;MAXselectsthelargestvalueaccepted,whichgivesthehighestresolution.

Onlytheintegralnumberofpowerlinecycles(1,2,10,20,100,or200PLCs)providenormalmode(linefrequencynoise)rejection.

TheCONFigure,MEASure?,[SENSe:]CURRent[:DC]:NPLC,[SENSe:]CURRent[:DC]:RESolutioncommandsautomaticallydisabletheaperturemode(thesecommandsselectanintegrationtimeinNPLCs).

TheaperturemodeisdisabledafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 865: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnstheaperturetimeintheform"+1.00000000E-01"foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 866: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablestheaperturemodeandsetstheaperturetimeto300msonchannels21and22inslot100.

CURR:DC:APER300E-03,(@121,122)

Thefollowingqueryreturnstheaperturetimeselectedonchannels21and22inslot100.

CURR:DC:APER?(@121,12)CURR:DC:APER:ENAB?!Verify

thataperturemodeisenabled("1")

TypicalResponse:+3.00000000E-01,+3.00000000E-01

Page 867: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:CURRent:DC

[SENSe:]CURRent:DC:NPLC

Page 868: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]CURRent:DC:NPLCSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 869: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]CURRent:DC:NPLC{<PLCs>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]CURRent:DC:NPLC?[{(@<ch_list>)|MIN|MAX}]

Page 870: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandsetstheintegrationtimeinnumberofpowerlinecycles(PLCs)onthespecifiedchannels.Integrationtimeaffectsthemeasurementresolution(forbetterresolution,usealongerintegrationtime)andmeasurementspeed(forfastermeasurements,useashorterintegrationtime).Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 871: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<PLCs> Discrete 0.02|0.2|1|2|10|20|100|200}MIN=0.02PLC,MAX=200PLC

1PLC

<ch_list> ChannelList Oneormorechannels,

asshown:

(@321)-channel21onthemoduleinslot300.

(@221:222)-channels21through22onthemoduleinslot200.

(@121:122,222,321:322)-channels21and22onthemoduleinslot100,channel22onthemoduleinslot200,andchannels21-22onthemoduleinslot300.

Notethatthechannelsmustbeoftheforms21ands22,wheresisthefirstdigitoftheslotnumber.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 872: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Onlytheintegralnumberofpowerlinecycles(1,2,10,20,100,or200PLCs)providenormalmode(linefrequencynoise)rejection.

Settingtheresolutionalsosetstheintegrationtimeforthemeasurement.Thefollowingtableshowstherelationshipbetweenintegrationtime,measurementresolution,numberofdigits,andnumberofbits.

IntegrationTime

Resolution Digits Bits

0.02PLC <0.0001xRange

4½Digits

15

0.2PLC <0.00001xRange

5½Digits

18

1PLC <0.000003xRange

5½Digits

20

2PLC <0.0000022xRange

6½Digits

21

10PLC <0.000001xRange

6½Digits

24

20PLC <0.0000008xRange

6½Digits

25

100PLC <0.0000003xRange

6½Digits

26

200PLC <0.00000022xRange

6½Digits

26

TheNPLCcommandautomaticallyspecifies[SENSe:]ZERO:AUTOasOFFfor0.02to0.2PLCsandasONfor1PLCormore.

Page 873: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Thespecifiedintegrationtimeisusedforallmeasurementsontheselectedchannels.IfyouhaveappliedMx+Bscalingorhaveassignedalarmstotheselectedchannel,thosemeasurementsarealsomadeusingthespecifiedintegrationtime.MeasurementstakenduringtheMonitorfunctionalsousethespecifiedintegrationtime.

Youcanalsosettheintegrationtimebyspecifyinganaperturetime(see[SENSe:]CURRent[:DC]:APERturecommand).However,notethatspecifyingintegrationtimeusingNPLCsexecutesfasterandoffersbetternoiserejectioncharacteristicsforvaluesofNPLCgreaterthan1.

TheCONFigure,MEASure?,[SENSe:]CURRent[:DC]:NPLC,[SENSe:]CURRent[:DC]:RESolutioncommandsautomaticallydisabletheaperturemode(thesecommandsselectanintegrationtimeinNPLCs).

Theinstrumentsetstheintegrationtimeto1PLCafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 874: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnstheintegrationtimeintheform"+1.00000000E+00"foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 875: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsettheintegrationtimeto0.2PLCsonchannels21and22inslot100.

CURR:DC:NPLC0.2,(@121,122)

Thefollowingqueryreturnstheintegrationtimesettingsonchannels21and22inslot100.

CURR:DC:NPLC?(@121,122)

TypicalResponse:+2.00000000E-01,+2.00000000E-01

Page 876: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:CURRent:DC

[SENSe:]CURRent:DC:APERture

[SENSe:]CURRent:DC:RESolution

Page 877: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]DIGital:DATA:{BYTE|WORD}?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 878: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]DIGital:DATA:{BYTE|WORD}?(@<ch_list>)

Page 879: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryconfiguresthespecifiedchannelsasinputsandreadsan8-bitbyteora16-bitworddigitalpatternfromthespecifieddigitalinputchannels.

Page 880: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormoredigital

I/Ochannels,asshown:

(@301)-channel01onthemoduleinslot300.

(@101:102,201,302)-channels01and02onthemodulesonslot100,channel01onthemoduleinslot200,andchannel02onthemoduleinslot300.

Thisisarequiredparameter.

Page 881: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Toreadbothportssimultaneously(WORD),youmustsendthecommandtoport01(LSB)andneitherportcanbeincludedinthescanlist.

Thedigitalinputchannelsarenumbered"s01"(LSB)and"s02"(MSB),wheresisthefirstdigitoftheslotnumber.

Page 882: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

TheoutputfromthiscommandisaffectedbytheFORMat:READingcommands.

Page 883: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandreadsthevalueonchannel02ofthemoduleinslot100.

[SENSe:]DIGital:DATA:BYTE?(@102)

TypicalResponse:+100

Thefollowingcommandreadsthevalueonchannels01and02ofthemoduleinslot200.

[SENSe:]DIGital:DATA:WORD?(@201)

TypicalResponse:+32103

Page 884: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

Page 885: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]FREQuency:APERture[SENSe:]PERiod:APERtureSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 886: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]FREQuency:APERture{<seconds>|MIN|MAX}[,(@<ch_list>)][SENSe:]FREQuency:APERture?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]PERiod:APERture{<seconds>|MIN|MAX}[,(@<ch_list>)][SENSe:]PERiod:APERture?[{(@<ch_list>)|MIN|MAX}]

Page 887: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thesecommandsselecttheaperturetime(alsocalledgatetime)forfrequencyandperiodmeasurementsonthespecifiedchannels.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 888: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<seconds> DiscreteDesiredgatetimeinseconds:

10ms(4½digits,MIN)

100ms(5½digits)

1second(6½digits,MAX)

100ms

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 889: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Forthe<seconds>parameter,youcansubstituteMINorMAXforanumericvalue.MINselectsthesmallestvalueaccepted,whichgivesthelowestresolution;MAXselectsthelargestvalueaccepted,whichgivesthehighestresolution.

Becausefrequencyandperiodarerelatedfunctions,changingameasurementparameterforonefunctionwillalsochangethecorrespondingparameterfortheotherfunction.

Theinstrumentsetstheaperturetimeto100msafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 890: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnstheaperturetimeintheform"+1.00000000E-01"foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 891: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsetsthegatetimeto10msonchannels03and13inslot100.

YoucansubstitutethenodenamePERiodwherethenodenameFREQappearsbelow.

FREQ:APER10E-03,(@103,113)

Thefollowingqueryreturnsthegatetimeselectedonchannels03and13inslot100.

FREQ:APER?(@103,113)

TypicalResponse:+1.00000000E-02,+1.00000000E-02

Page 892: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:FREQuency

CONFigure:PERiod

Page 893: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]FREQuency:RANGe:LOWerSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 894: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]FREQuency:RANGe:LOWer{<frequency>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]FREQuency:RANGe:LOWer?[{(@<ch_list>)|MIN|MAX}]

Page 895: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Theinstrumentusesthreedifferenttimeoutrangesforfrequencymeasurements.Theinstrumentselectstheslow(3Hz),medium(20Hz),orfast(200Hz)measurementtimeoutbasedontheinputfrequencythatyouspecifywiththiscommandfortheselectedchannels.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 896: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<frequency> Numeric Anintegerfrom3to300,000.

Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 897: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Appliestofrequencymeasurementsonly.

Forthe<frequency>parameter,specifythelowestfrequencyexpectedintheinputsignalonthespecifiedchannels.Theinstrumentselectstheappropriatemeasurementtimeoutbasedonthefrequencyyouspecify.Attemptstomeasurefrequenciesbelowthespecifiedlimitmayfalselyreturnavalueof0.

InputFrequency Timeout

3Hzto300kHz(Slow)

1second

20Hzto300kHz(Medium)

100ms

200Hzto300kHz(Fast)

10ms

TheCONFigureandMEASure?commandsautomaticallyselectthe20Hz(medium)timeout.

Theinstrumentselectsthemediumtimeout(20Hz)afteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 898: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns3.0000000(slow),2.0000000E+1(medium),or2.0000000E+2(fast).

Page 899: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Foreachofthecommandsshownbelow,youcouldusethenodenamePERiodinplaceoftheFREQnodename.

Thefollowingcommandselectstheslowfilter(3Hz).

FREQ:RANG:LOW3

Thefollowingqueryreturnsthetimeoutsetting.

FREQ:RANG:LOW?

TypicalResponse:3.0000000

Page 900: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:FREQuency

CONFigure:PERiod

Page 901: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]FREQuency:VOLTage:RANGe[SENSe:]PERiod:VOLTage:RANGeSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 902: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]FREQuency:VOLTage:RANGe{<range>|MIN|MAX}[,(@<ch_list>)][SENSe:]FREQuency:VOLTage:RANGe?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]PERiod:VOLTage:RANGe{<range>|MIN|MAX}[,(@<ch_list>)][SENSe:]PERiod:VOLTage:RANGe?[{(@<ch_list>)|MIN|MAX}]

Page 903: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thesecommandsselectthevoltagerangeforfrequencyandperiodmeasurementsonthespecifiedchannels.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 904: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<range> DiscreteDesiredrangeinvolts:

100mV(MIN)1V10V100V1000V(MAX)

Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 905: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Selectingadiscreterangewilldisableautorangingonthespecifiedchannels.

Iftheinputsignalisgreaterthancanbemeasuredontheselectedrange(manualranging),theinstrumentgivesanoverloadindication:"±OVLD"fromthefrontpanelor"±9.9E+37"fromtheremoteinterface.

TheCONFigureandMEASure?commandsautomaticallyenableautorangingifthefirstparameterisAUTO,DEForomitted.

Becausefrequencyandperiodarerelatedfunctions,changingameasurementparameterforonefunctionwillalsochangethecorrespondingparameterfortheotherfunction.

TheinstrumentenablesautorangingafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 906: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthevoltagerangeintheform"+1.00000000E+01".

Page 907: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandselectsthe10voltrangeforfrequencymeasurements.

FREQ:VOLT:RANG10

Thefollowingqueryreturnsthevoltagerangeselected.

FREQ:VOLT:RANG?

TypicalResponse:+1.00000000E+01

Page 908: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:FREQuency

CONFigure:PERiod

[SENSe:]FREQuency:VOLTage:RANGe:AUTO

[SENSe:]PERiod:VOLTage:RANGe:AUTO

Page 909: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]FREQuency:VOLTage:RANGe:AUTO[SENSe:]PERiod:VOLTage:RANGe:AUTOSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 910: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]FREQuency:VOLTage:RANGe:AUTO<state>[,(@<ch_list>)][SENSe:]FREQuency:VOLTage:RANGe:AUTO?[(@<ch_list>)]

[SENSe:]PERiod:VOLTage:RANGe:AUTO<state>[,(@<ch_list>)][SENSe:]PERiod:VOLTage:RANGe:AUTO?[(@<ch_list>)]

Page 911: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thesecommandsdisableorenablevoltageautorangingforfrequencyandperiodmeasurementsonthespecifiedchannels.Autorangingisconvenientbecausetheinstrumentautomaticallyselectstherangeforeachmeasurementbasedontheinputsignaldetected.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 912: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<mode> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 913: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Autorangethresholds:Downrangeat:<10%ofrangeUprangeat:>120%ofrange

Withautorangingenabled,theinstrumentselectsoneofthefollowingrangesbasedontheinputsignaldetected:

100mV1V10V100V300V

Selectingadiscreterange(see[SENSe:]FREQuency:VOLTage:RANGecommand)willdisableautorangingonthespecifiedchannels.

TheCONFigureandMEASure?commandsautomaticallyenableautorangingifthefirstparameterisAUTO,DEForomitted.

Becausefrequencyandperiodarerelatedfunctions,changingameasurementparameterforonefunctionwillalsochangethecorrespondingparameterfortheotherfunction

TheinstrumentenablesautorangingafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 914: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON).

Page 915: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommanddisablesautoranging.

FREQ:VOLT:RANG:AUTOOFF

Thefollowingqueryreturnstheautorangingsetting.

FREQ:VOLT:RANG:AUTO?

TypicalResponse:0

Page 916: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:FREQuency

CONFigure:PERiod

[SENSe:]FREQuency:VOLTage:RANGe

[SENSe:]PERiod:VOLTage:RANGe

Page 917: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]RESistance:APERture[SENSe:]FRESistance:APERtureSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 918: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]RESistance:APERture{<time>|MIN|MAX}[,(@<ch_list>)][SENSe:]RESistance:APERture?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]FRESistance:APERture{<time>|MIN|MAX}[,(@<ch_list>)][SENSe:]FRESistance:APERture?[{(@<ch_list>)|MIN|MAX}]

Page 919: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thesecommandsenabletheaperturemodeandsettheintegrationtime(<aperture_time>)insecondsfor2-wire(RESistance)and4-wire(FRESistance)resistancemeasurementsonthespecifiedchannels.

YoushouldusethiscommandonlywhenyouwantprecisecontroloftheintegrationtimeoftheinternalDMM.Otherwise,specifyingintegrationtimeusingNPLC(see[SENSe:]RESistance:NPLCcommand)executesfasterandoffersbetterpowerlinenoiserejectioncharacteristicsforvaluesofNPLCgreaterthan1.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule(RESistanceonly;notFRESistance)

Page 920: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<aperture_time> Numeric Anumberofseconds,from0.0004to4.

Thisisarequiredparameter.Youmustspecifythetime,orMINorMAX.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 921: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Forthe<seconds>parameter,youcansubstituteMINorMAXforanumericvalue.MINselectsthesmallestvalueaccepted,whichgivesthelowestresolution;MAXselectsthelargestvalueaccepted,whichgivesthehighestresolution.

Because2-wireand4-wireresistancearerelatedfunctions,changingameasurementparameterforonefunctionwillalsochangethecorrespondingparameterfortheotherfunction(see[SENSe:]FRESistance:APERturecommand).

For4-wireresistancemeasurements,theinstrumentautomaticallypairschannelninBank1withchanneln+10inBank2(34901A)orn+8(34902A)toprovidethesourceandsenseconnections.Forexample,makethesourceconnectionstotheHIandLOterminalsonchannel02inBank1andthesenseconnectionstotheHIandLOterminalsonchannel12(34901A)or10(34902A)inBank2.SpecifythepairedchannelinBank1(source)asthe<ch_list>channel(channelsinBank2arenotallowedinthe<ch_list>).

Onlytheintegralnumberofpowerlinecycles(1,2,10,20,100,or200PLCs)providenormalmode(linefrequencynoise)rejection.

TheCONFigure,MEASure?,[SENSe:]RESistance:NPLC,[SENSe:]RESistance:RESolution,[SENSe:]FRESistance:NPLC,and[SENSe:]FRESistance:RESolutioncommandsdisabletheaperturemode(thesecommandsselectanintegrationtimeinnumberofpowerlinecycles).

TheaperturemodeisdisabledafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 922: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnstheaperturetimeintheform"+1.00000000E-01"foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 923: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Ineachofthefollowingexamples,youcouldreplacethenodenameFRESwithRESistance.

Thefollowingcommandenablestheaperturemodeandsetstheaperturetimeto300msonchannels03and13inslot100.Forthis4-wiremeasurement,theinstrumentautomaticallypairsthesechannelsinBank1withthecorrespondingchannelsinBank2.

FRES:APER300E-03,(@103,113)

Thefollowingqueryreturnstheaperturetimeselectedonchannels03and13inslot100.

FRES:APER?(@103,113)

FRES:APER:ENAB?!Verifythataperturemodeis

enabled("1")

TypicalResponse:+3.00000000E-01,+3.00000000E-01

Page 924: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:FRESistance

CONFigure:RESistance

[SENSe:]FRESistance:NPLC

[SENSe:]RESistance:NPLC

Page 925: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]RESistance:NPLC[SENSe:]FRESistance:NPLCSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 926: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]RESistance:NPLC{<PLCs>|MIN|MAX}[,(@<ch_list>)][SENSe:]RESistance:NPLC?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]FRESistance:NPLC{<PLCs>|MIN|MAX}[,(@<ch_list>)][SENSe:]FRESistance:NPLC?[{(@<ch_list>)|MIN|MAX}]

Page 927: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thesecommandssettheintegrationtimeinnumberofpowerlinecycles(PLCs)onthespecifiedchannels.Integrationtimeaffectsthemeasurementresolution(forbetterresolution,usealongerintegrationtime)andmeasurementspeed(forfastermeasurements,useashorterintegrationtime).

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule(RESistanceonly;notFRESistance)

Page 928: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<PLCs> Discrete {0.02|0.2|1|2|10|20|100|200|MIN|MAX} Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 929: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Onlytheintegralnumberofpowerlinecycles(1,2,10,20,100,or200PLCs)providenormalmode(linefrequencynoise)rejection.

Because2-wireand4-wireresistancearerelatedfunctions,changingameasurementparameterforonefunctionwillalsochangethecorrespondingparameterfortheotherfunction.

For4-wireresistancemeasurements,theinstrumentautomaticallypairschannelninBank1withchanneln+10inBank2(34901A)orn+8(34902A)toprovidethesourceandsenseconnections.Forexample,makethesourceconnectionstotheHIandLOterminalsonchannel02inBank1andthesenseconnectionstotheHIandLOterminalsonchannel12(34901A)or10(34902A)inBank2.SpecifythepairedchannelinBank1(source)asthe<ch_list>channel(channelsinBank2arenotallowedinthe<ch_list>).

Settingtheresolutionalsosetstheintegrationtimeforthemeasurement.Thefollowingtableshowstherelationshipbetweenintegrationtime,measurementresolution,numberofdigits,andnumberofbits.

IntegrationTime

Resolution Digits Bits

0.02PLC <0.0001xRange

4½Digits

15

0.2PLC <0.00001xRange

5½Digits

18

1PLC <0.000003xRange

5½Digits

20

2PLC <0.0000022xRange

6½Digits

21

10PLC <0.000001x 6½ 24

Page 930: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Range Digits

20PLC <0.0000008xRange

6½Digits

25

100PLC <0.0000003xRange

6½Digits

26

200PLC <0.00000022xRange

6½Digits

26

Thespecifiedintegrationtimeisusedforallmeasurementsontheselectedchannels.IfyouhaveappliedMx+Bscalingorhaveassignedalarmstotheselectedchannel,thosemeasurementsarealsomadeusingthespecifiedintegrationtime.MeasurementstakenduringtheMonitorfunctionalsousethespecifiedintegrationtime.

Youcanalsosettheintegrationtimebyspecifyinganaperturetime(see[SENSe:]RESistance:APERturecommand).However,notethatspecifyingintegrationtimeusingNPLCsexecutesfasterandoffersbetternoiserejectioncharacteristicsforvaluesofNPLCgreaterthan1.

TheCONFigure,MEASure?,[SENSe:]RESistance:NPLC,[SENSe:]FRESistance:NPLC,[SENSe:]RESistance:RESolution,and[SENSe:]FRESistance:RESolutioncommandsdisabletheaperturemode(thesecommandsselectanintegrationtimeinnumberofpowerlinecycles).

Theinstrumentsetstheintegrationtimeto1PLCafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 931: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnstheintegrationtimeintheform"+1.00000000E+00"foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 932: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Ineachofthefollowingexamples,youcouldreplacethenodenameFRESwithRESistance.

Thefollowingcommandsettheintegrationtimeto0.2PLCsonchannels03and13inslot100.Forthis4-wiremeasurement,theinstrumentautomaticallypairsthesechannelsinBank1withthecorrespondingchannelsinBank2.

FRES:NPLC0.2,(@103,113)

Thefollowingqueryreturnstheintegrationtimesettingsonchannels03and13inslot100.

FRES:NPLC?(@103,113)

FRES:APER:ENAB?!Verifythataperturemodeis

disabled("0")

TypicalResponse:+2.00000000E-01,+2.00000000E-01

Page 933: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

[SENSe:]RESistance:APERture

[SENSe:]FRESistance:APERture

[SENSe:]RESistance:RESolution

[SENSe:]FRESistance:RESolution

Page 934: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]RESistance:OCOMpensated[SENSe:]FRESistance:OCOMpensatedSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 935: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]RESistance:OCOMpensated<state>[,(@<ch_list>)][SENSe:]RESistance:OCOMpensated?[(@<ch_list>)]

[SENSe:]FRESistance:OCOMpensated<state>[,(@<ch_list>)][SENSe:]FRESistance:OCOMpensated?[(@<ch_list>)]

Page 936: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

OffsetcompensationremovestheeffectsofanyDCvoltagesinthecircuitbeingmeasured.Thetechniqueinvolvestakingthedifferencebetweentworesistancemeasurementsonthespecifiedchannels,onewiththecurrentsourceturnedonandonewiththecurrentsourceturnedoff.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule(RESistanceonly;notFRESistance)

Page 937: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<state> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

ThefactorydefaultvalueisOFF.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 938: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Turningoffsetcompensationonwilldoublemeasurementtime.

Onceenabled,offsetcompensationisappliedtoboth2-wireand4-wireresistancemeasurementsonthespecifiedchannels.

Because2-wireand4-wireresistancearerelatedfunctions,changingameasurementparameterforonefunctionwillalsochangethecorrespondingparameterfortheotherfunction.

For4-wireresistancemeasurements,theinstrumentautomaticallypairschannelninBank1withchanneln+10inBank2(34901A)orn+8(34902A)toprovidethesourceandsenseconnections.Forexample,makethesourceconnectionstotheHIandLOterminalsonchannel02inBank1andthesenseconnectionstotheHIandLOterminalsonchannel12(34901A)or10(34902A)inBank2.SpecifythepairedchannelinBank1(source)asthe<ch_list>channel(channelsinBank2arenotallowedinthe<ch_list>).

TheCONFigureandMEASure?commandsautomaticallydisableoffsetcompensation.

TheinstrumentdisablesoffsetcompensationafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 939: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON)foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 940: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Ineachofthefollowingexamples,youcanreplacethenodenameRESwithFRES.

Thefollowingcommandenablesoffsetcompensationonchannels3and13inslot100.

RES:OCOMON,(@103,113)

Thefollowingqueryreturnstheoffsetcompensationsettingsonchannels03and13inslot100.

RES:OCOM?(@103,113)

TypicalResponse:1,1

Page 941: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:RESistance

CONFigure:RESistance

Page 942: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]RESistance:RANGe[SENSe:]FRESistance:RANGeSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 943: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]RESistance:RANGe{<range>|MIN|MAX}[,(@<ch_list>)][SENSe:]RESistance:RANGe?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]FRESistance:RANGe{<range>|MIN|MAX}[,(@<ch_list>)][SENSe:]FRESistance:RANGe?[{(@<ch_list>)|MIN|MAX}]

Page 944: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandselectsthemeasurementrangefor2-wire(RESistance)and4-wire(FRESistance)resistancemeasurementsonthespecifiedchannels.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule(RESistanceonly;notFRESistance)

Page 945: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<range> DiscreteDesiredrangeinohms:

100Ω(MIN)1kΩ10kΩ100kΩ1MΩ10MΩ100MΩ(MAX)

Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 946: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Selectingadiscreterangewilldisableautorangingonthespecifiedchannels(see[SENSe:]RESistance:RANGe:AUTOcommand).

Because2-wireand4-wireresistancearerelatedfunctions,changingameasurementparameterforonefunctionwillalsochangethecorrespondingparameterfortheotherfunction(see[SENSe:]RESistance:RANGecommand).

TheCONFigureandMEASure?commandsautomaticallyenableautorangingifthefirstparameterisAUTO,DEForomitted.

Iftheinputsignalisgreaterthancanbemeasuredontheselectedrange(manualranging),theinstrumentgivesanoverloadindication:"±OVLD"fromthefrontpanelor"±9.9E+37"fromtheremoteinterface.

For4-wireresistancemeasurements,theinstrumentautomaticallypairschannelninBank1withchanneln+10inBank2(34901A)orn+8(34902A)toprovidethesourceandsenseconnections.Forexample,makethesourceconnectionstotheHIandLOterminalsonchannel02inBank1andthesenseconnectionstotheHIandLOterminalsonchannel12(34901A)or10(34902A)inBank2.SpecifythepairedchannelinBank1(source)asthe<ch_list>channel(channelsinBank2arenotallowedinthe<ch_list>).

TheinstrumentenablesautorangingafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 947: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnstherangeintheform"+1.00000000E+03"foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 948: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Inthefollowingexamples,youcansusbstitutethenodenameRESforFRES.

Thefollowingcommandselectsthe10kΩrangeonchannels03and13inslot100.Forthis4-wiremeasurement,theinstrumentautomaticallypairsthesechannelsinBank1withthecorrespondingchannelsinBank2.

FRES:RANG10E+3,(@103,113)

Thefollowingqueryreturnstherangeselectedonchannels03and13inslot100.

FRES:RANG?(@103,113)

TypicalResponse:+1.00000000E+04,+1.00000000E+04

Page 949: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:FRESistance

CONFigure:RESistance

[SENSe:]FRESistance:RANGe:AUTO

[SENSe:]RESistance:RANGe:AUTO

Page 950: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]RESistance:RANGe:AUTO[SENSe:]FRESistance:RANGe:AUTOSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 951: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]RESistance:RANGe:AUTO<state>[,(@<ch_list>)][SENSe:]RESistance:RANGe:AUTO?[(@<ch_list>)]

[SENSe:]FRESistance:RANGe:AUTO<state>[,(@<ch_list>)][SENSe:]FRESistance:RANGe:AUTO?[(@<ch_list>)]

Page 952: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommanddisablesorenablesautorangingfor2-wire(RESistance)or4-wire(FRESistance)resistancemeasurementsonthespecifiedchannels.Autorangingisconvenientbecausetheinstrumentautomaticallyselectstherangeforeachmeasurementbasedontheinputsignaldetected.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule(RESistanceonly;notFRESistance)

Page 953: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<state> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

ThefactorydefaultvalueisON.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 954: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

For4-wireresistancemeasurements,theinstrumentautomaticallypairschannelninBank1withchanneln+10inBank2(34901A)orn+8(34902A)toprovidethesourceandsenseconnections.Forexample,makethesourceconnectionstotheHIandLOterminalsonchannel02inBank1andthesenseconnectionstotheHIandLOterminalsonchannel12(34901A)or10(34902A)inBank2.SpecifythepairedchannelinBank1(source)asthe<ch_list>channel(channelsinBank2arenotallowedinthe<ch_list>).

Because2-wireand4-wireresistancearerelatedfunctions,changingameasurementparameterforonefunctionwillalsochangethecorrespondingparameterfortheotherfunction.

Autorangethresholds:Downrangeat:<10%ofrangeUprangeat:>120%ofrange

Withautorangingenabled,theinstrumentselectsoneofthefollowingrangesbasedontheinputsignaldetected:

100Ω1kΩ10kΩ100kΩ1MΩ10MΩ100MΩ

Selectingadiscreterange(see[SENSe:]RESistance:RANGecommand)willdisableautorangingonthespecifiedchannels.

TheCONFigureandMEASure?commandsautomaticallyenableautorangingifthefirstparameterisAUTO,DEForomitted.

TheinstrumentenablesautorangingafteraFactoryReset(*RST

Page 955: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

command).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 956: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON)foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 957: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Inthefollowingexamples,youcansubstitutethenodenameRESforFRES.

Thefollowingcommanddisablesautorangingonchannels03and13inslot100.Forthis4-wiremeasurement,theinstrumentautomaticallypairsthesechannelsinBank1withthecorrespondingchannelsinBank2.

FRES:RANG:AUTOOFF,(@103,113)

Thefollowingqueryreturnstheautorangingsettingsonchannels03and13inslot100.

FRES:RANG:AUTO?(@103,113)

TypicalResponse:0,0

Page 958: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:FRESistance

CONFigure:RESistance

[SENSe:]FRESistance:RANGe

[SENSe:]RESistance:RANGe

Page 959: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]RESistance:RESolution[SENSe:]FRESistance:RESolutionSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 960: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]RESistance:RESolution{<resolution>|MIN|MAX}[,(@<ch_list>)][SENSe:]RESistance:RESolution?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]FRESistance:RESolution{<resolution>|MIN|MAX}[,(@<ch_list>)][SENSe:]FRESistance:RESolution?[{(@<ch_list>)|MIN|MAX}]

Page 961: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thesecommandsselectthemeasurementresolutionfor2-wire(RESistance)and4-wire(FRESistance)resistancemeasurementsonthespecifiedchannels.Specifytheresolutioninthesameunitsastheselectedmeasurementfunction,notinnumberofdigits.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule(RESistanceonly;notFRESistance)

Page 962: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<resolution> Numeric Desiredresolutioninohms 0.000003xRange(1PLC)

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 963: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

For4-wireresistancemeasurements,theinstrumentautomaticallypairschannelninBank1withchanneln+10inBank2(34901A)orn+8(34902A)toprovidethesourceandsenseconnections.Forexample,makethesourceconnectionstotheHIandLOterminalsonchannel02inBank1andthesenseconnectionstotheHIandLOterminalsonchannel12(34901A)or10(34902A)inBank2.SpecifythepairedchannelinBank1(source)asthe<ch_list>channel(channelsinBank2arenotallowedinthe<ch_list>).

Forthe<resolution>parameter,youcansubstituteMINorMAXforanumericvalue.MINselectsthesmallestvalueaccepted,whichgivesthehighestresolution;MAXselectsthelargestvalueaccepted,whichgivestheleastresolution.

Theinstrumentwilldispatchasettingsconflicterrorifyouissuethiscommandwhen[SENSe:]CURRent:DC:RANGe:AUTOisONforoneormoreofthespecifiedchannels.

Because2-wireand4-wireresistancearerelatedfunctions,changingameasurementparameterforonefunctionwillalsochangethecorrespondingparameterfortheotherfunction.

Settingtheresolutionalsosetstheintegrationtimeforthemeasurement.Thefollowingtableshowstherelationshipbetweenintegrationtime,measurementresolution,numberofdigits,andnumberofbits.

IntegrationTime

Resolution Digits Bits

0.02PLC <0.0001xRange

4½Digits

15

0.2PLC <0.00001xRange

5½Digits

18

Page 964: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

1PLC <0.000003xRange

5½Digits

20

2PLC <0.0000022xRange

6½Digits

21

10PLC <0.000001xRange

6½Digits

24

20PLC <0.0000008xRange

6½Digits

25

100PLC <0.0000003xRange

6½Digits

26

200PLC <0.00000022xRange

6½Digits

26

Youcanalsosettheintegrationtimebyspecifyinganaperturetime(see[SENSe:]RESistance:APERturecommand).However,notethatspecifyingintegrationtimeusingNPLCsexecutesfasterandoffersbetternoiserejectioncharacteristicsforvaluesofNPLCgreaterthan1.

TheCONFigure,MEASure?,[SENSe:]RESistance:NPLC,[SENSe:]RESistance:NPLC,[SENSe:]RESistance:RESolution,and[SENSe:]FRESistance:RESolutioncommandsdisabletheaperturemode(thesecommandsselectanintegrationtimeinnumberofpowerlinecycles).

Theinstrumentsetstheresolutionto1PLCafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 965: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnstheresolutionintheform"+1.00000000E+02"foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 966: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Inthefollowingcommands,youcansubstitutethenodenameRES:FRESforRES:RES.

Thefollowingcommandsetsthemeasurementresolutionto100Ωonchannels03and13inslot100.

RES:RES100,(@103,113)

Thefollowingqueryreturnstheresolutionselectedonchannels03and13inslot100.

RES:RES?(@103,113)

RES:APER:ENAB?!Verifythataperturemodeis

disabled("0")

TypicalResponse:+1.00000000E+02,+1.00000000E+02

Page 967: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:FRESistance

CONFigure:RESistance

[SENSe:]FRESistance:APERture

[SENSe:]RESistance:APERture

[SENSe:]FRESistance:NPLC

[SENSe:]RESistance:NPLC

Page 968: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]FUNCtionSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 969: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]FUNCtion"<function>"[,(@<ch_list>)]

[SENSe:]FUNCtion?[(@<ch_list>)]

Page 970: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Selectthemeasurementfunctiononthespecifiedchannels.Thefunctionnamemustbeenclosedinquotesinthecommandstring(forexample,FUNC"VOLT:DC").

Page 971: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<function> Discrete{TEMPerature|VOLTage[:DC]|VOLTage:AC|RESistance|FRESistance|CURRent[:DC]|CURRent:AC|FREQuency|PERiod}

Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 972: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thiscommandisnotavailableondigitalcards.

Notethatwhenyouchangethemeasurementfunctiononachannel,alloftheothermeasurementattributes(range,resolution,etc.)aresettotheirdefaultvalues.

Youcannotsetanyfunction-specificmeasurementattributesunlessthechannelisalreadyconfiguredforthatfunction.Forexample,youcannotsettheACfilterunlessthatchannelisalreadyconfiguredforACvoltageorACcurrentmeasurements.

Page 973: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsaquotedstringindicatingtheshortformofthefunctionname(example:"VOLT")oneachchannel.Multiplechannelsareseparatedbycommas.

Page 974: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsspecifyfunctionsforthechannelsshown.

FUNC"TEMPerature",(@301)

FUNC"FREQuency",(@204)

Thefollowingqueryreturnsthefunctionsspecifiedforthechannelsshown.

FUNC?(@204,301)

Typicalresponse:"FREQ","TEMP"

Page 975: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

Page 976: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TEMPerature:APERtureSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 977: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]TEMPerature:APERture{<seconds>|MIN|MAX|DEF}[,(@<ch_list>)]

[SENSe:]TEMPerature:APERture?[{(@<ch_list>)|MIN|MAX}]

Page 978: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandenablestheaperturemodeandsetstheintegrationtimeinseconds(calledaperturetime)fortemperaturemeasurementsonthespecifiedchannels.

YoushouldusethiscommandonlywhenyouwantprecisecontroloftheintegrationtimeoftheinternalDMM.Otherwise,specifyingintegrationtimeusingNPLC(see[SENSe:]TEMPerature:NPLCcommand)executesfasterandoffersbetternoiserejectioncharacteristicsforvaluesofNPLCgreaterthan1.

Thefollowingtableshowswhichtemperaturetransducersaresupportedbyeachofthemultiplexermodules.

Module Thermocouple RTD2-

Wire

RTD4-

Wire

Thermistor

34901AArmatureMultiplexer

Yes Yes Yes Yes

34902AReedMultiplexer

Yes Yes Yes Yes

34908AArmature

NotRecommended1

Yes No Yes

Page 979: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Multiplexer(1-Wire)

1Withaone-wiremultiplexer,evenverysmallgroundcurrentscanintroducesubstantialmeasurementerror.

Page 980: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<seconds> Numeric Desiredaperturetimeinsecondsbetween400µsand1second,with4µsresolution.MIN=400µs,MAX=1second

Aperturedisabled.

<ch_list> Numeric Oneormorechannelsintheform(@scc).

If<ch_list>isomitted,thiscommandappliestothecurrentscanlist.

Page 981: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Forthe<seconds>parameter,youcansubstituteMINorMAXforanumericvalue.MINselectsthesmallestvalueaccepted,whichgivesthelowestresolution;MAXselectsthelargestvalueaccepted,whichgivesthehighestresolution.

Onlytheintegralnumberofpowerlinecycles(1,2,10,20,100,or200PLCs)providenormalmode(linefrequencynoise)rejection.

TheCONFigure,MEASure?,and[SENSe:]TEMPerature:NPLCcommandsdisabletheaperturemode(thesecommandsselectanintegrationtimeinnumberofpowerlinecycles).

TheaperturemodeisdisabledafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 982: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequerycommandreturnstheaperturetimeintheform"+1.00000000E-01"foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 983: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablestheaperturemodeandsetstheaperturetimeto400msonchannels03and13inslot100.

TEMP:APER400E-03,(@103,113)

Thefollowingqueryreturnstheaperturetimeselectedonchannels03and13inslot100.

TEMP:APER?(@103,113)

Typicalresponse:+4.00000000E-01,+4.00000000E-01

Page 984: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:TEMPerature

[SENSe:]TEMPerature:NPLC

Page 985: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TEMPerature:NPLCSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 986: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]TEMPerature:NPLC{<PLCs>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]TEMPerature:NPLC?[{(@<ch_list>)|MIN|MAX}]

Page 987: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandsetstheintegrationtimeinnumberofpowerlinecycles(PLCs)onthespecifiedchannels.Integrationtimeaffectsthemeasurementresolution(forbetterresolution,usealongerintegrationtime)andmeasurementspeed(forfastermeasurements,useashorterintegrationtime).

Thefollowingtableshowswhichtemperaturetransducersaresupportedbyeachofthemultiplexermodules.

Module Thermocouple RTD2-

Wire

RTD4-

Wire

Thermistor

34901AArmatureMultiplexer

Yes Yes Yes Yes

34902AReedMultiplexer

Yes Yes Yes Yes

34908AArmatureMultiplexer(1-Wire)

NotRecommended1

Yes No Yes

1Withaone-wiremultiplexer,evenverysmallgroundcurrentscanintroducesubstantialmeasurementerror.

Page 988: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<PLCs> Discrete {0.02|0.2|1|2|10|20|100|200}MIN=0.02PLC,MAX=200PLC

1PLC

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 989: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Onlytheintegralnumberofpowerlinecycles(1,2,10,20,100,or200PLCs)providenormalmode(linefrequencynoise)rejection.

Settingtheresolutionalsosetstheintegrationtimeforthemeasurement.Thefollowingtableshowstherelationshipbetweenintegrationtime,measurementresolution,numberofdigits,andnumberofbits.

IntegrationTime

Resolution Digits Bits

0.02PLC <0.0001xRange

4½Digits

15

0.2PLC <0.00001xRange

5½Digits

18

1PLC <0.000003xRange

5½Digits

20

2PLC <0.0000022xRange

6½Digits

21

10PLC <0.000001xRange

6½Digits

24

20PLC <0.0000008xRange

6½Digits

25

100PLC <0.0000003xRange

6½Digits

26

200PLC <0.00000022xRange

6½Digits

26

Thespecifiedintegrationtimeisusedforallmeasurementsontheselectedchannels.IfyouhaveappliedMx+Bscalingorhaveassignedalarmstotheselectedchannel,thosemeasurementsare

Page 990: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

alsomadeusingthespecifiedintegrationtime.MeasurementstakenduringtheMonitorfunctionalsousethespecifiedintegrationtime.

Youcanalsosettheintegrationtimebyspecifyinganaperturetime(see[SENSe:]TEMPerature:APERturecommand).However,notethatspecifyingintegrationtimeusingNPLCsexecutesfasterandoffersbetternoiserejectioncharacteristicsforvaluesofNPLCgreaterthan1.

TheCONFigure,MEASure?,and[SENSe:]TEMPerature:NPLCcommandsdisabletheaperturemode(thesecommandsselectanintegrationtimeinnumberofpowerlinecycles).

Theinstrumentsetstheintegrationtimeto1PLCafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 991: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnstheintegrationtimeintheform"+1.00000000E+00"foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 992: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsettheintegrationtimeto0.2PLCsonchannels03and13inslot100.

TEMP:NPLC0.2,(@103,113)

Thefollowingqueryreturnstheintegrationtimesettingsonchannels03and13inslot100.

TEMP:NPLC?(@103,113)

TEMP:APER:ENAB?!Verifythataperturemodeis

disabled("0")

TypicalResponse:+2.00000000E-01,+2.00000000E-01

Page 993: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:TEMPerature

Page 994: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TEMPerature:RJUNction?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 995: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]TEMPerature:RJUNction?[(@<ch_list>)]

Page 996: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreturnsheinternalreferencejunctiontemperatureonthespecifiedchannels.Thisisusefulonlyforaninternalreferencesource).

Page 997: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 998: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

RemarksThisqueryreturnsthereferencetemperatureindegreesCelsius,regardlessofthetemperatureunitscurrentlyselected(seeUNIT:TEMPeraturecommand).

Page 999: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsanumberintheform+2.89753100E+01.

Page 1000: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnsthetemperatureoftheinternalreferencejunctiononchannels03,04,and05inslot200.

TEMP:RJUN?(@203:205)!Alwaysreturnsresultin

degreesCelsius

TypicalResponse:+2.35212231E+01,+2.37701293E+01,+2.38291321E+01

Page 1001: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

Page 1002: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TEMPerature:TRANsducer:RTD:OCOMpensated[SENSe:]TEMPerature:TRANsducer:FRTD:OCOMpensatedSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1003: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

Syntax

[SENSe:]TEMPerature:TRANsducer:RTD:OCOMpensated<mode>[,(@<ch_list>)][SENSe:]TEMPerature:TRANsducer:RTD:OCOMpensated?[(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:FRTD:OCOMpensated<mode>[,(@<ch_list>)][SENSe:]TEMPerature:TRANsducer:FRTD:OCOMpensated?[(@<ch_list>)]

Page 1004: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

OffsetcompensationremovestheeffectsofanyDCvoltagesinthecircuitbeingmeasured.Thetechniqueinvolvestakingthedifferencebetweentworesistancemeasurementsonthespecifiedchannels,onewiththecurrentsourceturnedonandonewiththecurrentsourceturnedoff.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule(RTDonly;notFRTD)

Page 1005: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<mode> Boolean {OFF|0|ON|1} OFF|0

<ch_list> NumericOneormorechannels,asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

If<ch_list>isomitted,thiscommandappliestothecurrentscanlist.

Page 1006: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thiscommandappliesonlyto2-wireand4-wireRTDmeasurementsonthe100Ω,1kΩ,and10kΩranges.Onceenabled,offsetcompensationisappliedtoboth2-wireand4-wireRTDmeasurementsonthespecifiedchannels.

Because2-wireand4-wireresistancearerelatedfunctions,changingameasurementparameterforonefunctionwillalsochangethecorrespondingparameterfortheotherfunction.

For4-wireresistancemeasurements,theinstrumentautomaticallypairschannelninBank1withchanneln+10inBank2(34901A)orn+8(34902A)toprovidethesourceandsenseconnections.Forexample,makethesourceconnectionstotheHIandLOterminalsonchannel02inBank1andthesenseconnectionstotheHIandLOterminalsonchannel12(34901A)or10(34902A)inBank2.SpecifythepairedchannelinBank1(source)asthe<ch_list>channel(channelsinBank2arenotallowedinthe<ch_list>).

TheinstrumentdisablesoffsetcompensationafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 1007: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequerycommandreturns"0"(OFF)or"1"(ON)foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 1008: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablesoffsetcompensationonchannels3and13inslot1.Forthis4-wiremeasurement,theinstrumentautomaticallypairsthesechannelsinBank1withthecorrespondingchannelsinBank2.

TEMP:TRAN:FRTD:OCOMON,(@103,113)

Thefollowingqueryreturnstheoffsetcompensationsettingsonchannels03and13inslot100.

TEMP:TRAN:FRTD:OCOM?(@103,113)

TypicalResponse:1,1

Page 1009: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:TEMPerature

Page 1010: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TEMPerature:TRANsducer:RTD:RESistance[:REFerence][SENSe:]TEMPerature:TRANsducer:FRTD:RESistance[:REFerence]Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1011: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]TEMPerature:TRANsducer:RTD:RESistance[:REFerence]<reference>[,(@<ch_list>)][SENSe:]TEMPerature:TRANsducer:RTD:RESistance[:REFerence]?[(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:FRTD:RESistance[:REFerence]<reference>[,(@<ch_list>)][SENSe:]TEMPerature:TRANsducer:FRTD:RESistance[:REFerence]?[(@<ch_list>)]

Page 1012: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

TheresistanceofanRTDisnominalat0°CandisreferredtoasRo.Thesecommandsselectthenominalresistance(Ro)for2-wire(RTD)or4-wire(FRTD)measurementsonthespecifiedchannels.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule(RTDonly;notFRTD)

Page 1013: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<reference> Numeric Anumber(ofohms)between49and2100.

100

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1014: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Because2-wireand4-wireresistancearerelatedfunctions,changingameasurementparameterforonefunctionwillalsochangethecorrespondingparameterfortheotherfunction.

For4-wireresistancemeasurements,theinstrumentautomaticallypairschannelninBank1withchanneln+10inBank2(34901A)orn+8(34902A)toprovidethesourceandsenseconnections.Forexample,makethesourceconnectionstotheHIandLOterminalsonchannel02inBank1andthesenseconnectionstotheHIandLOterminalsonchannel12(34901A)or10(34902A)inBank2.SpecifythepairedchannelinBank1(source)asthe<ch_list>channel(channelsinBank2arenotallowedinthe<ch_list>).

Theinstrumentsetsthenominalresistanceto100ΩafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 1015: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthenominalresistanceavalueoftheform+1.00000000E+02.Multiplevaluesareseparatedbycommas.

Page 1016: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Ineachofthefollowingexamples,youcouldsubstitutethenodenameFRTDforRTD.

Thefollowingcommandsetsthenominalresistanceto75Ωonchannels01through04inslot200.

TEMP:TRAN:RTD:RES:REF75,(@201:204)

Thefollowingqueryreturnsthereferenceresistanceforthefourchannelsshown.

TEMP:TRAN:RTD:RES:REF?(@201:204)

TypicalResponse:7.50000000E+01,7.50000000E+01,7.50000000E+01,7.50000000E+01

Page 1017: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

Page 1018: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TEMPerature:TRANsducer:RTD:TYPE[SENSe:]TEMPerature:TRANsducer:FRTD:TYPESyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1019: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]TEMPerature:TRANsducer:RTD:TYPE<type>[,(@<ch_list>)][SENSe:]TEMPerature:TRANsducer:RTD:TYPE?[(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:FRTD:TYPE<type>[,(@<ch_list>)][SENSe:]TEMPerature:TRANsducer:FRTD:TYPE?[(@<ch_list>)]

Page 1020: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandselectstheRTDtypefor2-wire(RTD)or4-wire(FRTD)temperaturemeasurementsonthespecifiedchannels.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule(RTDonly;notFRTD)

Page 1021: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<type> Discrete {85|91} Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1022: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

For4-wireresistancemeasurements,theinstrumentautomaticallypairschannelninBank1withchanneln+10inBank2(34901A)orn+8(34902A)toprovidethesourceandsenseconnections.Forexample,makethesourceconnectionstotheHIandLOterminalsonchannel02inBank1andthesenseconnectionstotheHIandLOterminalsonchannel12(34901A)or10(34902A)inBank2.SpecifythepairedchannelinBank1(source)asthe<ch_list>channel(channelsinBank2arenotallowedinthe<ch_list>).

TheinstrumentsupportsRTDswithAlpha=0.00385(DIN/IEC751)usingITS-90softwareconversionsorAlpha=0.00391usingIPTS-68softwareconversions.

"PT100"isaspeciallabelthatissometimesusedtorefertoanRTDwithAlpha=0.00385andRo=100Ω.

TheinstrumentsetstheRTDtypeto"85"afteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 1023: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns+85or+91.Multipleresultsareseparatedbycommas.

Page 1024: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Inthefollowingexamples,youcouldsubstitutethenodenameFRTDforthenodenameRTD.

Thefollowingcommandsetsthetransducertypeto85onthechannelsshown.

[SENSe:]TEMPerature:TRANsducer:RTD:TYPE85,

(@301:305)

Thefollowingqueryreturnsthetransducertypeonthechannelsshown.

[SENSe:]TEMPerature:TRANsducer:RTD:TYPE?

(@202,204,301:305,308)

TypicalResponse:+85,+91,+85,+85,+85,+85,+85,+91

Page 1025: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

Page 1026: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TEMPerature:TRANsducer:TCouple:CHECkSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1027: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]TEMPerature:TRANsducer:TCouple:CHECk<state>[,(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:TCouple:CHECk?[(@<ch_list>)]

Page 1028: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommanddisablesorenablesthethermocouplecheckfeaturetoverifythatyourthermocouplesareproperlyconnectedformeasurements.Ifyouenablethisfeature,theinstrumentmeasuresthechannelresistanceaftereachthermocouplemeasurementtoensureaproperconnection.Ifanopenconnectionisdetected(greaterthan5kΩonthe10kΩrange),theinstrumentreportsanoverloadconditionforthatchannel'stemperaturereading.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 1029: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<state> Boolean {OFF|0|ON|1} Thisisarequiredparameter.ThefactorydefaultisOFF.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1030: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

TheinstrumentdisablesthethermocouplecheckfeatureafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 1031: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(disabled)or1(enabled)toindicatethestatusofeachthermocouplecheckforthechannellist.

Page 1032: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablesthethermocouplecheckfeatureforsixchannels.

TEMP:TRAN:TCouple:CHECON,(@103,104,205-208)

Thefollowingqueryreturnsthestatusofthethermocouplecheckfeatureforeachofthefollowingchannels.

TEMP:TRAN:TCouple:CHEC?(@103,105,203-205,301)

TypicalResponse:1,0,0,0,1,0

Page 1033: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

Page 1034: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNctionSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1035: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction{<temperature>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction?[(@<ch_list>)]

Page 1036: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandsetsthefixedreferencejunctiontemperatureindegreesCelsiusforthermocouplemeasurementsonthespecifiedchannels.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 1037: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<temperature> Numeric AnumberrepresentingthetemperatureindegreesCelsius,from-20to+80.

Thisisarequiredparameter.Thefactorydefaultvalueis0.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1038: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Forthiscommand,youmustalwaysspecifythetemperatureindegreesCelsiusregardlessofthetemperatureunitscurrentlyselected(seeUNIT:TEMPeraturecommand).

Theinstrumentsetsthethermocouplejunctionto0°CafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 1039: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsthefixedreferencejunctiontemperatureindegreesCelsiusintheform+1.12345678E+01.

Page 1040: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandsetsthefixedjunctiontemperatureindegreesCelsiusforthermocouplemeasurementsonchannels01through03inslot100.

TEMPerature:TRANsducer:TCouple:RJUNction27.3

(@301:303)

ThefollowingqueryreturnsthefixedjunctiontemperatureindegreesCelsiusonthespecifiedchannels.

TEMP:TRAN:TC:RJUN?(@301:303)

TypicalResponse:2.73000000E+01,2.73000000E+01,2.73000000E+01

Page 1041: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

Page 1042: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction:TYPESyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1043: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction:TYPE<type>[,(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction:TYPE?[(@<ch_list>)]

Page 1044: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thermocouplemeasurementsrequireareferencejunctiontemperature.Forthereferencejunctiontemperature,youcanuseaninternalmeasurementonthemodule'sterminalblock,anexternalthermistororRTDmeasurement,oraknownfixedjunctiontemperature.Thiscommandselectsthereferencejunctionsourceforthermocouplemeasurementsonthespecifiedchannels.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule(RTDonly;notFRTD)

Page 1045: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<type> Discrete {INTernal|EXTernal|FIXed} Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1046: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Theaccuracyofthemeasurementishighlydependentuponthethermocoupleconnectionsandthetypeofreferencejunctionused.Useafixedtemperaturereferenceforthehighestaccuracymeasurements(youmustmaintaintheknownjunctiontemperature).Theinternalisothermalblockreferencerequiresnoexternalwiringbutprovidesloweraccuracymeasurementsthanafixedreference.

Tostoreareferencetemperature,firstconfigurechannel1onamultiplexercardforanRTDorthermistormeasurement(seeCONFigure:TEMPeraturecommand).Thenassignthemeasurementfromthatchannelastheexternalreferenceusingoneofthefollowingcommands:

[SENSe:]TEMPerature:TRANsducer:FRTD:REFerence[SENSe:]TEMPerature:TRANsducer:RTD:REFerence

Whenyouinitiateameasurementonanexternalreferencechannel(seeINITiateorREAD?command),subsequentthermocouplemeasurementsusethestoredtemperatureastheirreference.Thetemperatureisusedforallsubsequentthermocouplemeasurementsonthatcard.

Ifyouselectafixedreferencejunctionsource,youcanspecifyavaluebetween-20°Cand+80°Cusingthe[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNctioncommand.YoumustalwaysspecifythetemperatureindegreesCelsiusregardlessofthetemperatureunitscurrentlyselected(seeUNIT:TEMPeraturecommand).

TheinstrumentselectsthefixedsourceafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 1047: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsINT,EXTorFIXforeachchannelinthe<chan_list>.Multiplechannelsareseparatedbycommas.

Page 1048: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsetsthereferencejunctiontypetoanexternalthermistoronchannels01through04inslot200.

TEMP:TRAN:TC:RJUN:TYPEEXT,(@201:204)

Thefollowingqueryreturnsthereferencejunctiontypeforthefourchannelsshown.

TEMP:TRAN:TC:RJUN:TYPE?(@201:204)

TypicalResponse:EXT,EXT,EXT,EXT

Page 1049: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

Page 1050: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TEMPerature:TRANsducer:TCouple:TYPESyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1051: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]TEMPerature:TRANsducer:TCouple:TYPE<type>[,(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:TCouple:TYPE?[(@<ch_list>)]

Page 1052: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandselectsthethermocoupletypetouseformeasurementsonthespecifiedchannels.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 1053: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<type> Discrete {B|E|J|K|N|R|S|T} Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1054: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thermocouplemeasurementsrequireareferencejunctiontemperature(see[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction:TYPEcommand).Forthereferencejunctiontemperature,youcanuseaninternalmeasurementonthemodule'sterminalblock(34901Aonly),anexternalthermistororRTDmeasurement,oraknownfixedjunctiontemperature.Bydefault,afixedreferencejunctiontemperatureof0.0°Cisused.

Theinstrumentsetsthethermocoupletypeto"J"afteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 1055: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthethermocoupletypeasaquotedletterforeachchannelinthelist.Multiplechannelsareseparatedbycommas.

Page 1056: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandsetsthethermocoupletoJforthechannelsshown.

TEMP:TRAN:TCouple:TYPEJ,(@201:204)

Thefollowingqueryreturnsthethermocoupletypeforthechannelsshown.

TEMP:TRAN:TC:TYPE?(@101,103,202:204,301)

TypicalResponse:B,R,J,J,J,K

Page 1057: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

Page 1058: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TEMPerature:TRANsducer:THERmistor:TYPESyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1059: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]TEMPerature:TRANsducer:THERmistor:TYPE<type>[,(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:THERmistor:TYPE?[(@<ch_list>)]

Page 1060: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandselectsthethermistortypefortemperaturemeasurementsonthespecifiedchannels.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 1061: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<type> Discrete {2252|5000|10000} Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1062: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Theinstrumentsupports2.2kΩ(YSI44004Series),5kΩ(YSI44007Series),and10kΩ(YSI44006Series)thermistors.

Theinstrumentsetsthethermistortypeto"5000"afteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 1063: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns2252,5000or10000foreachchannelinthelist.Multiplevaluesareseparatedbycommas.

Page 1064: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsetsthethermocoupletypeto5000forthechannelsshown.

TEMP:TRAN:THER:TYPE5000,(@201,202,301)

Thefollowingqueryreturnsthethermocoupletypeforeachofthefollowingchannels.

TEMP:TRAN:THER:TYPE?(@201:203,301:303)

TypicalResponse:5000,5000,2252,5000,10000,2252

Page 1065: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

Page 1066: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TEMPerature:TRANsducer:TYPESyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1067: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]TEMPerature:TRANsducer:TYPE{TCouple|RTD|FRTD|THERmistor|DEF}[,(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:TYPE?[(@<ch_list>)]

Page 1068: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandselectsthetemperaturetransducerprobetypetouseformeasurementsonthespecifiedchannels.

Thefollowingtableshowswhichtemperaturetransducersaresupportedbyeachofthemultiplexermodules.

Module Thermocouple RTD2-

Wire

RTD4-

Wire

Thermistor

34901AArmatureMultiplexer

Yes Yes Yes Yes

34902AReedMultiplexer

Yes Yes Yes Yes

34908AArmatureMultiplexer(1-Wire)

NotRecommended1

Yes No1 Yes

1Withaone-wiremultiplexer,evenverysmallgroundcurrentscanintroducesubstantialmeasurementerror.

Page 1069: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1070: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

ChoosingthetypeDEFisequivalenttochoosingTC.

For4-wireresistancemeasurements,theinstrumentautomaticallypairschannelninBank1withchanneln+10inBank2(34901A)orn+8(34902A)toprovidethesourceandsenseconnections.Forexample,makethesourceconnectionstotheHIandLOterminalsonchannel02inBank1andthesenseconnectionstotheHIandLOterminalsonchannel12(34901A)or10(34902A)inBank2.SpecifythepairedchannelinBank1(source)asthe<ch_list>channel(channelsinBank2arenotallowedinthe<ch_list>).

TheinstrumentselectsthermocoupleastheprobetypeafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 1071: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsTC,RTD,FRTD,orTHER.Multiplechannelsareseparatedbycommas.

Page 1072: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandsetsthetemperaturetransducertypetoFRTDforthechannelsshown.

TEMP:TRAN:TYPEFRTD,(@201:205)

Thefollowingqueryreturnsthetemperaturetransducertypeforthechannelsshown.

TEMP:TRAN:TYPE?(@201:208)

TypicalResponse:FRTD,FRTD,FRTD,FRTD,FRTD,RTD,TC,THER

Page 1073: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

Page 1074: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TOTalize:CLEar:IMMediateSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 1075: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]TOTalize:CLEar:IMMediate[(@<ch_list>)]

Page 1076: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandimmediatelyclearsthecountonthespecifiedcounter/totalizerchannels.

UsedWith:

34907AMultifunctionModule(totalizerchannelonly)

Page 1077: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormore

totalizerchannels,asshown:

(@303)-channel03onthemoduleinslot300.

(@103,203,303)-channel03onthemodulesonslot100,200,and300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1078: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandclearsthecountontotalizerchannel03onthemoduleinslot200.

TOT:CLEAR:IMM(@203)

Page 1079: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

[SENSe:]TOTalize:DATA?

Page 1080: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TOTalize:DATA?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 1081: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]TOTalize:DATA?[(@<ch_list>)]

Page 1082: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreadsthecountonthespecifiedtotalizerchannels.Ifyouhaveconfiguredthecounttoberesetwhenitisread(seeCONFigure:TOTalizeand[SENSe:]TOTalize:TYPEcommands),thenthiscommandwillresetthecountto0afteritisread.Thecountisresetregardlessofwhetherthespecifiedchannelsareinascanlistorevenwhetherascanisinprogress.

UsedWith:

34907AMultifunctionModule(totalizerchannelonly)

Page 1083: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormore

totalizerchannels,asshown:

(@303)-channel03onthemoduleinslot300.

(@103,203,303)-channel03onthemodulesonslot100,200,and300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1084: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Themaximumcountis67,108,863(226-1).Thecountrollsoverto0afterreachingthemaximumallowedvalue.

TheoutputfromthiscommandisaffectedbythesettingsoftheFORMat:READingcommands.Dependingontheformatsselected,eachreadingmayormaynotbestoredwithmeasurementunits,timestamp,channelnumber,andalarmstatusinformation.

Page 1085: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsanunsigneddecimalvaluerepresentingthecountoneachtotalizerchannelspecified(afull32-bitcountisreturned).Multipleresponsesareseparatedbycommas.

Page 1086: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreadsthecountontotalizerchannel03onthemoduleinslot3.

TOT:DATA?(@303)

TypicalResponse:1.32130000E+03

Page 1087: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:TOTalize

[SENSe:]TOTalize:TYPE

Page 1088: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TOTalize:SLOPeSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1089: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]TOTalize:SLOPe<edge>[,(@<ch_list>)]

[SENSe:]TOTalize:SLOPe?[(@<ch_list>)]

Page 1090: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandconfiguresthespecifiedtotalizerchannelstocountontherisingedge(positive)orfallingedge(negative)oftheinputsignal.

UsedWith:

34907AMultifunctionModule(totalizerchannelonly)

Page 1091: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<edge> Discrete {NEGative|POSitive} Thisisarequiredparameter.

<ch_list> ChannelList Oneormore

totalizerchannels,asshown:

(@303)-channel03onthemoduleinslot300.

(@103,203,303)-channel03onthemodulesonslot100,200,and300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1092: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Theselectedslopeisstoredinvolatilememoryandwillbesetto"POS"whenpoweristurnedofforafteraFactoryReset(*RSTcommand).

Page 1093: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsNEGorPOSforthespecifiedchannels.Multipleresponsesareseparatedbycommas.

Page 1094: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandconfigurestotalizerchannel03onthemoduleinslot300tocountonthenegativeedge(falling)oftheinputsignal.

TOT:SLOPNEG,(@303)

Thefollowingqueryreturnstheedgesettingontotalizerchannel3onthemodulesinslots1and3.

TOT:SLOP?(@103,303)

TypicalResponse:NEG,NEG

Page 1095: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

Page 1096: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TOTalize:STARt[:IMMediate]Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 1097: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]TOTalize:STARt:IMMediate[(@<ch_list>)]

Page 1098: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandimmediatelystartstotalizingonthespecifiedcounter/totalizerchannels.

UsedWith:

34907AMultifunctionModule(totalizerchannelonly)

Page 1099: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormore

totalizerchannels,asshown:

(@303)-channel03onthemoduleinslot300.

(@103,203,303)-channel03onthemodulesonslot100,200,and300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1100: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandstartstotalizingontotalizerchannel03onthemoduleinslot200.

TOT:STARt:IMM(@203)

Page 1101: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

[SENSe:]TOTalize:DATA?

[SENSe:]TOTalize:STOP[:IMMediate]

Page 1102: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TOTalize:STOP[:IMMediate]Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 1103: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]TOTalize:STOP[:IMMediate][(@<ch_list>)]

Page 1104: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandimmediatelystopstotalizingonthespecifiedcounter/totalizerchannels.

UsedWith:

34907AMultifunctionModule(totalizerchannelonly)

Page 1105: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormore

totalizerchannels,asshown:

(@303)-channel03onthemoduleinslot300.

(@103,203,303)-channel03onthemodulesonslot100,200,and300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1106: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandstopstotalizingontotalizerchannel03onthemoduleinslot200.

TOT:STOP:IMM(@203)

Page 1107: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

[SENSe:]TOTalize:DATA?

[SENSe:]TOTalize:STARt[:IMMediate]

Page 1108: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TOTalize:TYPESyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1109: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]TOTalize:TYPE<mode>[,(@<ch_list>)]

[SENSe:]TOTalize:TYPE?[(@<ch_list>)]

Page 1110: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandenablesordisablesanautomaticresetofthecountonthespecifiedtotalizerchannels.Toreadthetotalizerduringascanwithoutresettingthecount,selecttheREADparameter.Toreadthetotalizerduringascanandresetthecountto0afteritisread,selecttheRRESetparameter(thismeans"readandreset").

UsedWith:

34907AMultifunctionModule(totalizerchannelonly)

Page 1111: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<mode> Discrete {READ|RRESet} Thisisarequiredparameter.

<ch_list> ChannelList Oneormore

totalizerchannels,asshown:

(@303)-channel03onthemoduleinslot300.

(@103,203,303)-channel03onthemodulesonslot100,200,and300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1112: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Themaximumcountis67,108,863(226-1).Thecountrollsoverto0afterreachingthemaximumallowedvalue.

Page 1113: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsREADorRRESforthespecifiedchannels.Multipleresponsesareseparatedbycommas.

Page 1114: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandconfigurestotalizerchannel03onthemoduleinslot300tobereadwithoutresettingitscount.

TOT:TYPEREAD,(@303)

Thefollowingqueryreturnsthetotalizersettingontotalizerchannel03onthemodulesinslots200and300.

TOT:TYPE?(@203,303)

TypicalResponse:READ,READ

Page 1115: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

[SENSe:]TOTalize:DATA?

Page 1116: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]VOLTage:AC:BANDwidthSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1117: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]VOLTage:AC:BANDwidth{<filter>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]VOLTage:AC:BANDwidth?[{(@<ch_list>)|MIN|MAX}]

Page 1118: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

TheinstrumentusesthreedifferentACfilterswhichenableyoutoeitheroptimizelow-frequencyaccuracyorachievefasterACsettlingtimes.Theinstrumentselectstheslow(3Hz),medium(20Hz),orfast(300Hz)filterbasedontheinputfrequencythatyouspecifywiththiscommandfortheselectedchannels.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 1119: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<filter> Discrete {3|20|200} 20

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1120: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

ThiscommandappliestoACvoltagemeasurementsonly.

Forthe<filter>parameter,specifythelowestfrequencyexpectedintheinputsignalonthespecifiedchannels.Theinstrumentselectstheappropriatefilterbasedonthefrequencyyouspecify.

InputFrequency DefaultSettlingDelay

MinimumSettlingDelay

3Hzto300kHz(Slow)

7seconds/reading

1.5seconds

20Hzto300kHz(Medium)

1second/reading

200ms

200Hzto300kHz(Fast)

0.12seconds/reading

20ms

TheCONFigureandMEASure?commandsautomaticallyselectthedefault20Hz(medium)filter.

Theinstrumentselectsthedefault20Hz(medium)filterafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

ThesettlingdelayiscontrolledbytheROUTe:CHANnel:DELaycommand.YougetthedefaultdelaywithROUTe:CHANnel:DELay:AUTOON.

Page 1121: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns3(slow),20(medium),or200(fast)foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 1122: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandselectstheslowfilter(3Hz)onchannels03and13inslot100.

VOLT:AC:BAND3,(@103,113)

Thefollowingqueryreturnstheacfiltersettingsonchannels03and13inslot100.

VOLT:AC:BAND?(@103,113)

TypicalResponse:3,3

Page 1123: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:VOLTage:AC

Page 1124: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]VOLTage:AC:RANGe[SENSe:]VOLTage:DC:RANGeSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1125: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]VOLTage:AC:RANGe{<range>|MIN|MAX}[,(@<ch_list>)][SENSe:]VOLTage:AC:RANGe?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]VOLTage:DC:RANGe{<range>|MIN|MAX}[,(@<ch_list>)][SENSe:]VOLTage:DC:RANGe?[{(@<ch_list>)|MIN|MAX}]

Page 1126: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThesecommandsselectsthemeasurementrangeforACandDCvoltagemeasurementsonthespecifiedchannels.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 1127: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<range> DiscreteDesiredrangeinvolts:

100mV(MIN)1V10V100V300V(MAX)

Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1128: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Selectingadiscreterangewilldisableautorangingonthespecifiedchannels(see[SENSe:]VOLTage:AC:RANGe:AUTOcommand).

TheCONFigureandMEASure?commandsautomaticallyenableautorangingifthefirstparameterisAUTO,DEForomitted.

Iftheinputsignalisgreaterthancanbemeasuredontheselectedrange(manualranging),theinstrumentgivesanoverloadindication:"±OVLD"fromthefrontpanelor"±9.9E+37"fromtheremoteinterface.

TheinstrumentenablesautorangingafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 1129: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnstherangeintheform"+1.00000000E+01"foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 1130: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Inthefollowingexamples,youcansubstitutethenodenameACforDC.

Thefollowingcommandselectsthe10voltrangeonchannels03and13inslot100.

VOLT:DC:RANG10,(@103,113)

Thefollowingqueryreturnstherangeselectedonchannels03and13inslot100.

VOLT:DC:RANG?(@103,113)

TypicalResponse:+1.00000000E+01,+1.00000000E+01

Page 1131: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:VOLTage:AC

CONFigure:VOLTage:DC

[SENSe:]VOLTage:AC:RANGe:AUTO

[SENSe:]VOLTage:DC:RANGe:AUTO

Page 1132: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]VOLTage:AC:RANGe:AUTO[SENSe:]VOLTage:DC:RANGe:AUTOSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1133: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]VOLTage:AC:RANGe:AUTO<state>[,(@<ch_list>)][SENSe:]VOLTage:AC:RANGe:AUTO?[(@<ch_list>)]

[SENSe:]VOLTage:DC:RANGe:AUTO<state>[,(@<ch_list>)][SENSe:]VOLTage:DC:RANGe:AUTO?[(@<ch_list>)]

Page 1134: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThesecommandsdisableorenableautorangingforACandDCvoltagemeasurementsonthespecifiedchannels.Autorangingisconvenientbecausetheinstrumentautomaticallyselectstherangeforeachmeasurementbasedontheinputsignaldetected.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 1135: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<state> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

ThefactorydefaultisON.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1136: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Autorangethresholds:Downrangeat:<10%ofrangeUprangeat:>120%ofrange

Withautorangingenabled,theinstrumentselectsoneofthefollowingrangesbasedontheinputsignaldetected:

100mV1V10V100V300V

Selectingadiscreterange(see[SENSe:]VOLTage:AC:RANGecommand)willdisableautorangingonthespecifiedchannels.

TheCONFigureandMEASure?commandsautomaticallyenableautorangingifthefirstparameterisAUTO,DEForomitted.

TheinstrumentenablesautorangingafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 1137: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON)foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 1138: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Ineachofthefollowingexamples,youcanreplacethenodenameACwithDC.

Thefollowingcommanddisablesautorangingonchannels03and13inslot100.

VOLT:AC:RANG:AUTOOFF,(@103,113)

Thefollowingqueryreturnstheautorangingsettingsonchannels03and13inslot100.

VOLT:AC:RANG:AUTO?(@103,113)

TypicalResponse:0,0

Page 1139: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:VOLTage:AC

CONFigure:VOLTage:DC

[SENSe:]VOLTage:AC:RANGe

[SENSe:]VOLTage:DC:RANGe

Page 1140: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]VOLTage:DC:APERtureSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1141: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]VOLTage:DC:APERture{<time>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]VOLTage:DC:APERture?[{(@<ch_list>)|MIN|MAX}]

Page 1142: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandenablestheaperturemodeandsetstheintegrationtimeinseconds(calledaperturetime)forDCvoltagemeasurementsonthespecifiedchannels.

YoushouldusethiscommandonlywhenyouwantprecisecontroloftheintegrationtimeoftheinternalDMM.Otherwise,specifyingintegrationtimeusingNPLC(see[SENSe:]VOLTage[:DC]:NPLCcommand)executesfasterandoffersbetterpowerlinenoiserejectioncharacteristicsforvaluesofNPLCgreaterthan1.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 1143: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<time> Numeric Desiredaperturetimeinsecondsbetween300µsand1second,with4µsresolution.MIN=300µs,MAX=1second

Aperturedisabled.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1144: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Forthe<seconds>parameter,youcansubstituteMINorMAXforanumericvalue.MINselectsthesmallestvalueaccepted,whichgivesthelowestresolution;MAXselectsthelargestvalueaccepted,whichgivesthehighestresolution.

Onlytheintegralnumberofpowerlinecycles(1,2,10,20,100,or200PLCs)providenormalmode(linefrequencynoise)rejection.

TheCONFigure,MEASure?,[SENSe:]VOLTage[:DC]:NPLC,and[SENSe:]VOLTage[:DC]:RESolutioncommandsdisabletheaperturetimemode(thesecommandsselectanintegrationtimeinnumberofpowerlinecycles).

TheaperturemodeisdisabledafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 1145: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnstheaperturetimeintheform"+1.00000000E-01"foreachchannelspecified.Multipleresponsesareseparatedbycommas.

Page 1146: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablestheaperturemodeandsetstheaperturetimeto300msonchannels03and13inslot100.

VOLT:DC:APER300E-03,(@103,113)

Thefollowingqueryreturnstheaperturetimeselectedonchannels03and13inslot100.

VOLT:DC:APER?(@103,113)VOLT:DC:APER:ENAB?!Verify

thataperturemodeisenabled("1")

TypicalResponse:+3.00000000E-01,+3.00000000E-01

Page 1147: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

CONFigure:VOLTage:DC

[SENSe:]VOLTage:DC:NPLC

Page 1148: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]VOLTage:DC:NPLCSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1149: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]VOLTage:DC:NPLC{<PLCs>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]VOLTage:DC:NPLC?[{(@<ch_list>)|MIN|MAX}]

Page 1150: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandsetstheintegrationtimeinnumberofpowerlinecycles(PLCs)onthespecifiedchannels.Integrationtimeaffectsthemeasurementresolution(forbetterresolution,usealongerintegrationtime)andmeasurementspeed(forfastermeasurements,useashorterintegrationtime).

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 1151: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<PLCs> Discrete {0.02|0.2|1|2|10|20|100|200|MIN|MAX} Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1152: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Onlytheintegralnumberofpowerlinecycles(1,2,10,20,100,or200PLCs)providenormalmode(linefrequencynoise)rejection.

Settingtheresolutionalsosetstheintegrationtimeforthemeasurement.Thefollowingtableshowstherelationshipbetweenintegrationtime,measurementresolution,numberofdigits,andnumberofbits.

IntegrationTime

Resolution Digits Bits

0.02PLC <0.0001xRange

4½Digits

15

0.2PLC <0.00001xRange

5½Digits

18

1PLC <0.000003xRange

5½Digits

20

2PLC <0.0000022xRange

6½Digits

21

10PLC <0.000001xRange

6½Digits

24

20PLC <0.0000008xRange

6½Digits

25

100PLC <0.0000003xRange

6½Digits

26

200PLC <0.00000022xRange

6½Digits

26

Thespecifiedintegrationtimeisusedforallmeasurementsontheselectedchannels.IfyouhaveappliedMx+Bscalingorhaveassignedalarmstotheselectedchannel,thosemeasurementsare

Page 1153: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

alsomadeusingthespecifiedintegrationtime.MeasurementstakenduringtheMonitorfunctionalsousethespecifiedintegrationtime.

Youcanalsosettheintegrationtimebyspecifyinganaperturetime(see[SENSe:]VOLTage[:DC]:APERturecommand).However,notethatspecifyingintegrationtimeusingNPLCsexecutesfasterandoffersbetternoiserejectioncharacteristicsforvaluesofNPLCgreaterthan1.

TheCONFigure,MEASure?,[SENSe:]VOLTage[:DC]:NPLC,and[SENSe:]VOLTage[:DC]:RESolutioncommandsdisabletheaperturetimemode(thesecommandsselectanintegrationtimeinnumberofpowerlinecycles).

Theinstrumentsetstheintegrationtimeto1PLCafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 1154: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnstheintegrationtimeinpowerlinecyclesforeachchannelintheform+1.12345678E+01.

Page 1155: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsetstheintegrationtimeto20PLCsonchannels03through06inslot200.

VOLT:DC:NPLC20,(@203:206)

Thefollowingqueryreturnstheintegrationtimeonthesamechannels.

VOLT:DC:NPLC?(@203:206)

TypicalResponse:+2.00000000E+01,+2.00000000E+01,+2.00000000E+01,+2.00000000E+01

Page 1156: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

Page 1157: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]VOLTage:DC:RESolutionSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1158: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]VOLTage:DC:RESolution{<resolution>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]VOLTage:DC:RESolution?[{(@<ch_list>)|MIN|MAX}]

Page 1159: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandselectsthemeasurementresolutionforDCvoltagemeasurementsonthespecifiedchannels.Theinstrumentclearsallreadingsfrommemorywhenanewscanisinitiated,whenanymeasurementparametersarechanged(CONFigureandSENSecommands),andwhenthetriggeringconfigurationischanged(TRIGgercommands).

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34908A40ChannelSingle-EndedMultiplexerModule

Page 1160: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<resolution> Numeric Desiredresolutioninvolts. Thisisarequiredfield.Youmustspecifyanumeric<resolution>orspecifyMINorMAXtoselectthesmallestorlargest<resolution>.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1161: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Forthe<resolution>parameter,youcansubstituteMINorMAXforanumericvalue.MINselectsthesmallestvalueaccepted,whichgivesthehighestresolution;MAXselectsthelargestvalueaccepted,whichgivestheleastresolution.

Theinstrumentwilldispatchasettingsconflicterrorifyouissuethiscommandwhen[SENSe:]VOLTage:DC:RANGe:AUTOisONforoneormoreofthespecifiedchannels.

Settingtheresolutionalsosetstheintegrationtimeforthemeasurement.Thefollowingtableshowstherelationshipbetweenintegrationtime,measurementresolution,numberofdigits,andnumberofbits.

IntegrationTime

Resolution Digits Bits

0.02PLC <0.0001xRange

4½Digits

15

0.2PLC <0.00001xRange

5½Digits

18

1PLC <0.000003xRange

5½Digits

20

2PLC <0.0000022xRange

6½Digits

21

10PLC <0.000001xRange

6½Digits

24

20PLC <0.0000008xRange

6½Digits

25

100PLC <0.0000003xRange

6½Digits

26

Page 1162: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

200PLC <0.00000022xRange

6½Digits

26

Youcanalsosettheintegrationtimebyspecifyinganaperturetime(see[SENSe:]VOLTage[:DC]:APERturecommand).However,notethatspecifyingintegrationtimeusingNPLCsexecutesfasterandoffersbetternoiserejectioncharacteristicsforvaluesofNPLCgreaterthan1.

TheCONFigure,MEASure?,[SENSe:]VOLTage[:DC]:NPLC,and[SENSe:]VOLTage[:DC]:RESolutioncommandsdisabletheaperturetimemode(thesecommandsselectanintegrationtimeinnumberofpowerlinecycles).

Theinstrumentsetstheresolutionto1PLCafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 1163: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnstheresolutionintheform+1.12345678E+01foreachchannelinthe<ch_list>.Multiplechannelsareseparatedbycommas.

Page 1164: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsetsthe<resolution>to50microvoltsforthechannelsshown.

VOLT:DC:RES0.00005,(@201:204)

Thefollowingqueryreturnsthe<resolution>forchannels01through04onslot200.

VOLT:DC:RES?(@201:204)

TypicalResponse:+1.00000000E+01,+1.00000000E+01,+1.00000000E+01,+1.00000000E+01

Page 1165: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

Page 1166: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]ZERO:AUTOSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1167: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

[SENSe:]ZERO:AUTO<mode>[,(@<ch_list>)]

[SENSe:]ZERO:AUTO?[(@<ch_list>)]

Page 1168: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandenables(default)ordisablestheautozeromodeonthespecifiedchannels.

Page 1169: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<mode> Discrete {OFF|ONCE|ON} Thisisarequiredparameter.

<ch_list> ChannelList Oneormorechannels,

asshown:

(@310)-channel10onthemoduleinslot300.

(@305:310)-channels05through10onthemoduleinslot300.

(@202:207,209,302:308)-channels02through07and09onthemoduleinslot200andchannels02through08onthemoduleinslot300.

Ifyouomittheoptional<ch_list>parameter,thiscommandappliestothecurrentlydefinedscanlist.

Page 1170: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

TheOFFandONCEparametershavethesameeffect.

TheCONFigure,MEASureandNPLCcommandsautomaticallyspecifyZERO:AUTOasOFFfor0.02to0.2PLCsandasONfor1PLCormore.

Page 1171: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryformreturns0(OFForONCE)or1.

Page 1172: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandturnstheautozeromodeOFF(@301:305).

ZERO:AUTOOFF(@301:305)

Thefollowingqueryreturnsthestateoftheautozeromode,whichinthiscaseisOFF.Multipleresponsesareseparatedbycommas.

ZERO:AUTO?(@301:305)

Typicalresponse:0,0,0,0,0

Page 1173: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSENSeSubsystemIntroduction

Page 1174: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SOURceSubsystemIntroduction

CommandSummarySOURce:DIGital:DATA[:{BYTE|WORD}]

SOURce:DIGital:DATA[:{BYTE|WORD}]?

SOURce:DIGital:STATe?

SOURce:VOLTage

SOURce:VOLTage?

Page 1175: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SOURce:DIGital:DATA[:{BYTE|WORD}]Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1176: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SOURce:DIGital:DATA[:{BYTE|WORD}]<data>,(@<ch_list>)

SOURce:DIGital:DATA[:{BYTE|WORD}]?(@<ch_list>)

Page 1177: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandoutputsadigitalpatternasan8-bitbyteor16-bitwordtothespecifieddigitaloutputchannels.

Page 1178: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<data> Numeric Anintegerfrom0to255(:BYTE)or65,535(:WORD).

Thisisarequiredparameter.

<ch_list> ChannelList Oneormoredigital

I/Ochannels,asshown:

(@301)-channel01onthemoduleinslot300.

(@101:102,201,302)-channels01and02onthemodulesonslot100,channel01onthemoduleinslot200,andchannel02onthemoduleinslot300.

Thisisarequiredparameter.

Page 1179: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Notethatyoucannotconfigureaportforoutputoperationsifthatportisalreadyconfiguredtobepartofthescanlist(digitalinput).

Youmustspecifyanintegervalue,eitherasadecimalnumber(213),abinarynumber(#b11010101)orahexadecimalnumber(#hD5).

Thedigitaloutputchannelsarenumbered"s01"(lowerbyte)and"s02"(upperbyte),wheresrepresentstheslotnumber.

Ifyouaregoingtowritetobothportssimultaneously(WORD),youmustsendthecommandtochannel01.

Page 1180: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

The:BYTE?(or:WORD?)queryreturnsthelastbyteorwordsenttothespecifieddigitaloutputchannelasadecimalnumberintheform+255.

Page 1181: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsalloutputthenumber12345tochannel01onthemoduleinslot200.

SOUR:DIGital:DATA:WORD12345,(@201)!

decimalinteger12345

SOUR:DIGital:DATA:WORD#b0011000000111001,(@201)!

binaryequivalentofdecimalinteger12345

SOUR:DIGital:DATA:WORD#h3039,(@201)!

hexadecimalequivalentofdecimalinteger12345

Thefollowingcommandreadsthenumberonchannel01onthemoduleinslot200.

SOUR:DIG:DATA:WORD?(@201)

TypicalResponse:+12345

Page 1182: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSOURceSubsystemIntroduction

Page 1183: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SOURce:DIGital:STATe?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 1184: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SOURce:DIGital:STATe?(@<ch_list>)

Page 1185: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandreturnsthestatus(inputoroutput)ofthespecifieddigitalchannels.

UsedWith:

34907AMultifunctionModule(digitalI/Ochannelsonly)

Page 1186: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<ch_list> ChannelList Oneormoredigital

I/Ochannels,asshown:

(@301)-channel01onthemoduleinslot300.

(@101:102,201,302)-channels01and02onthemodulesonslot100,channel01onthemoduleinslot200,andchannel02onthemoduleinslot300.

Thisisarequiredparameter.

Page 1187: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

AchannelissetasanoutputchannelwhenyousendaSOURce:DIGital:DATA[:{BYTE|WORD}]command.

Achannelissetasaninputchannelwhenyouplaceitinascanlistorsenda[SENSe:]DIGital:DATA:{BYTE|WORD}?command.

Page 1188: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0ifthespecifiedchannelisaninputchannelor1ifthechannelisanoutputchannel.Multipleresponsesareseparatedbycommas.

Page 1189: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnstheinput/outputstateofchannels01and02onthemoduleinslot300.Inthiscase,bothchannelsareconfiguredforoutput.

SOUR:DIG:STAT?(@301,302)

TypicalResponse:1,1

Page 1190: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSOURceSubsystemIntroduction

SOURce:VOLTage

Page 1191: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SOURce:VOLTageSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1192: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SOURce:VOLTage<voltage>,(@<ch_list>)

SOURce:VOLTage?(@<ch_list>)

Page 1193: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandsetstheoutputvoltagelevelforthespecifiedDACchannelsonthe34907AMultifunctionModule.

ThiscommandoutputsaDCvoltagelevel.

Page 1194: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<voltage> NumericAnumberofvoltsfrom-12to+12,inresolutionof0.001V.

0Vdc

<ch_list> ChannelList Oneormore

DACchannels,asshown:

(@304)-channel04onthemoduleinslot300.

(@104:105,204,305)-channels04and05onthemodulesonslot100,channel04onthemoduleinslot200,andchannel05onthemoduleinslot300.

Thisisarequiredparameter.

Page 1195: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

TheDACchannelsarenumbered"s04"and"s05",wheresrepresentstheslotnumber.

EachDACchanneliscapableof10mAmaximumoutputcurrent.

AFactoryReset(*RSTcommand),InstrumentPreset(SYSTem:PRESetcommand),andCardReset(SYSTem:CPONcommand)willresettheDACoutputsto0Vdc.

Page 1196: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnstheoutputvoltageintheform+1.00000000E+00foreachDACchannelspecified.Multipleresponsesareseparatedbycommas.

Page 1197: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandoutputs+2.5VdconDACchannels04and05inslot200.

SOUR:VOLT2.5,(@204,205)OUTP:STATON,(@204,205)

ThefollowingqueryreturnsthevoltageoutputsonDACchannels04and05inslot200.

SOUR:VOLT?(@204,205)

TypicalResponse:+2.50000000E+00,+2.50000000E+00

Page 1198: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSOURceSubsystemIntroduction

Page 1199: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

STATusSubsystemIntroduction

Keysight34970A/34972AStatusSystemDiagram

PrintablePDFVersion

STATus:PRESet

Page 1200: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CommandSummary*ESE

*ESE?

*ESR?

*SRE

*STB?

STATus:ALARm:CONDition?

STATus:ALARm:ENABle

STATus:ALARm:ENABle?

STATus:ALARm[:EVENt]?

STATus:OPERation:CONDition?

STATus:OPERation:ENABle

STATus:OPERation:ENABle?

STATus:OPERation[:EVENt]?

STATus:PRESet

STATus:QUEStionable:CONDition?

STATus:QUEStionable:ENABle

STATus:QUEStionable:ENABle?

STATus:QUEStionable[:EVENt]?

Page 1201: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

STATus:ALARm:CONDition?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1202: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

STATus:ALARm:CONDition?

Page 1203: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandqueriestheconditionregisterfortheAlarmRegistergroup(notethatthisconditionregisterusesonlybit4).Thisisaread-onlyregisterandthebitsarenotclearedwhenyoureadtheregister.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizerchannelsonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 1204: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thefollowingtableliststhebitdefinitionsforthealarmenableregister.

Bit# BitName DecimalValue

Definition

0-3 NotUsed 1-8 0isreturned.

4 QueueNotEmpty

16 Thealarmqueueisnotempty.

5 NotUsed 32 0isreturned.

6 Alarm1 64 Alarm1istriggered.

7 Alarm2 128 Alarm2istriggered.

8 Alarm3 256 Alarm3istriggered.

9 Alarm4 512 Alarm4istriggered.

10-11

NotUsed 1024-2048 0isreturned.

12 LowerLimit 4096Alowerlimitalarmhasoccurred.

13 UpperLimit 8192 Anupperlimitalarmhasoccurred.

14-15

NotUsed 16384-32768

0isreturned.

AFactoryReset(*RSTcommand)willclearthe"QueueEmpty"bit(bit4)intheconditionregister.

Page 1205: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreadstheconditionregisterandreturnsadecimalvaluewhichcorrespondstothebinary-weightedsumofallbitssetintheregister(seetableabove).Forexample,ifbits6-8areset,thiscommandwillreturn+448.

Page 1206: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingqueryreadstheconditionregister(bits6and9areset).

STAT:ALAR:COND?

TypicalResponse:+576

Page 1207: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSTATusSubsystemIntroduction

STATus:ALARm:ENABle

STATus:ALARm[:EVENt]?

SYSTem:ALARm?

Page 1208: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

STATus:ALARm:ENABleSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1209: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

STATus:ALARm:ENABle<enable_val>

STATus:ALARm:ENABle?

Page 1210: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandenablesbitsintheenableregisterfortheAlarmRegistergroup.TheselectedbitsarethenreportedtotheStatusByte.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizerchannelsonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 1211: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<enable_val> Numeric Anintegerfrom0to65535,specifyingthealarmstoenableasabitsum.

Thisisarequiredparameter.

Page 1212: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thefollowingtableliststhebitdefinitionsforthealarmenableregister.

Bit# BitName DecimalValue

Definition

0 Alarm1 1 AneventhasoccurredonAlarm1.

1 Alarm2 2 AneventhasoccurredonAlarm2.

2 Alarm3 4 AneventhasoccurredonAlarm3.

3 Alarm4 8 AneventhasoccurredonAlarm4.

4 QueueNotEmpty

16 Thealarmqueueisnotempty.

5 QueueOverflow 32Analarmqueueoverfloweventhasoccurred.

6 Alarm1 64 Alarm1istriggered.

7 Alarm2 128 Alarm2istriggered.

8 Alarm3 256 Alarm3istriggered.

9 Alarm4 512 Alarm4istriggered.

10-11

NotUsed 1024-2048 0isreturned.

12 LowerLimit 4096Alowerlimitalarmhasoccurred.

Page 1213: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

13 UpperLimit 8192 Anupperlimitalarmhasoccurred.

14-15

NotUsed 16384-32768

0isreturned.

Page 1214: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreadstheenableregisterandreturnsadecimalvaluethatcorrespondstothebinary-weightedsumofallbitssetintheregister.Forexample,ifbit1(decimalvalue=2)andbit2(decimalvalue=4)areenabled,thequerywillreturn+6.

Page 1215: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablesalarmregisters0through3.

STAT:ALAR:ENAB15

Thefollowingqueryreturnsathebinarysumequivalenttotheenabledregisters.

STAT:ALAR:ENAB?

TypicalResponse:+15

Page 1216: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSTATusSubsystemIntroduction

Page 1217: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

STATus:ALARm[:EVENt]?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1218: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

STATus:ALARm[:EVENt]?

Page 1219: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandqueriestheeventregisterfortheAlarmRegistergroup.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizerchannelsonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 1220: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thefollowingtableliststhebitdefinitionsforthealarmeventregister.

Bit# BitName DecimalValue

Definition

0 Alarm1 1 AneventhasoccurredonAlarm1.

1 Alarm2 2 AneventhasoccurredonAlarm2.

2 Alarm3 4 AneventhasoccurredonAlarm3.

3 Alarm4 8 AneventhasoccurredonAlarm4.

4 QueueNotEmpty

16 Thealarmqueueisnotempty.

5 QueueOverflow 32Analarmqueueoverfloweventhasoccurred.

6 Alarm1 64 Alarm1istriggered.

7 Alarm2 128 Alarm2istriggered.

8 Alarm3 256 Alarm3istriggered.

9 Alarm4 512 Alarm4istriggered.

10-11 NotUsed 1024-2048 0isreturned.

12 LowerLimit 4096Alowerlimitalarmhasoccurred.

Page 1221: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

13 UpperLimit 8192 Anupperlimitalarmhasoccurred.

14-15 NotUsed 16384-32768

0isreturned.

Notethatifanyofbits0through3areset,bit4willalsobesettoindicatethattheAlarmQueueisnotempty.

Onceabitisset,itremainssetuntilclearedbyreadingtheeventregisterorthe*CLS(clearstatus)command.

Page 1222: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreadstheeventregisterandreturnsadecimalvaluewhichcorrespondstothebinary-weightedsumofallbitssetintheregister(seetableabove).Forexample,ifbit1(decimalvalue=2)andbit2(decimalvalue=4)areset,thiscommandwillreturn+6.

Page 1223: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingqueryindicatesthatalarmeventshaveoccurredonalarms1and3.

STAT:ALAR:EVENt?

TypicalResponse:+5

Page 1224: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSTATusSubsystemIntroduction

STATus:ALARm:CONDition?

STATus:ALARm:ENABle

Page 1225: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

STATus:OPERation:CONDition?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1226: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

STATus:OPERation:CONDition?

Page 1227: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandqueriestheconditionregisterfortheStandardOperationRegistergroup.Thisisaread-onlyregisterandthebitsarenotclearedwhenyoureadtheregister.

FormoreinformationontheStatusSystemfortheinstrument,seeStatusSystemIntroduction.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizerchannelsonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 1228: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Theconditionregisterbitsreflectthecurrentcondition.Ifaconditionisnolongertrue,thecorrespondingbitisclearedintheconditionregister.

ThefollowingtableliststhebitdefinitionsfortheStandardOperationRegister.

Bit#

BitName DecimalValue

Definition

0 Calibrating 1 Theinstrumentiscalibrating.

1 SelfTest 2 Theinstrumentisdoingaself-test.

2 NotUsed 4 (Alwaysreturns0)

3 NotUsed 8 (Alwaysreturns0)

4 Scanning 16 Theinstrumentisscanning.

5 WFT 32 Theinstrumentiswaitingforatrigger.

6 NotUsed 64 (Alwaysreturns0)

7 USBMSDdetected

128 AUSBmassstoragedevice(USBdrive)hasbeendetected.

8 ConfigChanged

256 Theinstrumentconfigurationhaschanged.

9 NotUsed 512 (Alwaysreturns0)

10 InstrumentLocked

1024 Theinstrumentislocked.

11 NotUsed 2048 (Alwaysreturns0)

12 NotUsed 4096 (Alwaysreturns0)

Page 1229: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

13 GlobalError 8192 Anerrorisintheglobalerrorqueue.

14 Busy 16384 Theinstrumentisbusy.

15 NotUsed 32768(Alwaysreturns0)

Bit14,theBusybit,willbesetwhiletheinstrumentisperforminglongcommands,suchasMMEMory:IMPort:CONFig?.

AFactoryReset(*RSTcommand)willsetthe"ConfigurationChange"bit(bit8)intheconditionregister.

Page 1230: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreadstheconditionregisterandreturnsadecimalvaluethatcorrespondstothebinary-weightedsumofallbitssetintheregister(seetableabove).Forexample,ifbit4(decimalvalue=16)andbit8(decimalvalue=256)areset,thiscommandwillreturn"+272".

Page 1231: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandreadstheconditionregister(bit8isset).

STAT:OPER:COND?

TypicalResponse:+256

Page 1232: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSTATusSubsystemIntroduction

STATus:OPERation:ENABle

STATus:OPERation[:EVENt]?

Page 1233: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

STATus:OPERation:ENABleSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1234: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

STATus:OPERation:ENABle<enable_val>

STATus:OPERation:ENABle?

Page 1235: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandenablesbitsintheenableregisterfortheStandardOperationRegistergroup.TheselectedbitsarethenreportedtotheStatusByte.

FormoreinformationontheStatusSystemfortheinstrument,seeStatusSystemIntroduction.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizerchannelsonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 1236: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<enable_val> Numeric Anintegerfrom0to65535,specifyingthebitstoenableasabitsum.

Thisisarequiredparameter.

Page 1237: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

ThefollowingtableliststhebitdefinitionsfortheStandardOperationRegister.

Bit#

BitName DecimalValue

Definition

0 Calibrating 1 Theinstrumentiscalibrating.

1 SelfTest 2 Theinstrumentisdoingaself-test.

2 NotUsed 4 (Alwaysreturns0)

3 NotUsed 8 (Alwaysreturns0)

4 Scanning 16 Theinstrumentisscanning.

5 WFT 32 Theinstrumentiswaitingforatrigger.

6 NotUsed 64 (Alwaysreturns0)

7 USBMSDdetected

128 AUSBmassstoragedevice(USBdrive)hasbeendetected.

8 ConfigChanged

256 Theinstrumentconfigurationhaschanged.

9 MemThreshold

512 Thenumberofreadingsinmemoryhasexceededthememorythresholdsetting(seeDATA:POINts:EVENt:THReshold).

10 InstrumentLocked

1024 Theinstrumentislocked.

11 SettingsChanged

2048 Theinstrument'ssettingshavechanged.

12 NotUsed 4096 (Alwaysreturns0)

13 GlobalError 8192 Anerrorisintheglobalerrorqueue.

Page 1238: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

14 Busy 16384 Theinstrumentisbusy.

15 NotUsed 32768(Alwaysreturns0)

Usethe<enable_value>parametertospecifywhichbitswillbereportedtotheStatusByte.Thedecimalvaluespecifiedcorrespondstothebinary-weightedsumofthebitsyouwishtoenableintheregister.Forexample,toenablebit0(decimalvalue=1)andbit10(decimalvalue=1024),thecorrespondingdecimalvaluewouldbe1024(1+1024).

Bit14,theBusybit,willbesetwhiletheinstrumentisperforminglongcommands,suchasMMEMory:IMPort:CONFig?.

Page 1239: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequerycommandreadstheenableregisterandreturnsadecimalvaluecorrespondingtothebinary-weightedsumofallbitssetintheregister.Forexample,ifbit0(decimalvalue=1)andbit10(decimalvalue=1024)areenabled,thequerycommandwillreturn+1025.

Page 1240: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablesbit9(decimalvalue=512)intheenableregister.

STAT:OPER:ENAB512

Thefollowingqueryreturnswhichbitsareenabledintheregister.

STAT:OPER:ENAB?

TypicalResponse:+512

Page 1241: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSTATusSubsystemIntroduction

STATus:OPERation:CONDition?

STATus:OPERation[:EVENt]?

Page 1242: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

STATus:OPERation[:EVENt]?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1243: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

STATus:OPERation[:EVENt]?

Page 1244: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandqueriestheconditionregisterfortheStandardOperationRegistergroup.Thisisaread-destructiveregisterandthebitsareclearedwhenyoureadtheregister.

FormoreinformationontheStatusSystemfortheinstrument,seeStatusSystemIntroduction.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizerchannelsonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 1245: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

ThefollowingtableliststhebitdefinitionsfortheStandardOperationRegister.

Bit#

BitName DecimalValue

Definition

0 Calibrating 1 Theinstrumentiscalibrating.

1 SelfTest 2 Theinstrumentisdoingaself-test.

2 NotUsed 4 (Alwaysreturns0)

3 NotUsed 8 (Alwaysreturns0)

4 Scanning 16 Theinstrumentisscanning.

5 WFT 32 Theinstrumentiswaitingforatrigger.

6 NotUsed 64 (Alwaysreturns0)

7 USBMSDdetected

128 AUSBmassstoragedevice(USBdrive)hasbeendetected.

8 ConfigChanged

256 Theinstrumentconfigurationhaschanged.

9 MemThreshold

512 Thenumberofreadingsinmemoryhasexceededthememorythresholdsetting(seeDATA:POINts:EVENt:THReshold).

10 InstrumentLocked

1024 Theinstrumentislocked.

11 SettingsChanged

2048 Theinstrument'ssettingshavechanged.

12 NotUsed 4096 (Alwaysreturns0)

13 GlobalError 8192 Anerrorisintheglobalerrorqueue.

Page 1246: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

14 Busy 16384 Theinstrumentisbusy.

15 NotUsed 32768(Alwaysreturns0)

Bit14,theBusybit,willbesetwhiletheinstrumentisperforminglongcommands,suchasMMEMory:IMPort:CONFig?.

Thisregisterisclearedwhenitisread,orwhenyouissuea*CLScommand.

Page 1247: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreadstheoperationeventregisterandreturnsadecimalvaluewhichcorrespondstothebinary-weightedsumofallbitssetintheregister(seetableabove).Forexample,ifbit1(decimalvalue=2)andbit9(decimalvalue=512)areset,thiscommandwillreturn"+514".

Page 1248: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandreadsthequestionableeventregister(bits1and9areset).

STAT:OPER?

TypicalResponse:+514

Page 1249: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSTATusSubsystemIntroduction

STATus:OPERation:CONDition?

STATus:OPERation:ENABle

Page 1250: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

STATus:PRESetSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 1251: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

STATus:PRESet

Page 1252: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandclearsallbitsintheQuestionableDataenableregister,theAlarmenableregister,andtheStandardOperationenableregister.

Page 1253: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandclearsallbitsintheregisterslistedabove.

STATus:PRESet

Page 1254: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSTATusSubsystemIntroduction

Page 1255: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

STATus:QUEStionable:CONDition?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1256: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

STATus:QUEStionable:CONDition?

Page 1257: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandqueriestheconditionregisterfortheQuestionableDataRegistergroup.Thisisaread-onlyregisterandthebitsarenotclearedwhenyoureadtheregister.

FormoreinformationontheStatusSystemfortheinstrument,seeStatusSystemIntroduction.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizerchannelsonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 1258: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Theconditionregisterbitsreflectthecurrentcondition.Ifaconditionisnolongertrue,thecorrespondingbitisclearedintheconditionregister.

ThefollowingtableliststhebitdefinitionsfortheQuestionableDataRegister.

Bit# BitName DecimalValue

Definition

0-10 NotUsed 1-1024 (Alwaysreturns0)

11 TotalizerOverflow

2048 Atotalizerhascountedpastitslimit.

12 MemoryOverflow

4096 Thereadingmemoryhasoverflowed.

13-15 NotUsed 8192-32768 (Alwaysreturns0)

AFactoryReset(*RSTcommand)clearsallbitsintheconditionregister.

Page 1259: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreadsthequestionableconditionregisterandreturnsadecimalvaluewhichcorrespondstothebinary-weightedsumofallbitssetintheregister(seetableabove).Forexample,ifbit11(decimalvalue=2048)andbit12(decimalvalue=4096)areset,thiscommandwillreturn"6144".

Page 1260: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandreadstheconditionregister(bit11isset).

STAT:QUES:COND?

TypicalResponse:+2048

Page 1261: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSTATusSubsystemIntroduction

STATus:QUEStionable:ENABle

STATus:QUEStionable[:EVENt]?

Page 1262: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

STATus:QUEStionable:ENABleSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1263: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

STATus:QUEStionable:ENABle<enable_val>

STATus:QUEStionable:ENABle?

Page 1264: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandenablesbitsintheenableregisterfortheQuestionableDataRegistergroup.TheselectedbitsarethenreportedtotheStatusByte.

FormoreinformationontheStatusSystemfortheinstrument,seeStatusSystemIntroduction.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizerchannelsonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 1265: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<enable_val> Numeric Anintegerfrom0to65535,specifyingthebitstoenableasabitsum.

Thisisarequiredparameter.

Page 1266: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

ThefollowingtableliststhebitdefinitionsfortheQuestionableDataRegister.

Bit#

BitName DecimalValue

Definition

0 VoltageOverload

1 Theinstrumenthasexperiencedavoltageoverload.

1 CurrentOverload

2 Theinstrumenthasexperiencedacurrentoverload.

2 NotUsed 4 (Alwaysreturns0)

3 NotUsed 8 (Alwaysreturns0)

4 NotUsed 16 (Alwaysreturns0)

5 NotUsed 32 (Alwaysreturns0)

6 NotUsed 64 (Alwaysreturns0)

7 NotUsed 128 (Alwaysreturns0)

8 NotUsed 256 (Alwaysreturns0)

9 ResOverload 512 Theinstrumenthasexperiencedaresistanceoverload.

10 TemperatureOverload

1024 Theinstrumenthasexperiencedatemperatureoverload.

11 TotalizerOverflow

2048 Atotalizerhascountedpastitslimit.

12 MemoryOverflow

4096 Thereadingmemoryhasoverflowed.

Page 1267: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

13 NotUsed 8192 (Alwaysreturns0)

14 NotUsed 16384 (Alwaysreturns0)

15 NotUsed 32768 (Alwaysreturns0)

Usethe<enable_value>parametertospecifywhichbitswillbereportedtotheStatusByte.Thedecimalvaluespecifiedcorrespondstothebinary-weightedsumofthebitsyouwishtoenableintheregister.Forexample,toenablebit0(decimalvalue=1)andbit10(decimalvalue=1024),thecorrespondingdecimalvaluewouldbe1025(1+1024).

The*CLS(clearstatus)commandwillnotcleartheenableregisterbutitdoesclearallbitsintheeventregister.

The*RSTcommandhasnoeffectonthisregister.

Page 1268: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequerycommandreadstheenableregisterandreturnsadecimalvaluecorrespondingtothebinary-weightedsumofallbitssetintheregister.Forexample,ifbit0(decimalvalue=1)andbit10(decimalvalue=1024)areenabled,thequerycommandwillreturn+1025.

Page 1269: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandenablesbit9(decimalvalue=512)intheenableregister.

STAT:QUES:ENAB512

Thefollowingqueryreturnswhichbitsareenabledintheregister.

STAT:QUES:ENAB?

TypicalResponse:+512

Page 1270: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSTATusSubsystemIntroduction

STATus:QUEStionable:CONDition?

STATus:QUEStionable[:EVENt]?

Page 1271: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

STATus:QUEStionable[:EVENt]?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 1272: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

STATus:QUEStionable[:EVENt]?

Page 1273: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandqueriestheconditionregisterfortheQuestionableDataRegistergroup.Thisisaread-destructiveregisterandthebitsareclearedwhenyoureadtheregister.

FormoreinformationontheStatusSystemfortheinstrument,seeStatusSystemIntroduction.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizerchannelsonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 1274: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

ThefollowingtableliststhebitdefinitionsfortheQuestionableDataRegister.

Bit#

BitName DecimalValue

Definition

0 VoltageOverload

1 Theinstrumenthasexperiencedavoltageoverload.

1 CurrentOverload

2 Theinstrumenthasexperiencedacurrentoverload.

2 NotUsed 4 (Alwaysreturns0)

3 NotUsed 8 (Alwaysreturns0)

4 NotUsed 16 (Alwaysreturns0)

5 NotUsed 32 (Alwaysreturns0)

6 NotUsed 64 (Alwaysreturns0)

7 NotUsed 128 (Alwaysreturns0)

8 NotUsed 256 (Alwaysreturns0)

9 ResOverload 512 Theinstrumenthasexperiencedaresistanceoverload.

10 TemperatureOverload

1024 Theinstrumenthasexperiencedatemperatureoverload.

11 TotalizerOverflow

2048 Atotalizerhascountedpastitslimit.

12 MemoryOverflow

4096 Thereadingmemoryhasoverflowed.

Page 1275: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

13 NotUsed 8192 (Alwaysreturns0)

14 NotUsed 16384 (Alwaysreturns0)

15 NotUsed 32768 (Alwaysreturns0)

Onceabitisset,itremainssetuntilclearedbyreadingtheeventregisterorthe*CLS(clearstatus)command.

The*RSTcommandhasnoeffectonthisregister.

Page 1276: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreadsthequestionableeventregisterandreturnsadecimalvaluewhichcorrespondstothebinary-weightedsumofallbitssetintheregister(seetableabove).Forexample,ifbit1(decimalvalue=2)andbit9(decimalvalue=512)areset,thiscommandwillreturn"+514".

Page 1277: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandreadsthequestionableeventregister(bits1and9areset).

STAT:QUES?

TypicalResponse:+514

Page 1278: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSTATusSubsystemIntroduction

STATus:QUEStionable:ENABle

STATus:QUEStionable:CONDition?

Page 1279: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTemSubsystemIntroduction

CommandSummarySYSTem:ALARm?

SYSTem:CPON

SYSTem:CTYPe?

SYSTem:DATE

SYSTem:DATE?

SYSTem:ERRor?

SYSTem:INTerface

SYSTem:INTerface?

SYSTem:LANGuage

SYSTem:LANGuage?

SYSTem:LFRequency?

SYSTem:LOCal

SYSTem:LOCK:NAME?

SYSTem:LOCK:OWNer?

SYSTem:LOCK:RELease

SYSTem:LOCK:REQuest?

SYSTem:PRESet

SYSTem:REMote

SYSTem:RWLock

SYSTem:SECurity[:IMMediate]

SYSTem:TIME

SYSTem:TIME?

Page 1280: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:TIME:SCAN?

SYSTem:VERSion?

LANConfigurationCommands

TheinstrumentusesthefollowingLANports(34972Aonly):

Port5024isusedforSCPITelnetsessions.Port5025isusedforSocketsessions.

Page 1281: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

LANConfigurationIntroduction

RemoteInterfaceConfigurationCommandsSYSTem:COMMunicate:LAN:CONTrol?

SYSTem:COMMunicate:LAN:DHCP

SYSTem:COMMunicate:LAN:DHCP?

SYSTem:COMMunicate:LAN:DNS

SYSTem:COMMunicate:LAN:DNS?

SYSTem:COMMunicate:LAN:DOMain?

SYSTem:COMMunicate:LAN:GATEway

SYSTem:COMMunicate:LAN:GATEway?

SYSTem:COMMunicate:LAN:HOSTname

SYSTem:COMMunicate:LAN:HOSTname?

SYSTem:COMMunicate:LAN:IPADdress

SYSTem:COMMunicate:LAN:IPADdress?

SYSTem:COMMunicate:LAN:MAC?

SYSTem:COMMunicate:LAN:SMASk

SYSTem:COMMunicate:LAN:SMASk?

SYSTem:COMMunicate:LAN:TELNet:PROMpt

SYSTem:COMMunicate:LAN:TELNet:PROMpt?

SYSTem:COMMunicate:LAN:TELNet:WMESsage

SYSTem:COMMunicate:LAN:TELNet:WMESsage?

SYSTem:COMMunicate:LAN:UPDate

TheinstrumentusesthefollowingLANports(34972Aonly):

Page 1282: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Port5024isusedforSCPITelnetsessions.Port5025isusedforSocketsessions.

Page 1283: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:COMMunicate:LAN:CONTrol?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 1284: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:COMMunicate:LAN:CONTrol?

Page 1285: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreturnsthecontrolconnectionportnumberforsocketcommunications.

Page 1286: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thisqueryisonlyusedwhenprogrammingoversockets.

YoucanusethecontrolsocketconnectiontosendaDeviceCleartotheinstrumentortodetectpendingServiceRequest(SRQ)events.

Thisqueryalwaysreturns0ifnotsentfromasocketconnection.

Page 1287: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthecontrolconnectionportnumber.If0isreturned,theinterfacedoesnotsupportaSocketControlconnection.

Page 1288: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingqueryreturnsthecontrolconnectionportnumber.

SYST:COMM:LAN:CONT?

TypicalResponse:+5005

Page 1289: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoLANConfigurationIntroduction

Page 1290: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:COMMunicate:LAN:DHCPSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 1291: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:COMMunicate:LAN:DHCP<mode>

SYSTem:COMMunicate:LAN:DHCP?

Page 1292: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommanddisablesorenablesuseoftheDynamicHostConfigurationProtocol(DHCP)fortheinstrument.

WhenDHCPisenabled(factorysetting),theinstrumentwilltrytoobtainanIPaddressfromaDHCPserver.IfaDHCPserverisfound,itwillassignadynamicIPaddress,SubnetMask,andDefaultGatewaytotheinstrument.IfaDHCPserverisnotfound,theinstrumentusesAutoIPtoautomaticallyconfigureitsIPsettingintheAutomaticPrivateIPAddressingrange(169.254.xxx.xxx).

WhenDHCPisdisabled,theinstrumentwillusethestaticIPaddress,SubnetMask,andDefaultGatewayduringpower-on.

IfyouchangetheDHCPmode,youmustexecuteaSYSTem:COMMunicate:LAN:UPDatecommandtoactivatethesetting.

Page 1293: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<mode> Boolean {OFF|0|ON|1} Thisisarequiredparameter.

Page 1294: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

MostsiteLANshaveaDHCPserver.

IfaDHCPLANaddressisnotassignedbyaDHCPserver,thenanAutoIPaddressstaticIPwillbeassumedafterapproximatelytwominutes.

TheDHCPsettingisstoredinnon-volatilememory,anddoesnotchangewhenpowerhasbeenoff,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

Thequeryreturnsthecurrentsettingonly.ThismaydifferfromwhatwasjustsetifyouhavenotyetexecutedaSYSTem:COMMunicate:LAN:UPDatecommand.

Page 1295: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns0(OFF)or1(ON).

Page 1296: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommanddisablesDHCP.

SYST:COMM:LAN:DHCPOFFSYST:COMM:LAN:UPDate

ThefollowingqueryreturnsthecurrentDHCPsetting.

SYST:COMM:LAN:DHCP?

TypicalResponse:0

Page 1297: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoLANConfigurationIntroduction

SYSTem:COMMunicate:LAN:GATEway

SYSTem:COMMunicate:LAN:IPADdress

SYSTem:COMMunicate:LAN:SMASk

SYSTem:COMMunicate:LAN:UPDate

Page 1298: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:COMMunicate:LAN:DNSSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 1299: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:COMMunicate:LAN:DNS"<address>"

SYSTem:COMMunicate:LAN:DNS?[{CURRent|STATic}]

Page 1300: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandassigntheIPaddressoftheDomainNameSystemserver(DNS).

ContactyournetworkadministratortodeterminewhetherDNSisbeingusedandforthecorrectaddress.IfDHCPisavailableandenabled,DHCPwillauto-assigntheDNSaddress.Thisauto-assignedDNSaddresstakesprecedenceoverthestaticDNSaddressassignedwiththiscommand.

IfyouchangetheDNSaddress,youmustexecuteaSYSTem:COMMunicate:LAN:UPDatecommandtoactivatethesetting.

Page 1301: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<address> QuotedString

Specifiedinfour-bytedotnotation("nnn.nnn.nnn.nnn"),where"nnn"ineachcaseisabytevalueintherange0through255.

Thisisarequiredparameter.

Page 1302: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

TheassignedDNSaddressisusedfortheDNSserverifDHCPisdisabled.Otherwise,theDNSserveraddressisauto-assignedbyDHCP.

TheDNSaddressisstoredinnon-volatilememory,anddoesnotchangewhenpowerhasbeenoff,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 1303: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryformreturnstheaddressoftheDNSserverintheform"nnn.nnn.nnn.nnn".

Notethatthequeryversionofthecommandhastwooptionalparameters.Specify"CURRent"(default)toreadtheDNSaddresscurrentlyinuse.Specify"STATic"toreadtheDNSaddress,staticgateway,orIPaddresscurrentlystoredinnon-volatilememorywithintheinstrument.TheDNSaddressstoredinmemoryisusedifDHCPisdisabled.IfDHCPisenabled,itwillauto-assigntheDNSaddress,andthatDHCPassignedaddresscanbereadbyspecifying"CURRent".

Page 1304: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandsetsthestaticDNSaddress.

SYST:COMM:LAN:DNS"198.105.232.4"

SYST:COMM:LAN:UPDate

ThefollowingqueryreturnstheDNSaddresscurrentlybeingusedbytheinstrument(thequotesarealsoreturned).

SYST:COMM:LAN:DNS?CURR

TypicalResponse:"198.105.232.4"

Page 1305: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoLANConfigurationIntroduction

SYSTem:COMMunicate:LAN:HOSTname

SYSTem:COMMunicate:LAN:UPDate

Page 1306: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:COMMunicate:LAN:DOMain?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 1307: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:COMMunicate:LAN:DOMain?

Page 1308: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreturnsthecurrentnetworkdomain.

Page 1309: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

IftheinstrumenthasaDNSserver,itlooksupitsdomainname.

Page 1310: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreadsthedomainnameandreturnsanASCIIstringenclosedindoublequotes.Ifadomainnamehasnotbeenassigned,anullstring("")isreturned.

Page 1311: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingqueryreturnsthedomainnamecurrentlybeingusedbytheinstrument(thequotesarealsoreturned).

SYST:COMM:LAN:DOM?

TypicalResponse:"example.com"

Page 1312: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoLANConfigurationIntroduction

SYSTem:COMMunicate:LAN:DNS

SYSTem:COMMunicate:LAN:HOSTname

Page 1313: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:COMMunicate:LAN:GATEwaySyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 1314: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:COMMunicate:LAN:GATEway"<address>"

SYSTem:COMMunicate:LAN:GATEway?[{CURRent|STATic}]

Page 1315: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandassignsthestaticgatewayfortheinstrument.

Contactyournetworkadministratortodeterminewhethersubnettingisbeingusedandforthecorrectaddress.IfDHCPisenabled,DHCPwillauto-assignthegateway.Thisauto-assignedgatewaytakesprecedenceoverthestaticgatewayassignedwiththiscommand.

Ifyouchangethegateway,youmustexecuteaSYSTem:COMMunicate:LAN:UPDatecommandtoactivatethesetting.

Page 1316: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<address> QuotedString

Specifiedinfour-bytedotnotation("nnn.nnn.nnn.nnn"),where"nnn"ineachcaseisabytevalueintherange0through255.

Thisisarequiredparameter.

Page 1317: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

TheassignedgatewayisusedifDHCPisdisabled.Otherwise,thegatewayisauto-assignedbyDHCP.

Thestaticgatewayisstoredinnon-volatilememory,anddoesnotchangewhenpowerhasbeenoff,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

IfDHCPisenabled(seeSYSTem:COMMunicate:LAN:DHCPcommand),thestaticgatewayisassignedbytheDHCPserver,sothespecifiedstaticgatewayisnotused.However,ifDHCPisturnedoff,thecurrentlyconfiguredstaticgatewaywillbeused.

Agatewayvalueof"0.0.0.0"indicatesthatsubnettingisnotbeingused.

Page 1318: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryformreturnstheaddressofthegatewayintheform"nnn.nnn.nnn.nnn".

Notethatthequeryversionofthecommandhastwooptionalparameters.Specify"CURRent"(default)toreadthestaticgatewaycurrentlyinuse.Specify"STATic"toreadthestaticgatewaycurrentlystoredinnon-volatilememorywithintheinstrument.ThegatewaystoredinmemoryisusedifDHCPisdisabled.IfDHCPisenabled,itwillauto-assignthegatewaycanbereadbyspecifying"CURRent".

Page 1319: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsetsthestaticgateway.

SYST:COMM:LAN:GATEway"192.168.1.1"

SYST:COMM:LAN:UPDate

Thefollowingqueryreturnsthegatewaycurrentlybeingusedbytheinstrument(thequotesarealsoreturned).

SYST:COMM:LAN:GATEway?CURR

TypicalResponse:"192.168.1.1"

Page 1320: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoLANConfigurationIntroduction

SYSTem:COMMunicate:LAN:IPADdress

SYSTem:COMMunicate:LAN:SMASk

SYSTem:COMMunicate:LAN:DHCP

SYSTem:COMMunicate:LAN:UPDate

Page 1321: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:COMMunicate:LAN:HOSTnameSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 1322: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:COMMunicate:LAN:HOSTname"<name>"

SYSTem:COMMunicate:LAN:HOSTname?[{CURRent|STATic}]

Page 1323: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandassignsahostnametotheinstrument.Thehostnameisthehostportionofthedomainname,whichistranslatedintoanIPaddress.

Ifyouchangethehostname,youmustexecuteaSYSTem:COMMunicate:LAN:UPDatecommandtoactivatethesetting.

Page 1324: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<name> QuotedASCIIString

Astringofupto45characters.Thefirstcharactermustbealetter(A-Z),buttheremaining44characterscanbeletters,numbers(0-9),ordashes("-").Blankspacesarenotallowed.

Thisisarequiredparameter.

TheLXIresetvalueisA-34970A-nnnnnorA-34972A-nnnnn,wherennnnnisthelast5digitsintheinstrument'sserialnumber.

Page 1325: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

IfDynamicDomainNameSystem(DDNS)isavailableonyournetworkandyourinstrumentusesDHCP,thehostnameisregisteredwiththeDynamicDNSserviceatpower-on.

IfDHCPisenabled(seeSYSTem:COMMunicate:LAN:DHCPcommand),theDHCPservercanassignadifferentnameiftherequestednameisalreadyinuseonthenetwork.

Thehostnameisstoredinnon-volatilememory,anddoesnotchangewhenpowerhasbeenoff,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 1326: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreadsthehostnameandreturnsanASCIIstringenclosedindoublequotes.Ifahostnamehasnotbeenassigned,thequeryreturnsanullstring("").

Notethatthequeryversionofthecommandhastwooptionalparameters.Specify"CURRent"(default)toreadthehostnamethattheinstrumentiscurrentlyusing.Specify"STATic"toreadthedesiredhostnamecurrentlystoredinnon-volatilememorywithintheinstrument(whichmaynotbetheactualnamecurrentlyinuseonthenetwork).

Page 1327: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommanddefinesahostname.

SYST:COMM:LAN:HOST"LAB1-34970A"

SYST:COMM:LAN:UPDate

Thefollowingqueryreturnsthehostnamecurrentlybeingusedbytheinstrument(thequotesarealsoreturned).

SYST:COMM:LAN:HOST?CURRorSYST:COMM:LAN:HOST?

TypicalResponse:"LAB1-34970A"

Page 1328: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoLANConfigurationIntroduction

SYSTem:COMMunicate:LAN:DHCP

SYSTem:COMMunicate:LAN:DOMain?

SYSTem:COMMunicate:LAN:UPDate

Page 1329: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:COMMunicate:LAN:IPADdressSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 1330: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:COMMunicate:LAN:IPADdress"<address>"

SYSTem:COMMunicate:LAN:IPADdress?[{CURRent|STATic}]

Page 1331: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandassignsthestaticIPaddressfortheinstrument.

IfDHCPisenabled,DHCPwillauto-assigntheIPaddress.Thisauto-assignedIPaddresstakesprecedenceoverthestaticIPaddressassignedwiththiscommand.

IfyouchangetheIPaddress,youmustexecuteaSYSTem:COMMunicate:LAN:UPDatecommandtoactivatethesetting.

Page 1332: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<address> QuotedString

Specifiedinfour-bytedotnotation("nnn.nnn.nnn.nnn"),where"nnn"ineachcaseisabytevalueintherange0through255.

Thisisarequiredparameter.

Page 1333: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

TheassignedIPaddressisusedifDHCPisdisabled.Otherwise,theIPaddressisauto-assignedbyDHCP.

TheIPaddressisstoredinnon-volatilememory,anddoesnotchangewhenpowerhasbeenoff,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

IfDHCPisenabled(seeSYSTem:COMMunicate:LAN:DHCPcommand),theIPaddressisassignedbytheDHCPserver,sothespecifiedIPaddressisnotused.However,ifDHCPisturnedoff,thecurrentlyconfiguredIPaddresswillbeused.

IFDHCPisenabled,butaDHCPserverisnotavailable,theIPaddressisdeterminedbyAutoIP.

IfyouareplanningtouseastaticIPaddressonasiteLAN,contactyournetworkadministratortoobtainafixedIPaddresstobeusedexclusivelyforyourinstrument,alongwiththecorrespondingsubnetmaskandgateway.

Page 1334: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryformreturnstheaddressoftheIPaddressoftheinstrumentintheform"nnn.nnn.nnn.nnn".

Notethatthequeryversionofthecommandhastwooptionalparameters.Specify"CURRent"(default)toreadtheIPaddresscurrentlyinuse.Specify"STATic"toreadtheIPaddresscurrentlystoredinnon-volatilememorywithintheinstrument.TheIPaddressstoredinmemoryisusedifDHCPisdisabled.IfDHCPisenabled,itwillauto-assigntheIPaddress,andthatDHCPassignedaddresscanbereadbyspecifying"CURRent".

Page 1335: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandsetsthestaticIPaddress.

SYST:COMM:LAN:IPAD"198.168.1.2"

SYST:COMM:LAN:UPDate

ThefollowingqueryreturnstheIPaddresscurrentlybeingusedbytheinstrument(thequotesarealsoreturned).

SYST:COMM:LAN:IPAD?CURR

TypicalResponse:"198.168.1.2"

Page 1336: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoLANConfigurationIntroduction

SYSTem:COMMunicate:LAN:DHCP

SYSTem:COMMunicate:LAN:SMASk

SYSTem:COMMunicate:LAN:GATEway

SYSTem:COMMunicate:LAN:UPDate

Page 1337: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:COMMunicate:LAN:MAC?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 1338: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:COMMunicate:LAN:MAC?

Page 1339: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreadstheinstrument'sMediaAccessControl(MAC)address,alsoknownasthelink-layeraddress,theEthernet(station)address,LANICID,orHardwareAddress.Thisisanunchangeable48-bitaddressassignedbythemanufacturertoeachuniqueInternetdevice.

Yournetworkadministratormayneedtheinstrument'sMACaddressinordertoassignastaticIPaddressforthisdevice.

Page 1340: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Theinstrument'sMACaddressisuniquetotheinstrument.Itissetatthefactoryandcannotbechanged.

TheMACaddressisstoredinnon-volatilememory,anddoesnotchangewhenpowerhasbeenoff,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 1341: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreadstheMACaddressandreturnsanASCIIstringenclosedindoublequotes.TheMACaddressisrepresentedas12hexadecimalcharacters.

Page 1342: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingqueryreturnstheMACaddress(thequotesarealsoreturned).

SYST:COMM:LAN:MAC?

TypicalResponse:"0030D3001041"

Page 1343: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoLANConfigurationIntroduction

SYSTem:COMMunicate:LAN:IPADdress

Page 1344: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:COMMunicate:LAN:SMASkSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 1345: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:COMMunicate:LAN:SMASk"<mask>"

SYSTem:COMMunicate:LAN:SMASk?[{CURRent|STATic}]

Page 1346: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandassignsaSubnetMaskfortheinstrument.TheinstrumentusestheSubnetMasktodeterminewhetheraclientIPaddressisonthesamelocalsubnet.WhenaclientIPaddressisonadifferentsubnet,allpacketsmustbesenttotheDefaultGateway.ContactyournetworkadministratortodeterminewhethersubnettingisbeingusedandforthecorrectSubnetMask.

Ifyouchangethesubnetmask,youmustexecuteaSYSTem:COMMunicate:LAN:UPDatecommandtoactivatethesetting.

Page 1347: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<mask> QuotedString

Specifiedinfour-bytedotnotation("nnn.nnn.nnn.nnn"),where"nnn"ineachcaseisabytevalueintherange0through255.

Thisisarequiredparameter.

Thefactorydefaultvalueis"255.255.0.0".

Page 1348: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

TheassignedsubnetmaskisusedifDHCPisdisabled.Otherwise,thesubnetmaskisauto-assignedbyDHCP.

IfDHCPisenabled(factorydefault),thesubnetmaskdoesnotneedtobeset.

IfDHCPisenabled(seeSYSTem:COMMunicate:LAN:DHCPcommand),thesubnetmaskisassignedbytheDHCPserver,sothespecifiedsubnetmaskisnotused.However,ifDHCPisturnedoff,thecurrentlyconfiguredSubnetMaskwillbeused.

Avalueof"0.0.0.0"or"255.255.255.255"indicatesthatsubnettingisnotbeingused.

TheSubnetMaskisstoredinnon-volatilememory,anddoesnotchangewhenpowerhasbeenoff,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 1349: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnstheSubnetMaskintheform"nnn.nnn.nnn.nnn".

Notethatthequeryversionofthecommandhastwooptionalparameters.Specify"CURRent"(default)toreadthedynamicSubnetMaskcurrentlybeingusedbytheinstrument.Specify"STATic"toreadtheSubnetMaskcurrentlystoredinnon-volatilememorywithintheinstrument(maynotbetheactualmaskusedbytheinstrumentifDHCPisenabled).

Page 1350: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandsetstheSubnetMask.

SYST:COMM:LAN:SMAS"255.255.254.0"

SYST:COMM:LAN:UPDate

Thefollowingqueryreturnsthesubnetmaskcurrentlybeingusedbytheinstrument(thequotesarealsoreturned).

SYST:COMM:LAN:SMAS?CURRorSYST:COMM:LAN:SMAS?

TypicalResponse:"255.255.254.0"

Page 1351: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoLANConfigurationIntroduction

SYSTem:COMMunicate:LAN:DHCP

SYSTem:COMMunicate:LAN:GATEway

SYSTem:COMMunicate:LAN:IPADdress

SYSTem:COMMunicate:LAN:UPDate

Page 1352: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:COMMunicate:LAN:TELNet:PROMptSYSTem:COMMunicate:LAN:TELNet:WMESsageSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 1353: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:COMMunicate:LAN:TELNet:PROMpt"<string>"SYSTem:COMMunicate:LAN:TELNet:PROMpt?

SYSTem:COMMunicate:LAN:TELNet:WMESsage"<string>"SYSTem:COMMunicate:LAN:TELNet:WMESsage?

Page 1354: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThesecommandssetthecommandpromptandwelcomemessagethataredisplayedwhenyouuseaTelnetsessiontocommunicatewiththeinstrument.

Page 1355: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<string> QuotedASCIIString

Astringofupto15characters(prompt)or63characters(welcomemessage).

"34972A>"(prompt)

"WelcometoKeysight's34972ASwitch/MeasureUnit"(welcomemessage)

Page 1356: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

TheTelnetportisanalternatewaytosendSCPIcommandstotheinstrument.

Port5024isusedforSCPITelnetsessions.

Telnetsessioncantypicallybestartedasfollowsfromahostcomputershell:

telnet<IP_address><port>

Forexample:

telnet169.254.4.105024

ToexitaTelnetsession,press<Ctrl-D>.

Thecommandpromptandwelcomemessagearestoredinnon-volatilememory,andtheydonotchangewhenpowerhasbeenofforafteraFactoryReset(*RSTcommand).

Thefollowingimageshowsboththepromptandthewelcomemessage.

Page 1357: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeriesreturnthecommandpromptorwelcomemessageasASCIIstringsenclosedindoublequotes.

Page 1358: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommanddefinesthecommandprompt.

SYST:COMM:LAN:TELN:PROM"Command>"

Thefollowingqueryreturnsthecommandpromptcurrentlybeingused(thequotesarealsoreturned).

SYST:COMM:LAN:TELN:PROM?

TypicalResponse:"Command>"

Page 1359: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoLANConfigurationIntroduction

Page 1360: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:COMMunicate:LAN:UPDateSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 1361: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:COMMunicate:LAN:UPDate

Page 1362: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThiscommandupdatesalloftheLANchanges.ItdisconnectsallactiveLANandWebconnectionsandrestartstheLANinterface,possiblywithanewIPaddress,dependingonhowyourinstrument'sIPaddressisassigned.

Page 1363: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Executingthiscommandisnecessarytomakethefollowingcommandstakeeffect:

SYSTem:COMMunicate:LAN:DHCP

SYSTem:COMMunicate:LAN:DNS

SYSTem:COMMunicate:LAN:GATEway

SYSTem:COMMunicate:LAN:HOSTname

SYSTem:COMMunicate:LAN:IPADdress

SYSTem:COMMunicate:LAN:SMASk

Beverycarefulwhenyouexecutethiscommand,becauseyourinstrumentmaynotworkontheLANifyouupdatetheinstrumentwithinvalidLANsettings.

Ifyourinstrumentdoesnotworkafteryouexecutethiscommand,pushtheLANResetfrontpanelsoftkeytorestorethesettingstoresetvaluesandresettheLAN,oruseanotherI/Ointerface,suchasUSB,tocorrectthesettings.

Page 1364: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

ThecommandsbelowdemonstrateatypicalusemodelforsettingandapplyingLANparameters.

SYST:COMM:LAN:DHCPOFF

SYST:COMM:LAN:IPADdress"192.168.1.2"

SYST:COMM:LAN:SMASk"255.255.0.0"

SYST:COMM:LAN:GATEway"192.168.1.1"

SYST:COMM:LAN:UPDate

Page 1365: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoLANConfigurationIntroduction

SYSTem:COMMunicate:LAN:DHCP

SYSTem:COMMunicate:LAN:DNS

SYSTem:COMMunicate:LAN:GATEway

SYSTem:COMMunicate:LAN:HOSTname

SYSTem:COMMunicate:LAN:IPADdress

SYSTem:COMMunicate:LAN:SMASk

Page 1366: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:ALARm?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 1367: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:ALARm?

Page 1368: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreadsthealarmdatafromthealarmqueue(onealarmeventisreadanddeletedfromthequeueeachtimethiscommandisexecuted).Arecordofupto20alarmscanbestoredintheinstrument'salarmqueue.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizerchannelsonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 1369: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Eachtimeyoustartanewscan,theinstrumentclearsallreadings(includingalarmdata)storedinreadingmemoryfromthepreviousmeasurement.Therefore,thecontentsofmemoryarealwaysfromthemostrecentmeasurement.

Alarmdataisretrievedinfirst-in-first-out(FIFO)order.Thefirstalarmreturnedisthefirstalarmthatwasstored.

Upto20alarmscanbeloggedinthealarmqueue.Ifmorethan20alarmsaregenerated,theywillbelost(onlythefirst20alarmsaresaved).

Toretrievescannedreadingsandalarmdatafromreadingmemorywithoutclearingtheinformation,usetheFETCh?command.

Thealarmqueueisclearedbythe*CLS(clearstatus)command,whenpoweriscycled,andbyreadingalloftheentries.AFactoryReset(*RSTcommand)orInstrumentPreset(SYSTem:PRESetcommand)doesnotclearthealarmqueue.

Page 1370: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsonestringeachtimeitisexecuted.Italsoreadsthealarmdataandclearsonealarmeventfromthealarmqueue.

Thequeryreturnsastringintheformshownbelow(independentofFORMat:READingcommands):

1ReadingwithUnits(26.195°C)

4ChannelNumber

2Date(November21,2004) 5AlarmLimitThresholdCrossed(0=NoAlarm,1=LO,2=HI)

3TimeofDay(3:30:23.000PM)

6AlarmNumber(1-4)

Page 1371: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreadsonemessagefromthealarmqueueandremovesthatmessagefromthequeue.

SYST:ALAR?

TypicalResponse:-1.17616000E-04VDC,2004,11,21,15,54,50.184,103,1,3

Page 1372: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTemSubsystemIntroduction

Page 1373: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:CPONSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 1374: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:CPON<slot>

Page 1375: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandresetsthemoduleinthespecifiedslottoitspower-onstate(CPONmeans"cardpoweron").SeeFactoryResetStateforacompletelistingoftheinstrument'sFactoryconfiguration.

Page 1376: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<slot> Discrete {100|200|300|ALL} Thisisarequiredparameter.

Page 1377: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thevariousmodulecardsareaffectedasfollows:

Module Effect

34901A Ifanychannelisconfiguredforameasurement,thiscommandhasnoeffect.Ifnochannelisconfigured,thiscommandopensallchannels.

34902A Ifanychannelisconfiguredforameasurement,thiscommandhasnoeffect.Ifnochannelisconfigured,thiscommandopensallchannels.

34903A Thiscommandopensallchannels.

34904A Thiscommandopensallchannels.

34905A Thiscommandcloseschannels11and21.

34906A Thiscommandcloseschannels11and21.

34907A Thiscommandresetsallchannelsnotinvolvedinscantothepower-onstate.

Page 1378: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

34908A Ifanychannelisconfiguredforameasurement,thiscommandhasnoeffect.Ifnochannelisconfigured,thiscommandopensallchannels.

ThiscommanddoesnotresettheinternalDMM.

TheinstrumentwillproduceanerrorifyouareactivelyscanningandtrytoexecuteaSYSTem:CPONforacardthatisinvolvedinthescan.

Toresetthemodulesinallthreeslotsintheinstrument,usetheALLkeywordshownabove.

Page 1379: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandresetsthemoduleinslot200.

SYST:CPON200

Page 1380: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTemSubsystemIntroduction

SYSTem:PRESet

*RST

Page 1381: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:CTYPe?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1382: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:CTYPe?<slot>

Page 1383: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreturnstheidentityoftheplug-inmoduleinthespecifiedslot.Thetablebelowshowstheplug-inmodulesavailablefortheKeysight34970A/34972A.

ModelNumber

ModuleDescription

34901A 20ChannelMultiplexer(2/4-wire)Module

34902A 16ChannelMultiplexer(2/4-wire)Module

34903A 20ChannelActuator/GPSwitchModule

34904A 4x8Two-WireMatrixModule

34905A 2GHzDual1:4RFMux,50OhmModule

34906A 2GHzDual1:4RFMux,75OhmModule

34907A MultifunctionModule

34908A 40ChannelSingle-EndedMultiplexer

Page 1384: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Module

Page 1385: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<slot> Numeric {100|200|300} Thisisarequiredparameter.

Page 1386: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnscomma-delimitedfieldsofASCIIcharacters,asshownbelow.Toreadthestringintoyourcomputer,besuretodimensionastringvariablewithatleast43characters.

<CompanyName>,<CardModelNumber>,<SerialNumber>,<FirmwareRev>

Forthe34970A,the<CompanyName>isHEWLETT-PACKARD.Forthe34972A,the<CompanyName>isKeysightTechnologies.IfyouhaveusedtheSYSTem:LANGuagecommandtosetthelanguageto"34970A",thequerywillalsoreturnthecompanynameasHEWLETT-PACKARD.

The<CardModelNumber>iseitheranumberfrom34901Athrough34908A.Thenumber0isreturnedforthe<SerialNumber>field.TheFirmwareRevisionhastheformR.Randindicatestherevisionoffirmwarecurrentlyinuseonthespecifiedmodule.

Ifthespecifiedslotisempty,thecommandrespondswitheitherKeysightTechnologies,0,0,0(34972A)orHEWLETT-PACKARD,0,0,0(34970A).

Page 1387: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandreturnstheidentityofthemoduleinslot300ofa34972A.

SYST:CTYP?300

TypicalResponse:KeysightTechnologies,34907A,0,1.0

Page 1388: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTemSubsystemIntroduction

SYSTem:CTYPe?

*IDN?

Page 1389: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:DATESyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1390: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:DATE<yyyy>,<mm>,<dd>

SYSTem:DATE?

Page 1391: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Duringascan,theinstrumentstoresallreadingsandalarmswiththecurrenttimeanddate.Thiscommandsetstheinstrumentcalendar.

Page 1392: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<yyyy> Numeric Thecurrentyear

Thisisarequiredparameter.

<mm> Numeric Thecurrentmonth

Thisisarequiredparameter.

<dd> Numeric Thecurrentdayofthecurrentmonth

Thisisarequiredparameter.

Page 1393: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Whenshippedfromthefactory,theinstrumentissettothecurrenttimeanddateforGreenwichMeanTime(GMT).

Thecalendarsettingisstoredinnon-volatilememory,anddoesnotchangewhenpowerhasbeenoff,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 1394: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthreecomma-separatedvaluesintheform"yyyy,mm,dd".

Page 1395: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandsetstheinstrumentdatetoSeptember12,2009.

SYST:DATE2009,09,12

Thefollowingqueryreturnsthedate.

SYST:DATE?

TypicalResponse:2009,09,12

Page 1396: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTemSubsystemIntroduction

SYSTem:TIME

Page 1397: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:ERRor?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 1398: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:ERRor?

Page 1399: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreadsandclearsoneerrorfromtheinstrument'serrorqueue.Arecordofupto10errors(34970A)or20errors(34972A)isstoredintheinstrument’serrorqueue.Errorsareretrievedinfirst-in-first-out(FIFO)order.Theerrorqueueisclearedbythe*CLS(clearstatus)commandorwhenpoweriscycled.Theerrorsarealsoclearedwhenyoureadthequeue.

ForacompletelistingoftheerrormessagesfortheKeysight34970A/34972A,seeSCPIErrorMessages.

Page 1400: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Theinstrumentbeepsonceeachtimeacommandsyntaxorhardwareerrorisgenerated.Thefront-panelERRORannunciatorturnsonwhenoneormoreerrorsarecurrentlystoredintheerrorqueue.

Errorsareretrievedinfirst-in-first-out(FIFO)order.Thefirsterrorreturnedisthefirsterrorthatwasstored.Onceyouhavereadalloftheinterface-specificerrors,theerrorsintheglobalerrorqueueareretrieved.

Errorsareclearedasyoureadthem.Whenyouhavereadallerrorsfromtheinterface-specificerrorqueue(errorsfromthecurrentI/Osession)andglobalerrorqueue(errorsfromanyI/Osession),theERRORannunciatorturnsoffandtheerrorsarecleared.

Ifmorethanthemaximumnumberoferrorshaveoccurred(10errorsonthe34970Aor20errorsonthe34972A),thelasterrorstoredinthequeue(themostrecenterror)isreplacedwith-350,"Errorqueueoverflow".Noadditionalerrorsarestoreduntilyouremoveerrorsfromthequeue.Ifnoerrorshaveoccurredwhenyoureadtheerrorqueue,theinstrumentrespondswith+0,"Noerror".

ThefrontpanelreportserrorsfromallI/Osessionsaswellastheglobalerrorqueue.Toreadtheerrorqueuefromthefrontpanel,usetheViewkey.

ErrorconditionsarealsosummarizedintheStatusByteRegister.FormoreinformationontheStatusSystemfortheinstrument,seeStatusSystemIntroduction.

Theinterface-specificandglobalerrorqueuesareclearedbythe*CLS(ClearStatus)commandandwhenpoweriscycled.Theerrorsarealsoclearedwhenyoureadtheerrorqueue.Theerror

Page 1401: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

queueisnotclearedbyaFactoryReset(*RSTcommand)oranInstrumentPreset(SYSTem:PRESetcommand).

Page 1402: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreadsandclearsoneerrorstringfromtheerrorqueue.Theerrorstringmaycontainupto160charactersandconsistsofanerrornumberandanerrorstringenclosedindoublequotes.Forexample:

-113,"Undefinedheader"

Page 1403: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreadsandclearsoneerror.

SYST:ERR?

TypicalResponse:-101,"Invalidcharacter"

Page 1404: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTemSubsystemIntroduction

*SRE

Page 1405: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:INTerfaceSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34970Aonly.

Page 1406: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:INTerface{GPIB|RS232}

SYSTem:INTerface?

Page 1407: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommand/queryselectstheremoteinterfacefortheinstrument.Onlyoneinterfacecanbeenabledatatime.TheGPIBinterfaceisselectedwhentheinstrumentisshippedfromthefactory.

Page 1408: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thiscommandonlyhaseffectonthe34970A.The34972Awillacceptthecommand,butthecommandwillhavenoeffect.Boththeparametersandtheresponsetothequeryaremeaningless.

Thenon-selectedinterfaceisdisabledimmediately.

Page 1409: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsGPIBorRS232.Onthe34972A,the(meaningless)responseisGPIB.

Page 1410: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandsetstheremoteinterfacetoRS-232ona34970A.

SYST:INTRS232

Thefollowingqueryreturnstheremoteinterfacefora34970A.

SYST:INT?

TypicalResponse:RS232

Page 1411: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTemSubsystemIntroduction

SYSTem:LOCal

SYSTem:REMote

Page 1412: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:LANGuageSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 1413: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:LANGuage<language>

SYSTem:LANGuage?

Page 1414: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandallowsyoutospecifywhethertheinstrumentshouldbehaveasa34970Aora34972A.

Page 1415: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<language> Discrete {"34970A"|"34972A"} Thisisarequiredparameter.

Page 1416: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Thiscommandonlyaffectstheoutputofthe*IDN?andSYSTem:CTYPe?queries.

Ifyoudonotspecify34970Aor34972A,theinstrumentwilldispatchanerrormessage.

Page 1417: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturns"34970A"or"34972A".

Page 1418: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsetsthelanguageto34970A.

SYST:LANG"34970A"

Thefollowingqueryreturnsthecurrent<language>settingfortheinstrument.

SYST:LANG?

TypicalResponse:"34970A"

Page 1419: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTemSubsystemIntroduction

*IDN?

SYSTem:CTYPe?

Page 1420: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:LFRequency?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 1421: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:LFRequency?

Page 1422: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandreturnsthecurrentpower-linereferencefrequencyusedbytheinstrument.Whenyouapplypowertotheinstrument,theinstrumentautomaticallydetectsthepower-linefrequency(50Hz,60Hz,or400Hz)andusesthisvaluetodeterminetheintegrationtimeused.

Page 1423: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Ifthedetectedpowerlinefrequencyis400Hz,the50Hzreferencevalueisactuallyused(asubharmonicof400Hz).

TheinstrumentusesthisinformationindeterminingintegrationtimeinNPLCcommands.

Thereferencefrequencysettingisstoredinvolatilememoryandwillbelostwhenpoweristurnedoff.Theinstrumentautomaticallymeasuresthepower-linefrequency(50Hz,60Hz,or400Hz)atpower-on.

Page 1424: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thecommandreturns"50"(for50Hzor400Hz)or"60"indicatingthepresentreferencefrequencysetting.

Page 1425: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnsthepowerlinefrequency.

SYST:LFR?

TypicalResponse:+60

Page 1426: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTemSubsystemIntroduction

Page 1427: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:LOCalSYSTem:REMoteSYSTEM:RWLockSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1428: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:LOCal

SYSTem:REMote

SYSTem:RWLock

Page 1429: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thesecommandsplacetheinstrumentineitherthelocal,remoteorlocallockout(LLO)mode.

Page 1430: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

IntheLOCalmode,allkeysonthefrontpanelarefullyfunctional.

IntheREMotemode,mostkeysonthefrontpanelaredisabled.TheexceptionsaretheLocal,MonandViewkeys.Also,theknobandthearrowsaboveitareenabled.

Inthelocallockoutmode(RWLock),allkeysonthefrontpanelaredisabled,includingtheLocalkey.

ThesecommandsarenotallowedoverGPIBonthe34970A.

Page 1431: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandputstheinstrumentinlocalmode.

SYST:LOC

Thefollowingcommandputstheinstrumentinremotemode.

SYST:REMote

Page 1432: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTemSubsystemIntroduction

SYSTem:INTerface

Page 1433: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:LOCK:NAME?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Thisfunctionalityisavailableonthe34972Aonly.

Page 1434: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:LOCK:NAME?

Page 1435: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThisqueryreturnstheI/OinterfacenameoftheI/Osessionsendingthequery.YoucanusethereturnednametodeterminewhethertheI/OsessionownstheinterfacelockbycomparingittothevaluereturnedbySYSTem:LOCK:OWNer?.

Page 1436: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Usethiscommandtodeterminethelocknamefortheinterfacethatyouareusing.ThenusetheSYSTem:LOCK:OWNer?commandtodeterminewhichinterface,ifany,hasthelock.Onceyouhaveexecutedbothofthesecommands,youcancomparetheresultstodeterminewhetheryouhavethelock.

ThisqueryissometimesconfusedwiththeSYSTem:LOCK:OWNer?query.ThedifferenceisthatSYSTem:LOCK:OWNer?returnsthenameoftheinterfacethathasthelock,andSYSTem:LOCK:NAME?returnsthenameofthecurrentinterface,regardlessofwhetherithasthelock.

Page 1437: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsUSBorLAN<IPAddress>indicatingtheI/Ointerfacebeingusedbythequeryingcomputer.TheIPaddressisfourintegersseparatedbyperiods,suchas156.140.79.29,andthereisnospacebetweenthewordLANandthe<IPAddress>.Therefore,atypicalLANwithanIPaddresswouldbereturnedasLAN156.140.79.29.

Page 1438: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

ThefollowingqueryreturnsthenameoftheI/Ointerfaceinusebythequeryingcomputers.

SYST:LOCK:NAME?

TypicalResponse:"LAN169.254.149.35"

Page 1439: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTem:LOCK:OWNer?

SYSTem:LOCK:RELease

SYSTem:LOCK:REQuest?

Page 1440: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:LOCK:OWNer?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Thisfunctionalityisavailableonthe34972Aonly.

Page 1441: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:LOCK:OWNer?

Page 1442: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThisqueryreturnsthenameoftheI/Ointerfacethatcurrentlyhasalock.

Page 1443: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

IfthevaluereturnedbythisquerymatchesthevaluereturnedbySYSTem:LOCK:NAME?,thentheI/Osessionsendingthisqueryownsthelock.

Whenalockisactive,Bit10intheStandardOperationRegisterwillbeset(seeSTATus:OPERation:CONDition?command).WhenthereisnoactivelockonanyI/Ointerface,thisbitwillbecleared.

ThisqueryissometimesconfusedwiththeSYSTem:LOCK:NAME?query.ThedifferenceisthatSYSTem:LOCK:OWNer?returnsthenameoftheinterfacethathasthelock,andSYSTem:LOCK:NAME?returnsthenameofthecurrentinterface,regardlessofwhetherithasthelock.

Page 1444: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

ThequeryreturnsUSBorLAN<IPAddress>indicatingtheI/Ointerfacethatcurrentlyhasalock.Ifnointerfacehasalock,thequeryreturnsNONE.TheIPaddressisfourintegersseparatedbyperiods,suchas156.140.79.29,andthereisnospacebetweenthewordLANandthe<IPAddress>.Therefore,atypicalLANwithanIPaddresswouldbereturnedasLAN156.140.79.29.

Page 1445: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

ThefollowingqueryreturnsthenameoftheI/Ointerfacethatcurrentlyhasalock.

SYST:LOCK:OWN?

TypicalResponse:"USB"

Page 1446: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTem:LOCK:NAME?

SYSTem:LOCK:RELease

SYSTem:LOCK:REQuest?

Page 1447: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:LOCK:RELeaseSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 1448: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:LOCK:RELease

Page 1449: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommanddecrementsthelockcountbyoneandreleasestheinstrumentlock.

Page 1450: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Whenalockisactive,Bit10intheStandardOperationRegisterwillbeset(seeSTATus:OPERation:CONDition?command).Whenthelockisreleased,thisbitiscleared.

Page 1451: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommanddecreasesthelockcountbyone.

SYST:LOCK:REL

Thefollowingseriesofcommandsillustratesusage.

InitialState=unlocked,Count=0

<FROMUSB>SYST:LOCK:REQ?returns+1

(requestsuccessful)

State=locked,Count=1

<FROMLAN>SYST:LOCK:REQ?returns+0

becauseUSBhaslock

State=locked,Count=1

<FROMUSB>SYST:LOCK:REQ?returns+1

(requestsuccessful)

State=locked,Count=2

<FROMUSB>SYST:LOCK:REL

State=locked,Count=1

<FROMUSB>SYST:LOCK:REL

State=unlocked,Count=0

Notethatforeachsuccessfullockrequest,alockreleaseisrequired.Tworequestsrequiretworeleases.

Page 1452: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTem:LOCK:NAME?

SYSTem:LOCK:OWNer?

SYSTem:LOCK:REQuest?

Page 1453: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:LOCK:REQuest?Syntax|Description|Parameters|Remarks|ReturnFormat|Examples

Thisfunctionalityisavailableonthe34972Aonly.

Page 1454: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:LOCK:REQuest?

Page 1455: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandissuesarequesttolocktheinstrument'sconfigurationtoasingleI/Ointerface.Thisallowsyoutolocktheinstrumentorsharetheinstrumentwithothercomputers.

Page 1456: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Whenarequestisgranted,onlyI/Osessionsfromtheinterfacewhichwasgrantedthelockwillbeallowedtochangethestateoftheinstrument.FromtheotherI/Ointerfaces,youcanquerythestateoftheinstrumentbutnoinstrumentconfigurationchangesormeasurementsareallowed.

Lockrequestscanbenestedandeachrequestwillincreasethelockcountby1.Foreveryrequest,youwillneedareleasefromthesameI/Ointerface(seeSYSTem:LOCK:RELeasecommand).

InstrumentlocksarehandledattheI/Ointerfacelevel(USBorsockets)andyouareresponsibleforallcoordinationbetweenthreadsand/orprogramsonthatinterface.

Locksfromsocketsessionswillbeautomaticallyreleasedwhenasocketdisconnectisdetected.

Whenalockisgranted,Bit10intheStandardOperationRegisterwillbeset(seeSTATus:OPERation:CONDition?command).

Page 1457: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thecommandimmediatelyreturns+1ifthelockrequestisgrantedor+0ifdenied.

Page 1458: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingcommandrequestsalockofthecurrentI/Ointerface.

SYST:LOCK:REQ?

TypicalResponse:+1

Thefollowingseriesofcommandsillustratesusage.

InitialState=unlocked,Count=0

<FROMUSB>SYST:LOCK:REQ?returns+1

(requestsuccessful)

State=locked,Count=1

<FROMLAN>SYST:LOCK:REQ?returns+0

becauseUSBhaslock

State=locked,Count=1

<FROMUSB>SYST:LOCK:REQ?returns+1

(requestsuccessful)

State=locked,Count=2

<FROMUSB>SYST:LOCK:REL

State=locked,Count=1

<FROMUSB>SYST:LOCK:REL

State=unlocked,Count=0

Page 1459: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Notethatforeachsuccessfullockrequest,alockreleaseisrequired.Tworequestsrequiretworeleases.

Page 1460: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTem:LOCK:NAME?

SYSTem:LOCK:OWNer?

SYSTem:LOCK:RELease

Page 1461: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:PRESetSyntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 1462: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:PRESet

Page 1463: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandpresetstheinstrumenttoaknownconfiguration.

Page 1464: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

SeeInstrumentPresetStateforacompletelistingoftheinstrument’spresetstate.

ThiscommandisequivalenttoselectingPRESETfromthefront-panelSto/RclMenu.

Page 1465: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandreturnstheinstrumenttoitspresetstate.

SYST:PRES

Page 1466: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTemSubsystemIntroduction

*RST

SYSTem:CPON

Page 1467: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:SECurity:IMMediateSyntax|Description|Parameters|Remarks|>ReturnFormat|Example

Thisfunctionalityisavailableonthe34972Aonly.

Page 1468: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:SECurity:IMMediate

Page 1469: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandclearsandsanitizesallinstrumentmemoryexceptfortheinstrument'sfirmware,MACaddress,calibrationparameters,andserialnumber.Itthenrebootstheinstrumenttothenewmemorystate.Thiscommandistypicallyusedtoclearallmemorybeforeremovingtheinstrumentfromasecurearea.

Thiscommandisnotrecommendedforuseinroutineapplicationsbecauseofthepossibilityofunintendedlossofdata.

Page 1470: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

ThiscommandinitializesallinstrumentsettingstotheirFactoryReset(*RSTcommand)values.

AllI/Osettings,suchastheIPaddress,arereturnedtotheirfactorysettings.

ThiscommandwillnotclearanattachedUSBstoragedevice.

Thecommandclearsandsanitizesalluserfilesontheinternalfilesystem.

Page 1471: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingcommandclearsallinstrumentmemoryotherthantheinstrument'sfirmware,MACaddress,calibrationparameters,andserialnumber.

SYST:SEC:IMM

Page 1472: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTemSubsystemIntroduction

*RST

Page 1473: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:TIMESyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1474: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:TIME<hh>,<mm>,<ss.sss>

SYSTem:TIME?

Page 1475: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Duringascan,theinstrumentstoresallreadingsandalarmswiththecurrenttimeanddate.Thiscommandsetstheinstrumentclock(basedona24-hourclock).

Page 1476: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<hh> Numeric Thehourin24-hourclockformat,from0to23

Thisisarequiredparameter.

<mm> Numeric Theminutes,from0to59

Thisisarequiredparameter.

<ss.sss> Numeric Theseconds,with1msresolution,from00.000to59.999

Thisisarequiredparameter.

Page 1477: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Whenshippedfromthefactory,theinstrumentissettothecurrenttimeanddateforGreenwichMeanTime(GMT).

Theclocksettingisstoredinnon-volatilememory,anddoesnotchangewhenpowerhasbeenoff,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 1478: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthreecomma-separatedvaluesintheform"hh,mm,sss.ss".

Page 1479: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingcommandsetstheclockto3:30:23.000PM.

SYST:TIME15,30,23.000

Thefollowingqueryreturnsthecurrenttime.

SYST:TIME?

TypicalResponse:15,30,23.000

Page 1480: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTemSubsystemIntroduction

SYSTem:DATE

SYSTem:TIME

Page 1481: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:TIME:SCAN?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 1482: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:TIME:SCAN?

Page 1483: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thisqueryreturnsthetimeatthestartofthescan.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizerchannelsonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 1484: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Youcanreadthetimeatanytime,evenduringascan.

ThiscommandisnotaffectedbytheFORMat:READing:TIME:TYPEcommand,whichselectsthetimeformatforstoringscanneddatainmemory(absolutetimeversusrelativetime).

ThiscommandisnotaffectedbytheCALCulate:AVERage:CLEarcommand,whichclearsallvaluesfromthestatisticsregisters.

Theinstrumentclearsallstoreddataonallchannelswhenanewscanisstarted,afteraFactoryReset(*RSTcommand),orafteranInstrumentPreset(SYSTem:PRESetcommand).

Page 1485: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsastringindicatingthetimeanddateatthestartofthemostrecentscan.

Thestringreturnedhastheformyyyy,mm,dd,hh,mm,ss.sss:

yyyy istheyearmm isthemonthdd isthedayofthemonthhh isthehourin24-hourformatmm istheminutesss.sss istheseconds(with1msresolution)

Forexample:

Page 1486: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnsthetimeanddateatthestartofthemostrecentscan.

SYST:TIME:SCAN?

TypicalResponse:2009,07,26,22,03,10.314

Page 1487: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTemSubsystemIntroduction

SYSTem:DATE

SYSTem:TIME

Page 1488: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:VERSion?Syntax|Description|Parameters|Remarks|ReturnFormat|Example

Page 1489: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

SYSTem:VERSion?

Page 1490: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

ThisqueryreturnstheversionoftheSCPI(StandardCommandsforProgrammableInstruments)standardwithwhichtheinstrumentisincompliance.TheinstrumentcomplieswiththerulesandconventionsoftheindicatedversionoftheSCPIstandard.

YoucannotquerytheSCPIversionfromthefrontpanel.

Page 1491: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

TheinstrumentreturnstheversionintheformYYYY.V,whereYYYYistheyearandVistheversionnumber.

Page 1492: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Example

Thefollowingqueryreturnstheversionnumberofthesoftware.

SYST:VERS?

TypicalResponse:1994.0

Page 1493: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoSYSTemSubsystemIntroduction

Page 1494: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

TRIGgerSubsystemIntroduction

CommandSummaryTRIGger:COUNt

TRIGger:COUNt?

TRIGger:SOURce

TRIGger:SOURce?

TRIGger:TIMer

TRIGger:TIMer?

Page 1495: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

TRIGger:COUNtSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1496: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

TRIGger:COUNt{<count>|MIN|MAX|INFinity}

TRIGger:COUNt?

Page 1497: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandspecifiesthenumberoftimestosweepthroughthescanlist.Asweepisonepassthroughthescanlist.Thescanstopswhenthenumberofspecifiedsweepshasoccurred.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizerchannelsonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 1498: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<count> NumericAnintegerfrom1to50,000triggers,orcontinuous(INFinity).

MIN=1

MAX=50,000

Thisisarequiredparameter.

Page 1499: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

Aftersettingthetriggercount,youmustplacetheinternalDMMinthe"wait-for-trigger"stateusingtheINITiateorREAD?command.Atriggerwillnotbeacceptedfromtheselectedtriggersource(seeTRIGger:SOURcecommand)untiltheinternalDMMisinthe"wait-for-trigger"state.

a. FortheBUSsource,thetriggercountsetsthenumberof*TRGcommandsthatwillbeacceptedbeforereturningtothe"idle"triggerstate.

b. FortheEXTernalsource,thetriggercountsetsthenumberofexternalpulsesthatwillbeacceptedbeforereturningtothe"idle"triggerstate.

c. FortheALARmxsource,thetriggercountsetsthenumberofalarmsthatwillbeacceptedbeforereturningtothe"idle"triggerstate.

d. FortheTIMersource,thetriggercountsetsthenumberoftimestheinstrumentwillsweepthroughthescanlistandthereforedeterminestheoveralldurationofthescan.

Youcanstoreatleast50,000readingsinmemoryandallreadingsareautomaticallytimestamped.Ifmemoryoverflows,thenewreadingswilloverwritethefirst(oldest)readingsstored;themostrecentreadingsarealwayspreserved.

Tosetthetrigger-to-triggerinterval(inseconds)formeasurementsonthechannelsinthepresentscanlist,usetheTRIGger:TIMercommand.

TheCONFigureandMEASure?commandsautomaticallysetthetriggercountto1.

Theinstrumentsetsthetriggercountto1afteraFactoryReset

Page 1500: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 1501: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthescancountintheform"+1.00000000E+01".Foracontinuoustrigger(INFinity),thecountisreturnedas"9.90000200E+37".

Page 1502: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

ThefollowingprogramsegmentconfigurestwochannelsforDCvoltagemeasurements,putsthechannelsinthescanlist(thescanlistisredefined),andsetsthetriggercountto10.Foreachtriggerreceived,onereadingisreturnedforeachchannel(20readingstotal).

CONF:VOLT:DC10,0.003,(@103,108)

ROUT:SCAN(@103,108)

TRIG:COUN10

INIT

ThefollowingprogramsegmentconfiguresthecurrentscanlistforanACvoltagemeasurementandsetsthetriggercountto5.Foreachtriggerreceived,onereadingisreturned(5readingstotal).

CONF:VOLT:AC10,0.001,(@205,206,208)

TRIG:COUN5

INIT

Thefollowingqueryreturnsthecurrenttriggercount.

TRIG:COUN?

TypicalResponse:+5.00000000E+00

Page 1503: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoTRIGgerSubsystemIntroduction

ROUTe:CHANnel:ADVance:SOURce

ROUTe:SCAN

TRIGger:SOURce

TRIGger:TIMer

Page 1504: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

TRIGger:SOURceSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1505: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

TRIGger:SOURce<source>

TRIGger:SOURce?

Page 1506: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Selectthetriggersourcetocontroltheonsetofeachsweepthroughthescanlist(asweepisonepassthroughthescanlist).Theinstrumentwillacceptasoftware(bus)command,animmediate(continuous)scantrigger,anexternalTTLtriggerpulse,analarm-initiatedaction,oraninternallypacedtimer.

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizerchannelsonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 1507: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues

DefaultValue

<source> Discrete{BUS|IMMediate|EXTernal|ALARm1|ALARm2|ALARm3|ALARm4|TIMer}

IMMediate=ContinuousscantriggerBUS=SoftwaretriggerEXTernal=AnexternalTTLpulsetriggerALARm=TriggeronanalarmTIMer=Internallypacedtimertrigger

Thisisarequiredparameter.

ThefactorydefaultisIMMediate.

Page 1508: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

FortheIMMediate(continuous)source,thetriggersignalisalwayspresent.Whenyouplacetheinstrumentinthe"wait-for-trigger"state,thetriggerisissuedimmediately.

TheREAD?andMEASurecommandsandqueriescannotbeusedtotakereadingswhenthetriggersourceisBUS.Thisiscalledatriggerdeadlockcondition.

FortheBUS(software)source,theinstrumentistriggeredbythe*TRGcommandreceivedovertheremoteinterface.The*TRGcommandwillnotbeacceptedunlesstheinstrumentisinthe"wait-for-trigger"state(seeINITiatecommand).Iftheinstrumentreceivesanexternaltriggerbeforethenext"waitingfortrigger"state,itwillbufferone*TRGcommandandthenignoreanyadditionaltriggersreceived(noerrorisgenerated).

FortheEXTernalsource,theinstrumentwillacceptahardwaretriggerappliedtotherear-panelExtTrigInputline(Pin6).Theinstrumenttakesonesweepthroughthescanlisteachtimealow-trueTTLpulseisreceived.Iftheinstrumentreceivesanexternaltriggerbutisnotinthe"wait-for-trigger"state,itwillbufferonetriggerandthenignoreanyadditionaltriggersreceived(noerrorisgenerated).Also,ifthetriggersourceisBUS,youcanusethescanbuttonasatrigger.

FortheALARmxsource,theinstrumentistriggeredeachtimeareadingcrossesanalarmlimitonachannel.SeetheOUTPut:ALARm<n>:SOURcecommandformoreinformation.Withthissource,youcanusetheMonitormode(seeROUTe:MONitor:STATecommand)tocontinuouslytakereadingsonaselectedchannelandwaitforanalarmonthatchannel.Digitalinputandtotalizerchannelsdonothavetobepartoftheactivescanlisttobemonitored.

Page 1509: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

FortheTIMersource,youcontrolthetrigger-to-triggerinterval(inseconds)formeasurementsonthechannelsinthepresentscanlist.UsetheTRIGger:TIMercommandtosetthewaitperiod.

Afterselectingthetriggersource,youmustplacetheinstrumentinthe"wait-for-trigger"stateusingtheINITiateorREAD?command.Atriggerwillnotbeacceptedfromtheselectedtriggersourceuntiltheinstrumentisinthe"wait-for-trigger"state.

AlthoughtheTRIGger:SOURcecommandsharessomeofthesamesignalsastheROUTe:CHANnel:ADVance:SOURcecommand(usedforexternalscanning),theycannotbesettothesamesource(exceptIMMediate).Ifyouattempttoselectthesamesource,anerrorisgeneratedandtheTRIGger:SOURceisresettoIMMediate.

TheCONFigureandMEASure?commandsautomaticallysetthetriggersourcetoIMMediate.

TheinstrumentselectstheimmediatetriggersourceafteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 1510: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthetriggersourceas"BUS","IMM","EXT","ALAR1","ALAR2","ALAR3","ALAR4",or"TIM".

Page 1511: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingprogramsegmentselectstheexternaltriggersource.Inthisconfiguration,theinstrumentsweepsthroughthescanlistonceeachtimealow-trueTTLpulseisreceivedontherear-panelExtTrigInputline(Pin6).

TRIG:SOUREXT

INIT

Thefollowingprogramsegmentselectsthebus(software)triggersource.Notethatthe*TRGcommandwillnotbeacceptedunlesstheinternalDMMisinthe"wait-for-trigger"state.

TRIG:SOURBUS

INIT

*TRG

ThefollowingprogramsegmentselectsthealarmsourceandconfigurestheinstrumenttoscanwhenanalarmisreportedonAlarm1.TheMonitormodeisusedtoevaluatealarmconditionsontheselectedchannel.

ROUT:SCAN(@103)!SetthescanlisttoasinglechannelTRIG:SOURALARM1!SelecttriggersourceOUTP:ALAR:SOUR(@103)CALC:LIM:UPP10.25,(@103)!SetupperalarmlimitCALC:LIM:UPP:STATON,(@103)!EnablealarmsROUT:MON(@103)!SelectmonitorchannelROUT:MON:STATON!EnablemonitormodeINIT

Page 1512: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Thefollowingprogramsegmentselectsthetimersourceandsetsthescanintervalto30milliseconds.

TRIG:SOURTIMER!Selecttrigger

source

TRIG:TIM30E-03!Scanintervalis30

ms

INIT

Thefollowingqueryreturnsthetriggersourcecurrentlyselected.

TRIG:SOUR?

TypicalResponse:EXT

Page 1513: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoTRIGgerSubsystemIntroduction

*TRG

OUTPut:ALARm{1|2|3|4}:SOURce

ROUTe:CHANnel:ADVance:SOURce

ROUTe:MONitor:STATe

TRIGger:TIMer

Page 1514: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

TRIGger:TIMerSyntax|Description|Parameters|Remarks|ReturnFormat|Examples

Page 1515: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Syntax

TRIGger:TIMer{<seconds>|MIN|MAX}

TRIGger:TIMer?[{MIN|MAX}]

Page 1516: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Description

Thiscommandsetsthetrigger-to-triggerinterval(inseconds)formeasurementsonthechannelsinthepresentscanlist.Thiscommanddefinesthetimefromthestartofonetriggertothestartofthenexttrigger,uptothespecifiedtriggercount(seeTRIGger:COUNtcommand).

UsedWith:

34901A20ChannelMultiplexer(2/4-wire)Module

34902A16ChannelMultiplexer(2/4-wire)Module

34907AMultifunctionModule(digitalinputandtotalizerchannelsonly)

34908A40ChannelSingle-EndedMultiplexerModule

Page 1517: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Parameters

Name Type RangeofValues DefaultValue

<seconds> NumericAnumberfrom0secondsto359,999with1msresolution.

MIN=0seconds,MAX=359,999seconds

Notethat359,999isonesecondlessthan100hours.

Thisisarequiredparameter.

Page 1518: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Remarks

ThescanintervalappliestotheTIMertriggersourceassetbytheTRIGger:SOURcecommand.

Ifyouareusingthemultiplexermodules,anerrorisgeneratediftheinternalDMMisdisabled(seeINSTrument:DMMcommand)ornotinstalledinthemainframe.TheinternalDMMisnotrequiredforoperationsonthedigitalmodules.

Ifthescanintervalislessthanthetimerequiredtomeasureallchannelsinthescanlist,theinstrumentwillscancontinuously,asfastaspossible(noerrorisgenerated).

TheCONFigureandMEASure?commandsautomaticallysetthetriggerintervalto1secondandthetriggercountto1sweep.

Theinstrumentsetsthescanintervaltoimmediate(0seconds)afteraFactoryReset(*RSTcommand).AnInstrumentPreset(SYSTem:PRESetcommand)orCardReset(SYSTem:CPONcommand)doesnotchangethesetting.

Page 1519: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ReturnFormat

Thequeryreturnsthescan-to-scanintervalinsecondsintheform"+1.00000000E+01".

Page 1520: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Examples

Thefollowingprogramsegmentsetsthetriggerintervalto30milliseconds.

TRIG:SOURTIMER

TRIG:TIM30E-03

Thefollowingqueryreturnsthetriggerintervalinseconds.

TRIG:TIM?

TypicalResponse:+3.00000000E-02

Page 1521: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SeeAlsoTRIGgerSubsystemIntroduction

TRIGger:COUNt

TRIGger:SOURce

Page 1522: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CommandsA-ZA–C|D-L|M-R|S|T-W

Page 1523: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

AABORt

Page 1524: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CCALCulate:AVERage:AVERage?

CALCulate:AVERage:CLEar

CALCulate:AVERage:COUNt?

CALCulate:AVERage:MAXimum?

CALCulate:AVERage:MAXimum:TIME?

CALCulate:AVERage:MINimum?

CALCulate:AVERage:MINimum:TIME?

CALCulate:AVERage:PTPeak?

CALCulate:COMPare:DATA

CALCulate:COMPare:DATA?

CALCulate:COMPare:MASK

CALCulate:COMPare:MASK?

CALCulate:COMPare:STATe

CALCulate:COMPare:STATe?

CALCulate:COMPare:TYPE

CALCulate:COMPare:TYPE?

CALCulate:LIMit:LOWer

CALCulate:LIMit:LOWer?

CALCulate:LIMit:LOWer:STATe

CALCulate:LIMit:LOWer:STATe?

CALCulate:LIMit:UPPer

CALCulate:LIMit:UPPer?

Page 1525: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:LIMit:UPPer:STATe

CALCulate:LIMit:UPPer:STATe?

CALCulate:SCALe:GAIN

CALCulate:SCALe:GAIN?

CALCulate:SCALe:OFFSet

CALCulate:SCALe:OFFSet?

CALCulate:SCALe:OFFSet:NULL

CALCulate:SCALe:STATe

CALCulate:SCALe:STATe?

CALCulate:SCALe:UNIT

CALCulate:SCALe:UNIT?

CALibration?

CALibration:COUNt?

CALibration:SECure:CODE

CALibration:SECure:STATe

CALibration:SECure:STATe?

CALibration:STRing

CALibration:STRing?

CALibration:VALue

CALibration:VALue?

*CLS

Page 1526: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CONFigure?

CONFigure:CURRent:AC

CONFigure:CURRent:DC

CONFigure:DIGital:BYTE

CONFigure:FREQuency

CONFigure:FRESistance

CONFigure:PERiod

CONFigure:RESistance

CONFigure:TEMPerature

CONFigure:TOTalize

CONFigure:VOLTage:AC

CONFigure:VOLTage:DC

Page 1527: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DDATA:LAST?

DATA:POINts?

DATA:POINts:EVENt:THReshold

DATA:POINts:EVENt:THReshold?

DATA:REMove?

DIAGnostic:DMM:CYCLes?

DIAGnostic:DMM:CYCLes:CLEar

DIAGnostic:PEEK:SLOT:DATA?

DIAGnostic:POKE:SLOT:DATA

DIAGnostic:RELay:CYCLes?

DIAGnostic:RELay:CYCLes:CLEar

DISPlay

DISPlay?

DISPlay:TEXT

DISPlay:TEXT?

DISPlay:TEXT:CLEar

Page 1528: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

E*ESE

*ESE?

*ESR?

Page 1529: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

FFETCh?

FORMat:READing:ALARm

FORMat:READing:ALARm?

FORMat:READing:CHANnel

FORMat:READing:CHANnel?

FORMat:READing:TIME

FORMat:READing:TIME?

FORMat:READing:TIME:TYPE

FORMat:READing:TIME:TYPE?

FORMat:READing:UNIT

FORMat:READing:UNIT?

Page 1530: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

I*IDN?

INITiate

INPut:IMPedance:AUTO

INPut:IMPedance:AUTO?

INSTrument:DMM

INSTrument:DMM?

INSTrument:DMM:INSTalled?

Page 1531: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

LLXI:IDENtify[:STATe]

LXI:IDENtify[:STATe]?

LXI:RESet

LXI:RESTart

Page 1532: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MMEASure:CURRent:AC?

MEASure:CURRent:DC?

MEASure:DIGital:BYTE?

MEASure:FREQuency?

MEASure:FRESistance?

MEASure:PERiod?

MEASure:RESistance?

MEASure:TEMPerature?

MEASure:TOTalize?

MEASure:VOLTage:AC?

MEASure:VOLTage:DC?

MEMory:NSTates?

MEMory:STATe:DELete

MEMory:STATe:NAME

MEMory:STATe:NAME?

MEMory:STATe:RECall:AUTO

MEMory:STATe:RECall:AUTO?

MEMory:STATe:VALid?

MMEMory:EXPort?

MMEMory:FORMat:READing:CSEParator

MMEMory:FORMat:READing:CSEParator?

MMEMory:FORMat:READing:RLIMit

Page 1533: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MMEMory:FORMat:READing:RLIMit?

MMEMory:IMPort:CATalog?

MMEMory:IMPort:CONFig?

MMEMory:LOG[:ENABle]

MMEMory:LOG[:ENABle]?

Page 1534: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

O*OPC

*OPC?

OUTPut:ALARm:CLEar:ALL

OUTPut:ALARm:MODE

OUTPut:ALARm:MODE?

OUTPut:ALARm:SLOPe

OUTPut:ALARm:SLOPe?

OUTPut:ALARm{1|2|3|4}:CLEar

OUTPut:ALARm{1|2|3|4}:SOURce

OUTPut:ALARm{1|2|3|4}:SOURce?

Page 1535: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

P*PSC

*PSC?

Page 1536: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

RR?

*RCL

READ?

ROUTe:CHANnel:ADVance:SOURce

ROUTe:CHANnel:ADVance:SOURce?

ROUTe:CHANnel:DELay

ROUTe:CHANnel:DELay?

ROUTe:CHANnel:DELay:AUTO

ROUTe:CHANnel:DELay:AUTO?

ROUTe:CHANnel:FWIRe

ROUTe:CHANnel:FWIRe?

ROUTe:CLOSe

ROUTe:CLOSe?

ROUTe:CLOSe:EXCLusive

ROUTe:DONE?

ROUTe:MONitor

ROUTe:MONitor?

ROUTe:MONitor:DATA?

ROUTe:MONitor:STATe

ROUTe:MONitor:STATe?

ROUTe:OPEN

Page 1537: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ROUTe:OPEN?

ROUTe:SCAN

ROUTe:SCAN?

ROUTe:SCAN:SIZE?

*RST

Page 1538: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

S*SAV

[SENSe:]CURRent:AC:BANDwidth

[SENSe:]CURRent:AC:BANDwidth?

[SENSe:]CURRent:AC:RANGe

[SENSe:]CURRent:AC:RANGe?

[SENSe:]CURRent:AC:RANGe:AUTO

[SENSe:]CURRent:AC:RANGe:AUTO?

[SENSe:]CURRent:AC:RESolution

[SENSe:]CURRent:AC:RESolution

[SENSe:]CURRent:DC:APERture

[SENSe:]CURRent:DC:APERture?

[SENSe:]CURRent:DC:NPLC

[SENSe:]CURRent:DC:NPLC?

[SENSe:]CURRent:DC:RANGe

[SENSe:]CURRent:DC:RANGe?

[SENSe:]CURRent:DC:RANGe:AUTO

[SENSe:]CURRent:DC:RANGe:AUTO?

[SENSe:]CURRent:DC:RESolution

[SENSe:]CURRent:DC:RESolution?

[SENSe:]DIGital:DATA:{BYTE|WORD}?

[SENSe:]FREQuency:APERture

Page 1539: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]FREQuency:APERture?

[SENSe:]FREQuency:RANGe:LOWer

[SENSe:]FREQuency:RANGe:LOWer?

[SENSe:]FREQuency:VOLTage:RANGe

[SENSe:]FREQuency:VOLTage:RANGe?

[SENSe:]FREQuency:VOLTage:RANGe:AUTO

[SENSe:]FREQuency:VOLTage:RANGe:AUTO?

[SENSe:]FRESistance:APERture

[SENSe:]FRESistance:APERture?

[SENSe:]FRESistance:NPLC

[SENSe:]FRESistance:NPLC?

[SENSe:]FRESistance:OCOMpensated

[SENSe:]FRESistance:OCOMpensated?

[SENSe:]FRESistance:RANGe

[SENSe:]FRESistance:RANGe?

[SENSe:]FRESistance:RANGe:AUTO

[SENSe:]FRESistance:RANGe:AUTO?

[SENSe:]FRESistance:RESolution

[SENSe:]FRESistance:RESolution?

[SENSe:]FUNCtion

[SENSe:]FUNCtion?

Page 1540: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]PERiod:APERture

[SENSe:]PERiod:APERture?

[SENSe:]PERiod:VOLTage:RANGe

[SENSe:]PERiod:VOLTage:RANGe?

[SENSe:]PERiod:VOLTage:RANGe:AUTO

[SENSe:]PERiod:VOLTage:RANGe:AUTO?

[SENSe:]RESistance:APERture

[SENSe:]RESistance:APERture?

[SENSe:]RESistance:NPLC

[SENSe:]RESistance:NPLC?

[SENSe:]RESistance:OCOMpensated

[SENSe:]RESistance:OCOMpensated?

[SENSe:]RESistance:RANGe

[SENSe:]RESistance:RANGe?

[SENSe:]RESistance:RANGe:AUTO

[SENSe:]RESistance:RANGe:AUTO?

[SENSe:]RESistance:RESolution

[SENSe:]RESistance:RESolution?

[SENSe:]TEMPerature:APERture

[SENSe:]TEMPerature:APERture?

[SENSe:]TEMPerature:NPLC

[SENSe:]TEMPerature:NPLC?

[SENSe:]TEMPerature:RJUNction?

Page 1541: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TEMPerature:TRANsducer:FRTD:OCOMpensated

[SENSe:]TEMPerature:TRANsducer:FRTD:OCOMpensated?

[SENSe:]TEMPerature:TRANsducer:FRTD:RESistance[:REFerence]

[SENSe:]TEMPerature:TRANsducer:FRTD:RESistance[:REFerence]?

[SENSe:]TEMPerature:TRANsducer:FRTD:TYPE

[SENSe:]TEMPerature:TRANsducer:FRTD:TYPE?

[SENSe:]TEMPerature:TRANsducer:RTD:OCOMpensated

[SENSe:]TEMPerature:TRANsducer:RTD:OCOMpensated?

[SENSe:]TEMPerature:TRANsducer:RTD:RESistance[:REFerence]

[SENSe:]TEMPerature:TRANsducer:RTD:RESistance[:REFerence]?

[SENSe:]TEMPerature:TRANsducer:RTD:TYPE

[SENSe:]TEMPerature:TRANsducer:RTD:TYPE?

[SENSe:]TEMPerature:TRANsducer:TCouple:CHECk

[SENSe:]TEMPerature:TRANsducer:TCouple:CHECk?

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction?

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction:TYPE

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction:TYPE?

[SENSe:]TEMPerature:TRANsducer:TCouple:TYPE

[SENSe:]TEMPerature:TRANsducer:TCouple:TYPE?

[SENSe:]TEMPerature:TRANsducer:THERmistor:TYPE

[SENSe:]TEMPerature:TRANsducer:THERmistor:TYPE?

[SENSe:]TEMPerature:TRANsducer:TYPE

[SENSe:]TEMPerature:TRANsducer:TYPE?

Page 1542: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TOTalize:CLEar:IMMediate

[SENSe:]TOTalize:DATA?

[SENSe:]TOTalize:SLOPe

[SENSe:]TOTalize:SLOPe?

[SENSe:]TOTalize:STARt[:IMMediate]

[SENSe:]TOTalize:STOP[:IMMediate]

[SENSe:]TOTalize:TYPE

[SENSe:]TOTalize:TYPE?

[SENSe:]VOLTage:AC:RANGe

[SENSe:]VOLTage:AC:RANGe?

[SENSe:]VOLTage:AC:RANGe:AUTO

[SENSe:]VOLTage:AC:RANGe:AUTO?

[SENSe:]VOLTage:AC:BANDwidth

[SENSe:]VOLTage:AC:BANDwidth?

[SENSe:]VOLTage:DC:APERture

[SENSe:]VOLTage:DC:APERture?

[SENSe:]VOLTage:DC:NPLC

[SENSe:]VOLTage:DC:NPLC?

[SENSe:]VOLTage:DC:RANGe

[SENSe:]VOLTage:DC:RANGe?

[SENSe:]VOLTage:DC:RANGe:AUTO

[SENSe:]VOLTage:DC:RANGe:AUTO?

[SENSe:]VOLTage:DC:RESolution

[SENSe:]VOLTage:DC:RESolution?

Page 1543: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]ZERO:AUTO

[SENSe:]ZERO:AUTO?

SOURce:DIGital:DATA[:{BYTE|WORD}]

SOURce:DIGital:DATA[:{BYTE|WORD}]?

SOURce:DIGital:STATe?

SOURce:VOLTage

SOURce:VOLTage?

*SRE

*SRE?

STATus:ALARm:CONDition?

STATus:ALARm:ENABle

STATus:ALARm:ENABle?

STATus:ALARm[:EVENt]?

STATus:OPERation:CONDition?

STATus:OPERation:ENABle

STATus:OPERation:ENABle?

STATus:OPERation[:EVENt]?

STATus:PRESet

STATus:QUEStionable:CONDition?

Page 1544: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

STATus:QUEStionable:ENABle

STATus:QUEStionable:ENABle?

STATus:QUEStionable[:EVENt]?

*STB?

SYSTem:ALARm?

SYSTem:COMMunicate:LAN:CONTrol?

SYSTem:COMMunicate:LAN:DHCP

SYSTem:COMMunicate:LAN:DHCP?

SYSTem:COMMunicate:LAN:DNS

SYSTem:COMMunicate:LAN:DNS?

SYSTem:COMMunicate:LAN:DOMain?

SYSTem:COMMunicate:LAN:GATEway

SYSTem:COMMunicate:LAN:GATEway?

SYSTem:COMMunicate:LAN:HOSTname

SYSTem:COMMunicate:LAN:HOSTname?

SYSTem:COMMunicate:LAN:IPADdress

SYSTem:COMMunicate:LAN:IPADdress?

SYSTem:COMMunicate:LAN:MAC?

SYSTem:COMMunicate:LAN:SMASk

SYSTem:COMMunicate:LAN:SMASk?

SYSTem:COMMunicate:LAN:TELNet:PROMpt

SYSTem:COMMunicate:LAN:TELNet:PROMpt?

SYSTem:COMMunicate:LAN:TELNet:WMESsage

Page 1545: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:COMMunicate:LAN:TELNet:WMESsage?

SYSTem:COMMunicate:LAN:UPDate

SYSTem:CPON

SYSTem:CTYPe?

SYSTem:DATE

SYSTem:DATE?

SYSTem:ERRor?

SYSTem:INTerface

SYSTem:INTerface?

SYSTem:LANGuage

SYSTem:LANGuage?

SYSTem:LFRequency?

SYSTem:LOCal

SYSTem:LOCK:NAME?

SYSTem:LOCK:OWNer?

SYSTem:LOCK:RELease

SYSTem:LOCK:REQuest?

SYSTem:PRESet

SYSTem:REMote

SYSTem:RWLock

SYSTem:SECurity[:IMMediate]

SYSTem:TIME

Page 1546: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:TIME?

SYSTem:TIME:SCAN?

SYSTem:VERSion?

Page 1547: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

T*TRG

TRIGger:COUNt

TRIGger:COUNt?

TRIGger:SOURce

TRIGger:SOURce?

TRIGger:TIMer

TRIGger:TIMer?

*TST?

Page 1548: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

UUNIT:TEMPerature

UNIT:TEMPerature?

Page 1549: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

W*WAI

Page 1550: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Keysight34970A/34972ACommandQuickReference

PrintablePDFVersion

SyntaxConventions

Braces({})enclosetheparameterchoicesforagivencommandstring.Thebracesarenotsentwiththecommandstring.

Averticalbar(|)separatesmultipleparameterchoicesforagivencommandstring.Thebarisnotsentwiththecommandstring.

Anglebrackets(<>)indicatethatyoumustspecifyavaluefortheenclosedparameter.Forexample,theabovesyntaxstatementshowsthe<range>parameterenclosedintrianglebrackets.Thebracketsarenotsentwiththecommandstring.Youmustspecifyavaluefortheparameter(e.g.,"VOLT:DC:RANG10").

Someparametersareenclosedinsquarebrackets([]).Thesquarebracketsindicatethattheparameterisoptionalandcanbeomitted.Thebracketsarenotsentwiththecommandstring.Ifyoudonotspecifyavalueforanoptionalparameter,theinstrumentchoosesadefaultvalue.

CALCulateSubsystem

CALCulate:AVERage:AVERage?[(@<ch_list>)]

CALCulate:AVERage:CLEar[(@<ch_list>)]

CALCulate:AVERage:COUNt?[(@<ch_list>)]

CALCulate:AVERage:MAXimum?[(@<ch_list>)]

CALCulate:AVERage:MAXimum:TIME?[(@<ch_list>)]

Page 1551: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:AVERage:MINimum?[(@<ch_list>)]

CALCulate:AVERage:MINimum:TIME?[(@<ch_list>)]

CALCulate:AVERage:PTPeak?[(@<ch_list>)]

CALCulate:COMPare:DATA<data>[,(@<ch_list>)]

CALCulate:COMPare:DATA?[(@<ch_list>)]

CALCulate:COMPare:MASK<mask>[,(@<ch_list>)]

CALCulate:COMPare:MASK?[(@<ch_list>)]

CALCulate:COMPare:STATe<state>[,(@<ch_list>)]

CALCulate:COMPare:STATe?[(@<ch_list>)]

CALCulate:COMPare:TYPE<mode>[,(@<ch_list>)]

CALCulate:COMPare:TYPE?[(@<ch_list>)]

Page 1552: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:LIMit:LOWer<lo_limit>[,(@<ch_list>)]

CALCulate:LIMit:LOWer?[(@<ch_list>)]

CALCulate:LIMit:LOWer:STATe<mode>,(@<ch_list>)

CALCulate:LIMit:LOWer:STATe?(@<ch_list>)

CALCulate:LIMit:UPPer<hi_limit>[,(@<ch_list>)]

CALCulate:LIMit:UPPer?[(@<ch_list>)]

CALCulate:LIMit:UPPer:STATe<mode>,(@<ch_list>)

CALCulate:LIMit:UPPer:STATe?(@<ch_list>)

CALCulate:SCALe:GAIN<gain>[,(@<ch_list>)]

CALCulate:SCALe:GAIN?[(@<ch_list>)]

CALCulate:SCALe:OFFSet<offset>[,(@<ch_list>)]

CALCulate:SCALe:OFFSet?[(@<ch_list>)]

CALCulate:SCALe:OFFSet:NULL[(@<ch_list>)]

CALCulate:SCALe:STATe<state>[,(@<ch_list>)]

CALCulate:SCALe:STATe?[(@<ch_list>)]

CALCulate:SCALe:UNIT<quoted_string>[,(@<ch_list>)]

CALCulate:SCALe:UNIT?[(@<ch_list>)]

CALibrationSubsystem

CALibration?

CALibration:COUNt?

CALibration:SECure:CODE<new_code>

CALibration:SECure:STATe<state>,<code>

CALibration:SECure:STATe?

CALibration:STRing<quoted_string>

Page 1553: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALibration:STRing?

CALibration:VALue<value>

CALibration:VALue?

Page 1554: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CONFigureSubsystem

CONFigure?[(@<ch_list>)]

CONFigure:CURRent:AC[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

CONFigure:CURRent:DC[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

CONFigure:DIGital:BYTE(@<scan_list>)

CONFigure:FREQuency[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

CONFigure:FRESistance[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

CONFigure:PERiod[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

CONFigure:RESistance[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

CONFigure:TEMPerature{<probe_type>|DEF},{<type>|DEF}[,1[,{<resolution>|MIN|MAX|DEF}]],(@<scan_list>)

CONFigure:TOTalize<mode>,(@<scan_list>)

CONFigure:VOLTage:AC[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

CONFigure:VOLTage:DC[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

DATASubsystem

DATA:LAST?[<num_rdgs>,](@<channel>)

DATA:POINts?

DATA:POINts:EVENt:THReshold<num_rdgs>

DATA:POINts:EVENt:THReshold?

Page 1555: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DATA:REMove?<num_rdgs>

Page 1556: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DIAGnosticSubsystem

DIAGnostic:DMM:CYCLes?

DIAGnostic:DMM:CYCLes:CLEar{1|2|3}

DIAGnostic:PEEK:SLOT:DATA?{100|200|300}

DIAGnostic:POKE:SLOT:DATA?{100|200|300},<quoted_string>

DIAGnostic:RELay:CYCLes?(@<ch_list>)

DIAGnostic:RELay:CYCLes:CLEar(@<ch_list>)

DISPlaySubsystem

DISPlay<state>

DISPlay?

DISPlay:TEXT<quoted_string>

DISPlay:TEXT?

DISPlay:TEXT:CLEar

FORMatSubsystem

FORMat:READing:ALARm<state>

FORMat:READing:ALARm?

FORMat:READing:CHANnel<mode>

FORMat:READing:CHANnel?

FORMat:READing:TIME<mode>

FORMat:READing:TIME?

FORMat:READing:TIME:TYPE<format>

FORMat:READing:TIME:TYPE?

FORMat:READing:UNIT<format>

Page 1557: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

FORMat:READing:UNIT?

Page 1558: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

IEEE-488Subsystem

*CLS

*ESE<enable_val>

*ESE?

*ESR?

*IDN?

*OPC

*OPC?

*PSC<state>

*PSC?

*RCL{0|1|2|3|4|5}

*RST

*SAV{0|1|2|3|4|5}

*SRE<enable_val>

*SRE?

*STB?

*TRG

*TST?

*WAI

INSTrumentSubsystem

INSTrument:DMM<state>

INSTrument:DMM?

INSTrument:DMM:INSTalled?

Page 1559: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

LXISubsystem

LXI:IDENtify[:STATe]<state>

LXI:IDENtify[:STATe]?

LXI:RESet

LXI:RESTart

Page 1560: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MEASureSubsystem

MEASure:CURRent:AC?[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

MEASure:CURRent:DC?[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

MEASure:DIGital:BYTE?(@<scan_list>)

MEASure:FREQuency?[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

MEASure:FRESistance?[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

MEASure:PERiod?[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

MEASure:RESistance?[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

MEASure:TEMPerature?{<probe_type>|DEF},{<type>|DEF}[,1[,{<resolution>|MIN|MAX|DEF}]],(@<scan_list>)

MEASure:TOTalize?<mode>,(@<scan_list>)

MEASure:VOLTage:AC?[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

MEASure:VOLTage:DC?[{<range>|AUTO|MIN|MAX|DEF}[,{<resolution>|MIN|MAX|DEF}],](@<scan_list>)

MEMorySubsystem

MEMory:NSTates?

MEMory:STATe:DELete<location>

MEMory:STATe:NAME<location>[,<name>]

MEMory:STATe:NAME?<location>

MEMory:STATe:RECall:AUTO<mode>

Page 1561: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MEMory:STATe:RECall:AUTO?

MEMory:STATe:VALid?<location>

Page 1562: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MMEMorySubsystem

MMEMory:EXPort?

MMEMory:FORMat:READing:CSEParator<column_separator>

MMEMory:FORMat:READing:CSEParator?

MMEMory:FORMat:READing:RLIMit<row_limit>

MMEMory:FORMat:READing:RLIMit?

MMEMory:IMPort:CATalog?

MMEMory:IMPort:CONFig?"<configuration_file>"

MMEMory:LOG[:ENABle]<state>

MMEMory:LOG[:ENABle]?

OtherCommands

ABORt

FETCh?

INITiate

INPut:IMPedance:AUTO<state>[,(@<ch_list>)]

INPut:IMPedance:AUTO?[(@<ch_list>)]

R?[<max_count>

READ?[(@<scan_list>]

UNIT:TEMPerature<units>[,(@<ch_list>)]

UNIT:TEMPerature?[(@<ch_list>)]

OUTPutSubsystem

OUTPut:ALARm:CLEar:ALL

OUTPut:ALARm:MODE<mode>

Page 1563: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

OUTPut:ALARm:MODE?

OUTPut:ALARm:SLOPe<edge>

OUTPut:ALARm:SLOPe?

OUTPut:ALARm{1|2|3|4}:CLEar

OUTPut:ALARm{1|2|3|4}:SOURce(@<ch_list>)

OUTPut:ALARm{1|2|3|4}:SOURce?

ROUTeSubsystem

ROUTe:CHANnel:ADVance:SOURce<source>

ROUTe:CHANnel:ADVance:SOURce?

ROUTe:CHANnel:DELay<seconds>,(@<ch_list>)

ROUTe:CHANnel:DELay?(@<ch_list>)

ROUTe:CHANnel:DELay:AUTO<state>[,(@<ch_list>)]

ROUTe:CHANnel:DELay:AUTO?[(@<ch_list>)]

ROUTe:CHANnel:FWIRe<state>[,(@<ch_list>)]

ROUTe:CHANnel:FWIRe?[(@<ch_list>)]

ROUTe:CLOSe(@<ch_list>)

ROUTe:CLOSe?(@<ch_list>)

ROUTe:CLOSe:EXCLusive(@<ch_list>)

ROUTe:DONE?

ROUTe:MONitor(@<channel>)

ROUTe:MONitor?

ROUTe:MONitor:DATA?

ROUTe:MONitor:STATe<mode>

ROUTe:MONitor:STATe?

ROUTe:OPEN(@<ch_list>)

Page 1564: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ROUTe:OPEN?(@<ch_list>)

ROUTe:SCAN(@<scan_list>)

ROUTe:SCAN?

ROUTe:SCAN:SIZE?

Page 1565: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SENSeSubsystem

[SENSe:]CURRent:AC:BANDwidth{<filter>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]CURRent:AC:BANDwidth?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]CURRent:AC:RANGe{<range>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]CURRent:AC:RANGe?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]CURRent:AC:RANGe:AUTO<state>[,(@<ch_list>)]

[SENSe:]CURRent:AC:RANGe:AUTO?[(@<ch_list>)]

[SENSe:]CURRent:AC:RESolution{<resolution>|MIN|MAX|DEF}[,(@<ch_list>)]

[SENSe:]CURRent:AC:RESolution?{<ch_list>|MIN|MAX}

[SENSe:]CURRent:DC:APERture{<time>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]CURRent:DC:APERture?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]CURRent:DC:NPLC{<PLCs>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]CURRent:DC:NPLC?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]CURRent:DC:RANGe{<range>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]CURRent:DC:RANGe?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]CURRent:DC:RANGe:AUTO<state>[,(@<ch_list>)]

[SENSe:]CURRent:DC:RANGe:AUTO?[(@<ch_list>)]

[SENSe:]CURRent:DC:RESolution{<resolution>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]CURRent:DC:RESolution?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]DIGital:DATA:{BYTE|WORD}?[(@<ch_list>)]

[SENSe:]FREQuency:APERture{<seconds>|MIN|MAX}[,(@<ch_list>)]

Page 1566: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]FREQuency:APERture?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]FREQuency:RANGe:LOWer{<filter>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]FREQuency:RANGe:LOWer?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]FREQuency:VOLTage:RANGe{<range>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]FREQuency:VOLTage:RANGe?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]FREQuency:VOLTage:RANGe:AUTO<state>[,(@<ch_list>)]

[SENSe:]FREQuency:VOLTage:RANGe:AUTO?[(@<ch_list>)]

Page 1567: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]FRESistance:APERture{<time>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]FRESistance:APERture?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]FRESistance:NPLC{<PLCs>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]FRESistance:NPLC?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]FRESistance:OCOMpensated<state>[,(@<ch_list>)]

[SENSe:]FRESistance:OCOMpensated?[(@<ch_list>)]

[SENSe:]FRESistance:RANGe{<range>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]FRESistance:RANGe?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]FRESistance:RANGe:AUTO<state>[,(@<ch_list>)]

[SENSe:]FRESistance:RANGe:AUTO?[(@<ch_list>)]

[SENSe:]FRESistance:RESolution{<resolution>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]FRESistance:RESolution?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]FUNCtion"<function>"[,(@<ch_list>)]

[SENSe:]FUNCtion?[(@<ch_list>)]

[SENSe:]PERiod:APERture{<seconds>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]PERiod:APERture?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]PERiod:VOLTage:RANGe{<range>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]PERiod:VOLTage:RANGe?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]PERiod:VOLTage:RANGe:AUTO<state>[,(@<ch_list>)]

[SENSe:]PERiod:VOLTage:RANGe:AUTO?[(@<ch_list>)]

Page 1568: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]RESistance:APERture{<time>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]RESistance:APERture?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]RESistance:NPLC{<PLCs>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]RESistance:NPLC?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]RESistance:OCOMpensated<state>[,(@<ch_list>)]

[SENSe:]RESistance:OCOMpensated?[(@<ch_list>)]

[SENSe:]RESistance:RANGe{<range>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]RESistance:RANGe?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]RESistance:RANGe:AUTO<state>[,(@<ch_list>)]

[SENSe:]RESistance:RANGe:AUTO?[(@<ch_list>)]

[SENSe:]RESistance:RESolution{<resolution>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]RESistance:RESolution?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]TEMPerature:APERture{<time>|MIN|MAX|DEF}[,(@<ch_list>)]

[SENSe:]TEMPerature:APERture?{(@<ch_list>)|MIN|MAX}

[SENSe:]TEMPerature:NPLC{<PLCs>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]TEMPerature:NPLC?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]TEMPerature:RJUNction?[(@<ch_list>)]

Page 1569: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TEMPerature:TRANsducer:FRTD:OCOMpensated<state>[,(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:FRTD:OCOMpensated?[(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:FRTD:RESistance[:REFerence]

[SENSe:]TEMPerature:TRANsducer:FRTD:RESistance[:REFerence]?[(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:FRTD:TYPE<type>[,(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:FRTD:TYPE?[(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:RTD:OCOMpensated<state>[,(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:RTD:OCOMpensated?[(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:RTD:RESistance[:REFerence]

[SENSe:]TEMPerature:TRANsducer:RTD:RESistance[:REFerence]?[(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:RTD:TYPE<type>[,(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:RTD:TYPE?[(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:TCouple:CHECk<state>[,(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:TCouple:CHECk?[(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction{<temperature>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction?[(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction:TYPE<type>[,(@<ch_list>)]

Page 1570: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction:TYPE?[(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:TCouple:TYPE<type>[,(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:TCouple:TYPE?[(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:THERmistor:TYPE<type>[,(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:THERmistor:TYPE?[(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:TYPE{TCouple|RTD|FRTD|THERmistor|DEF}[,(@<ch_list>)]

[SENSe:]TEMPerature:TRANsducer:TYPE?[(@<ch_list>)]

[SENSe:]TOTalize:CLEar:IMMediate[(@<ch_list>)]

[SENSe:]TOTalize:DATA?[(@<ch_list>)]

[SENSe:]TOTalize:SLOPe<edge>[,(@<ch_list>)]

[SENSe:]TOTalize:SLOPe?[(@<ch_list>)]

[SENSe:]TOTalize:STARt[:IMMediate][(@<ch_list>)]

[SENSe:]TOTalize:STOP[:IMMediate][(@<ch_list>)]

[SENSe:]TOTalize:TYPE<mode>[,(@<ch_list>)]

[SENSe:]TOTalize:TYPE?[(@<ch_list>)]

[SENSe:]VOLTage:AC:RANGe{<range>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]VOLTage:AC:RANGe?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]VOLTage:AC:RANGe:AUTO<state>[,(@<ch_list>)]

[SENSe:]VOLTage:AC:RANGe:AUTO?[(@<ch_list>)]

[SENSe:]VOLTage:AC:BANDwidth{<filter>|MIN|MAX}[,(@<ch_list>)]

Page 1571: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]VOLTage:AC:BANDwidth?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]VOLTage:DC:APERture{<time>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]VOLTage:DC:APERture?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]VOLTage:DC:NPLC{<PLCs>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]VOLTage:DC:NPLC?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]VOLTage:DC:RANGe{<range>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]VOLTage:DC:RANGe?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]VOLTage:DC:RANGe:AUTO<state>[,(@<ch_list>)]

[SENSe:]VOLTage:DC:RANGe:AUTO?[(@<ch_list>)]

[SENSe:]VOLTage:DC:RESolution{<resolution>|MIN|MAX}[,(@<ch_list>)]

[SENSe:]VOLTage:DC:RESolution?[{(@<ch_list>)|MIN|MAX}]

[SENSe:]ZERO:AUTO{OFF|ONCE|ON}[,(@<ch_list>)]

[SENSe:]ZERO:AUTO?[(@<ch_list>)]

SOURceSubsystem

SOURce:DIGital:DATA[:{BYTE|WORD}]<data>,(@<ch_list>)

SOURce:DIGital:DATA[:{BYTE|WORD}]?(@<ch_list>)

SOURce:DIGital:STATe?(@<ch_list>)

SOURce:VOLTage<voltage>,(@<ch_list>)

SOURce:VOLTage?(@<ch_list>)

Page 1572: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

STATusSubsystem

STATus:ALARm:CONDition?

STATus:ALARm:ENABle<enable_val>

STATus:ALARm:ENABle?

STATus:ALARm[:EVENt]?

STATus:OPERation:CONDition?

STATus:OPERation:ENABle<enable_val>

STATus:OPERation:ENABle?

STATus:OPERation[:EVENt]?

STATus:PRESet

STATus:QUEStionable:CONDition?

STATus:QUEStionable:ENABle<enable_val>

STATus:QUEStionable:ENABle?

STATus:QUEStionable[:EVENt]?

Page 1573: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTEMSubsystem-LANConfiguration

SYSTem:COMMunicate:LAN:CONTrol?

SYSTem:COMMunicate:LAN:DHCP<mode>

SYSTem:COMMunicate:LAN:DHCP?

SYSTem:COMMunicate:LAN:DNS"<address>"

SYSTem:COMMunicate:LAN:DNS?[{CURRent|STATic}]

SYSTem:COMMunicate:LAN:DOMain?[{CURRent|STATic}]

SYSTem:COMMunicate:LAN:GATEway"<address>"

SYSTem:COMMunicate:LAN:GATEway?[{CURRent|STATic}]

SYSTem:COMMunicate:LAN:HOSTname"<name>"

SYSTem:COMMunicate:LAN:HOSTname?[{CURRent|STATic}]

SYSTem:COMMunicate:LAN:IPADdress"<address>"

SYSTem:COMMunicate:LAN:IPADdress?[{CURRent|STATic}]

SYSTem:COMMunicate:LAN:MAC?

SYSTem:COMMunicate:LAN:SMASk"<mask>"

SYSTem:COMMunicate:LAN:SMASk?[{CURRent|STATic}]

SYSTem:COMMunicate:LAN:TELNet:PROMpt"<string>"

SYSTem:COMMunicate:LAN:TELNet:PROMpt?

SYSTem:COMMunicate:LAN:TELNet:WMESsage"<string>"

SYSTem:COMMunicate:LAN:TELNet:WMESsage?

SYSTem:COMMunicate:LAN:UPDate

Page 1574: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTemSubsystem-OtherCommands

SYSTem:ALARm?

SYSTem:CPON<slot>

SYSTem:CTYPe?<slot>

SYSTem:DATE<yyyy>,<mm>,<dd>

SYSTem:DATE?

SYSTem:ERRor?

SYSTem:INTerface{GPIB|RS232}

SYSTem:INTerface?

SYSTem:LANGuage<language>

SYSTem:LANGuage?

SYST:LFRequency?

SYSTem:LOCal

SYSTem:LOCK:NAME?

SYSTem:LOCK:OWNer?

SYSTem:LOCK:RELease

SYSTem:LOCK:REQuest?

SYSTem:PRESet

SYSTem:REMote

SYSTem:RWLock

SYSTem:SECurity[:IMMediate]

SYSTem:TIME<hh>,<mm>,<ss.sss>

SYSTem:TIME?

SYSTem:TIME:SCAN?

SYSTem:VERSion?

Page 1575: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

TRIGgerSubsystem

TRIGger:COUNt{<count>|MIN|MAX|INFinity}

TRIGger:COUNt?

TRIGger:SOURce<source>

TRIGger:SOURce?

TRIGger:TIMer{<seconds>|MIN|MAX}

TRIGger:TIMer?[{MIN|MAX}]

©KeysightTechnologies,Inc.2009-2013

Page 1576: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ErrorMessages-350-99IEEEandParserErrors|100-299GeneralErrors|300-399ModuleandChannelErrors|400-449MassStorageErrors|450-499USBLoggingErrors|500-599SeriousInstrumentErrors|600-649Self-testErrors|700-799CalibrationErrors|811OperationNotImplemented|900-999ModuleErrors

Theinstrumentbeepsonceeachtimeacommandsyntaxorhardwareerrorisgenerated.Thefront-panelERRORannunciatorturnsonwhenoneormoreerrorsarecurrentlystoredintheerrorqueue.

Errorsareretrievedinfirst-in-first-out(FIFO)order.Thefirsterrorreturnedisthefirsterrorthatwasstored.Onceyouhavereadalloftheinterface-specificerrors,theerrorsintheglobalerrorqueueareretrieved.

Errorsareclearedasyoureadthem.Whenyouhavereadallerrorsfromtheinterface-specificandglobalerrorqueues,theERRORannunciatorturnsoffandtheerrorsarecleared.

Ifmorethan20errorshaveoccurred,thelasterrorstoredinthequeue(themostrecenterror)isreplacedwith-350,"Errorqueueoverflow".Noadditionalerrorsarestoreduntilyouremoveerrorsfromthequeue.Ifnoerrorshaveoccurredwhenyoureadtheerrorqueue,theinstrumentrespondswith+0,"Noerror".

ThefrontpanelreportserrorsfromallI/Osessionsaswellastheglobalerrorqueue.Toreadtheerrorqueuefromthefrontpanel,usetheViewkey.

ErrorconditionsarealsosummarizedintheStatusByteRegister.FormoreinformationontheStatusSystemfortheinstrument,seeStatusSystemIntroduction.

Theinterface-specificandglobalerrorqueuesareclearedbythe

Page 1577: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

*CLS(ClearStatus)commandandwhenpoweriscycled.Theerrorsarealsoclearedwhenyoureadtheerrorqueue.TheerrorqueueisnotclearedbyaFactoryReset(*RSTcommand)oranInstrumentPreset(SYSTem:PRESetcommand).

Thequeryreadsandclearsoneerrorstringfromtheerrorqueue.Theerrorstringmaycontainupto160charactersandconsistsofanerrornumberandanerrorstringenclosedindoublequotes.Forexample:

-113,"Undefinedheader"

Page 1578: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

-350-99IEEEandParserErrors-350 "Errorqueueoverflow"-330 "Selftestfailed"-256 "Fileorfoldernamenotfound"-231 "Internalsoftwareerror"-230 "Datastale"-224 "Dataquestionable"-224 "Illegalparametervaluerangesmustbepositive"-222 "Dataoutofrange"-221 "Settingsconflict"-214 "Triggerdeadlock"-213 "INITignored"-211 "Triggerignored"-123 "Numericoverflow"-114 "Subopcodeoutofrange"-110 "Internalcommunicationstimeout"-56 "Systemerror"

Page 1579: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

100-299GeneralErrors100 "NetworkError"111 "Channellist:slotnumberoutofrange"112 "Channellist:channelnumberoutofrange"113 "Channellist:emptyscanlist"201 "Memorylost:storedstate"202 "Memorylost:power-onstate"203 "Memorylost:storedreadings"204 "Memorylost:timeanddate"221 "Settingsconflict:calculatelimitstateforcedoff"222 "Settingsconflict:moduletypedoesnotmatchstate"223 "Settingsconflict:trigsourcechangedtoIMM"224 "Settingsconflict:chanadvsourcechangedtoIMM"225 "Settingsconflict:DMMdisabledormissing"226 "Settingsconflict:DMMenabled"251 "Unsupportedtemperaturetransducertype"261 "Notabletoexecutewhilescaninitiated"262 "Notabletoabortscan"271 "Notabletoacceptunitnameslongerthan3characters"272 "Notabletoacceptcharacterinunitname"281 "Notabletoperformonmorethanonechannel"291 "Notabletorecallstate:itisempty"292 "Notabletorecallstate:DMMenablechanged"

Page 1580: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

300-399ModuleandChannelErrors301 "Modulecurrentlycommittedtoscan"302 "Nomodulewasdetectedinthisslot"303 "Moduleisnotabletoperformrequestedoperation"304 "Doesnotexist"305 "Notabletoperformrequestedoperation"306 "Partofa4-wirepair"307 "Incorrectlyconfiguredrefchannel"308 "Channelnotabletoperformrequestedoperation"309 "Incorrectlyformattedchannellist"

Page 1581: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

400-449MassStorageErrors401 "Massstorageerror:failedtocreatefile"402 "Massstorageerror:failedtoopenfile"403 "Massstorageerror:failedtoclosefile"404 "Massstorageerror:filewriteerror"405 "Massstorageerror:filereaderror"406 "Massstorageerror:filewriteerror"407 "Massstorageerror:failedtoremovefile"408 "Massstorageerror:failedtocreatedirectory"409 "Massstorageerror:failedtoremovedirectory"410 "Notenoughdiskspace"411 "Noexternaldiskdetected"412 "Externaldiskhasbeendetached"413 "Filealreadyexists"414 "Directoryalreadyexists"415 "Filenotfound"416 "Pathnotfound"417 "Filenotopenedforwriting"418 "Filenotopenedforreading"

Page 1582: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

450-499USBLoggingErrors450 "Overrunduringdatacollection:readingslostinUSBtransfer"451 "OverrunduringUSBoutput:readingslostinUSBtransfer"452 "Readingmemoryexportabortedduetomeasurementreconfig"453 "NotabletoexecutewhileloggingdatatoUSB"454 "NotabletoexecutewhilecopyingdatatoUSB"455 "NotabletoexecutewhileimportingaconfigurationfromUSB"456 (none)457 "Loggingrequestignored:USBdeviceisbusy"458 "ExternalUSBdriveisinaccessible"459 "LoggingtoUSBwasstopped"460 "LoggingtoUSBwasstoppedafter2^32sweepsofdata"461 "Memorylost:non-volatilesettings;USBdrive"462 "Configurationimportaborted"463 "Configurationimportfailed"464 "Invalidimportfile"465 "Importfilecardsetdoesnotmatchinstrument"466 "Operationnotallowedinaconfigurationimportfile"467 "Noreadingstoexport"468 "Unabletofetchmeasurementconfigfrominternalprocessor"469 "Internalprocessorreturnedaninvalidmeasurementconfig"470 "Measurementwasreconfigured;Cannotsaveconfigurationdata"471 "USBoperationaborted;Cannotsaveconfigurationdata"472 "Oneormoreblcfgfilenamesinvalid;filesinaccessible"473 "Diskcontainstoomanyblcfgfiles;oldestfilesinaccessible"

Page 1583: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

500-599SeriousInstrumentErrors514 "RS-232only:unabletoexecuteusingHP-IB"(34970A

only)514 "Notallowed;InstrumentlockedbyanotherI/O

session"(34972Aonly)521 "Communications:inputbufferoverflow"522 "Communications:outputbufferoverflow"532 "Notabletoachieverequestedresolution"540 "Notabletonullchannelinoverload"550 "Notabletoexecutecommandinlocalmode"

Page 1584: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

600-649Self-testErrors601 "Self-test:frontpanelnotresponding"602 "Self-test:RAMread/write"603 "Self-test:A/Dsyncstuck"604 "Self-test:A/Dslopeconvergence"605 "Self-test/Cal:notabletocalibraterundowngain"606 "Self-test/Cal:rundowngainoutofrange"607 "Self-test:rundowntoonoisy"608 "Self-test:serialconfigurationreadbackfailed"609 "Self-test:DCgainx1failed"610 "Self-test:DCgainx10failed"611 "Self-test:DCgainx100failed"612 "Self-test:Ohms500nAsourcefailed"613 "Self-test:Ohms5uAsourcefailed"614 "Self-test:DC300Vzerofailed"615 "Self-test:Ohms10uAsourcefailed"616 "Self-test:DCcurrentsensefailed"617 "Self-test:Ohms100uAsourcefailed"618 "Self-test:DChighvoltageattenuatorfailed"619 "Self-test:Ohms1mAsourcefailed"620 "Self-test:ACrmszerofailed"621 "Self-test:ACrmsfullscalefailed"622 "Self-test:frequencycounterfailed"623 "Self-test:cannotcalibrateprecharge"624 "Self-test:unabletosenselinefrequency"625 "Self-test:I/Oprocessordoesnotrespond"626 "Self-test:I/Oprocessorfailedself-test"

Page 1585: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

700-799CalibrationErrors701 "Calsecuritydisabledbyjumper"702 "Cal:secured"703 "Cal:invalidsecurecode"704 "Cal:securecodetoolong"705 "Cal:aborted"706 "Cal:valueoutofrange"707 "Cal:signalmeasurementoutofrange"708 "Cal:signalfrequencyoutofrange"709 "Cal:nocalforthisfunctionorrange"710 "Cal:fullscalecorrectionoutofrange"720 "Cal:DCVoffsetoutofrange"721 "Cal:DCIoffsetoutofrange"722 "Cal:RESoffsetoutofrange"723 "Cal:FRESoffsetoutofrange"724 "Cal:extendedresistanceselfcalfailed"725 "Cal:300VDCcorrectionoutofrange"730 "Cal:prechargeDACconvergencefailed"731 "Cal:A/Dturnovercorrectionoutofrange"732 "Cal:ACflatnessDACconvergencefailed"733 "Cal:AClowfrequencyconvergencefailed"734 "Cal:AClowfrequencycorrectionoutofrange"735 "Cal:ACrmsconverternoisecorrectionoutofrange"736 "Cal:ACrms100thscalecorrectionoutofrange"740 "Caldatalost:securestate"741 "Caldatalost:stringdata"742 "Caldatalost:DCVcorrections"743 "Caldatalost:DCIcorrections"744 "Caldatalost:REScorrections"745 "Caldatalost:FREScorrections"746 "Caldatalost:ACcorrections"747 "Configdatalost:HP-IBaddress"(34970Aonly)747 "Calibrationfailed"(34972Aonly)748 "Configdatalost:RS-232"(34970Aonly)748 "Calchecksumfailedinternaldata"(34972Aonly)749 "DMMrelaycountdatalost"

Page 1586: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it
Page 1587: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

811OperationNotImplemented811 "Operationnotimplemented"

Page 1588: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

900-999ModuleErrors901 "Modulehardware:unexpecteddatareceived"902 "Modulehardware:missingstopbit"903 "Modulehardware:dataoverrun"904 "Modulehardware:protocolviolation"905 "Modulehardware:earlyendofdata"906 "Modulehardware:missingendofdata"907 "Modulehardware:moduleSRQsignalstucklow"908 "Modulehardware:notresponding"910 "Modulereportedanunknownmoduletype"911 "Modulereportedcommandbufferoverflow"912 "Modulereportedcommandsyntaxerror"913 "Modulereportednonvolatilememoryfault"914 "Modulereportedtemperaturesensorfault"915 "Modulereportedfirmwaredefect"916 "Modulereportedincorrectfirmwareinstalled"

Page 1589: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

FactoryResetStateThefollowingtablesshowthestateoftheinstrumentafteraFACTORYRESETfromtheSto/Rclmenu,or*RSTfromtheremoteinterface.

MeasurementConfiguration

FactoryResetState

Function DCVolts

Range Autorange

Resolution 5½Digits

IntegrationTime 1PLC

InputResistance 10MΩ(fixedforallDCVranges)

ChannelDelay AutomaticDelay

TotalizerResetMode

CountNotResetWhenRead

Page 1590: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

TotalizerEdgeDetect

RisingEdge

ScanningOperations

FactoryResetState

ScanList Empty

ReadingMemory AllReadingsareCleared

Min,Max,andAverage

NotChanged

ScanTriggerSource Immediate

ScanInterval(usedwithTRIGger:SOURceTIMer)

10Seconds

ScanCount 1

ScanReadingFormat

ReadingOnly(NoUnits,Channel,Time)

Page 1591: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MonitorinProgress Stopped

Mx+BScaling FactoryResetState

GainFactor("M")

1

OffsetFactor("B")

0

ScaleLabel VDC

AlarmLimits FactoryResetState

AlarmQueue NotCleared

AlarmState Off

HIandLOAlarmLimits

0

Page 1592: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

AlarmOutput Alarm1

AlarmOutputConfiguration

LatchedMode

AlarmOutputState OutputLinesareCleared

AlarmOutputSlope Fail=Low

ModuleHardware

FactoryResetState

34901A,34902A,34908A

AllChannelsOpen

34903A,34904A AllChannelsOpen

34905A,34906A Channelss11ands21Selected

34907A BothDIOPorts=Input,TotalizerCount=0,BothDACs=0VDC

Page 1593: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

System-RelatedOperations

FactoryResetState

DisplayState On

ErrorQueue ErrorsNotCleared

StoredStates NoChange

Page 1594: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

InstrumentPresetStateThefollowingtablesshowthestateoftheinstrumentafteraPRESETfromtheSto/RclmenuoraSYSTem:PRESetcommandfromtheremoteinterface.

MeasurementConfiguration

InstrumentPresetState

Function NoChange

Range NoChange

Resolution NoChange

AdvancedSettings NoChange

TotalizerResetMode

CountNotResetWhenRead

TotalizerEdgeDetect

RisingEdge

ScanningOperations

InstrumentPresetState

Page 1595: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ScanList NoChange

ReadingMemory AllReadingsareCleared

Min,Max,andAverage

NoChange

ScanIntervalSource

NoChange

ScanInterval NoChange

ScanCount NoChange

ScanReadingFormat

NoChange

MonitorinProgress

Stopped

Mx+BScaling InstrumentPresetState

GainFactor NoChange

Page 1596: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

("M")

OffsetFactor("B")

NoChange

ScaleLabel NoChange

AlarmLimits InstrumentPresetState

AlarmQueue NoChange

AlarmState NoChange

HIandLOAlarmLimits

NoChange

AlarmOutputConfiguration

NoChange

AlarmOutputState OutputLinesareCleared

AlarmOutputSlope

NoChange

Page 1597: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ModuleHardware

InstrumentPresetState

34901A,34902A,34908A

AllChannelsOpen

34903A,34904A AllChannelsOpen

34905A,34906A Channelss11ands21Selected

34907A BothDIOPorts=Input,TotalizerCount=0,BothDACs=0VDC

System-RelatedOperations

InstrumentPresetState

DisplayState NoChange

ErrorQueue ErrorsNotCleared

StoredStates NoChange

Page 1598: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it
Page 1599: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

34970A/34972AModuleDetailsThelinksbelowtakeyoutosummaryinformationfortheKeysight34970A/34972Aplug-inmodules.

34901A20-ChannelArmatureMultiplexer

34902A16-ChannelReedMultiplexer

34903A20-ChannelActuator/General-PurposeSwitch

34904A4x8Two-WireMatrixSwitch

34905A/34906ADual4-ChannelRFMultiplexers

34907AMultifunctionModule

34908A40-ChannelSingle-EndedMultiplexer

Page 1600: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Keysight34901AModuleSummary

20-ChannelArmatureMultiplexer(2/4-wire)Module

SimplifiedSchematic

SCPICommandsUsed

Page 1601: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:AVERage:AVERage?

CALCulate:AVERage:CLEar

CALCulate:AVERage:COUNt?

CALCulate:AVERage:MAXimum?

CALCulate:AVERage:MAXimum:TIME?

CALCulate:AVERage:MINimum?

CALCulate:AVERage:MINimum:TIME?

CALCulate:AVERage:PTPeak?

CALCulate:LIMit:LOWer

CALCulate:LIMit:LOWer:STATe

CALCulate:LIMit:UPPer

CALCulate:LIMit:UPPer:STATe

CALCulate:SCALe:GAIN

CALCulate:SCALe:OFFSet

CALCulate:SCALe:OFFSet:NULL

CALCulate:SCALe:STATe

CALCulate:SCALe:UNIT

CONFigure?

CONFigure:CURRent:AC

CONFigure:CURRent:DC

CONFigure:FREQuency

CONFigure:FRESistance

CONFigure:PERiod

CONFigure:RESistance

CONFigure:TEMPerature

CONFigure:VOLTage:AC

Page 1602: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CONFigure:VOLTage:DC

DIAGnostic:RELay:CYCLes?

DIAGnostic:RELay:CYCLes:CLEar

MEASure:CURRent:AC?

MEASure:CURRent:DC?

MEASure:FREQuency?

MEASure:FRESistance?

MEASure:PERiod?

MEASure:RESistance?

MEASure:TEMPerature?

MEASure:VOLTage:AC?

MEASure:VOLTage:DC?

ROUTe:CHANnel:DELay

ROUTe:CHANnel:DELay:AUTO

ROUTe:CHANnel:FWIRe

ROUTe:CLOSe

ROUTe:CLOSe:EXCLusive

ROUTe:MONitor

ROUTe:MONitor:DATA?

ROUTe:OPEN

ROUTe:SCAN

[SENSe:]CURRent:AC:BANDwidth

[SENSe:]CURRent:AC:RANGe

[SENSe:]CURRent:AC:RANGe:AUTO

[SENSe:]CURRent:DC:APERture

[SENSe:]CURRent:DC:NPLC

Page 1603: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]CURRent:DC:RANGe

[SENSe:]CURRent:DC:RANGe:AUTO

[SENSe:]CURRent:DC:RESolution

[SENSe:]FREQuency:APERture

[SENSe:]FREQuency:RANGe:LOWer

[SENSe:]FREQuency:VOLTage:RANGe

[SENSe:]FREQuency:VOLTage:RANGe:AUTO

[SENSe:]FRESistance:APERture

[SENSe:]FRESistance:NPLC

[SENSe:]FRESistance:OCOMpensated

[SENSe:]FRESistance:RANGe

[SENSe:]FRESistance:RANGe:AUTO

[SENSe:]FRESistance:RESolution

[SENSe:]PERiod:APERture

[SENSe:]PERiod:VOLTage:RANGe

[SENSe:]PERiod:VOLTage:RANGe:AUTO

[SENSe:]RESistance:APERture

[SENSe:]RESistance:NPLC

[SENSe:]RESistance:OCOMpensated

[SENSe:]RESistance:RANGe

[SENSe:]RESistance:RANGe:AUTO

[SENSe:]RESistance:RESolution

[SENSe:]TEMPerature:NPLC

[SENSe:]TEMPerature:RJUNction?

[SENSe:]TEMPerature:TRANsducer:FRTD:RESistance[:REFerence]

[SENSe:]TEMPerature:TRANsducer:FRTD:TYPE

Page 1604: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]TEMPerature:TRANsducer:RTD:RESistance[:REFerence]

[SENSe:]TEMPerature:TRANsducer:RTD:TYPE

[SENSe:]TEMPerature:TRANsducer:TCouple:CHECk

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction:TYPE

[SENSe:]TEMPerature:TRANsducer:TCouple:TYPE

[SENSe:]TEMPerature:TRANsducer:THERmistor:TYPE

[SENSe:]TEMPerature:TRANsducer:TYPE

[SENSe:]VOLTage:AC:BANDwidth

[SENSe:]VOLTage:AC:RANGe

[SENSe:]VOLTage:AC:RANGe:AUTO

[SENSe:]VOLTage:DC:APERture

[SENSe:]VOLTage:DC:NPLC

[SENSe:]VOLTage:DC:RANGe

[SENSe:]VOLTage:DC:RANGe:AUTO

[SENSe:]VOLTage:DC:RESolution

[SENSe:]ZERO:AUTO

SYSTem:CPON

SYSTem:CTYPe?

UNIT:TEMPerature

Page 1605: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Keysight34902AModuleSummary

16-ChannelReedMultiplexer(2/4-wire)Module

SimplifiedSchematic

SCPICommandsUsedCALCulate:AVERage:AVERage?

CALCulate:AVERage:CLEar

CALCulate:AVERage:COUNt?

CALCulate:AVERage:MAXimum?

CALCulate:AVERage:MAXimum:TIME?

CALCulate:AVERage:MINimum?

Page 1606: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:AVERage:MINimum:TIME?

CALCulate:AVERage:PTPeak?

CALCulate:LIMit:LOWer

CALCulate:LIMit:LOWer:STATe

CALCulate:LIMit:UPPer

CALCulate:LIMit:UPPer:STATe

CALCulate:SCALe:GAIN

CALCulate:SCALe:OFFSet

CALCulate:SCALe:OFFSet:NULL

CALCulate:SCALe:STATe

CALCulate:SCALe:UNIT

CONFigure?

CONFigure:FREQuency

CONFigure:FRESistance

CONFigure:PERiod

CONFigure:RESistance

CONFigure:TEMPerature

CONFigure:VOLTage:AC

CONFigure:VOLTage:DC

DIAGnostic:RELay:CYCLes?

DIAGnostic:RELay:CYCLes:CLEar

MEASure:FREQuency?

MEASure:FRESistance?

MEASure:PERiod?

MEASure:RESistance?

MEASure:TEMPerature?

Page 1607: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

MEASure:VOLTage:AC?

MEASure:VOLTage:DC?

ROUTe:CHANnel:DELay

ROUTe:CHANnel:DELay:AUTO

ROUTe:CHANnel:FWIRe

ROUTe:CLOSe

ROUTe:CLOSe:EXCLusive

ROUTe:MONitor

ROUTe:MONitor:DATA?

ROUTe:OPEN

ROUTe:SCAN

[SENSe:]FREQuency:APERture

[SENSe:]FREQuency:RANGe:LOWer

[SENSe:]FREQuency:VOLTage:RANGe

[SENSe:]FREQuency:VOLTage:RANGe:AUTO

[SENSe:]FRESistance:APERture

[SENSe:]FRESistance:NPLC

[SENSe:]FRESistance:OCOMpensated

[SENSe:]FRESistance:RANGe

[SENSe:]FRESistance:RANGe:AUTO

[SENSe:]FRESistance:RESolution

[SENSe:]PERiod:APERture

[SENSe:]PERiod:VOLTage:RANGe

[SENSe:]PERiod:VOLTage:RANGe:AUTO

[SENSe:]RESistance:APERture

[SENSe:]RESistance:NPLC

Page 1608: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]RESistance:OCOMpensated

[SENSe:]RESistance:RANGe

[SENSe:]RESistance:RANGe:AUTO

[SENSe:]RESistance:RESolution

[SENSe:]TEMPerature:NPLC

[SENSe:]TEMPerature:RJUNction?

[SENSe:]TEMPerature:TRANsducer:FRTD:RESistance[:REFerence]

[SENSe:]TEMPerature:TRANsducer:FRTD:TYPE

[SENSe:]TEMPerature:TRANsducer:RTD:RESistance[:REFerence]

[SENSe:]TEMPerature:TRANsducer:RTD:TYPE

[SENSe:]TEMPerature:TRANsducer:TCouple:CHECk

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction:TYPE

[SENSe:]TEMPerature:TRANsducer:TCouple:TYPE

[SENSe:]TEMPerature:TRANsducer:THERmistor:TYPE

[SENSe:]TEMPerature:TRANsducer:TYPE

[SENSe:]VOLTage:AC:BANDwidth

[SENSe:]VOLTage:AC:RANGe

[SENSe:]VOLTage:AC:RANGe:AUTO

[SENSe:]VOLTage:DC:APERture

[SENSe:]VOLTage:DC:NPLC

[SENSe:]VOLTage:DC:RANGe

[SENSe:]VOLTage:DC:RANGe:AUTO

[SENSe:]VOLTage:DC:RESolution

[SENSe:]ZERO:AUTO

SYSTem:CPON

Page 1609: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:CTYPe?

UNIT:TEMPerature

Page 1610: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Keysight34903AModuleSummary

20-ChannelActuator/GPSwitchModule

SimplifiedSchematic

SCPICommandsUsedDIAGnostic:RELay:CYCLes?

DIAGnostic:RELay:CYCLes:CLEar

ROUTe:CLOSe

ROUTe:CLOSe:EXCLusive

ROUTe:OPEN

SYSTem:CPON

SYSTem:CTYPe?

Page 1611: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Keysight34904AModuleSummary

4x8Two-WireMatrixModule

SimplifiedSchematic

Page 1612: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SCPICommandsUsedDIAGnostic:RELay:CYCLes?

DIAGnostic:RELay:CYCLes:CLEar

ROUTe:CLOSe

Page 1613: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ROUTe:CLOSe:EXCLusive

ROUTe:OPEN

SYSTem:CPON

SYSTem:CTYPe?

Page 1614: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Keysight34905A/34906AModuleSummary

2GHzDual1:4RFMux,50OhmModule(34905A)

2GHzDual1:4RFMux,75OhmModule(34906A)

SimplifiedSchematic

Page 1615: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SCPICommandsUsedDIAGnostic:RELay:CYCLes?

DIAGnostic:RELay:CYCLes:CLEar

ROUTe:CLOSe

ROUTe:CLOSe:EXCLusive

SYSTem:CPON

Page 1616: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:CTYPe?

Page 1617: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Keysight34907AModuleSummary

MultifunctionModule

SimplifiedSchematic-DigitalInput/Output

SimplifiedSchematic-TotalizeInput

SimplifiedSchematic-AnalogOutput(DAC)

Page 1618: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SCPICommandsUsedCALCulate:AVERage:AVERage?

CALCulate:AVERage:CLEar

CALCulate:AVERage:COUNt?

CALCulate:AVERage:MAXimum?

CALCulate:AVERage:MAXimum:TIME?

CALCulate:AVERage:MINimum?

CALCulate:AVERage:MINimum:TIME?

CALCulate:AVERage:PTPeak?

CALCulate:COMPare:DATA

CALCulate:COMPare:MASK

CALCulate:COMPare:STATe

CALCulate:COMPare:TYPE

CALCulate:LIMit:LOWer

CALCulate:LIMit:UPPer

CALibration?

CALibration:VALue

Page 1619: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CONFigure?

CONFigure:DIGital:BYTE

CONFigure:TOTalize

MEASure:DIGital:BYTE?

MEASure:TOTalize?

ROUTe:CHANnel:DELay

ROUTe:CHANnel:DELay:AUTO

ROUTe:MONitor

ROUTe:MONitor:DATA?

ROUTe:SCAN

[SENSe:]DIGital:DATA:{BYTE|WORD}?

[SENSe:]TOTalize:CLEar:IMMediate

[SENSe:]TOTalize:DATA?

[SENSe:]TOTalize:SLOPe

[SENSe:]TOTalize:TYPE

SOURce:DIGital:DATA[:{BYTE|WORD}]

SOURce:DIGital:STATe?

SOURce:VOLTage

SYSTem:CPON

SYSTem:CTYPe?

Page 1620: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

Keysight34908AModuleSummary

40ChannelSingle-EndedMultiplexerModule

SimplifiedSchematic

SCPICommandsUsed

Page 1621: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CALCulate:AVERage:AVERage?

CALCulate:AVERage:CLEar

CALCulate:AVERage:COUNt?

CALCulate:AVERage:MAXimum?

CALCulate:AVERage:MAXimum:TIME?

CALCulate:AVERage:MINimum?

CALCulate:AVERage:MINimum:TIME?

CALCulate:AVERage:PTPeak?

CALCulate:LIMit:LOWer

CALCulate:LIMit:LOWer:STATe

CALCulate:LIMit:UPPer

CALCulate:LIMit:UPPer:STATe

CALCulate:SCALe:GAIN

CALCulate:SCALe:OFFSet

CALCulate:SCALe:OFFSet:NULL

CALCulate:SCALe:STATe

CALCulate:SCALe:UNIT

CALibration?

CONFigure?

CONFigure:FREQuency

CONFigure:PERiod

CONFigure:RESistance

CONFigure:TEMPerature

CONFigure:VOLTage:AC

CONFigure:VOLTage:DC

DIAGnostic:RELay:CYCLes?

Page 1622: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DIAGnostic:RELay:CYCLes:CLEar

MEASure:FREQuency?

MEASure:PERiod?

MEASure:RESistance?

MEASure:TEMPerature?

MEASure:VOLTage:AC?

MEASure:VOLTage:DC?

ROUTe:CHANnel:DELay

ROUTe:CHANnel:DELay:AUTO

ROUTe:CHANnel:FWIRe

ROUTe:CLOSe

ROUTe:CLOSe:EXCLusive

ROUTe:MONitor

ROUTe:MONitor:DATA?

ROUTe:OPEN

ROUTe:SCAN

[SENSe:]FREQuency:APERture

[SENSe:]FREQuency:RANGe:LOWer

[SENSe:]FREQuency:VOLTage:RANGe

[SENSe:]FREQuency:VOLTage:RANGe:AUTO

[SENSe:]FRESistance:APERture

[SENSe:]PERiod:APERture

[SENSe:]PERiod:VOLTage:RANGe

[SENSe:]PERiod:VOLTage:RANGe:AUTO

[SENSe:]RESistance:APERture

[SENSe:]RESistance:NPLC

Page 1623: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

[SENSe:]RESistance:OCOMpensated

[SENSe:]RESistance:RANGe

[SENSe:]RESistance:RANGe:AUTO

[SENSe:]RESistance:RESolution

[SENSe:]TEMPerature:NPLC

[SENSe:]TEMPerature:RJUNction?

[SENSe:]TEMPerature:TRANsducer:FRTD:RESistance[:REFerence]

[SENSe:]TEMPerature:TRANsducer:FRTD:TYPE

[SENSe:]TEMPerature:TRANsducer:RTD:RESistance[:REFerence]

[SENSe:]TEMPerature:TRANsducer:RTD:TYPE

[SENSe:]TEMPerature:TRANsducer:TCouple:CHECk

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction

[SENSe:]TEMPerature:TRANsducer:TCouple:RJUNction:TYPE

[SENSe:]TEMPerature:TRANsducer:TCouple:TYPE

[SENSe:]TEMPerature:TRANsducer:THERmistor:TYPE

[SENSe:]TEMPerature:TRANsducer:TYPE

[SENSe:]VOLTage:AC:BANDwidth

[SENSe:]VOLTage:AC:RANGe

[SENSe:]VOLTage:AC:RANGe:AUTO

[SENSe:]VOLTage:DC:APERture

[SENSe:]VOLTage:DC:NPLC

[SENSe:]VOLTage:DC:RANGe

[SENSe:]VOLTage:DC:RANGe:AUTO

[SENSe:]VOLTage:DC:RESolution

[SENSe:]ZERO:AUTO

SYSTem:CPON

Page 1624: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SYSTem:CTYPe?

UNIT:TEMPerature

Page 1625: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

IntroductiontotheCommandLanguage

ThisdocumentdescribestheSCPIcommandlanguagefortheKeysight34970A/34972Amultifunctionswitch/measureunit.Thesecommandsarebasedonahierarchicaltreesysteminwhichassociatedcommandsaregroupedtogetherunderacommonnodeorroottoformsubsystems.AportionoftheINPutsubsystemisshownbelowtoillustratethetreesystem.

INPut: COUPling:

IMPedance:

INPutistherootkeywordofthecommand,andCOUPlingandIMPedancearesecond-levelkeywords.Acolon(:)separatesacommandkeywordfromalower-levelkeyword.

Page 1626: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

SyntaxConventions

Theformatusedtoshowcommandsisillustratedbelow:

MEASure:INSTall:DELete{<label>|ALL}

Thecommandsyntaxshowsmostcommands(andsomeparameters)asamixtureofupper-andlower-caseletters.Theupper-caselettersindicatetheabbreviatedspellingforthecommand.Forshorterprogramlines,youcansendtheabbreviatedform.Forbetterprogramreadability,youcansendthelongform.

Forexample,intheabovesyntaxstatement,MEASandMEASurearebothacceptableforms.Youcanuseupper-orlower-caseletters.Therefore,MEASure,meas,andMeasareallacceptable.Otherforms,suchasMEAandMEASUR,arenotvalidandwillgenerateanerror.

Braces({})enclosetheparameterchoicesforagivencommandstring.Thebracesarenotsentwiththecommandstring.

Averticalbar(|)separatesmultipleparameterchoicesforagivencommandstring.Forexample,{<label>|ALL}intheabovecommandindicatesthatyoucanspecifya<label>,or"ALL".Thebarisnotsentwiththecommandstring.

Anglebrackets(<>)indicatethatyoumustspecifyavaluefortheenclosedparameter.Forexample,theabovesyntaxstatementshowsthe<label>parameterenclosedinanglebrackets.Thebracketsarenotsentwiththecommandstring.Youmustspecifyavaluefortheparameter(forexample,MEASure:INSTall:DELete"MEZ_25")unlessyouselectoneoftheotheroptionsshowninthesyntax(forexample,MEASure:INSTall:DELeteALL).

Someparametersareenclosedinsquarebrackets([]).Thisindicatesthattheparameterisoptional.Thebracketsarenotsentwiththecommandstring.Ifyoudonotspecifyavalueforanoptionalparameter,theinstrumentchoosesadefaultvalue.

Page 1627: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CommandSeparators

Acolon(:)separatesacommandkeywordfromalower-levelkeyword.Youmustinsertablankspacetoseparateaparameterfromacommandkeyword.Ifacommandrequiresmorethanoneparameter,youmustseparateadjacentparametersusingacommaasshownbelow:

MEASure:THResholds:ABSolute(@1:4),90,50,10

Asemicolon(;)isusedtoseparatecommandswithinthesamesubsystem,andcanalsominimizetyping.Forexample,sendingthefollowingcommandstring:

TRIG:SOUREXT;COUNT10

...isthesameassendingthefollowingtwocommands:

TRIG:SOUREXT

TRIG:COUNT10

Useacolonandasemicolontolinkcommandsfromdifferentsubsystems.Forexample,inthefollowingcommandstring,anerrorisgeneratedifyoudonotuseboththecolonandsemicolon:

TRIG:COUNMIN;:SAMP:COUNMIN

Page 1628: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

QueryingParameterSettings

Youcanquerythecurrentvalueofmostparametersbyaddingaquestionmark(?)tothecommand.Forexample,thefollowingcommandturnsprotectiononforchannels1through4.

CONFigure:CHANnel:PROTection(@1:4),1

Youcanthenquerytheprotectionbysending:

CONFigure:CHANnel:PROTection?(@1:4)

Thiswouldreturn+1,+1,+1,+1.

Page 1629: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

CommandTerminators

Acommandstringsenttotheinstrumentmustterminatewitha<newline>(<NL>)character.TheIEEE-488EOI(End-Or-Identify)messageisinterpretedasa<NL>characterandcanbeusedtoterminateacommandstringinplaceofa<NL>character.A<carriagereturn>followedbya<NL>isalsoaccepted.Commandstringterminationwillalwaysresetthecurrentcommandpathtotherootlevel.

Foreverymessagethatincludesaqueryandissenttotheinstrument,theinstrumentterminatesthereturnedresponsewitha<NL>orline-feedcharacter(EOI).Forexample,if*IDN?issent,theresponseisterminatedwitha<NL>aftertheblockofdatathatisreturned.Ifamessageincludesmultiplequeriesseparatedbysemicolons(forexample"*ESR?;*IDN?"),thereturnedresponseisagainterminatedbya<NL>aftertheresponsetothelastquery.Ineithercase,theprogrammustreadthis<NL>intheresponsebeforeanothercommandissenttotheinstrument,oranerrorwilloccur.

Page 1630: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

IEEE-488.2CommonCommands

TheIEEE-488.2standarddefinesasetofcommoncommandsthatperformfunctionssuchasreset,self-test,andstatusoperations.Commoncommandsalwaysbeginwithanasterisk(*),arethreecharactersinlength,andmayincludeoneormoreparameters.Thecommandkeywordisseparatedfromthefirstparameterbyablankspace.Useasemicolon(;)toseparatemultiplecommandsasshownbelow:

*RST;*CLS;*ESE32;*OPC?

Page 1631: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

ParameterTypes

Thelanguagedefinesseveraldataformatstobeusedinprogrammessagesandresponsemessages.

NumericParameters

Commandsthatrequirenumericparameterswillacceptallcommonlyuseddecimalrepresentationsofnumbersincludingoptionalsigns,decimalpoints,andscientificnotation.Youcanalsosendengineeringunitsuffixeswithnumericparameters(e.g.,M,k,m,oru).Ifacommandacceptsonlycertainspecificvalues,theinstrumentwillautomaticallyroundtheinputnumericparameterstotheacceptedvalues.Thefollowingcommandrequiresnumericparametersforthe<vHigh>,<vMid>and<vLow>parameters.

MEASure:THResholds:ABSolute(@<ch_list>)[,<vHigh>,<vMid>,<vLow>]

Becausetheparseriscase-insensitive,thereissomeconfusionovertheletter"M"(or"m").Foryourconvenience,theinstrumentinterprets"mV"(or"MV")asmillivolts,and"MHZ"(or"mhz")asmegahertz.Likewise"MΩ"(or"mΩ")isinterpretedasmegohms.Youcanusetheprefix"MA"formega.Forexample,"MAV"isinterpretedasmegavolts.

DiscreteParameters

Discreteparametersareusedtoprogramsettingsthathavealimitednumberofvalues(likeIMMediate,EXTernal,orBUS).Theyhaveashortformandalongformjustlikecommandkeywords.Youcanmixupper-andlower-caseletters.Queryresponseswillalwaysreturntheshortforminallupper-caseletters.Thefollowingcommandrequiresadiscrete

Page 1632: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

parameterforthetriggersource:

CONFigure:TRIGger:SOURce{IMMediate|SOFTware|EXTernal|CHANnel|OR}

BooleanParameters

Booleanparametersrepresentasinglebinaryconditionthatiseithertrueorfalse.Forafalsecondition,theinstrumentwillaccept"OFF"or0.Foratruecondition,theinstrumentwillaccept"ON"or"1".WhenyouqueryaBooleansetting,theinstrumentwillalwaysreturn0or1.ThefollowingcommandrequiresaBooleanparameter:

CALibration:SECure:STATe{OFF|0|ON|1}

ASCIIStringParameters

StringparameterscancontainvirtuallyanysetofASCIIcharacters.Astringmustbeginandendwithmatchingquotes;eitherwithasinglequoteoradoublequote.Youcanincludethequotedelimiteraspartofthestringbytypingittwicewithoutanycharactersinbetween.Thefollowingcommandusesastringparameter:

DISPlay:TEXT<quotedstring>

Forexample,thefollowingcommanddisplaysthemessage"WAITING..."ontheinstrument'sfrontpanel(thequotesarenotdisplayed).

DISP:TEXT"WAITING..."

Youcanalsodisplaythesamemessageusingthefollowingcommandwithsinglequotes.

DISP:TEXT'WAITING...'

Page 1633: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

UsingDeviceClear

DeviceClearisanIEEE-488low-levelbusmessagethatyoucanusetoreturntheinstrumenttoaresponsivestate.DifferentprogramminglanguagesandIEEE-488interfacecardsprovideaccesstothiscapabilitythroughtheirownuniquecommands.Thestatusregisters,theerrorqueue,andallconfigurationstatesareleftunchangedwhenaDeviceClearmessageisreceived.

DeviceClearperformsthefollowingactions:

Ifameasurementisinprogress,itisaborted.

Theinstrumentreturnstothetrigger"idle"state.

Theinstrument'sinputandoutputbuffersarecleared.

Theinstrumentispreparedtoacceptanewcommandstring.

Anoverlappedcommand,ifany,willbeterminatedwithno"OperationComplete"indication.

TheABORtcommandistherecommendedmethodtoterminateameasurement.

Page 1634: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

LANPortUsage

TheKeysight34972AusesthefollowingLANports:

Port5024isusedforSCPITelnetsessions.

Port5025isusedforSocketsessions.

Page 1635: Agilent 34970A/72A Command Reference · Remarks If a scan is in progress when the command is received, the scan will not be completed and you cannot resume the scan from where it

DHCP

ShortforDynamicHostConfigurationProtocol,aprotocolforassigningdynamicIPaddressestodevicesonanetwork.Withdynamicaddressing,adevicecanhaveadifferentIPaddresseverytimeitconnectstothenetwork.