Table of Contents

Advertisement

Agilent InfiniiVision
7000A Series
Oscilloscopes
Programmer's Guide


Advertisement

Table of Contents
loading

Summary of Contents for Agilent Technologies InfiniiVision 7000A Series

  • Page 1 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide ...
  • Page 2 Notices © Agilent Technologies, Inc. 2005-2010 Manual Part Number agency regulation or contract clause. Use, duplication or disclosure of Software is No part of this manual may be reproduced Version 06.00.0000 subject to Agilent Technologies’ standard in any form or by any means (including...
  • Page 3: In This Book

    • Chapter 7, Chapter 7, “Obsolete and Discontinued Commands,” starting on page 687, describes obsolete commands which still work but have been replaced by newer commands and discontinued commands which are no longer supported. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 4 82350A GPIB interface). • For information on oscilloscope front- panel operation, see the User's Guide. • For detailed connectivity information, refer to the Agilent Technologies USB/LAN/GPIB Connectivity Guide. For a printable electronic copy of the Connectivity Guide, direct your Web browser to "www.agilent.com"...
  • Page 5: Table Of Contents

    Step 2. Connect and set up the oscilloscope Using the USB (Device) Interface Using the LAN Interface Step 3. Verify the oscilloscope connection 3 Getting Started Basic Oscilloscope Program Structure Initializing Capturing Data Analyzing Captured Data Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 6 Definite-Length Block Response Data 5 Commands by Subsystem Common (*) Commands *CLS (Clear Status) *ESE (Standard Event Status Enable) *ESR (Standard Event Status Register) *IDN (Identification Number) *LRN (Learn Device Setup) *OPC (Operation Complete) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 7 :OPERegister:CONDition (Operation Status Condition Register) :OPERegister[:EVENt] (Operation Status Event Register) :OVLenable (Overload Event Enable Register) :OVLRegister (Overload Event Register) :PRINt :RUN :SERial :SINGle :STATus :STOP :TER (Trigger Event Register) :VIEW :ACQuire Commands :ACQuire:AALias :ACQuire:COMPlete :ACQuire:COUNt Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 8 :BUS<n> Commands :BUS<n>:BIT<m> :BUS<n>:BITS :BUS<n>:CLEar :BUS<n>:DISPlay :BUS<n>:LABel :BUS<n>:MASK :CALibrate Commands :CALibrate:DATE :CALibrate:LABel :CALibrate:OUTPut :CALibrate:STARt :CALibrate:STATus :CALibrate:SWITch :CALibrate:TEMPerature :CALibrate:TIME :CHANnel<n> Commands :CHANnel<n>:BWLimit :CHANnel<n>:COUPling :CHANnel<n>:DISPlay :CHANnel<n>:IMPedance :CHANnel<n>:INVert :CHANnel<n>:LABel :CHANnel<n>:OFFSet :CHANnel<n>:PROBe :CHANnel<n>:PROBe:HEAD[:TYPE] :CHANnel<n>:PROBe:ID :CHANnel<n>:PROBe:SKEW :CHANnel<n>:PROBe:STYPe :CHANnel<n>:PROTection :CHANnel<n>:RANGe Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 9 :DISPlay:CLEar :DISPlay:DATA :DISPlay:LABel :DISPlay:LABList :DISPlay:PERSistence :DISPlay:SOURce :DISPlay:VECTors :EXTernal Trigger Commands :EXTernal:BWLimit :EXTernal:IMPedance :EXTernal:PROBe :EXTernal:PROBe:ID :EXTernal:PROBe:STYPe :EXTernal:PROTection :EXTernal:RANGe :EXTernal:UNITs :FUNCtion Commands :FUNCtion:CENTer :FUNCtion:DISPlay :FUNCtion:GOFT:OPERation :FUNCtion:GOFT:SOURce1 :FUNCtion:GOFT:SOURce2 :FUNCtion:OFFSet :FUNCtion:OPERation :FUNCtion:RANGe :FUNCtion:REFerence :FUNCtion:SCALe :FUNCtion:SOURce1 :FUNCtion:SOURce2 :FUNCtion:SPAN Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 10 :HARDcopy:STARt :LISTer Commands :LISTer:DATA :LISTer:DISPlay :MARKer Commands :MARKer:MODE :MARKer:X1Position :MARKer:X1Y1source :MARKer:X2Position :MARKer:X2Y2source :MARKer:XDELta :MARKer:Y1Position :MARKer:Y2Position :MARKer:YDELta :MEASure Commands :MEASure:CLEar :MEASure:COUNter :MEASure:DEFine :MEASure:DELay :MEASure:DUTYcycle :MEASure:FALLtime :MEASure:FREQuency :MEASure:NWIDth :MEASure:OVERshoot :MEASure:PERiod :MEASure:PHASe :MEASure:PREShoot :MEASure:PWIDth :MEASure:RESults :MEASure:RISetime Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 11 :MEASure:VAVerage :MEASure:VBASe :MEASure:VMAX :MEASure:VMIN :MEASure:VPP :MEASure:VRATio :MEASure:VRMS :MEASure:VTIMe :MEASure:VTOP :MEASure:XMAX :MEASure:XMIN :MTESt Commands :MTESt:AMASk:CREate :MTESt:AMASk:SOURce :MTESt:AMASk:UNITs :MTESt:AMASk:XDELta :MTESt:AMASk:YDELta :MTESt:COUNt:FWAVeforms :MTESt:COUNt:RESet :MTESt:COUNt:TIME :MTESt:COUNt:WAVeforms :MTESt:DATA :MTESt:DELete :MTESt:ENABle :MTESt:LOCK :MTESt:OUTPut :MTESt:RMODe :MTESt:RMODe:FACTion:MEASure :MTESt:RMODe:FACTion:PRINt :MTESt:RMODe:FACTion:SAVE :MTESt:RMODe:FACTion:STOP :MTESt:RMODe:SIGMa Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 12 :POD<n>:DISPlay :POD<n>:SIZE :POD<n>:THReshold :RECall Commands :RECall:FILename :RECall:IMAGe[:STARt] :RECall:MASK[:STARt] :RECall:PWD :RECall:SETup[:STARt] :SAVE Commands :SAVE:FILename :SAVE:IMAGe[:STARt] :SAVE:IMAGe:AREA :SAVE:IMAGe:FACTors :SAVE:IMAGe:FORMat :SAVE:IMAGe:INKSaver :SAVE:IMAGe:PALette :SAVE:LISTer[:STARt] :SAVE:MASK[:STARt] :SAVE:PWD :SAVE:SETup[:STARt] :SAVE:WAVeform[:STARt] :SAVE:WAVeform:FORMat :SAVE:WAVeform:LENGth :SAVE:WAVeform:SEGMented :SBUS Commands :SBUS:CAN:COUNt:ERRor :SBUS:CAN:COUNt:OVERload :SBUS:CAN:COUNt:RESet :SBUS:CAN:COUNt:TOTal Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 13 :SBUS:MODE :SBUS:SPI:BITorder :SBUS:SPI:WIDTh :SBUS:UART:BASE :SBUS:UART:COUNt:ERRor :SBUS:UART:COUNt:RESet :SBUS:UART:COUNt:RXFRames :SBUS:UART:COUNt:TXFRames :SBUS:UART:FRAMing :SYSTem Commands :SYSTem:DATE :SYSTem:DSP :SYSTem:ERRor :SYSTem:LOCK :SYSTem:PRECision :SYSTem:PROTection:LOCK :SYSTem:SETup :SYSTem:TIME :TIMebase Commands :TIMebase:MODE :TIMebase:POSition :TIMebase:RANGe :TIMebase:REFClock :TIMebase:REFerence :TIMebase:SCALe :TIMebase:VERNier :TIMebase:WINDow:POSition :TIMebase:WINDow:RANGe :TIMebase:WINDow:SCALe :TRIGger Commands Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 14 :TRIGger:CAN:SIGNal:BAUDrate :TRIGger:CAN:SOURce :TRIGger:CAN:TRIGger :TRIGger:DURation Commands :TRIGger:DURation:GREaterthan :TRIGger:DURation:LESSthan :TRIGger:DURation:PATTern :TRIGger:DURation:QUALifier :TRIGger:DURation:RANGe :TRIGger:EBURst Commands :TRIGger:EBURst:COUNt :TRIGger:EBURst:IDLE :TRIGger:EBURst:SLOPe :TRIGger[:EDGE] Commands :TRIGger[:EDGE]:COUPling :TRIGger[:EDGE]:LEVel :TRIGger[:EDGE]:REJect :TRIGger[:EDGE]:SLOPe :TRIGger[:EDGE]:SOURce :TRIGger:FLEXray Commands :TRIGger:FLEXray:AUTosetup :TRIGger:FLEXray:BAUDrate :TRIGger:FLEXray:CHANnel :TRIGger:FLEXray:ERRor:TYPE :TRIGger:FLEXray:EVENt:TYPE :TRIGger:FLEXray:FRAMe:CCBase :TRIGger:FLEXray:FRAMe:CCRepetition :TRIGger:FLEXray:FRAMe:ID :TRIGger:FLEXray:FRAMe:TYPE Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 15 :TRIGger:I2S:ALIGnment :TRIGger:I2S:AUDio :TRIGger:I2S:CLOCk:SLOPe :TRIGger:I2S:PATTern:DATA :TRIGger:I2S:PATTern:FORMat :TRIGger:I2S:RANGe :TRIGger:I2S:RWIDth :TRIGger:I2S:SOURce:CLOCk :TRIGger:I2S:SOURce:DATA :TRIGger:I2S:SOURce:WSELect :TRIGger:I2S:TRIGger :TRIGger:I2S:TWIDth :TRIGger:I2S:WSLow :TRIGger:IIC Commands :TRIGger:IIC:PATTern:ADDRess :TRIGger:IIC:PATTern:DATA :TRIGger:IIC:PATTern:DATa2 :TRIGger:IIC[:SOURce]:CLOCk :TRIGger:IIC[:SOURce]:DATA :TRIGger:IIC:TRIGger:QUALifier :TRIGger:IIC:TRIGger[:TYPE] :TRIGger:LIN Commands :TRIGger:LIN:ID :TRIGger:LIN:PATTern:DATA :TRIGger:LIN:PATTern:DATA:LENGth :TRIGger:LIN:PATTern:FORMat :TRIGger:LIN:SAMPlepoint :TRIGger:LIN:SIGNal:BAUDrate :TRIGger:LIN:SOURce :TRIGger:LIN:STANdard :TRIGger:LIN:SYNCbreak Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 16 :TRIGger:SEQuence:PATTern :TRIGger:SEQuence:RESet :TRIGger:SEQuence:TIMer :TRIGger:SEQuence:TRIGger :TRIGger:SPI Commands :TRIGger:SPI:CLOCk:SLOPe :TRIGger:SPI:CLOCk:TIMeout :TRIGger:SPI:FRAMing :TRIGger:SPI:PATTern:DATA :TRIGger:SPI:PATTern:WIDTh :TRIGger:SPI:SOURce:CLOCk :TRIGger:SPI:SOURce:DATA :TRIGger:SPI:SOURce:FRAMe :TRIGger:TV Commands :TRIGger:TV:LINE :TRIGger:TV:MODE :TRIGger:TV:POLarity :TRIGger:TV:SOURce :TRIGger:TV:STANdard :TRIGger:UART Commands :TRIGger:UART:BASE :TRIGger:UART:BAUDrate :TRIGger:UART:BITorder :TRIGger:UART:BURSt :TRIGger:UART:DATA :TRIGger:UART:IDLE :TRIGger:UART:PARity :TRIGger:UART:POLarity :TRIGger:UART:QUALifier :TRIGger:UART:SOURce:RX Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 17 :WAVeform:FORMat :WAVeform:POINts :WAVeform:POINts:MODE :WAVeform:PREamble :WAVeform:SEGMented:COUNt :WAVeform:SEGMented:TTAG :WAVeform:SOURce :WAVeform:SOURce:SUBSource :WAVeform:TYPE :WAVeform:UNSigned :WAVeform:VIEW :WAVeform:XINCrement :WAVeform:XORigin :WAVeform:XREFerence :WAVeform:YINCrement :WAVeform:YORigin :WAVeform:YREFerence 6 Commands A-Z 7 Obsolete and Discontinued Commands :CHANnel:ACTivity :CHANnel:LABel :CHANnel:THReshold :CHANnel2:SKEW :CHANnel<n>:INPut :CHANnel<n>:PMODe :DISPlay:CONNect :DISPlay:ORDer Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 18 :HARDcopy:PDRiver :MEASure:LOWer :MEASure:SCRatch :MEASure:TDELta :MEASure:THResholds :MEASure:TMAX :MEASure:TMIN :MEASure:TSTArt :MEASure:TSTOp :MEASure:TVOLt :MEASure:UPPer :MEASure:VDELta :MEASure:VSTArt :MEASure:VSTOp :MTESt:AMASk:{SAVE | STORe} :MTESt:AVERage :MTESt:AVERage:COUNt :MTESt:LOAD :MTESt:RUMode :MTESt:RUMode:SOFailure :MTESt:{STARt | STOP} :MTESt:TRIGger:SOURce :PRINt? :TIMebase:DELay :TRIGger:CAN:ACKNowledge :TRIGger:CAN:SIGNal:DEFinition :TRIGger:LIN:SIGNal:DEFinition :TRIGger:THReshold :TRIGger:TV:TVMode Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 19 Synchronization in the Programming Flow Set Up the Oscilloscope Acquire a Waveform Retrieve Results Blocking Synchronization Polling Synchronization With Timeout Synchronizing with a Single-Shot Device Under Test (DUT) Synchronization with an Averaging Acquisition Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 20 VISA Examples VISA Example in C VISA Example in Visual Basic VISA Example in C# VISA Example in Visual Basic .NET SICL Examples SICL Example in C SICL Example in Visual Basic Index Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 21 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide What's New What's New in Version 6.00 What's New in Version 5.25 What's New in Version 5.20 What's New in Version 5.15 What's New in Version 5.10 Version 5.00 at Introduction ...
  • Page 22: What's New

    Commands Command Differences :SBUS:MODE (see page 436) You can now select the M1553 serial bus decode mode. :TRIGger:FLEXray:ERRor:TYPE (see page 509) Now, only the FCRC, HCRC, or ALL error types can be selected. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 23 507) command. :SBUS:BUSDoctor:CHANnel none The VPT1000 (BusDoctor) vehicle protocol tester module is not used with the new FLX option. You now specify bus A or B using the :TRIGger:FLEXray:CHANnel (see page 508) command. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 24 FLX option. :TRIGger:FLEXray:EVENt:LEVel none The :TRIGger[:EDGE]:LEVel (see page 501) command is used instead, as with other trigger modes. :TRIGger:FLEXray:EVENt:SOU none The input source channels are now specified using the :TRIGger:FLEXray:SOURce (see page 515) command. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 25: What's New In Version

    ID and data. :TRIGger:LIN:PATTern:DATA:LENGth (see Sets the byte length of the LIN data string. page 558) :TRIGger:LIN:PATTern:FORMat (see page 559) Sets the entry (and query) number base used by the :TRIGger:LIN:PATTern:DATA command. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 26 You can now select the DATA option for triggering on a LIN frame ID and data. :TRIGger:MODE (see page 473) You can now select the I2S trigger mode. :TRIGger:TV:STANdard (see page 595) The P1080L50HZ and P1080L60HZ standards have been added. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 27: What's New In Version

    Saves the current mask. :SAVE:WAVeform:SEGMented (see page 419) Specifies which segments are included when the waveform is saved. :TRIGger:UART:BASE (see page 598) Selects the front panel UART/RS232 trigger setup data selection option from HEX or BINary. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 28 :MTESt:AVERage (see :ACQuire:TYPE AVERage (see page 728) page 196) :MTESt:AVERage:COUNt (see :ACQuire:COUNt (see page 729) page 185) :MTESt:LOAD (see page 730) :RECall:MASK[:STARt] (see page 400) :MTESt:RUMode (see :MTESt:RMODe (see page 731) page 377) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 29 :RUN (see page 174) or :STOP page 733) (see page 178) :MTESt:TRIGger:SOURce (see :TRIGger Commands (see There are various commands page 734) page 467) for setting the source with different types of triggers. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 30: What's New In Version

    SUBTract, and MULTiply arithmetic operations. :MEASure:VRATio (see page 352) Measures and returns the ratio of AC RMS values of the specified sources expressed in :SYSTem:PROTection:LOCK (see page 451) Disables/enables the fifty ohm input impedance setting. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 31 You can now select the Blackman-Harris FFT window. Obsolete Commands Obsolete Command Current Command Equivalent Behavior Differences :FUNCtion:SOURce (see :FUNCtion:SOURce1 (see Obsolete command has ADD, page 704) page 277) SUBTract, and MULTiply parameters; current command has GOFT parameter. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 32: What's New In Version

    :WAVeform:SEGMented:TTAG (see page 637) Returns the time tag for the selected segmented memory index. Changed Commands Command Differences :ACQuire:MODE (see page 187) You can now select the SEGMented memory mode. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 33: Version 5.00 At Introduction

    Version 5.00 at Introduction The Agilent InfiniiVision 7000 Series oscilloscopes were introduced with version 5.00 of oscilloscope operating software. The command set is based on the 6000 Series oscilloscopes (and the 54620/54640 Series oscilloscopes before them). Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 34 What's New Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 35: Setting Up

    Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide Setting Up Step 1. Install Agilent IO Libraries Suite software Step 2. Connect and set up the oscilloscope Step 3. Verify the oscilloscope connection This chapter explains how to install the Agilent IO Libraries Suite software, connect the oscilloscope to the controller PC, set up the oscilloscope, and verify the oscilloscope connection.
  • Page 36: Step 1. Install Agilent Io Libraries Suite Software

    Insert the Automation- Ready CD that was shipped with your oscilloscope into the controller PC's CD- ROM drive, and follow its installation instructions. You can also download the Agilent IO Libraries Suite software from the web at: • "http://www.agilent.com/find/iolib" Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 37: Step 2. Connect And Set Up The Oscilloscope

    IP, DNS IP, etc.) from your network administrator. Connect the oscilloscope to the local area network (LAN) by inserting LAN cable into the "LAN" port on the back of the oscilloscope. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 38 Press the Domain softkey. Use the Modify softkey (and the other softkeys and the Entry knob) to enter the Host name and the Domain name. When you are done, press the return (up arrow) softkey. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 39: Step 3. Verify The Oscilloscope Connection

    Agilent Connection Expert from the popup menu. In the Agilent Connection Expert application, instruments connected to the controller's USB and GPIB interfaces should automatically appear. (You can click Refresh All to update the list of instruments on these interfaces.) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 40 You must manually add instruments on LAN interfaces: Right- click on the LAN interface, choose Add Instrument from the popup menu If the oscilloscope is on the same subnet, select it, and click OK. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 41 Otherwise, if the instrument is not on the same subnet, click Add Address. In the next dialog, select either Hostname or IP address, and enter the oscilloscope's hostname or IP address. Click Test Connection. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 42 Setting Up If the instrument is successfully opened, click OK to close the dialog. If the instrument is not opened successfully, go back and verify the LAN connections and the oscilloscope setup. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 43 Command field and press Send Command, Read Response, or Send&Read. Choose Connect>Exit from the menu to exit the Agilent Interactive IO application. In the Agilent Connection Expert application, choose File>Exit from the menu to exit the application. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 44 Setting Up Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 45: Getting Started

    Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide Getting Started Basic Oscilloscope Program Structure Programming the Oscilloscope Other Ways of Sending Commands This chapter gives you an overview of programming the 7000 Series oscilloscopes. It describes basic oscilloscope program structure and shows how to program the oscilloscope using a few simple examples.
  • Page 46: Basic Oscilloscope Program Structure

    Remember that while the oscilloscope is responding to commands from the controller, it is not performing acquisitions. Also, when you change the oscilloscope configuration, any data already captured will most likely be rendered. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 47: Analyzing Captured Data

    Using the :WAVeform commands, you can transfer the data to your controller. You may want to display the data, compare it to a known good measurement, or simply check logic patterns at various time intervals in the acquisition. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 48: Programming The Oscilloscope

    To reference the Agilent VISA COM library in Visual Basic for Applications (VBA, which comes with Microsoft Office products like Excel): Choose Tools>References... from the main menu. In the References dialog, check the "VISA COM 3.0 Type Library". Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 49: Opening The Oscilloscope Connection Via The Io Library

    To make sure the bus and all appropriate interfaces are in a known state, begin every program with an initialization statement. When using the Agilent VISA COM library, you can use the resource session object's Clear method to clears the interface buffer: Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 50: Using :Autoscale To Automate Oscilloscope Setup

    An example of the commands that might be sent to the oscilloscope are: myScope.WriteString ":CHANnel1:PROBe 10" myScope.WriteString ":CHANnel1:RANGe 16" myScope.WriteString ":CHANnel1:OFFSet 1.00" myScope.WriteString ":TIMebase:MODE MAIN" myScope.WriteString ":TIMebase:RANGe 1E-3" myScope.WriteString ":TIMebase:DELay 100E-6" Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 51: Capturing Data With The :Digitize Command

    The captured data can then be measured by the instrument or transferred to the controller for further analysis. The captured data consists of two parts: the waveform data record, and the preamble. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 52 Digitized waveforms are passed from the instrument to the controller by sending a numerical representation of each digitized point. The format of the numerical representation is controlled with the :WAVeform:FORMat command and may be selected as BYTE, WORD, or ASCii. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 53: Reading Query Responses From The Oscilloscope

    This also causes an error to be placed in the error queue. Executing a read statement before sending a query causes the controller to wait indefinitely. The format specification for handling response messages depends on the programming language. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 54: Reading Query Results Into String Variables

    After the non- zero digit is the decimal integer that states the number of 8- bit data bytes being sent. This is followed by the actual data. For example, for transmitting 1000 bytes of data, the syntax would be: Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 55: Sending Multiple Queries And Reading Results

    To read the :TIMebase:RANGe?;DELay? query result into multiple string variables, you could use the ReadList method to read the query results into a string array variable using the commands: myScope.WriteString ":TIMebase:RANGe?;DELay?" Dim strResults() As String Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 56: Checking Instrument Status

    For more information, see Chapter 9, “Status Reporting,” starting on page 751 which explains how to check the status of the instrument. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 57: Other Ways Of Sending Commands

    LAN as described in the 7000 Series Oscilloscopes User's Guide. When you make the connection to the oscilloscope via LAN and the instrument's welcome page is displayed, select the Browser Web Control tab, then select the Remote Programming link. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 58 Getting Started Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 59: Commands Quick Reference

    Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide Commands Quick Reference Command Summary Syntax Elements ...
  • Page 60: Command Summary

    IEEE 488.2 # format *OPC (see page 124) *OPC? (see page 124) ASCII "1" is placed in the output queue when all pending device operations have completed. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 61 <Segmented Memory> ::= {0 | SGM} <Mask Test> ::= {0 | LMT} <FlexRay Conformance> ::= {0 | FRC} <I2S Serial> ::= {0 | SND} <FlexRay Trigger/Decode> ::= {0 | FLX} <MIL-STD 1553 Trigger/Decode> ::= {0 | 553} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 62 ---- (Not used.) Message displayed. User event condition occurred. A trigger occurred. *TRG (see page 136) *TST? (see page 137) <result> ::= 0 or non-zero value; an integer in NR1 format *WAI (see page 138) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 63 DIGital0,..,DIGital15 | POD{1 | 2} | BUS{1 | 2} | FUNCtion | MATH | SBUS} for MSO models <source> can be repeated up to 5 times <n> ::= 1-2 or 1-4 in NR1 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 64 <options> ::= [<print (see page 173) option>][,..,<print option>] <print option> ::= {COLor | GRAYscale | PRINter0 | BMP8bit | BMP | PNG | NOFactors | FACTors} <print option> can be repeated up to 5 times. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 65 65536 in NR1 format page 185) :ACQuire:DAALias :ACQuire:DAALias? <mode> ::= {DISable | AUTO} <mode> (see page 186) (see page 186) :ACQuire:MODE <mode> :ACQuire:MODE? (see <mode> ::= {RTIMe | ETIMe | (see page 187) page 187) SEGMented} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 66 <n> ::= 1 or 2; an integer in NR1 page 203) format :BUS<n>:DISPlay {{0 | :BUS<n>:DISPlay? (see {0 | 1} OFF} | {1 | ON}} (see page 204) <n> ::= 1 or 2; an integer in NR1 page 204) format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 67 211) :CALibrate:STARt (see page 212) :CALibrate:STATus? <return value> ::= (see page 213) ALL,<status_code>,<status_string > <status_code> ::= an integer status code <status_string> ::= an ASCII status string :CALibrate:SWITch? {PROTected | UNPRotected} (see page 214) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 68 <head_param> ::= {SEND0 | SEND6 | D[:TYPE] <head_param> D[:TYPE]? (see SEND12 | SEND20 | DIFF0 | DIFF6 | (see page 228) page 228) DIFF12 | DIFF20 | NONE} <n> ::= 1-2 or 1-4 in NR1 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 69 239) format :DIGital<n>:LABel :DIGital<n>:LABel? <string> ::= any series of 10 or <string> (see (see page 240) less ASCII characters enclosed in page 240) quotation marks <n> ::= 0-15; an integer in NR1 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 70 249) page 249) :DISPlay:LABList :DISPlay:LABList? <binary block> ::= an ordered <binary block> (see (see page 250) list of up to 75 labels, each 10 page 250) characters maximum, separated by newline characters Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 71 <range> ::= vertical full-scale <range>[<suffix>] page 262) range value in NR3 format (see page 262) <suffix> ::= {V | mV} :EXTernal:UNITs :EXTernal:UNITs? (see <units> ::= {VOLT | AMPere} <units> (see page 263) page 263) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 72 8E-6 to 800E+3. The range for the INTegrate function is 8E-9 to 400E+3. The range for the DIFFerentiate function is 80E-3 to 8.0E12 (depends on current sweep speed). The range for the FFT function is 8 to 800 dBV. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 73 283) page 283) :HARDcopy:APRinter :HARDcopy:APRinter? <active_printer> ::= {<index> | <active_printer> (see (see page 284) <name>} page 284) <index> ::= integer index of printer in list <name> ::= name of printer in list Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 74 :LISTer:DATA? (see <binary_block> ::= page 293) comma-separated data with newlines at the end of each row :LISTer:DISPlay {{0 | :LISTer:DISPlay? (see {0 | 1} OFF} | {1 | ON}} (see page 294) page 294) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 75 NR3 format (see page 304) [suffix] ::= {V | mV | dB} <return_value> ::= Y2 cursor position value in NR3 format :MARKer:YDELta? (see <return_value> ::= Y cursors page 305) delta value in NR3 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 76 321) <source> ::= {CHANnel<n> | DIGital0,..,DIGital15 | FUNCtion | MATH} for MSO models <n> ::= 1-2 or 1-4 in NR1 format <return_value> ::= ratio of positive pulse width to period in NR3 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 77 327) page 327) <source> ::= {CHANnel<n> | DIGital0,..,DIGital15 | FUNCtion | MATH} for MSO models <n> ::= 1-2 or 1-4 in NR1 format <return_value> ::= waveform period in seconds in NR3 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 78 FUNCtion | MATH} page 335) page 335) <n> ::= 1-2 or 1-4 in NR1 format <return_value> ::= calculated std deviation in NR3 format :MEASure:SHOW {1 | :MEASure:SHOW? (see ON} (see page 336) page 336) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 79 FUNCtion | MATH} for DSO models <source> ::= {CHANnel<n> | DIGital0,..,DIGital15 | FUNCtion | MATH} for MSO models <n> ::= 1-2 or 1-4 in NR1 format <return_value> ::= time in seconds of the specified transition Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 80 <source> ::= {CHANnel<n> | [<source>] (see [<source>] (see FUNCtion | MATH} page 350) page 350) <n> ::= 1-2 or 1-4 in NR1 format <return_value> ::= minimum voltage of the selected waveform in NR3 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 81 <source> ::= {CHANnel<n> | [<source>] (see [<source>] (see FUNCtion | MATH} page 357) page 357) <n> ::= 1-2 or 1-4 in NR1 format <return_value> ::= horizontal value of the maximum in NR3 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 82 375) :MTESt:OUTPut :MTESt:OUTPut? (see <signal> ::= {FAIL | PASS} <signal> (see page 376) page 376) :MTESt:RMODe <rmode> :MTESt:RMODe? (see <rmode> ::= {FORever | TIME | (see page 377) page 377) SIGMa | WAVeforms} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 83 387) :MTESt:SCALe:Y1 :MTESt:SCALe:Y1? (see <y1_value> ::= Y1 value in NR3 <y1_value> (see page 388) format page 388) :MTESt:SCALe:Y2 :MTESt:SCALe:Y2? (see <y2_value> ::= Y2 value in NR3 <y2_value> (see page 389) format page 389) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 84 <internal_loc> ::= 0-9; an integer in NR1 format <file_name> ::= quoted ASCII string :RECall:MASK[:STARt] <file_spec> ::= {<internal_loc> [<file_spec>] (see | <file_name>} page 400) <internal_loc> ::= 0-3; an integer in NR1 format <file_name> ::= quoted ASCII string Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 85 (see page 410) ON}} (see page 410) :SAVE:IMAGe:PALette :SAVE:IMAGe:PALette? <palette> ::= {COLor | GRAYscale <palette> (see (see page 411) | MONochrome} page 411) :SAVE:LISTer[:STARt] <file_name> ::= quoted ASCII [<file_name>] (see string page 412) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 86 <frame_count> ::= integer in NR1 ? (see page 422) format :SBUS:CAN:COUNt:OVERl <frame_count> ::= integer in NR1 oad? (see page 423) format :SBUS:CAN:COUNt:RESet (see page 424) :SBUS:CAN:COUNt:TOTal <frame_count> ::= integer in NR1 ? (see page 425) format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 87 <base> (see page 439) page 439) :SBUS:UART:COUNt:ERRo <frame_count> ::= integer in NR1 r? (see page 440) format :SBUS:UART:COUNt:RESe t (see page 441) :SBUS:UART:COUNt:RXFR <frame_count> ::= integer in NR1 ames? (see page 442) format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 88 <value> ::= {{1 | ON} | {0 | <value> (see (see page 450) OFF}} page 450) :SYSTem:PROTection:LO :SYSTem:PROTection:LO <value> ::= {{1 | ON} | {0 | CK <value> (see CK? (see page 451) OFF}} page 451) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 89 NR3 format for the page 465) zoomed window :TIMebase:WINDow:SCAL :TIMebase:WINDow:SCAL <scale_value> ::= scale value in e <scale_value> (see e? (see page 466) seconds in NR3 format for the page 466) zoomed window Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 90 DIGital0,..,DIGital15 | NONE} for MSO models <edge> ::= {POSitive | NEGative} <n> ::= 1-2 or 1-4 in NR1 format :TRIGger:SWEep :TRIGger:SWEep? (see <sweep> ::= {AUTO | NORMal} <sweep> (see page 477) page 477) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 91 | 75 | 80 | 87.5} in NR3 format page 484) :TRIGger:CAN:SIGNal:B :TRIGger:CAN:SIGNal:B <baudrate> ::= integer from 10000 AUDrate <baudrate> AUDrate? (see to 1000000 in 100 b/s increments (see page 485) page 485) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 92 494) 10 seconds in NR3 format <less_than_time>[suff <greater_than_time> ::= 10 ns to ix], 9.99 seconds in NR3 format <greater_than_time>[s [suffix] ::= {s | ms | us | ns | uffix] (see page 494) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 93 <source> ::= {CHANnel<n> | e <source> (see e? (see page 504) EXTernal} for DSO models page 504) <source> ::= {CHANnel<n> | DIGital0,..,DIGital15 | EXTernal} for MSO models <n> ::= 1-2 or 1-4 in NR1 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 94 <source> (see ce? (see page 515) <n> ::= 1-2 or 1-4 in NR1 format page 515) :TRIGger:FLEXray:TRIG :TRIGger:FLEXray:TRIG <condition> ::= {FRAMe | ERRor | ger <condition> (see ger? (see page 516) EVENt} page 516) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 95 <source> ::= {CHANnel<n> | e <source> (see e? (see page 525) EXTernal} for DSO models page 525) <source> ::= {CHANnel<n> | DIGital0,..,DIGital15 } for MSO models <n> ::= 1-2 or 1-4 in NR1 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 96 <nondecimal> ::= #Bnn...n where n ::= {0 | 1} for binary <string> ::= "0xnn...n" where n ::= {0,..,9 | A,..,F} for hexadecimal :TRIGger:I2S:RWIDth :TRIGger:I2S:RWIDth? <receiver> ::= 4-32 in NR1 format <receiver> (see (see page 536) page 536) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 97 <string> ::= "0xnn" n ::= {0,..,9 page 546) | A,..,F} :TRIGger:IIC:PATTern: :TRIGger:IIC:PATTern: <value> ::= integer or <string> DATa2 <value> (see DATa2? (see page 547) <string> ::= "0xnn" n ::= {0,..,9 page 547) | A,..,F} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 98 <string> ::= "nn...n" where n ::= {0 | 1 | X | $} when <base> = BINary <string> ::= "0xnn...n" where n ::= {0,..,9 | A,..,F | X | $} when <base> = HEX Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 99 Command Query Options and Query Returns :TRIGger:M1553:AUTose tup (see page 567) :TRIGger:M1553:PATTer :TRIGger:M1553:PATTer <string> ::= "nn...n" where n ::= n:DATA <string> (see n:DATA? (see {0 | 1 | X} page 568) page 568) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 100 576) PATTern1,AND,EDGE1} :TRIGger:SEQuence:PAT :TRIGger:SEQuence:PAT <value> ::= integer or <string> Tern{1|2} <value>, Tern{1|2}? (see <mask> ::= integer or <string> <mask> (see page 577) page 577) <string> ::= "0xnnnnnn" n ::= {0,..,9 | A,..,F} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 101 (see page 585) <string> ::= "0xnnnnnn" where n ::= {0,..,9 | A,..,F} :TRIGger:SPI:PATTern: :TRIGger:SPI:PATTern: <width> ::= integer from 4 to 32 WIDTh <width> (see WIDTh? (see page 586) in NR1 format page 586) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 102 595) PALM | PAL | SECam | {P480L60HZ | page 595) P480} | {P720L60HZ | P720} | {P1080L24HZ | P1080} | P1080L25HZ | P1080L50HZ | P1080L60HZ | {I1080L50HZ | I1080} | I1080L60HZ} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 103 <source> ::= {CHANnel<n> | RX <source> (see RX? (see page 607) EXTernal} for DSO models page 607) <source> ::= {CHANnel<n> | DIGital0,..,DIGital15} for MSO models <n> ::= 1-2 or 1-4 in NR1 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 104 :TRIGger:USB:SPEed? <value> ::= {LOW | FULL} <value> (see (see page 614) page 614) :TRIGger:USB:TRIGger :TRIGger:USB:TRIGger? <value> ::= {SOP | EOP | <value> (see (see page 615) ENTersuspend | EXITsuspend | page 615) RESet} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 105 | <points_mode>} if waveform points mode is MAXimum or RAW <points_mode> ::= {NORMal | MAXimum | RAW} :WAVeform:POINts:MODE :WAVeform:POINts:MODE <points_mode> ::= {NORMal | <points_mode> (see ? (see page 632) MAXimum | RAW} page 631) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 106 AVER | HRES} :WAVeform:UNSigned :WAVeform:UNSigned? {0 | 1} {{0 | OFF} | {1 | (see page 644) ON}} (see page 644) :WAVeform:VIEW <view> :WAVeform:VIEW? (see <view> ::= {MAIN} (see page 645) page 645) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 107 NR3 format :WAVeform:YORigin? <return_value> ::= y-origin in (see page 650) the current preamble in NR3 format :WAVeform:YREFerence? <return_value> ::= y-reference (see page 651) value in the current preamble in NR1 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 108: Syntax Elements

    Vertical line ( | ) indicates "or". For example, {ON | OFF} indicates that only ON or OFF may be selected, not both. ::= (Defined As) ::= means "defined as". Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 109: (Angle Brackets)

    After the non- zero digit is the decimal integer that states the number of 8- bit data bytes being sent. This is followed by the actual data. For example, for transmitting 1000 bytes of data, the syntax would be Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 110 Commands Quick Reference #800001000<1000 bytes of data> <NL> 8 is the number of digits that follow 00001000 is the number of bytes to be transmitted <1000 bytes of data> is the actual data Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 111: Commands By Subsystem

    Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide Commands by Subsystem Subsystem Description "Common (*) Commands" on page 113 Commands defined by IEEE 488.2 standard that are common to all instruments. "Root (:) Commands" on page 139 Control many of the basic functions of the oscilloscope and reside at the root level of the command tree.
  • Page 112 :TIMebase commands. Only one subsystem may be selected at any given time. When the instrument is initially turned on, the command parser is set to the root of the command tree; therefore, no subsystem is selected. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 113: Common (*) Commands

    IEEE 488.2 # format *OPC (see page 124) *OPC? (see page 124) ASCII "1" is placed in the output queue when all pending device operations have completed. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 114 <Segmented Memory> ::= {0 | SGM} <Mask Test> ::= {0 | LMT} <FlexRay Conformance> ::= {0 | FRC} <I2S Serial> ::= {0 | SND} <FlexRay Trigger/Decode> ::= {0 | FLX} <MIL-STD 1553 Trigger/Decode> ::= {0 | 553} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 115 ---- (Not used.) Message displayed. User event condition occurred. A trigger occurred. *TRG (see page 136) *TST? (see page 137) <result> ::= 0 or non-zero value; an integer in NR1 format *WAI (see page 138) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 116 ACQuire subsystem and set the count. Each of the status registers has an enable (mask) register. By setting the bits in the enable N O T E register, you can select the status information you want to use. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 117: Cls (Clear Status)

    134 • "*ESE (Standard Event Status Enable)" on page 118 • "*ESR (Standard Event Status Register)" on page 120 • "*SRE (Service Request Enable)" on page 132 • ":SYSTem:ERRor" on page 448 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 118: Ese (Standard Event Status Enable)

    Event when a command error is detected. Execution Error Event when an execution error is detected. Device Dependent Error Event when a device-dependent error is detected. Query Error Event when a query error is detected. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 119 See Also • "Introduction to Common (*) Commands" on page 116 • "*ESR (Standard Event Status Register)" on page 120 • "*OPC (Operation Complete)" on page 124 • "*CLS (Clear Status)" on page 117 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 120: Esr (Standard Event Status Register)

    Command Error A command error has been detected. Execution Error An execution error has been detected. Device Dependent Error A device-dependent error has been detected. Query Error A query error has been detected. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 121 "Introduction to Common (*) Commands" on page 116 • "*ESE (Standard Event Status Enable)" on page 118 • "*OPC (Operation Complete)" on page 124 • "*CLS (Clear Status)" on page 117 • ":SYSTem:ERRor" on page 448 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 122: Idn (Identification Number)

    <serial number> ::= the serial number of the instrument X.XX.XX ::= the software revision of the instrument See Also • "Introduction to Common (*) Commands" on page 116 • "*OPT (Option Identification)" on page 125 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 123: Lrn (Learn Device Setup)

    See Also • "Introduction to Common (*) Commands" on page 116 • "*RCL (Recall)" on page 127 • "*SAV (Save)" on page 131 • ":SYSTem:SETup" on page 452 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 124: Opc (Operation Complete)

    "Introduction to Common (*) Commands" on page 116 • "*ESE (Standard Event Status Enable)" on page 118 • "*ESR (Standard Event Status Register)" on page 120 • "*CLS (Clear Status)" on page 117 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 125: Opt (Option Identification)

    <Segmented Memory> ::= {0 | SGM} <Mask Test> ::= {0 | LMT} <FlexRay Conformance> ::= {0 | FRC} <I2S Serial> ::= {0 | SND} <FlexRay Trigger/Decode> ::= {0 | FLX} <MIL-STD 1553 Trigger/Decode> ::= {0 | 553} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 126 (DSO). The *OPT? query returns the following: Module Module Id No modules attached 0,0,0,0,MSO,0,0,mem8M,0,0,0,0,0,0,0,0,0,0,0,0,0 ,0,0,0,0,0,0 See Also • "Introduction to Common (*) Commands" on page 116 • "*IDN (Identification Number)" on page 122 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 127: Rcl (Recall)

    <value> ::= {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9} The *RCL command restores the state of the instrument from the specified save/recall register. See Also • "Introduction to Common (*) Commands" on page 116 • "*SAV (Save)" on page 131 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 128: Rst (Reset)

    Channel 2 Volts/division 5.00 V Offset 0.00 Coupling Probe attenuation AutoProbe (if AutoProbe is connected), otherwise 1.0:1 Vernier Invert BW limit Impedance 1 M Ohm Units Volts Skew Cursor Menu Source Channel 1 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 129 Main time base delay 0.00 s Delay time/division 500 ns Delay time base delay 0.00 s Reference center Mode main Vernier Trigger Menu Type Edge Mode Auto Coupling Source Channel 1 Level 0.0 V Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 130 It is not necessary to reinitialize them unless the default ' setting is not suitable for your application. myScope.WriteString "*RST" ' Reset the oscilloscope to the defaults. Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 131: Sav (Save)

    The *SAV command stores the current state of the instrument in a save register. The data parameter specifies the register where the data will be saved. See Also • "Introduction to Common (*) Commands" on page 116 • "*RCL (Recall)" on page 127 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 132: Sre (Service Request Enable)

    Table 43 Service Request Enable Register (SRE) Name Description When Set (1 = High = True), Enables: OPER Operation Status Register Interrupts when enabled conditions in the Operation Status Register (OPER) occur. (Not used.) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 133 <mask> ::= sum of all bits that are set, 0,..,255; an integer in NR1 format See Also • "Introduction to Common (*) Commands" on page 116 • "*STB (Read Status Byte)" on page 134 • "*CLS (Clear Status)" on page 117 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 134: Stb (Read Status Byte)

    Service Request Table 44 Status Byte Register (STB) Name Description When Set (1 = High = True), Indicates: OPER Operation Status Register An enabled condition in the Operation Status Register (OPER) has occurred. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 135 To read the instrument's status byte with RQS reported on bit 6, use the interface Serial N O T E Poll. See Also • "Introduction to Common (*) Commands" on page 116 • "*SRE (Service Request Enable)" on page 132 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 136: Trg (Trigger)

    The *TRG command has the same effect as the :DIGitize command with no parameters. See Also • "Introduction to Common (*) Commands" on page 116 • ":DIGitize" on page 150 • ":RUN" on page 174 • ":STOP" on page 178 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 137: Tst (Self Test)

    If the test fails, refer to the troubleshooting section of the Service Guide. Return Format <result><NL> <result> ::= 0 or non-zero value; an integer in NR1 format See Also • "Introduction to Common (*) Commands" on page 116 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 138: Wai (Wait To Continue)

    786) Command Syntax *WAI The *WAI command has no function in the oscilloscope, but is parsed for compatibility with other instruments. See Also • "Introduction to Common (*) Commands" on page 116 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 139: Root (:) Commands

    <source> ::= {CHANnel<n> | DIGital0,..,DIGital15 | POD{1 | 2} | BUS{1 | 2} | FUNCtion | MATH | SBUS} for MSO models <n> ::= 1-2 or 1-4 in NR1 format :CDISplay (see page 149) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 140 --- ------ ---------- 1024 Ext Trigger Fault Channel 4 Fault Channel 3 Fault Channel 2 Fault Channel 1 Fault Ext Trigger OVL Channel 4 OVL Channel 3 OVL Channel 2 OVL Channel 1 OVL Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 141 These commands are always recognized by the parser if they Commands are prefixed with a colon, regardless of current command tree position. After executing a root- level command, the parser is positioned at the root of the command tree. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 142: Activity

    (The threshold voltage must be set appropriately for the logic levels of the signals being probed.) See Also • "Introduction to Root (:) Commands" on page 141 • ":POD<n>:THReshold" on page 395 • ":DIGital<n>:THReshold" on page 243 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 143: Aer (Arm Event Register)

    • ":OPERegister:CONDition (Operation Status Condition Register)" page 165 • ":OPERegister[:EVENt] (Operation Status Event Register)" on page 167 • "*STB (Read Status Byte)" on page 134 • "*SRE (Service Request Enable)" on page 132 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 144: Autoscale

    • Trigger conditioning. The :AUToscale command turns off the following items: • Cursors. • Measurements. • Trace memories. • Zoomed (delayed) time base mode. For further information on :AUToscale, see the User's Guide. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 145 ' AUTOSCALE - This command evaluates all the input signals and sets ' the correct conditions to display all of the active signals. myScope.WriteString ":AUTOSCALE" ' Same as pressing Autoscale key. Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 146: Autoscale:amode

    <value> ::= {NORM | CURR} See Also • "Introduction to Root (:) Commands" on page 141 • ":AUToscale" on page 144 • ":AUToscale:CHANnels" on page 147 • ":ACQuire:TYPE" on page 196 • ":ACQuire:MODE" on page 187 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 147: Autoscale:channels

    <value> ::= {ALL | DISP} See Also • "Introduction to Root (:) Commands" on page 141 • ":AUToscale" on page 144 • ":AUToscale:AMODE" on page 146 • ":VIEW" on page 180 • ":BLANk" on page 148 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 148: Blank

    • ":DIGital<n>:DISPlay" on page 239 • ":FUNCtion:DISPlay" on page 268 • ":POD<n>:DISPlay" on page 393 • ":STATus" on page 177 • ":VIEW" on page 180 Example Code • "Example Code" on page 180 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 149: Cdisplay

    If the oscilloscope is running, all the data in active channels and functions is erased; however, new data is displayed on the next acquisition. See Also • "Introduction to Root (:) Commands" on page 141 • ":DISPlay:CLEar" on page 246 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 150: Digitize

    ' with a 1000-point memory, a sweep speed of 10 us/div (100 us ' total time across the screen), and a 20 MSa/s maximum sample rate. ' 1000 divided by 100 us equals 10 MSa/s. Because this number is Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 151 ' the results may not be accurate. An error value of 9.9E+37 may be ' returned over the bus in this situation. myScope.WriteString ":DIGITIZE CHAN1" Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 152: Hweenable (Hardware Event Enable Register)

    Event when the battery is on. Query Syntax :HWEenable? The :HWEenable? query returns the current value contained in the Hardware Event Enable register as an integer number. Return Format <value><NL> <value> ::= integer in NR1 format. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 153 • ":OVLenable (Overload Event Enable Register)" on page 169 • ":OVLRegister (Overload Event Register)" on page 171 • "*STB (Read Status Byte)" on page 134 • "*SRE (Service Request Enable)" on page 132 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 154: Hweregister:condition (Hardware Event Condition Register)

    "Introduction to Root (:) Commands" on page 141 • ":CHANnel<n>:PROTection" on page 232 • ":EXTernal:PROTection" on page 261 • ":OPEE (Operation Status Enable Register)" on page 163 • ":OPERegister[:EVENt] (Operation Status Event Register)" on page 167 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 155 • ":OVLenable (Overload Event Enable Register)" on page 169 • ":OVLRegister (Overload Event Register)" on page 171 • "*STB (Read Status Byte)" on page 134 • "*SRE (Service Request Enable)" on page 132 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 156: Hweregister[:Event] (Hardware Event Event Register)

    <value> ::= integer in NR1 format. See Also • "Introduction to Root (:) Commands" on page 141 • ":CHANnel<n>:PROTection" on page 232 • ":EXTernal:PROTection" on page 261 • ":OPEE (Operation Status Enable Register)" on page 163 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 157 • ":OVLenable (Overload Event Enable Register)" on page 169 • ":OVLRegister (Overload Event Register)" on page 171 • "*STB (Read Status Byte)" on page 134 • "*SRE (Service Request Enable)" on page 132 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 158: Merge

    See Also • "Introduction to Root (:) Commands" on page 141 • "*SAV (Save)" on page 131 • "*RCL (Recall)" on page 127 • ":VIEW" on page 180 • ":BLANk" on page 148 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 159: Mteenable (Mask Test Event Enable Register)

    Mask test failed. Comple Mask Test Complete Mask test is complete. Query Syntax :MTEenable? The :MTEenable? query returns the current value contained in the Mask Test Event Enable register as an integer number. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 160 • ":OVLenable (Overload Event Enable Register)" on page 169 • ":OVLRegister (Overload Event Register)" on page 171 • "*STB (Read Status Byte)" on page 134 • "*SRE (Service Request Enable)" on page 132 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 161: Mteregister[:Event] (Mask Test Event Event Register)

    The mask test is complete. Return Format <value><NL> <value> ::= integer in NR1 format. See Also • "Introduction to Root (:) Commands" on page 141 • ":CHANnel<n>:PROTection" on page 232 • ":EXTernal:PROTection" on page 261 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 162 • ":OVLenable (Overload Event Enable Register)" on page 169 • ":OVLRegister (Overload Event Register)" on page 171 • "*STB (Read Status Byte)" on page 134 • "*SRE (Service Request Enable)" on page 132 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 163: Opee (Operation Status Enable Register)

    When Set (1 = High = True), Enables: 15-13 (Not used.) Hardware Event Event when hardware event occurs. OVLR Overload Event when 50Ω input overload occurs. (Not used.) Mask Test Event Event when mask test event occurs. (Not used.) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 164 • ":OVLenable (Overload Event Enable Register)" on page 169 • ":OVLRegister (Overload Event Register)" on page 171 • "*STB (Read Status Byte)" on page 134 • "*SRE (Service Request Enable)" on page 132 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 165: Operegister:condition (Operation Status Condition Register)

    A 50Ω input overload has occurred. (Not used.) Mask Test Event A mask test event has occurred. (Not used.) Wait Wait Trig The trigger is armed (set by the Trigger Armed Trig Event Register (TER)). (Not used.) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 166 ":HWERegister[:EVENt] (Hardware Event Event Register)" on page 156 • ":HWEenable (Hardware Event Enable Register)" on page 152 • ":MTERegister[:EVENt] (Mask Test Event Event Register)" on page 161 • ":MTEenable (Mask Test Event Enable Register)" on page 159 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 167: Operegister[:Event] (Operation Status Event Register)

    A 50Ω input overload has occurred. (Not used.) Mask Test Event A mask test event has occurred. (Not used.) Wait Wait Trig The trigger is armed (set by the Trigger Armed Trig Event Register (TER)). (Not used.) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 168 ":HWERegister[:EVENt] (Hardware Event Event Register)" on page 156 • ":HWEenable (Hardware Event Enable Register)" on page 152 • ":MTERegister[:EVENt] (Mask Test Event Event Register)" on page 161 • ":MTEenable (Mask Test Event Enable Register)" on page 159 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 169: Ovlenable (Overload Event Enable Register)

    External Trigger Fault Event when fault occurs on External Trigger input. Channel 4 Fault Event when fault occurs on Channel 4 input. Channel 3 Fault Event when fault occurs on Channel 3 input. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 170 • ":OPERegister[:EVENt] (Operation Status Event Register)" on page 167 • ":OVLRegister (Overload Event Register)" on page 171 • "*STB (Read Status Byte)" on page 134 • "*SRE (Service Request Enable)" on page 132 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 171: Ovlregister (Overload Event Register)

    Fault has occurred on Channel 4 input. Channel 3 Fault Fault has occurred on Channel 3 input. Channel 2 Fault Fault has occurred on Channel 2 input. Channel 1 Fault Fault has occurred on Channel 1 input. (Not used.) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 172 ":OPEE (Operation Status Enable Register)" on page 163 • ":OVLenable (Overload Event Enable Register)" on page 169 • "*STB (Read Status Byte)" on page 134 • "*SRE (Service Request Enable)" on page 132 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 173: Print

    "Introduction to Root (:) Commands" on page 141 • "Introduction to :HARDcopy Commands" on page 282 • ":HARDcopy:FORMat" on page 709 • ":HARDcopy:FACTors" on page 285 • ":HARDcopy:GRAYscale" on page 710 • ":DISPlay:DATA" on page 247 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 174: Run

    - STOP stops the data acquisition and turns off AUTOSTORE. ' myScope.WriteString ":RUN" ' Start data acquisition. ' myScope.WriteString ":STOP" ' Stop the data acquisition. Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 175: Serial

    Commands by Subsystem :SERial (see page 786) Query Syntax :SERial? The :SERial? query returns the serial number of the instrument. Return Format: Unquoted string<NL> See Also • "Introduction to Root (:) Commands" on page 141 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 176: Single

    This is the same as pressing the Single key on the front panel. See Also • "Introduction to Root (:) Commands" on page 141 • ":RUN" on page 174 • ":STOP" on page 178 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 177: Status

    141 • ":BLANk" on page 148 • ":CHANnel<n>:DISPlay" on page 222 • ":DIGital<n>:DISPlay" on page 239 • ":FUNCtion:DISPlay" on page 268 • ":POD<n>:DISPlay" on page 393 • ":VIEW" on page 180 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 178: Stop

    Stop key on the front panel. See Also • "Introduction to Root (:) Commands" on page 141 • ":RUN" on page 174 • ":SINGle" on page 176 Example Code • "Example Code" on page 174 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 179: Ter (Trigger Event Register)

    <value> ::= {1 | 0}; a 16-bit integer in NR1 format. See Also • "Introduction to Root (:) Commands" on page 141 • "*SRE (Service Request Enable)" on page 132 • "*STB (Read Status Byte)" on page 134 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 180: View

    - BLANK turns off (stops displaying) a channel or pixel memory. ' myScope.WriteString ":BLANK CHANNEL1" ' Turn channel 1 off. ' myScope.WriteString ":VIEW CHANNEL1" ' Turn channel 1 on. Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 181: Acquire Commands

    The ACQuire subsystem controls the way in which waveforms are :ACQuire acquired. These acquisition types are available: normal, averaging, peak Commands detect, and high resolution. Two acquisition modes are available: real- time mode, and equivalent- time mode. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 182 Use :ACQuire? to query setup information for the ACQuire subsystem. Return Format The following is a sample response from the :ACQuire? query. In this case, the query was issued following a *RST command. :ACQ:MODE RTIM;TYPE NORM;COMP 100;COUNT 8;SEGM:COUN 2 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 183: Acquire:aalias

    This control can be directly disabled or disabled automatically. Return Format <value><NL> <value> ::= {1 | 0} See Also • "Introduction to :ACQuire Commands" on page 181 • ":ACQuire:DAALias" on page 186 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 184: Acquire:complete

    The parameter determines the percentage of time ' buckets needed to be "full" before an acquisition is considered ' to be complete. myScope.WriteString ":ACQUIRE:COMPLETE 100" Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 185: Acquire:count

    <count_argument> ::= an integer from 2 to 65536 in NR1 format See Also • "Introduction to :ACQuire Commands" on page 181 • ":ACQuire:TYPE" on page 196 • ":DIGitize" on page 150 • ":WAVeform:COUNt" on page 625 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 186: Acquire:daalias

    The :ACQuire:DAALias? query returns the oscilloscope's current disable anti- alias mode setting. Return Format <mode><NL> <mode> ::= {DIS | AUTO} See Also • "Introduction to :ACQuire Commands" on page 181 • ":ACQuire:AALias" on page 183 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 187: Acquire:mode

    The :ACQuire:MODE? query returns the acquisition mode of the oscilloscope. Return Format <mode_argument><NL> <mode_argument> ::= {RTIM | ETIM | SEGM} See Also • "Introduction to :ACQuire Commands" on page 181 • ":ACQuire:TYPE" on page 196 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 188: Acquire:points

    Return Format <points_argument><NL> <points_argument> ::= an integer in NR1 format See Also • "Introduction to :ACQuire Commands" on page 181 • ":DIGitize" on page 150 • ":WAVeform:POINts" on page 629 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 189: Acquire:rsignal

    <ref_signal_mode><NL> <ref_signal_mode> ::= {OFF | OUT | IN} See Also • ":TIMebase:REFClock" on page 460 • The Agilent InfiniiVision 7000 Series Oscilloscope User's Guide for information on using the 10 MHz reference clock. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 190: Acquire:segmented:analyze

    In order to use this command, the oscilloscope must be stopped and in segmented acquisition mode, with either quick measurements or infinite persistence on. See Also • ":ACQuire:MODE" on page 187 • ":ACQuire:SEGMented:COUNt" on page 191 • "Introduction to :ACQuire Commands" on page 181 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 191: Acquire:segmented:count

    176 • ":RUN" on page 174 • ":WAVeform:SEGMented:COUNt" on page 636 • ":ACQuire:SEGMented:ANALyze" on page 190 • "Introduction to :ACQuire Commands" on page 181 Example Code • "Example Code" on page 192 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 192: Acquire:segmented:index

    174 • ":WAVeform:SEGMented:COUNt" on page 636 • ":WAVeform:SEGMented:TTAG" on page 637 • ":ACQuire:SEGMented:ANALyze" on page 190 • "Introduction to :ACQuire Commands" on page 181 Example Code ' Segmented memory commands example. ' ------------------------------------------------------------------- Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 193 Loop Until varQueryResult = 50 Debug.Print "Number of segments in acquired data: " _ + FormatNumber(varQueryResult) Dim lngSegments As Long lngSegments = varQueryResult ' For each segment: Dim dblTimeTag As Double Dim lngI As Long Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 194 ":WAVeform:SEGMented:TTAG?" dblTimeTag = myScope.ReadNumber Debug.Print "Segment " + CStr(lngI) + " time tag: " _ + FormatNumber(dblTimeTag, 12) Next lngI Exit Sub VisaComError: MsgBox "VISA COM Error:" + vbCrLf + Err.Description End Sub Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 195: Acquire:srate

    The sample rate is not directly controllable. Return Format <sample_rate><NL> <sample_rate> ::= sample rate in NR3 format See Also • "Introduction to :ACQuire Commands" on page 181 • ":ACQuire:POINts" on page 188 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 196: Acquire:type

    The obsolete command ACQuire:TYPE:REALtime is functionally equivalent to sending N O T E ACQuire:MODE RTIME; TYPE NORMal. Query Syntax :ACQuire:TYPE? The :ACQuire:TYPE? query returns the current acquisition type. Return Format <acq_type><NL> <acq_type> ::= {NORM | AVER | HRES | PEAK} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 197 Example Code ' AQUIRE_TYPE - Sets the acquisition mode, which can be NORMAL, ' PEAK, or AVERAGE. myScope.WriteString ":ACQUIRE:TYPE NORMAL" Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 198: Bus Commands

    <nondecimal> ::= #Bnn...n where n ::= {0 | 1} for binary <string> ::= "0xnn...n" where n ::= {0,..,9 | A,..,F} for hexadecimal <n> ::= 1 or 2; an integer in NR1 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 199 Use :BUS<n>? to query setup information for the BUS subsystem. Return Format The following is a sample response from the :BUS1? query. In this case, the query was issued following a *RST command. :BUS1:DISP 0;LAB "BUS1";MASK +255 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 200: Bus:Bit

    • ":BUS<n>:CLEar" on page 203 • ":BUS<n>:DISPlay" on page 204 • ":BUS<n>:LABel" on page 205 • ":BUS<n>:MASK" on page 206 Example Code ' Include digital channel 1 in bus 1: myScope.WriteString ":BUS1:BIT1 ON" Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 201: Bus:Bits

    ":BUS1:BITS (@1,2,4:9), ON" ' Include digital channels 1, 5, 7, and 9 in bus 1: myScope.WriteString ":BUS1:BITS (@1,5,7,9), ON" ' Include digital channels 1 through 15 in bus 1: myScope.WriteString ":BUS1:BITS (@1:15), ON" Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 202 Commands by Subsystem ' Include digital channels 1 through 5, 8, and 14 in bus 1: myScope.WriteString ":BUS1:BITS (@1:5,8,14), ON" Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 203: Bus:Clear

    • "Introduction to :BUS<n> Commands" on page 199 • ":BUS<n>:BIT<m>" on page 200 • ":BUS<n>:BITS" on page 201 • ":BUS<n>:DISPlay" on page 204 • ":BUS<n>:LABel" on page 205 • ":BUS<n>:MASK" on page 206 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 204: Bus:Display

    • "Introduction to :BUS<n> Commands" on page 199 • ":BUS<n>:BIT<m>" on page 200 • ":BUS<n>:BITS" on page 201 • ":BUS<n>:CLEar" on page 203 • ":BUS<n>:LABel" on page 205 • ":BUS<n>:MASK" on page 206 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 205: Bus:Label

    • ":BUS<n>:MASK" on page 206 • ":CHANnel<n>:LABel" on page 225 • ":DISPlay:LABList" on page 250 • ":DIGital<n>:LABel" on page 240 Example Code ' Set the bus 1 label to "Data": myScope.WriteString ":BUS1:LABel 'Data'" Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 206: Bus:Mask

    • "Introduction to :BUS<n> Commands" on page 199 • ":BUS<n>:BIT<m>" on page 200 • ":BUS<n>:BITS" on page 201 • ":BUS<n>:CLEar" on page 203 • ":BUS<n>:DISPlay" on page 204 • ":BUS<n>:LABel" on page 205 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 207: Calibrate Commands

    • Determining the state of the calibration factor protection switch Commands (CAL PROTECT). • Saving and querying the calibration label string. • Reporting the calibration time and date. • Reporting changes in the temperature since the last calibration. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 208 Commands by Subsystem • Starting the user calibration procedure. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 209: Calibrate:date

    786) Query Syntax :CALibrate:DATE? The :CALibrate:DATE? query returns the date of the last calibration. Return Format <date><NL> <date> ::= day,month,year in NR1 format<NL> See Also • "Introduction to :CALibrate Commands" on page 207 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 210: Calibrate:label

    The :CALibrate:LABel? query returns the contents of the calibration label string. Return Format <string><NL> <string>::= unquoted ASCII string of up to 32 characters in length See Also • "Introduction to :CALibrate Commands" on page 207 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 211: Calibrate:output

    The :CALibrate:OUTPut query returns the current source of the TRIG OUT BNC signal. Return Format <signal><NL> <signal> ::= {TRIG | SOUR | DSO | MASK} See Also • "Introduction to :CALibrate Commands" on page 207 • ":MTESt:OUTPut" on page 376 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 212: Calibrate:start

    UNPROTECTED, and you must connect BNC cables from the TRIG OUT connector to the analog channel inputs. See the User's Guide for details. See Also • "Introduction to :CALibrate Commands" on page 207 • ":CALibrate:SWITch" on page 214 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 213: Calibrate:status

    Return Format <return value><NL> <return value> ::= ALL,<status_code>,<status_string> <status_code> ::= an integer status code <status_string> ::= an ASCII status string See Also • "Introduction to :CALibrate Commands" on page 207 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 214: Calibrate:switch

    (CAL PROTECT) switch state. The value PROTected indicates calibration is disabled, and UNPRotected indicates calibration is enabled. Return Format <switch><NL> <switch> ::= {PROT | UNPR} See Also • "Introduction to :CALibrate Commands" on page 207 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 215: Calibrate:temperature

    The :CALibrate:TEMPerature? query returns the change in temperature since the last user calibration procedure. Return Format <return value><NL> <return value> ::= degrees C delta since last cal in NR3 format See Also • "Introduction to :CALibrate Commands" on page 207 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 216: Calibrate:time

    786) Query Syntax :CALibrate:TIME? The :CALibrate:TIME? query returns the time of the last calibration. Return Format <date><NL> <date> ::= hour,minutes,seconds in NR1 format See Also • "Introduction to :CALibrate Commands" on page 207 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 217: Channel Commands

    DIFF12 | DIFF20 | NONE} <n> ::= 1-2 or 1-4 in NR1 format :CHANnel<n>:PROBe:ID? <probe id> ::= unquoted ASCII (see page 229) string up to 11 characters <n> ::= 1-2 or 1-4 in NR1 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 218 You can toggle the channel displays on and off with the :CHANnel<n>:DISPlay command as well as with the root level commands :VIEW and :BLANk. The obsolete CHANnel subsystem is supported. N O T E Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 219 The following are sample responses from the :CHANnel<n>? query. In this case, the query was issued following a *RST command. :CHAN1:RANG +40.0E+00;OFFS +0.00000E+00;COUP DC;IMP ONEM;DISP 1;BWL 0; INV 0;LAB "1";UNIT VOLT;PROB +10E+00;PROB:SKEW +0.00E+00;STYP SING Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 220: Channel:Bwlimit

    Query Syntax :CHANnel<n>:BWLimit? The :CHANnel<n>:BWLimit? query returns the current setting of the low- pass filter. Return Format <bwlimit><NL> <bwlimit> ::= {1 | 0} See Also • "Introduction to :CHANnel<n> Commands" on page 218 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 221: Channel:Coupling

    Query Syntax :CHANnel<n>:COUPling? The :CHANnel<n>:COUPling? query returns the current coupling for the specified channel. Return Format <coupling value><NL> <coupling value> ::= {AC | DC} See Also • "Introduction to :CHANnel<n> Commands" on page 218 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 222: Channel:Display

    • "Introduction to :CHANnel<n> Commands" on page 218 • ":VIEW" on page 180 • ":BLANk" on page 148 • ":STATus" on page 177 • ":POD<n>:DISPlay" on page 393 • ":DIGital<n>:DISPlay" on page 239 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 223: Channel:Impedance

    The :CHANnel<n>:IMPedance? query returns the current input impedance setting for the specified channel. Return Format <impedance value><NL> <impedance value> ::= {ONEM | FIFT} See Also • "Introduction to :CHANnel<n> Commands" on page 218 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 224: Channel:Invert

    Query Syntax :CHANnel<n>:INVert? The :CHANnel<n>:INVert? query returns the current state of the channel inversion. Return Format <invert value><NL> <invert value> ::= {0 | 1} See Also • "Introduction to :CHANnel<n> Commands" on page 218 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 225: Channel:Label

    ' can be useful for organizing the display. myScope.WriteString ":CHANNEL1:LABEL ""CAL 1""" ' Label ch1 "CAL 1". myScope.WriteString ":CHANNEL2:LABEL ""CAL2""" ' Label ch1 "CAL2". Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 226: Channel:Offset

    <offset> ::= Vertical offset value in NR3 format See Also • "Introduction to :CHANnel<n> Commands" on page 218 • ":CHANnel<n>:RANGe" on page 233 • ":CHANnel<n>:SCALe" on page 234 • ":CHANnel<n>:PROBe" on page 227 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 227: Channel:Probe

    ' channel. The probe attenuation factor may be set from 0.1 to 1000. myScope.WriteString ":CHAN1:PROBE 10" ' Set Probe to 10:1. Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 228: Channel:Probe:head[:Type]

    | DIFF12 | DIFF20 | NONE} See Also • "Introduction to :CHANnel<n> Commands" on page 218 • ":CHANnel<n>:PROBe" on page 227 • ":CHANnel<n>:PROBe:ID" on page 229 • ":CHANnel<n>:PROBe:SKEW" on page 230 • ":CHANnel<n>:PROBe:STYPe" on page 231 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 229: Channel:Probe:id

    • 1159A • AutoProbe • E2621A • E2622A • E2695A • E2697A • HP1152A • HP1153A • NONE • Probe • Unknown • Unsupported See Also • "Introduction to :CHANnel<n> Commands" on page 218 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 230: Channel:Probe:skew

    The :CHANnel<n>:PROBe:SKEW? query returns the current probe skew setting for the selected channel. Return Format <skew value><NL> <skew value> ::= skew value in NR3 format See Also • "Introduction to :CHANnel<n> Commands" on page 218 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 231: Channel:Probe:stype

    The :CHANnel<n>:PROBe:STYPe? query returns the current probe signal type setting for the selected channel. Return Format <signal type><NL> <signal type> ::= {DIFF | SING} See Also • "Introduction to :CHANnel<n> Commands" on page 218 • ":CHANnel<n>:OFFSet" on page 226 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 232: Channel:Protection

    TRIP (tripped) will be returned; otherwise NORM (normal) is returned. Return Format {NORM | TRIP}<NL> See Also • "Introduction to :CHANnel<n> Commands" on page 218 • ":CHANnel<n>:COUPling" on page 221 • ":CHANnel<n>:IMPedance" on page 223 • ":CHANnel<n>:PROBe" on page 227 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 233: Channel:Range

    ' range value is 8 times the volts per division. myScope.WriteString ":CHANNEL1:RANGE 8" ' Set the vertical range to 8 volts. Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 234: Channel:Scale

    Return Format <scale value><NL> <scale value> ::= vertical units per division in NR3 format See Also • "Introduction to :CHANnel<n> Commands" on page 218 • ":CHANnel<n>:RANGe" on page 233 • ":CHANnel<n>:PROBe" on page 227 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 235: Channel:Units

    Return Format <units><NL> <units> ::= {VOLT | AMP} See Also • "Introduction to :CHANnel<n> Commands" on page 218 • ":CHANnel<n>:RANGe" on page 233 • ":CHANnel<n>:PROBe" on page 227 • ":EXTernal:UNITs" on page 263 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 236: Channel:Vernier

    :CHANnel<n>:VERNier? The :CHANnel<n>:VERNier? query returns the current state of the channel's vernier setting. Return Format <vernier value><NL> <vernier value> ::= {0 | 1} See Also • "Introduction to :CHANnel<n> Commands" on page 218 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 237: Digital Commands

    (D0- D7, D8- D15). These commands are only valid for the MSO models. N O T E Reporting the Setup Use :DIGital<n>? to query setup information for the DIGital subsystem. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 238 Commands by Subsystem Return Format The following is a sample response from the :DIGital0? query. In this case, the query was issued following a *RST command. :DIG0:DISP 0;THR +1.40E+00;LAB 'D0';POS +0 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 239: Digital:Display

    • "Introduction to :DIGital<n> Commands" on page 237 • ":POD<n>:DISPlay" on page 393 • ":CHANnel<n>:DISPlay" on page 222 • ":VIEW" on page 180 • ":BLANk" on page 148 • ":STATus" on page 177 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 240: Digital:Label

    <label string> ::= any series of 10 or less characters as a quoted ASCII string. See Also • "Introduction to :DIGital<n> Commands" on page 237 • ":CHANnel<n>:LABel" on page 225 • ":DISPlay:LABList" on page 250 • ":BUS<n>:LABel" on page 205 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 241: Digital:Position

    N O T E Query Syntax :DIGital<n>:POSition? The :DIGital<n>:POSition? query returns the position of the specified channel. Return Format <position><NL> <position> ::= integer in NR1 format. See Also • "Introduction to :DIGital<n> Commands" on page 237 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 242: Digital:Size

    The :DIGital<n>:SIZE? query returns the size setting for the specified digital channels. Return Format <size_value><NL> <size_value> ::= {SMAL | MED | LARG} See Also • "Introduction to :DIGital<n> Commands" on page 237 • ":POD<n>:SIZE" on page 394 • ":DIGital<n>:POSition" on page 241 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 243: Digital:Threshold

    The :DIGital<n>:THReshold? query returns the threshold value for the specified channel. Return Format <value><NL> <value> ::= threshold value in NR3 format See Also • "Introduction to :DIGital<n> Commands" on page 237 • ":POD<n>:THReshold" on page 395 • ":TRIGger[:EDGE]:LEVel" on page 501 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 244: Display Commands

    The DISPlay subsystem is used to control the display storage and retrieval :DISPlay of waveform data, labels, and text. This subsystem allows the following Commands actions: • Clear the waveform area on the display. • Turn vectors on or off. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 245 Use :DISPlay? to query the setup information for the DISPlay subsystem. Return Format The following is a sample response from the :DISPlay? query. In this case, the query was issued following a *RST command. :DISP:LAB 0;CONN 1;PERS MIN;SOUR PMEM9 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 246: Display:clear

    If the oscilloscope is running, all of the data for active channels and functions is erased; however, new data is displayed on the next acquisition. See Also • "Introduction to :DISPlay Commands" on page 244 • ":CDISplay" on page 149 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 247: Display:data

    This data cannot be sent back to the instrument. Graticule data is a low resolution bitmap of the graticule area in TIFF format. You can get this data and send it back to the oscilloscope. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 248 ' Open file f or output. Put #1, , byteData ' Write data. Close #1 ' Close file. myScope.IO.Timeout = 5000 Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 249: Display:label

    ' DISP_LABEL (not executed in this example) - Turns label names ON or OFF on the analyzer display. myScope.WriteString ":DISPLAY:LABEL ON" ' Turn on labels. Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 250: Display:lablist

    See Also • "Introduction to :DISPlay Commands" on page 244 • ":DISPlay:LABel" on page 249 • ":CHANnel<n>:LABel" on page 225 • ":DIGital<n>:LABel" on page 240 • ":BUS<n>:LABel" on page 205 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 251: Display:persistence

    The :DISPlay:PERSistence? query returns the specified persistence value. Return Format <value><NL> <value> ::= {MIN | INF} See Also • "Introduction to :DISPlay Commands" on page 244 • ":DISPlay:CLEar" on page 246 • ":CDISplay" on page 149 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 252: Display:source

    <value> ::= {PMEM0 | PMEM1 | PMEM2 | PMEM3 | PMEM4 | PMEM5 | PMEM6 | PMEM7 | PMEM8 | PMEM9} See Also • "Introduction to :DISPlay Commands" on page 244 • ":DISPlay:DATA" on page 247 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 253: Display:vectors

    Query Syntax :DISPlay:VECTors? The :DISPlay:VECTors? query returns whether vector display is on or off. Return Format <vectors><NL> <vectors> ::= {1 | 0} See Also • "Introduction to :DISPlay Commands" on page 244 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 254: External Trigger Commands

    Depending on the instrument type, some settings may be changeable. Reporting the Setup Use :EXTernal? to query setup information for the EXTernal subsystem. Return Format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 255 Commands by Subsystem The following is a sample response from the :EXTernal query. In this case, the query was issued following a *RST command. :EXT:BWL 0;IMP ONEM;RANG +8.0E+00;UNIT VOLT;PROB +1.0E+00;PROB:STYP SING Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 256: External:bwlimit

    (always 0). Return Format <bwlimit><NL> <bwlimit> ::= 0 See Also • "Introduction to :EXTernal Trigger Commands" on page 254 • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:HFReject" on page 471 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 257: External:impedance

    Return Format <impedance value><NL> <impedance value> ::= {ONEM | FIFT} See Also • "Introduction to :EXTernal Trigger Commands" on page 254 • "Introduction to :TRIGger Commands" on page 467 • ":CHANnel<n>:IMPedance" on page 223 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 258: External:probe

    <attenuation> ::= probe attenuation ratio in NR3 format See Also • "Introduction to :EXTernal Trigger Commands" on page 254 • ":EXTernal:RANGe" on page 262 • "Introduction to :TRIGger Commands" on page 467 • ":CHANnel<n>:PROBe" on page 227 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 259: External:probe:id

    • AutoProbe • E2621A • E2622A • E2695A • E2697A • HP1152A • HP1153A • NONE • Probe • Unknown • Unsupported See Also • "Introduction to :EXTernal Trigger Commands" on page 254 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 260: External:probe:stype

    The :EXTernal:PROBe:STYPe? query returns the current probe signal type setting for the external trigger. Return Format <signal type><NL> <signal type> ::= {DIFF | SING} See Also • "Introduction to :EXTernal Trigger Commands" on page 254 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 261: External:protection

    TRIP (tripped) will be returned; otherwise NORM (normal) is returned. Return Format {NORM | TRIP}<NL> See Also • "Introduction to :EXTernal Trigger Commands" on page 254 • ":EXTernal:IMPedance" on page 257 • ":EXTernal:PROBe" on page 258 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 262: External:range

    <range_argument> ::= external trigger range value in NR3 format See Also • "Introduction to :EXTernal Trigger Commands" on page 254 • ":EXTernal:PROBe" on page 258 • "Introduction to :TRIGger Commands" on page 467 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 263: External:units

    See Also • "Introduction to :EXTernal Trigger Commands" on page 254 • "Introduction to :TRIGger Commands" on page 467 • ":EXTernal:RANGe" on page 262 • ":EXTernal:PROBe" on page 258 • ":CHANnel<n>:UNITs" on page 235 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 264: Function Commands

    +/-10 times the current sensitivity of the selected function. :FUNCtion:OPERation :FUNCtion:OPERation? <operation> ::= {ADD | SUBTract | <operation> (see (see page 273) MULTiply | INTegrate | page 273) DIFFerentiate | FFT | SQRT} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 265 279) page 279) span in NR3 format. Legal values are 1 Hz to 100 GHz. :FUNCtion:WINDow :FUNCtion:WINDow? <window> ::= {RECTangular | <window> (see (see page 280) HANNing | FLATtop | BHARris} page 280) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 266 Return Format The following is a sample response from the :FUNCtion? queries. In this case, the query was issued following a *RST command. :FUNC:OPER ADD;DISP 0;SOUR1 CHAN1;SOUR2 CHAN2;RANG +8.00E+00;OFFS +0.0E+00;:FUNC:GOFT:OPER ADD;SOUR1 CHAN1;SOUR2 CHAN2 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 267: Function:center

    Once you change either the :FUNCtion:CENTer or :FUNCtion:SPAN value, they no longer track the :TIMebase:RANGe value. See Also • "Introduction to :FUNCtion Commands" on page 266 • ":FUNCtion:SPAN" on page 279 • ":TIMebase:RANGe" on page 459 • ":TIMebase:SCALe" on page 462 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 268: Function:display

    Return Format <display><NL> <display> ::= {1 | 0} See Also • "Introduction to :FUNCtion Commands" on page 266 • ":VIEW" on page 180 • ":BLANk" on page 148 • ":STATus" on page 177 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 269: Function:goft:operation

    <operation><NL> <operation> ::= {ADD | SUBT | MULT} See Also • "Introduction to :FUNCtion Commands" on page 266 • ":FUNCtion:GOFT:SOURce1" on page 270 • ":FUNCtion:GOFT:SOURce2" on page 271 • ":FUNCtion:SOURce1" on page 277 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 270: Function:goft:source1

    <n> ::= {1 | 2 | 3 | 4} for the 4ch models <n> ::= {1 | 2} for the 2ch models See Also • "Introduction to :FUNCtion Commands" on page 266 • ":FUNCtion:GOFT:SOURce2" on page 271 • ":FUNCtion:GOFT:OPERation" on page 269 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 271: Function:goft:source2

    <n> ::= {{1 | 2} | {3 | 4}} for 4ch models, depending on SOURce1 selection <n> ::= {1 | 2} for 2ch models See Also • "Introduction to :FUNCtion Commands" on page 266 • ":FUNCtion:GOFT:SOURce1" on page 270 • ":FUNCtion:GOFT:OPERation" on page 269 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 272: Function:offset

    <offset> ::= the value at center screen in NR3 format. See Also • "Introduction to :FUNCtion Commands" on page 266 • ":FUNCtion:RANGe" on page 274 • ":FUNCtion:REFerence" on page 275 • ":FUNCtion:SCALe" on page 276 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 273: Function:operation

    <operation> ::= {ADD | SUBT | MULT | INT | DIFF | FFT | SQRT} See Also • "Introduction to :FUNCtion Commands" on page 266 • ":FUNCtion:SOURce1" on page 277 • ":FUNCtion:SOURce2" on page 278 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 274: Function:range

    The range for the DIFFerentiate function is 80E- 3 to 8.0E12 (depends on sweep speed). The range for the FFT (Fast Fourier Transform) function is 8 to 800 dBV. See Also • "Introduction to :FUNCtion Commands" on page 266 • ":FUNCtion:SCALe" on page 276 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 275: Function:reference

    <level> ::= the current reference level in NR3 format. See Also • "Introduction to :FUNCtion Commands" on page 266 • ":FUNCtion:OFFSet" on page 272 • ":FUNCtion:RANGe" on page 274 • ":FUNCtion:SCALe" on page 276 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 276: Function:scale

    The :FUNCtion:SCALe? query returns the current scale value for the selected function. Return Format <scale value><NL> <scale value> ::= integer in NR1 format See Also • "Introduction to :FUNCtion Commands" on page 266 • ":FUNCtion:RANGe" on page 274 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 277: Function:source1

    <n> ::= {1 | 2} for 2ch models See Also • "Introduction to :FUNCtion Commands" on page 266 • ":FUNCtion:OPERation" on page 273 • ":FUNCtion:GOFT:OPERation" on page 269 • ":FUNCtion:GOFT:SOURce1" on page 270 • ":FUNCtion:GOFT:SOURce2" on page 271 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 278: Function:source2

    <n> ::= {{1 | 2} | {3 | 4}} for 4ch models, depending on SOURce1 selection <n> ::= {1 | 2} for 2ch models See Also • "Introduction to :FUNCtion Commands" on page 266 • ":FUNCtion:OPERation" on page 273 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 279: Function:span

    <span> ::= the current frequency span in NR3 format. Legal values are 1 Hz to 100 GHz. See Also • "Introduction to :FUNCtion Commands" on page 266 • ":FUNCtion:CENTer" on page 267 • ":TIMebase:RANGe" on page 459 • ":TIMebase:SCALe" on page 462 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 280: Function:window

    The :FUNCtion:WINDow? query returns the value of the window selected for the FFT function. Return Format <window><NL> <window> ::= {RECT | HANN | FLAT | BHAR} See Also • "Introduction to :FUNCtion Commands" on page 266 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 281: Hardcopy Commands

    :HARDcopy:PRINter:LIS <list> ::= [<printer_spec>] ... T? (see page 290) [printer_spec>] <printer_spec> ::= "<index>,<active>,<name>;" <index> ::= integer index of printer <active> ::= {Y | N} <name> ::= name of printer :HARDcopy:STARt (see page 291) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 282 Use :HARDcopy? to query setup information for the HARDcopy subsystem. Return Format The following is a sample response from the :HARDcopy? query. In this case, the query was issued following the *RST command. :HARD:APR "";AREA SCR;FACT 0;FFE 0;INKS 1;PAL NONE;LAY PORT Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 283: Hardcopy:area

    284 • ":HARDcopy:PRINter:LIST" on page 290 • ":HARDcopy:FACTors" on page 285 • ":HARDcopy:FFEed" on page 286 • ":HARDcopy:INKSaver" on page 287 • ":HARDcopy:LAYout" on page 288 • ":HARDcopy:PALette" on page 289 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 284: Hardcopy:aprinter

    The :HARDcopy:APRinter? query returns the name of the active printer. Return Format <name><NL> <name> ::= name of printer in list See Also • "Introduction to :HARDcopy Commands" on page 282 • ":HARDcopy:PRINter:LIST" on page 290 • ":HARDcopy:STARt" on page 291 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 285: Hardcopy:factors

    • "Introduction to :HARDcopy Commands" on page 282 • ":HARDcopy:STARt" on page 291 • ":HARDcopy:FFEed" on page 286 • ":HARDcopy:INKSaver" on page 287 • ":HARDcopy:LAYout" on page 288 • ":HARDcopy:PALette" on page 289 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 286: Hardcopy:ffeed

    • "Introduction to :HARDcopy Commands" on page 282 • ":HARDcopy:STARt" on page 291 • ":HARDcopy:FACTors" on page 285 • ":HARDcopy:INKSaver" on page 287 • ":HARDcopy:LAYout" on page 288 • ":HARDcopy:PALette" on page 289 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 287: Hardcopy:inksaver

    • "Introduction to :HARDcopy Commands" on page 282 • ":HARDcopy:STARt" on page 291 • ":HARDcopy:FACTors" on page 285 • ":HARDcopy:FFEed" on page 286 • ":HARDcopy:LAYout" on page 288 • ":HARDcopy:PALette" on page 289 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 288: Hardcopy:layout

    • "Introduction to :HARDcopy Commands" on page 282 • ":HARDcopy:STARt" on page 291 • ":HARDcopy:FACTors" on page 285 • ":HARDcopy:PALette" on page 289 • ":HARDcopy:FFEed" on page 286 • ":HARDcopy:INKSaver" on page 287 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 289: Hardcopy:palette

    • "Introduction to :HARDcopy Commands" on page 282 • ":HARDcopy:STARt" on page 291 • ":HARDcopy:FACTors" on page 285 • ":HARDcopy:LAYout" on page 288 • ":HARDcopy:FFEed" on page 286 • ":HARDcopy:INKSaver" on page 287 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 290: Hardcopy:printer:list

    <active> ::= {Y | N} <name> ::= name of printer (for example "DESKJET 950C") See Also • "Introduction to :HARDcopy Commands" on page 282 • ":HARDcopy:APRinter" on page 284 • ":HARDcopy:STARt" on page 291 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 291: Hardcopy:start

    284 • ":HARDcopy:PRINter:LIST" on page 290 • ":HARDcopy:FACTors" on page 285 • ":HARDcopy:FFEed" on page 286 • ":HARDcopy:INKSaver" on page 287 • ":HARDcopy:LAYout" on page 288 • ":HARDcopy:PALette" on page 289 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 292: Lister Commands

    OFF} | {1 | ON}} (see page 294) page 294) Introduction to The LISTer subsystem is used to turn on/off the serial decode Lister :LISTer display and return data from the Lister display. Commands Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 293: Lister:data

    <binary_block> ::= comma-separated data with newlines at the end of each row See Also • "Introduction to :LISTer Commands" on page 292 • ":LISTer:DISPlay" on page 294 • "Definite- Length Block Response Data" on page 109 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 294: Lister:display

    Query Syntax :LISTer:DISPlay? The :LISTer:DISPlay? query returns lister display setting. Return Format <value><NL> <value> ::= {0 | 1} See Also • "Introduction to :LISTer Commands" on page 292 • ":LISTer:DATA" on page 293 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 295: Marker Commands

    :MARKer:Y1Position? <position> ::= Y1 cursor position <position>[suffix] (see page 303) value in NR3 format (see page 303) [suffix] ::= {V | mV | dB} <return_value> ::= Y1 cursor position value in NR3 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 296 Use :MARKer? to query setup information for the MARKer subsystem. Return Format The following is a sample response from the :MARKer? query. In this case, the query was issued following a *RST and :MARKer:MODE:MANual command. :MARK:X1Y1 NONE;X2Y2 NONE;MODE OFF Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 297: Marker:mode

    299 • ":MARKer:X2Y2source" on page 301 • ":MEASure:SOURce" on page 337 • ":MARKer:X1Position" on page 298 • ":MARKer:X2Position" on page 300 • ":MARKer:Y1Position" on page 303 • ":MARKer:Y2Position" on page 304 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 298: Marker:x1Position

    • "Introduction to :MARKer Commands" on page 296 • ":MARKer:MODE" on page 297 • ":MARKer:X2Position" on page 300 • ":MARKer:X1Y1source" on page 299 • ":MARKer:X2Y2source" on page 301 • ":MEASure:TSTArt" on page 719 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 299: Marker:x1Y1Source

    <source><NL> <source> ::= {CHAN<n> | FUNC | NONE} See Also • "Introduction to :MARKer Commands" on page 296 • ":MARKer:MODE" on page 297 • ":MARKer:X2Y2source" on page 301 • ":MEASure:SOURce" on page 337 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 300: Marker:x2Position

    <position> ::= X2 cursor position in NR3 format See Also • "Introduction to :MARKer Commands" on page 296 • ":MARKer:MODE" on page 297 • ":MARKer:X1Position" on page 298 • ":MARKer:X2Y2source" on page 301 • ":MEASure:TSTOp" on page 720 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 301: Marker:x2Y2Source

    <source><NL> <source> ::= {CHAN<n> | FUNC | NONE} See Also • "Introduction to :MARKer Commands" on page 296 • ":MARKer:MODE" on page 297 • ":MARKer:X1Y1source" on page 299 • ":MEASure:SOURce" on page 337 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 302: Marker:xdelta

    • "Introduction to :MARKer Commands" on page 296 • ":MARKer:MODE" on page 297 • ":MARKer:X1Position" on page 298 • ":MARKer:X2Position" on page 300 • ":MARKer:X1Y1source" on page 299 • ":MARKer:X2Y2source" on page 301 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 303: Marker:y1Position

    • "Introduction to :MARKer Commands" on page 296 • ":MARKer:MODE" on page 297 • ":MARKer:X1Y1source" on page 299 • ":MARKer:X2Y2source" on page 301 • ":MARKer:Y2Position" on page 304 • ":MEASure:VSTArt" on page 725 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 304: Marker:y2Position

    • "Introduction to :MARKer Commands" on page 296 • ":MARKer:MODE" on page 297 • ":MARKer:X1Y1source" on page 299 • ":MARKer:X2Y2source" on page 301 • ":MARKer:Y1Position" on page 303 • ":MEASure:VSTOp" on page 726 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 305: Marker:ydelta

    • "Introduction to :MARKer Commands" on page 296 • ":MARKer:MODE" on page 297 • ":MARKer:X1Y1source" on page 299 • ":MARKer:X2Y2source" on page 301 • ":MARKer:Y1Position" on page 303 • ":MARKer:Y2Position" on page 304 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 306: Measure Commands

    321) <source> ::= {CHANnel<n> | DIGital0,..,DIGital15 | FUNCtion | MATH} for MSO models <n> ::= 1-2 or 1-4 in NR1 format <return_value> ::= ratio of positive pulse width to period in NR3 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 307 327) page 327) <source> ::= {CHANnel<n> | DIGital0,..,DIGital15 | FUNCtion | MATH} for MSO models <n> ::= 1-2 or 1-4 in NR1 format <return_value> ::= waveform period in seconds in NR3 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 308 FUNCtion | MATH} page 335) page 335) <n> ::= 1-2 or 1-4 in NR1 format <return_value> ::= calculated std deviation in NR3 format :MEASure:SHOW {1 | :MEASure:SHOW? (see ON} (see page 336) page 336) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 309 FUNCtion | MATH} for DSO models <source> ::= {CHANnel<n> | DIGital0,..,DIGital15 | FUNCtion | MATH} for MSO models <n> ::= 1-2 or 1-4 in NR1 format <return_value> ::= time in seconds of the specified transition Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 310 <source> ::= {CHANnel<n> | [<source>] (see [<source>] (see FUNCtion | MATH} page 350) page 350) <n> ::= 1-2 or 1-4 in NR1 format <return_value> ::= minimum voltage of the selected waveform in NR3 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 311 <source> ::= {CHANnel<n> | [<source>] (see [<source>] (see FUNCtion | MATH} page 357) page 357) <n> ::= 1-2 or 1-4 in NR1 format <return_value> ::= horizontal value of the maximum in NR3 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 312 Not all measurements are available on the digital channels or FFT (Fast Fourier Transform). Reporting the Setup Use the :MEASure? query to obtain setup information for the MEASure subsystem. (Currently, this is only :MEASure:SOURce.) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 313 Commands by Subsystem Return Format The following is a sample response from the :MEASure? query. In this case, the query was issued following a *RST command. :MEAS:SOUR CHAN1,CHAN2;STAT ON Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 314: Measure:clear

    Commands by Subsystem :MEASure:CLEar (see page 786) Command Syntax :MEASure:CLEar This command clears all selected measurements and markers from the screen. See Also • "Introduction to :MEASure Commands" on page 312 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 315: Measure:counter

    <source> ::= count in Hertz in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:SOURce" on page 337 • ":MEASure:FREQuency" on page 323 • ":MEASure:CLEar" on page 314 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 316: Measure:define

    OVERshoot PERiod PHASe PREShoot PWIDth RISetime VAVerage VRMS :MEASure:DEFine :MEASure:DEFine DELay,<delay spec> DELay Command <delay spec> ::= <edge_spec1>,<edge_spec2> Syntax <edge_spec1> ::= [<slope>]<occurrence> <edge_spec2> ::= [<slope>]<occurrence> <slope> ::= {+ | -} <occurrence> ::= integer Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 317 ABSolute thresholds. Query Syntax :MEASure:DEFine? <meas_spec> <meas_spec> ::= {DELay | THResholds} The :MEASure:DEFine? query returns the current edge specification for the delay measurements setup or the current specification for the thresholds setup. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 318 312 • ":MEASure:DELay" on page 319 • ":MEASure:SOURce" on page 337 • ":CHANnel<n>:RANGe" on page 233 • ":CHANnel<n>:SCALe" on page 234 • ":CHANnel<n>:PROBe" on page 227 • ":CHANnel<n>:UNITs" on page 235 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 319: Measure:delay

    It is the middle threshold value that is used when performing the delay query. The standard upper, middle, and lower measurement thresholds are 90%, 50%, and 10% values between Vbase and Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 320 Return Format <value><NL> <value> ::= floating-point number delay time in seconds in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:DEFine" on page 316 • ":MEASure:PHASe" on page 328 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 321: Measure:dutycycle

    See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:PERiod" on page 327 • ":MEASure:PWIDth" on page 330 • ":MEASure:SOURce" on page 337 Example Code • "Example Code" on page 338 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 322: Measure:falltime

    <value> ::= time in seconds between the lower threshold and upper threshold in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:RISetime" on page 334 • ":MEASure:SOURce" on page 337 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 323: Measure:frequency

    <source> ::= frequency in Hertz in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:SOURce" on page 337 • ":MEASure:PERiod" on page 327 Example Code • "Example Code" on page 338 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 324: Measure:nwidth

    <value> ::= negative pulse width in seconds in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:SOURce" on page 337 • ":MEASure:PWIDth" on page 330 • ":MEASure:PERiod" on page 327 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 325: Measure:overshoot

    <overshoot>::= the percent of the overshoot of the selected waveform in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:PREShoot" on page 329 • ":MEASure:SOURce" on page 337 • ":MEASure:VMAX" on page 349 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 326 Commands by Subsystem • ":MEASure:VTOP" on page 355 • ":MEASure:VBASe" on page 348 • ":MEASure:VMIN" on page 350 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 327: Measure:period

    "Introduction to :MEASure Commands" on page 312 • ":MEASure:SOURce" on page 337 • ":MEASure:NWIDth" on page 324 • ":MEASure:PWIDth" on page 330 • ":MEASure:FREQuency" on page 323 Example Code • "Example Code" on page 338 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 328: Measure:phase

    <value> ::= the phase angle value in degrees in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:DELay" on page 319 • ":MEASure:PERiod" on page 327 • ":MEASure:SOURce" on page 337 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 329: Measure:preshoot

    • "Introduction to :MEASure Commands" on page 312 • ":MEASure:SOURce" on page 337 • ":MEASure:VMIN" on page 350 • ":MEASure:VMAX" on page 349 • ":MEASure:VTOP" on page 355 • ":MEASure:VBASe" on page 348 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 330: Measure:pwidth

    <value> ::= width of positive pulse in seconds in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:SOURce" on page 337 • ":MEASure:NWIDth" on page 324 • ":MEASure:PERiod" on page 327 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 331: Measure:results

    Example Code ' This program shows the InfiniiVision oscilloscopes' measurement ' statistics commands. ' ------------------------------------------------------------------- Option Explicit Public myMgr As VisaComLib.ResourceManager Public myScope As VisaComLib.FormattedIO488 Public varQueryResult As Variant Public strQueryResult As String Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 332 ResultsTypeArray(5) = "COUNt" ResultsTypeArray(6) = "ON" ' All results. Dim ResultType As Variant Dim ResultsList() Dim ValueColumnArray(6) As String ValueColumnArray(0) = "Meas_Lbl" ValueColumnArray(1) = "Current" ValueColumnArray(2) = "Min" ValueColumnArray(3) = "Max" ValueColumnArray(4) = "Mean" Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 333 Measurement + ", "; ResultType + ": " + _ FormatNumber(ResultsList(intCounter), 4) intCounter = intCounter + 1 End If Next Next Exit Sub VisaComError: MsgBox "VISA COM Error:" + vbCrLf + Err.Description End Sub Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 334: Measure:risetime

    = time at upper threshold - time at lower threshold Return Format <value><NL> <value> ::= rise time in seconds in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:SOURce" on page 337 • ":MEASure:FALLtime" on page 322 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 335: Measure:sdeviation

    The oscilloscope computes the std deviation on all displayed data points. Return Format <value><NL> <value> ::= calculated std deviation value in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:SOURce" on page 337 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 336: Measure:show

    This feature is always on. Query Syntax :MEASure:SHOW? The :MEASure:SHOW? query returns the current state of the markers. Return Format <show><NL> <show> ::= 1 See Also • "Introduction to :MEASure Commands" on page 312 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 337: Measure:source

    • "Introduction to :MEASure Commands" on page 312 • ":MARKer:MODE" on page 297 • ":MARKer:X1Y1source" on page 299 • ":MARKer:X2Y2source" on page 301 • ":MEASure:DELay" on page 319 • ":MEASure:PHASe" on page 328 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 338 ' Query for Vmax. varQueryResult = myScope.ReadNumber ' Read Vmax. MsgBox "Maximum voltage:" + vbCrLf _ + FormatNumber(varQueryResult, 4) + " V" Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 339: Measure:statistics

    See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:RESults" on page 331 • ":MEASure:STATistics:RESet" on page 341 • ":MEASure:STATistics:INCRement" on page 340 Example Code • "Example Code" on page 331 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 340: Measure:statistics:increment

    The command is allowed in segmented acquisition mode even though the corresponding front panel softkey is not available. See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:STATistics" on page 339 • ":MEASure:STATistics:RESet" on page 341 • ":MEASure:RESults" on page 331 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 341: Measure:statistics:reset

    See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:STATistics" on page 339 • ":MEASure:RESults" on page 331 • ":MEASure:STATistics:INCRement" on page 340 Example Code • "Example Code" on page 331 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 342: Measure:tedge

    Phase = (delay between channels / period of channel) x 360 For an example of making a delay and phase measurement, see ":MEASure:TEDGe Code" on page 343. If the optional source parameter is specified, the current source is modified. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 343 Example program from the start: "VISA COM Example in Visual Basic" page 812 See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:TVALue" on page 344 • ":MEASure:VTIMe" on page 354 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 344: Measure:tvalue

    If the optional source parameter is specified, the current source is modified. This query is not available if the source is FFT (Fast Fourier Transform). N O T E Return Format <value><NL> Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 345 <value> ::= time in seconds of the specified value crossing in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:TEDGe" on page 342 • ":MEASure:VTIMe" on page 354 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 346: Measure:vamplitude

    <value> ::= the amplitude of the selected waveform in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:SOURce" on page 337 • ":MEASure:VBASe" on page 348 • ":MEASure:VTOP" on page 355 • ":MEASure:VPP" on page 351 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 347: Measure:vaverage

    If at least three edges are not present, the oscilloscope averages all data points. Return Format <value><NL> <value> ::= calculated average value in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:SOURce" on page 337 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 348: Measure:vbase

    <base_voltage> ::= value at the base of the selected waveform in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:SOURce" on page 337 • ":MEASure:VTOP" on page 355 • ":MEASure:VAMPlitude" on page 346 • ":MEASure:VMIN" on page 350 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 349: Measure:vmax

    <value> ::= maximum vertical value of the selected waveform in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:SOURce" on page 337 • ":MEASure:VMIN" on page 350 • ":MEASure:VPP" on page 351 • ":MEASure:VTOP" on page 355 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 350: Measure:vmin

    <value> ::= minimum vertical value of the selected waveform in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:SOURce" on page 337 • ":MEASure:VBASe" on page 348 • ":MEASure:VMAX" on page 349 • ":MEASure:VPP" on page 351 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 351: Measure:vpp

    <value> ::= vertical peak to peak value in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:SOURce" on page 337 • ":MEASure:VMAX" on page 349 • ":MEASure:VMIN" on page 350 • ":MEASure:VAMPlitude" on page 346 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 352: Measure:vratio

    Return Format <value><NL> <value> ::= the ratio value in dB in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:VRMS" on page 353 • ":MEASure:SOURce" on page 337 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 353: Measure:vrms

    RMS value on all displayed data points. Return Format <value><NL> <value> ::= calculated dc RMS value in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:SOURce" on page 337 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 354: Measure:vtime

    <value> ::= value at the specified time in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:SOURce" on page 337 • ":MEASure:TEDGe" on page 342 • ":MEASure:TVALue" on page 344 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 355: Measure:vtop

    <value> ::= vertical value at the top of the waveform in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:SOURce" on page 337 • ":MEASure:VMAX" on page 349 • ":MEASure:VAMPlitude" on page 346 • ":MEASure:VBASe" on page 348 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 356: Measure:xmax

    Return Format <value><NL> <value> ::= horizontal value of the maximum in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:XMIN" on page 357 • ":MEASure:TMAX" on page 717 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 357: Measure:xmin

    Return Format <value><NL> <value> ::= horizontal value of the minimum in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:XMAX" on page 356 • ":MEASure:TMIN" on page 718 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 358: Mtest Commands

    :MTESt:ENABle? (see {0 | 1} OFF} | {1 | ON}} (see page 374) page 374) :MTESt:LOCK {{0 | :MTESt:LOCK? (see {0 | 1} OFF} | {1 | ON}} (see page 375) page 375) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 359 :MTESt:SCALe:XDELta :MTESt:SCALe:XDELta? <xdelta_value> ::= X delta value <xdelta_value> (see (see page 387) in NR3 format page 387) :MTESt:SCALe:Y1 :MTESt:SCALe:Y1? (see <y1_value> ::= Y1 value in NR3 <y1_value> (see page 388) format page 388) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 360 Public myScope As VisaComLib.FormattedIO488 Public varQueryResult As Variant Public strQueryResult As String Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Sub Main() On Error GoTo VisaComError ' Create the VISA COM I/O resource. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 361 Debug.Print "Auto-mask created, mask test automatically enabled." ' Set up timeout variables. Dim lngTimeout As Long ' Max millisecs to wait. Dim lngElapsed As Long lngTimeout = 60000 ' 60 seconds. ' Wait until mask is created. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 362 Debug.Print "Mask test failed waveforms: " + strQueryResult myScope.WriteString ":MTESt:COUNt:TIME?" strQueryResult = myScope.ReadString Debug.Print "Mask test elapsed seconds: " + strQueryResult Exit Sub VisaComError: MsgBox "VISA COM Error:" + vbCrLf + Err.Description End Sub Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 363: Mtest:amask:create

    • ":MTESt:AMASk:XDELta" on page 366 • ":MTESt:AMASk:YDELta" on page 367 • ":MTESt:AMASk:UNITs" on page 365 • ":MTESt:AMASk:SOURce" on page 364 • ":MTESt:SOURce" on page 390 Example Code • "Example Code" on page 360 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 364: Mtest:amask:source

    "Introduction to :MTESt Commands" on page 360 • ":MTESt:AMASk:XDELta" on page 366 • ":MTESt:AMASk:YDELta" on page 367 • ":MTESt:AMASk:UNITs" on page 365 • ":MTESt:SOURce" on page 390 Example Code • "Example Code" on page 360 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 365: Mtest:amask:units

    • ":MTESt:AMASk:XDELta" on page 366 • ":MTESt:AMASk:YDELta" on page 367 • ":CHANnel<n>:UNITs" on page 235 • ":MTESt:AMASk:SOURce" on page 364 • ":MTESt:SOURce" on page 390 Example Code • "Example Code" on page 360 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 366: Mtest:amask:xdelta

    "Introduction to :MTESt Commands" on page 360 • ":MTESt:AMASk:UNITs" on page 365 • ":MTESt:AMASk:YDELta" on page 367 • ":MTESt:AMASk:SOURce" on page 364 • ":MTESt:SOURce" on page 390 Example Code • "Example Code" on page 360 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 367: Mtest:amask:ydelta

    "Introduction to :MTESt Commands" on page 360 • ":MTESt:AMASk:UNITs" on page 365 • ":MTESt:AMASk:XDELta" on page 366 • ":MTESt:AMASk:SOURce" on page 364 • ":MTESt:SOURce" on page 390 Example Code • "Example Code" on page 360 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 368: Mtest:count:fwaveforms

    "Introduction to :MTESt Commands" on page 360 • ":MTESt:COUNt:WAVeforms" on page 371 • ":MTESt:COUNt:TIME" on page 370 • ":MTESt:COUNt:RESet" on page 369 • ":MTESt:SOURce" on page 390 Example Code • "Example Code" on page 360 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 369: Mtest:count:reset

    :MTESt:COUNt:RESet The :MTESt:COUNt:RESet command resets the mask statistics. See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:COUNt:WAVeforms" on page 371 • ":MTESt:COUNt:FWAVeforms" on page 368 • ":MTESt:COUNt:TIME" on page 370 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 370: Mtest:count:time

    See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:COUNt:WAVeforms" on page 371 • ":MTESt:COUNt:FWAVeforms" on page 368 • ":MTESt:COUNt:RESet" on page 369 Example Code • "Example Code" on page 360 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 371: Mtest:count:waveforms

    See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:COUNt:FWAVeforms" on page 368 • ":MTESt:COUNt:TIME" on page 370 • ":MTESt:COUNt:RESet" on page 369 Example Code • "Example Code" on page 360 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 372: Mtest:data

    # format defined in the IEEE 488.2 specification. Return Format <mask><NL> <mask> ::= binary block data in IEEE 488.2 # format See Also • ":SAVE:MASK[:STARt]" on page 413 • ":RECall:MASK[:STARt]" on page 400 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 373: Mtest:delete

    Commands by Subsystem :MTESt:DELete (see page 786) Command Syntax :MTESt:DELete The :MTESt:DELete command clears the currently loaded mask. See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:AMASk:CREate" on page 363 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 374: Mtest:enable

    • OFF — Disables the mask test features. Query Syntax :MTESt:ENABle? The :MTESt:ENABle? query returns the current state of mask test features. Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :MTESt Commands" on page 360 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 375: Mtest:lock

    :MTESt:LOCK? The :MTESt:LOCK? query returns the current mask lock setting. Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:SOURce" on page 390 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 376: Mtest:output

    :MTESt:OUTPut? The :MTESt:OUTPut? query returns the currently set output signal. Return Format <signal><NL> <signal> ::= {FAIL | PASS} See Also • "Introduction to :MTESt Commands" on page 360 • ":CALibrate:OUTPut" on page 211 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 377: Mtest:rmode

    See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:RMODe:SIGMa" on page 382 • ":MTESt:RMODe:TIME" on page 383 • ":MTESt:RMODe:WAVeforms" on page 384 Example Code • "Example Code" on page 360 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 378: Mtest:rmode:faction:measure

    Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:RMODe:FACTion:PRINt" on page 379 • ":MTESt:RMODe:FACTion:SAVE" on page 380 • ":MTESt:RMODe:FACTion:STOP" on page 381 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 379: Mtest:rmode:faction:print

    Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:RMODe:FACTion:MEASure" on page 378 • ":MTESt:RMODe:FACTion:SAVE" on page 380 • ":MTESt:RMODe:FACTion:STOP" on page 381 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 380: Mtest:rmode:faction:save

    Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:RMODe:FACTion:MEASure" on page 378 • ":MTESt:RMODe:FACTion:PRINt" on page 379 • ":MTESt:RMODe:FACTion:STOP" on page 381 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 381: Mtest:rmode:faction:stop

    Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:RMODe:FACTion:MEASure" on page 378 • ":MTESt:RMODe:FACTion:PRINt" on page 379 • ":MTESt:RMODe:FACTion:SAVE" on page 380 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 382: Mtest:rmode:sigma

    <level><NL> <level> ::= from 0.1 to 9.3 in NR3 format See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:RMODe" on page 377 Example Code • "Example Code" on page 360 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 383: Mtest:rmode:time

    The :MTESt:RMODe:TIME? query returns the number of seconds currently set. Return Format <seconds><NL> <seconds> ::= from 1 to 86400 in NR3 format See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:RMODe" on page 377 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 384: Mtest:rmode:waveforms

    The :MTESt:RMODe:WAVeforms? query returns the number of waveforms currently set. Return Format <count><NL> <count> ::= number of waveforms in NR1 format from 1 to 2,000,000,000 See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:RMODe" on page 377 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 385: Mtest:scale:bind

    <on_off> ::= {1 | 0} See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:SCALe:X1" on page 386 • ":MTESt:SCALe:XDELta" on page 387 • ":MTESt:SCALe:Y1" on page 388 • ":MTESt:SCALe:Y2" on page 389 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 386: Mtest:scale:x1

    <x1_value> ::= X1 value in NR3 format See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:SCALe:BIND" on page 385 • ":MTESt:SCALe:XDELta" on page 387 • ":MTESt:SCALe:Y1" on page 388 • ":MTESt:SCALe:Y2" on page 389 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 387: Mtest:scale:xdelta

    <xdelta_value> ::= X delta value in NR3 format See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:SCALe:BIND" on page 385 • ":MTESt:SCALe:X1" on page 386 • ":MTESt:SCALe:Y1" on page 388 • ":MTESt:SCALe:Y2" on page 389 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 388: Mtest:scale:y1

    <y1_value> ::= Y1 value in NR3 format See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:SCALe:BIND" on page 385 • ":MTESt:SCALe:X1" on page 386 • ":MTESt:SCALe:XDELta" on page 387 • ":MTESt:SCALe:Y2" on page 389 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 389: Mtest:scale:y2

    <y2_value> ::= Y2 value in NR3 format See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:SCALe:BIND" on page 385 • ":MTESt:SCALe:X1" on page 386 • ":MTESt:SCALe:XDELta" on page 387 • ":MTESt:SCALe:Y1" on page 388 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 390: Mtest:source

    <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:AMASk:SOURce" on page 364 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 391: Mtest:title

    128 characters. The title is displayed in the mask test dialog box and mask test tab when a mask file is loaded. Return Format <title><NL> <title> ::= a string of up to 128 ASCII characters. See Also • "Introduction to :MTESt Commands" on page 360 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 392: Pod Commands

    Use :POD1? or :POD2? to query setup information for the POD subsystem. Return Format The following is a sample response from the :POD1? query. In this case, the query was issued following a *RST command. :POD1:DISP 0;THR +1.40E+00 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 393: Pod:Display

    • "Introduction to :POD<n> Commands" on page 392 • ":DIGital<n>:DISPlay" on page 239 • ":CHANnel<n>:DISPlay" on page 222 • ":VIEW" on page 180 • ":BLANk" on page 148 • ":STATus" on page 177 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 394: Pod:Size

    The :POD<n>:SIZE? query returns the size setting for the specified group of channels. Return Format <size_value><NL> <size_value> ::= {SMAL | MED | LARG} See Also • "Introduction to :POD<n> Commands" on page 392 • ":DIGital<n>:SIZE" on page 242 • ":DIGital<n>:POSition" on page 241 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 395: Pod:Threshold

    ' 8-15 to a user-defined 2.0 volts, and then set the external trigger ' to TTL. Of course, you only need to set the thresholds for the ' channels you will be using in your program. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 396 ' Set channels 8-15 to 2.0 volts. myScope.WriteString ":POD2:THRESHOLD 2.0" ' Set external channel to TTL threshold (short form). myScope.WriteString ":TRIG:LEV TTL,EXT" Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 397: Recall Commands

    Use :RECall? to query setup information for the RECall subsystem. Return Format The following is a sample response from the :RECall? query. In this case, the query was issued following the *RST command. :REC:FIL "scope_0" Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 398: Recall:filename

    Return Format <base_name><NL> <base_name> ::= quoted ASCII string See Also • "Introduction to :RECall Commands" on page 397 • ":RECall:IMAGe[:STARt]" on page 399 • ":RECall:SETup[:STARt]" on page 402 • ":SAVE:FILename" on page 405 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 399: Recall:image[:Start]

    If a file extension is provided as part of a specified <file_name>, it must be ".tif". N O T E See Also • "Introduction to :RECall Commands" on page 397 • ":RECall:FILename" on page 398 • ":SAVE:IMAGe[:STARt]" on page 406 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 400: Recall:mask[:Start]

    If a file extension is provided as part of a specified <file_name>, it must be ".msk". N O T E See Also • "Introduction to :RECall Commands" on page 397 • ":RECall:FILename" on page 398 • ":SAVE:MASK[:STARt]" on page 413 • ":MTESt:DATA" on page 372 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 401: Recall:pwd

    The :RECall:PWD? query returns the currently set working directory for recall operations. Return Format <path_name><NL> <path_name> ::= quoted ASCII string See Also • "Introduction to :RECall Commands" on page 397 • ":SAVE:PWD" on page 414 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 402: Recall:setup[:Start]

    If a file extension is provided as part of a specified <file_name>, it must be ".scp". N O T E See Also • "Introduction to :RECall Commands" on page 397 • ":RECall:FILename" on page 398 • ":SAVE:SETup[:STARt]" on page 415 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 403: Save Commands

    [<file_spec>] (see | <file_name>} page 413) <internal_loc> ::= 0-3; an integer in NR1 format <file_name> ::= quoted ASCII string :SAVE:PWD <path_name> :SAVE:PWD? (see <path_name> ::= quoted ASCII (see page 414) page 414) string Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 404 Return Format The following is a sample response from the :SAVE? query. In this case, the query was issued following the *RST command. :SAVE:FIL "";:SAVE:IMAG:AREA GRAT;FACT 0;FORM TIFF;INKS 0;PAL MON;:SAVE:PWD "C:/setups/";:SAVE:WAV:FORM NONE;LENG 1000;SEGM CURR Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 405: Save:filename

    • "Introduction to :SAVE Commands" on page 404 • ":SAVE:IMAGe[:STARt]" on page 406 • ":SAVE:SETup[:STARt]" on page 415 • ":SAVE:WAVeform[:STARt]" on page 416 • ":SAVE:PWD" on page 414 • ":RECall:FILename" on page 398 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 406: Save:image[:Start]

    407 • ":SAVE:IMAGe:FACTors" on page 408 • ":SAVE:IMAGe:FORMat" on page 409 • ":SAVE:IMAGe:INKSaver" on page 410 • ":SAVE:IMAGe:PALette" on page 411 • ":SAVE:FILename" on page 405 • ":RECall:IMAGe[:STARt]" on page 399 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 407: Save:image:area

    • "Introduction to :SAVE Commands" on page 404 • ":SAVE:IMAGe[:STARt]" on page 406 • ":SAVE:IMAGe:FACTors" on page 408 • ":SAVE:IMAGe:FORMat" on page 409 • ":SAVE:IMAGe:INKSaver" on page 410 • ":SAVE:IMAGe:PALette" on page 411 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 408: Save:image:factors

    • "Introduction to :SAVE Commands" on page 404 • ":SAVE:IMAGe[:STARt]" on page 406 • ":SAVE:IMAGe:AREA" on page 407 • ":SAVE:IMAGe:FORMat" on page 409 • ":SAVE:IMAGe:INKSaver" on page 410 • ":SAVE:IMAGe:PALette" on page 411 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 409: Save:image:format

    404 • ":SAVE:IMAGe[:STARt]" on page 406 • ":SAVE:IMAGe:AREA" on page 407 • ":SAVE:IMAGe:FACTors" on page 408 • ":SAVE:IMAGe:INKSaver" on page 410 • ":SAVE:IMAGe:PALette" on page 411 • ":SAVE:WAVeform:FORMat" on page 417 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 410: Save:image:inksaver

    • "Introduction to :SAVE Commands" on page 404 • ":SAVE:IMAGe[:STARt]" on page 406 • ":SAVE:IMAGe:AREA" on page 407 • ":SAVE:IMAGe:FACTors" on page 408 • ":SAVE:IMAGe:FORMat" on page 409 • ":SAVE:IMAGe:PALette" on page 411 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 411: Save:image:palette

    • "Introduction to :SAVE Commands" on page 404 • ":SAVE:IMAGe[:STARt]" on page 406 • ":SAVE:IMAGe:AREA" on page 407 • ":SAVE:IMAGe:FACTors" on page 408 • ":SAVE:IMAGe:FORMat" on page 409 • ":SAVE:IMAGe:INKSaver" on page 410 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 412: Save:lister[:Start]

    If a file extension is provided as part of a specified <file_name>, it must be ".csv". N O T E See Also • "Introduction to :SAVE Commands" on page 404 • ":SAVE:FILename" on page 405 • ":LISTer Commands" on page 292 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 413: Save:mask[:Start]

    If a file extension is provided as part of a specified <file_name>, it must be ".msk". N O T E See Also • "Introduction to :SAVE Commands" on page 404 • ":SAVE:FILename" on page 405 • ":RECall:MASK[:STARt]" on page 400 • ":MTESt:DATA" on page 372 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 414: Save:pwd

    The :SAVE:PWD? query returns the currently set working directory for save operations. Return Format <path_name><NL> <path_name> ::= quoted ASCII string See Also • "Introduction to :SAVE Commands" on page 404 • ":SAVE:FILename" on page 405 • ":RECall:PWD" on page 401 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 415: Save:setup[:Start]

    If a file extension is provided as part of a specified <file_name>, it must be ".scp". N O T E See Also • "Introduction to :SAVE Commands" on page 404 • ":SAVE:FILename" on page 405 • ":RECall:SETup[:STARt]" on page 402 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 416: Save:waveform[:Start]

    See Also • "Introduction to :SAVE Commands" on page 404 • ":SAVE:WAVeform:FORMat" on page 417 • ":SAVE:WAVeform:LENGth" on page 418 • ":SAVE:FILename" on page 405 • ":RECall:SETup[:STARt]" on page 402 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 417: Save:waveform:format

    When NONE is returned, it indicates that an image file format is currently selected. See Also • "Introduction to :SAVE Commands" on page 404 • ":SAVE:WAVeform[:STARt]" on page 416 • ":SAVE:WAVeform:LENGth" on page 418 • ":SAVE:IMAGe:FORMat" on page 409 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 418: Save:waveform:length

    <length> ::= 100 to max. length; an integer in NR1 format See Also • "Introduction to :SAVE Commands" on page 404 • ":SAVE:WAVeform[:STARt]" on page 416 • ":WAVeform:POINts" on page 629 • ":SAVE:WAVeform:FORMat" on page 417 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 419: Save:waveform:segmented

    Return Format <option><NL> <option> ::= {ALL | CURR} See Also • "Introduction to :SAVE Commands" on page 404 • ":SAVE:WAVeform[:STARt]" on page 416 • ":SAVE:WAVeform:FORMat" on page 417 • ":SAVE:WAVeform:LENGth" on page 418 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 420: Sbus Commands

    <base> ::= {DECimal | HEX} <base> (see page 435) (see page 435) :SBUS:MODE <mode> :SBUS:MODE? (see <mode> ::= {CAN | FLEXray | I2S | (see page 436) page 436) IIC | LIN | SPI | UART} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 421 Use :SBUS? to query setup information for the :SBUS subsystem. Return Format The following is a sample response from the :SBUS? query. In this case, the query was issued following a *RST command. :SBUS:DISP 0;MODE IIC Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 422: Sbus:can:count:error

    "- 241, Hardware missing" on page 745 See Also • ":SBUS:CAN:COUNt:RESet" on page 424 • "Introduction to :SBUS Commands" on page 421 • ":SBUS:MODE" on page 436 • ":TRIGger:CAN Commands" on page 478 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 423: Sbus:can:count:overload

    "- 241, Hardware missing" on page 745 See Also • ":SBUS:CAN:COUNt:RESet" on page 424 • "Introduction to :SBUS Commands" on page 421 • ":SBUS:MODE" on page 436 • ":TRIGger:CAN Commands" on page 478 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 424: Sbus:can:count:reset

    ":SBUS:CAN:COUNt:OVERload" on page 423 • ":SBUS:CAN:COUNt:TOTal" on page 425 • ":SBUS:CAN:COUNt:UTILization" on page 426 • "Introduction to :SBUS Commands" on page 421 • ":SBUS:MODE" on page 436 • ":TRIGger:CAN Commands" on page 478 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 425: Sbus:can:count:total

    "- 241, Hardware missing" on page 745 See Also • ":SBUS:CAN:COUNt:RESet" on page 424 • "Introduction to :SBUS Commands" on page 421 • ":SBUS:MODE" on page 436 • ":TRIGger:CAN Commands" on page 478 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 426: Sbus:can:count:utilization

    "- 241, Hardware missing" on page 745 See Also • ":SBUS:CAN:COUNt:RESet" on page 424 • "Introduction to :SBUS Commands" on page 421 • ":SBUS:MODE" on page 436 • ":TRIGger:CAN Commands" on page 478 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 427: Sbus:display

    421 • ":CHANnel<n>:DISPlay" on page 222 • ":DIGital<n>:DISPlay" on page 239 • ":POD<n>:DISPlay" on page 393 • ":VIEW" on page 180 • ":BLANk" on page 148 • ":STATus" on page 177 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 428: Sbus:flexray:count:null

    "- 241, Hardware missing" on page 745 See Also • ":SBUS:FLEXray:COUNt:RESet" on page 429 • "Introduction to :SBUS Commands" on page 421 • ":SBUS:MODE" on page 436 • ":TRIGger:FLEXray Commands" on page 505 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 429: Sbus:flexray:count:reset

    ":SBUS:FLEXray:COUNt:NULL" on page 428 • ":SBUS:FLEXray:COUNt:SYNC" on page 430 • ":SBUS:FLEXray:COUNt:TOTal" on page 431 • "Introduction to :SBUS Commands" on page 421 • ":SBUS:MODE" on page 436 • ":TRIGger:FLEXray Commands" on page 505 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 430: Sbus:flexray:count:sync

    "- 241, Hardware missing" on page 745 See Also • ":SBUS:FLEXray:COUNt:RESet" on page 429 • "Introduction to :SBUS Commands" on page 421 • ":SBUS:MODE" on page 436 • ":TRIGger:FLEXray Commands" on page 505 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 431: Sbus:flexray:count:total

    "- 241, Hardware missing" on page 745 See Also • ":SBUS:FLEXray:COUNt:RESet" on page 429 • "Introduction to :SBUS Commands" on page 421 • ":SBUS:MODE" on page 436 • ":TRIGger:FLEXray Commands" on page 505 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 432: Sbus:i2S:base

    Return Format <base><NL> <base> ::= {DECimal | HEX} Errors • "- 241, Hardware missing" on page 745 See Also • "Introduction to :SBUS Commands" on page 421 • ":TRIGger:I2S Commands" on page 526 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 433: Sbus:iic:asize

    Return Format <mode><NL> <mode> ::= {BIT7 | BIT8} Errors • "- 241, Hardware missing" on page 745 See Also • "Introduction to :SBUS Commands" on page 421 • ":TRIGger:IIC Commands" on page 544 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 434: Sbus:lin:parity

    Return Format <display><NL> <display> ::= {0 | 1} Errors • "- 241, Hardware missing" on page 745 See Also • "Introduction to :SBUS Commands" on page 421 • ":TRIGger:LIN Commands" on page 553 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 435: Sbus:m1553:Base

    Return Format <base><NL> <base> ::= {BIN | HEX} Errors • "- 241, Hardware missing" on page 745 See Also • "Introduction to :SBUS Commands" on page 421 • ":TRIGger:M1553 Commands" on page 566 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 436: Sbus:mode

    526 • ":TRIGger:IIC Commands" on page 544 • ":TRIGger:LIN Commands" on page 553 • ":TRIGger:M1553 Commands" on page 566 • ":TRIGger:SPI Commands" on page 581 • ":TRIGger:UART Commands" on page 596 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 437: Sbus:spi:bitorder

    <order> ::= {LSBF | MSBF} Errors • "- 241, Hardware missing" on page 745 See Also • "Introduction to :SBUS Commands" on page 421 • ":SBUS:MODE" on page 436 • ":TRIGger:SPI Commands" on page 581 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 438: Sbus:spi:width

    <word_width> ::= integer 4-16 in NR1 format Errors • "- 241, Hardware missing" on page 745 See Also • "Introduction to :SBUS Commands" on page 421 • ":SBUS:MODE" on page 436 • ":TRIGger:SPI Commands" on page 581 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 439: Sbus:uart:base

    <base><NL> <base> ::= {ASCii | BINary | HEX} Errors • "- 241, Hardware missing" on page 745 See Also • "Introduction to :SBUS Commands" on page 421 • ":TRIGger:UART Commands" on page 596 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 440: Sbus:uart:count:error

    "- 241, Hardware missing" on page 745 See Also • ":SBUS:UART:COUNt:RESet" on page 441 • "Introduction to :SBUS Commands" on page 421 • ":SBUS:MODE" on page 436 • ":TRIGger:UART Commands" on page 596 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 441: Sbus:uart:count:reset

    ":SBUS:UART:COUNt:ERRor" on page 440 • ":SBUS:UART:COUNt:RXFRames" on page 442 • ":SBUS:UART:COUNt:TXFRames" on page 443 • "Introduction to :SBUS Commands" on page 421 • ":SBUS:MODE" on page 436 • ":TRIGger:UART Commands" on page 596 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 442: Sbus:uart:count:rxframes

    "- 241, Hardware missing" on page 745 See Also • ":SBUS:UART:COUNt:RESet" on page 441 • "Introduction to :SBUS Commands" on page 421 • ":SBUS:MODE" on page 436 • ":TRIGger:UART Commands" on page 596 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 443: Sbus:uart:count:txframes

    "- 241, Hardware missing" on page 745 See Also • ":SBUS:UART:COUNt:RESet" on page 441 • "Introduction to :SBUS Commands" on page 421 • ":SBUS:MODE" on page 436 • ":TRIGger:UART Commands" on page 596 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 444: Sbus:uart:framing

    <decimal> ::= 8-bit integer in decimal from 0-255 Errors • "- 241, Hardware missing" on page 745 See Also • "Introduction to :SBUS Commands" on page 421 • ":TRIGger:UART Commands" on page 596 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 445: System Commands

    NR1 format Introduction to SYSTem subsystem commands enable writing messages to the display, :SYSTem setting and reading both the time and the date, querying for errors, and Commands saving and recalling setups. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 446: System:date

    Query Syntax :SYSTem:DATE? The SYSTem:DATE? query returns the date. Return Format <year>,<month>,<day><NL> See Also • "Introduction to :SYSTem Commands" on page 445 • ":SYSTem:TIME" on page 454 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 447: System:dsp

    (Two sets of quote marks without a space between them creates a NULL string.) Press any menu key to manually remove the message from the display. See Also • "Introduction to :SYSTem Commands" on page 445 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 448: System:error

    8, “Error Messages,” starting on page 743. See Also • "Introduction to :SYSTem Commands" on page 445 • "*ESR (Standard Event Status Register)" on page 120 • "*CLS (Clear Status)" on page 117 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 449: System:lock

    Query Syntax :SYSTem:LOCK? The :SYSTem:LOCK? query returns the lock status of the front panel. Return Format <value><NL> <value> ::= {1 | 0} See Also • "Introduction to :SYSTem Commands" on page 445 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 450: System:precision

    The :SYSTem:PRECision? query returns the current precision analysis setting. Return Format <value><NL> <value> ::= {1 | 0} See Also • "Introduction to :SYSTem Commands" on page 445 • ":WAVeform:POINts:MODE" on page 631 • "*RST (Reset)" on page 128 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 451: System:protection:lock

    Query Syntax :SYSTem:PROTection:LOCK? The :SYSTem:PROTection:LOCK? query returns the analog channel protection lock status. Return Format <value><NL> <value> ::= {1 | 0} See Also • "Introduction to :SYSTem Commands" on page 445 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 452: System:setup

    ' write it back to the oscilloscope. Dim varSetupString As Variant strPath = "c:\scope\config\setup.dat" ' Open file for input. Open strPath For Binary Access Read As #1 Get #1, , varSetupString ' Read data. Close #1 ' Close file. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 453 Commands by Subsystem ' Write setup string back to oscilloscope using ":SYSTEM:SETUP" ' command: myScope.WriteIEEEBlock ":SYSTEM:SETUP ", varSetupString CheckForInstrumentErrors Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 454: System:time

    :SYSTem:TIME? <time> The :SYSTem:TIME? query returns the current system time. Return Format <time><NL> <time> ::= hours,minutes,seconds in NR1 format See Also • "Introduction to :SYSTem Commands" on page 445 • ":SYSTem:DATE" on page 446 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 455: Timebase Commands

    NR3 format for the page 465) zoomed window :TIMebase:WINDow:SCAL :TIMebase:WINDow:SCAL <scale_value> ::= scale value in e <scale_value> (see e? (see page 466) seconds in NR3 format for the page 466) zoomed window Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 456 Use :TIMebase? to query setup information for the TIMebase subsystem. Return Format The following is a sample response from the :TIMebase? query. In this case, the query was issued following a *RST command. :TIM:MODE MAIN;REF CENT;MAIN:RANG +1.00E-03;POS +0.0E+00 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 457: Timebase:mode

    ' Set the time base mode to MAIN, DELAYED, XY, or ROLL. ' Set time base mode to main. myScope.WriteString ":TIMEBASE:MODE MAIN" Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 458: Timebase:position

    • "Introduction to :TIMebase Commands" on page 456 • ":TIMebase:REFerence" on page 461 • ":TIMebase:RANGe" on page 459 • ":TIMebase:SCALe" on page 462 • ":TIMebase:WINDow:POSition" on page 464 • ":TIMebase:DELay" on page 737 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 459: Timebase:range

    ' range value is 10 times the time per division. myScope.WriteString ":TIM:RANG 2e-3" ' Set the time range to 0.002 seconds. Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 460: Timebase:refclock

    (on), and a "0" indicates that either the 10 MHz REF BNC is disabled (off) or that it is set as an output (by the :ACQuire:RSIGnal command). Return Format <value><NL> <value> ::= {0 | 1} See Also • ":ACQuire:RSIGnal" on page 189 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 461: Timebase:reference

    - CENTER sets the display reference to the center of the screen. myScope.WriteString ":TIMEBASE:REFERENCE CENTER" ' Set reference to center. Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 462: Timebase:scale

    <scale_value> ::= 500 ps through 50 s in NR3 format See Also • "Introduction to :TIMebase Commands" on page 456 • ":TIMebase:RANGe" on page 459 • ":TIMebase:WINDow:SCALe" on page 466 • ":TIMebase:WINDow:RANGe" on page 465 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 463: Timebase:vernier

    The :TIMebase:VERNier? query returns the current state of the time base control's vernier setting. Return Format <vernier value><NL> <vernier value> ::= {0 | 1} See Also • "Introduction to :TIMebase Commands" on page 456 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 464: Timebase:window:position

    456 • ":TIMebase:MODE" on page 457 • ":TIMebase:POSition" on page 458 • ":TIMebase:RANGe" on page 459 • ":TIMebase:SCALe" on page 462 • ":TIMebase:WINDow:RANGe" on page 465 • ":TIMebase:WINDow:SCALe" on page 466 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 465: Timebase:window:range

    Return Format <value><NL> <value> ::= range value in seconds See Also • "Introduction to :TIMebase Commands" on page 456 • ":TIMebase:RANGe" on page 459 • ":TIMebase:POSition" on page 458 • ":TIMebase:SCALe" on page 462 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 466: Timebase:window:scale

    <scale_value> ::= current seconds per division for the zoomed window See Also • "Introduction to :TIMebase Commands" on page 456 • ":TIMebase:RANGe" on page 459 • ":TIMebase:POSition" on page 458 • ":TIMebase:SCALe" on page 462 • ":TIMebase:WINDow:RANGe" on page 465 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 467: Trigger Commands

    AUTO mode is useful for signals other than low- repetitive- rate signals. You must use this mode to display a DC signal because there are no edges on which to trigger. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 468 With the automotive CAN and LIN serial decode option (Option ASM), you can also trigger on Frame IDs. • MIL- STD 1553 triggering (with Option 553) — lets you trigger on MIL- STD 1553 serial data. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 469 The following is a sample response from the :TRIGger? query. In this case, the query was issued following a *RST command. :TRIG:MODE EDGE;SWE AUTO;NREJ 0;HFR 0;HOLD +60.0000000000000E-09; :TRIG:EDGE:SOUR CHAN1;LEV +0.00000E+00;SLOP POS;REJ OFF;COUP DC Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 470: General :Trigger Commands

    DIGital0,..,DIGital15 | NONE} for MSO models <edge> ::= {POSitive | NEGative} <n> ::= 1-2 or 1-4 in NR1 format :TRIGger:SWEep :TRIGger:SWEep? (see <sweep> ::= {AUTO | NORMal} <sweep> (see page 477) page 477) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 471: Trigger:hfreject

    The :TRIGger:HFReject? query returns the current high frequency reject filter mode. Return Format <value><NL> <value> ::= {0 | 1} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger[:EDGE]:REJect" on page 502 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 472: Trigger:holdoff

    The :TRIGger:HOLDoff? query returns the holdoff time value for the current trigger mode. Return Format <holdoff_time><NL> <holdoff_time> ::= the holdoff time value in seconds in NR3 format. See Also • "Introduction to :TRIGger Commands" on page 467 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 473: Trigger:mode

    477 • ":TIMebase:MODE" on page 457 Example Code ' TRIGGER_MODE - Set the trigger mode to EDGE. myScope.WriteString ":TRIGGER:MODE EDGE" Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 474: Trigger:nreject

    This command is not valid in TV trigger mode. Query Syntax :TRIGger:NREJect? The :TRIGger:NREJect? query returns the current noise reject filter mode. Return Format <value><NL> <value> ::= {0 | 1} See Also • "Introduction to :TRIGger Commands" on page 467 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 475: Trigger:pattern

    The optional source and the optional edge should be sent together or not at all. The edge N O T E will be set in the simple pattern if it is included. If the edge source is also specified in the mask, the edge takes precedence. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 476 The :TRIGger:PATTern? query returns the pattern value, the mask, and the edge of interest in the simple pattern. Return Format <pattern><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 477: Trigger:sweep

    N O T E Query Syntax :TRIGger:SWEep? The :TRIGger:SWEep? query returns the current trigger sweep mode. Return Format <sweep><NL> <sweep> ::= current trigger sweep mode See Also • "Introduction to :TRIGger Commands" on page 467 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 478: Trigger:can Commands

    | 75 | 80 | 87.5} in NR3 format page 484) :TRIGger:CAN:SIGNal:B :TRIGger:CAN:SIGNal:B <baudrate> ::= integer from 10000 AUDrate <baudrate> AUDrate? (see to 1000000 in 100 b/s increments (see page 485) page 485) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 479 <condition> ::= {SOF} (without <condition> (see (see page 488) Option AMS) page 487) <condition> ::= {SOF | DATA | ERRor | IDData | IDEither | IDRemote | ALLerrors | OVERload | ACKerror} (with Option AMS) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 480: Trigger:can:pattern:data

    <value>, <mask><NL> in nondecimal format Errors • "- 241, Hardware missing" on page 745 See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:CAN:PATTern:DATA:LENGth" on page 481 • ":TRIGger:CAN:PATTern:ID" on page 482 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 481: Trigger:can:pattern:data:length

    <count> ::= integer from 1 to 8 in NR1 format Errors • "- 241, Hardware missing" on page 745 See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:CAN:PATTern:DATA" on page 480 • ":TRIGger:CAN:SOURce" on page 486 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 482: Trigger:can:pattern:id

    <value>, <mask><NL> in nondecimal format Errors • "- 241, Hardware missing" on page 745 See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:CAN:PATTern:ID:MODE" on page 483 • ":TRIGger:CAN:PATTern:DATA" on page 480 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 483: Trigger:can:pattern:id:mode

    745 See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:CAN:PATTern:DATA" on page 480 • ":TRIGger:CAN:PATTern:DATA:LENGth" on page 481 • ":TRIGger:CAN:PATTern:ID" on page 482 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 484: Trigger:can:samplepoint

    <value> ::= {60 | 62.5 | 68 | 70 | 75 | 80 | 87.5} in NR3 format See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:CAN:TRIGger" on page 487 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 485: Trigger:can:signal:baudrate

    <baudrate> ::= integer from 10000 to 1000000 in 100 b/s increments See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:CAN:TRIGger" on page 487 • ":TRIGger:CAN:SIGNal:DEFinition" on page 739 • ":TRIGger:CAN:SOURce" on page 486 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 486: Trigger:can:source

    The :TRIGger:CAN:SOURce? query returns the current source for the CAN signal. Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:CAN:TRIGger" on page 487 • ":TRIGger:CAN:SIGNal:DEFinition" on page 739 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 487: Trigger:can:trigger

    Id - Remote or Data Frame Id IDRemote Id & RTR - Remote Frame Id (RTR) ALLerrors All Errors - All Errors OVERload Overload - Overload Frame ACKerror Ack Error - Acknowledge Error Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 488 473 • ":TRIGger:CAN:PATTern:DATA" on page 480 • ":TRIGger:CAN:PATTern:DATA:LENGth" on page 481 • ":TRIGger:CAN:PATTern:ID" on page 482 • ":TRIGger:CAN:PATTern:ID:MODE" on page 483 • ":TRIGger:CAN:SIGNal:DEFinition" on page 739 • ":TRIGger:CAN:SOURce" on page 486 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 489: Trigger:duration Commands

    494) 10 seconds in NR3 format <less_than_time>[suff <greater_than_time> ::= 10 ns to ix], 9.99 seconds in NR3 format <greater_than_time>[s [suffix] ::= {s | ms | us | ns | uffix] (see page 494) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 490: Trigger:duration:greaterthan

    Return Format <greater_than_time><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:DURation:PATTern" on page 492 • ":TRIGger:DURation:QUALifier" on page 493 • ":TRIGger:MODE" on page 473 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 491: Trigger:duration:lessthan

    The :TRIGger:DURation:LESSthan? query returns the duration time for the defined pattern. Return Format <less_than_time><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:DURation:PATTern" on page 492 • ":TRIGger:DURation:QUALifier" on page 493 • ":TRIGger:MODE" on page 473 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 492: Trigger:duration:pattern

    <value>, <mask><NL> <value> ::= a 32-bit integer in NR1 format. <mask> ::= a 32-bit integer in NR1 format. See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:PATTern" on page 475 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 493: Trigger:duration:qualifier

    The :TRIGger:DURation:QUALifier? query returns the trigger duration qualifier. Return Format <qualifier><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:DURation:GREaterthan" on page 490 • ":TRIGger:DURation:LESSthan" on page 491 • ":TRIGger:DURation:RANGe" on page 494 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 494: Trigger:duration:range

    The :TRIGger:DURation:RANGe? query returns the duration time for the defined pattern. Return Format <less_than_time>,<greater_than_time><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:DURation:PATTern" on page 492 • ":TRIGger:DURation:QUALifier" on page 493 • ":TRIGger:MODE" on page 473 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 495: Trigger:eburst Commands

    :TRIGger:EDGE:LEVel command is used to set the Nth Edge Burst trigger level. If a digital channel is selected as the source, the :DIGital<n>:THReshold or :POD<n>:THReshold command is used to set the Nth Edge Burst trigger level. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 496: Trigger:eburst:count

    The :TRIGger:EBURst:COUNt? query returns the current Nth edge of burst edge counter setting. Return Format <count><NL> <count> ::= integer in NR1 format See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:EBURst:SLOPe" on page 498 • ":TRIGger:EBURst:IDLE" on page 497 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 497: Trigger:eburst:idle

    Return Format <time value><NL> <time_value> ::= time in seconds in NR3 format See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:EBURst:SLOPe" on page 498 • ":TRIGger:EBURst:COUNt" on page 496 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 498: Trigger:eburst:slope

    The :TRIGger:EBURst:SLOPe? query returns the current Nth edge in a burst slope. Return Format <slope><NL> <slope> ::= {NEG | POS} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:EBURst:IDLE" on page 497 • ":TRIGger:EBURst:COUNt" on page 496 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 499: Trigger[:Edge] Commands

    <source> ::= {CHANnel<n> | e <source> (see e? (see page 504) EXTernal} for DSO models page 504) <source> ::= {CHANnel<n> | DIGital0,..,DIGital15 | EXTernal} for MSO models <n> ::= 1-2 or 1-4 in NR1 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 500: Trigger[:Edge]:Coupling

    The :TRIGger[:EDGE]:COUPling? query returns the current coupling selection. Return Format <coupling><NL> <coupling> ::= {AC | DC | LFR} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger[:EDGE]:REJect" on page 502 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 501: Trigger[:Edge]:Level

    Return Format <level><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger[:EDGE]:SOURce" on page 504 • ":EXTernal:RANGe" on page 262 • ":POD<n>:THReshold" on page 395 • ":DIGital<n>:THReshold" on page 243 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 502: Trigger[:Edge]:Reject

    The :TRIGger[:EDGE]:REJect? query returns the current status of the reject filter. Return Format <reject><NL> <reject> ::= {OFF | LFR | HFR} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:HFReject" on page 471 • ":TRIGger[:EDGE]:COUPling" on page 500 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 503: Trigger[:Edge]:Slope

    ' TRIGGER_EDGE_SLOPE - Sets the slope of the edge for the trigger. ' Set the slope to positive. myScope.WriteString ":TRIGGER:EDGE:SLOPE POSITIVE" Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 504: Trigger[:Edge]:Source

    ' TRIGGER_EDGE_SOURCE - Selects the channel that actually produces th ' edge trigger. Any channel can be selected. myScope.WriteString ":TRIGGER:EDGE:SOURCE CHANNEL1" Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 505: Trigger:flexray Commands

    <source> (see ce? (see page 515) <n> ::= 1-2 or 1-4 in NR1 format page 515) :TRIGger:FLEXray:TRIG :TRIGger:FLEXray:TRIG <condition> ::= {FRAMe | ERRor | ger <condition> (see ger? (see page 516) EVENt} page 516) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 506: Trigger:flexray:autosetup

    FLX) has been licensed. See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:FLEXray:TRIGger" on page 516 • ":TRIGger:FLEXray:BAUDrate" on page 507 • ":TRIGger[:EDGE]:LEVel" on page 501 • ":TRIGger:FLEXray:SOURce" on page 515 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 507: Trigger:flexray:baudrate

    The :TRIGger:FLEXray:BAUDrate? query returns the current baud rate setting. Return Format <baudrate><NL> <baudrate> ::= {2500000 | 5000000 | 10000000} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:FLEXray Commands" on page 505 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 508: Trigger:flexray:channel

    The :TRIGger:FLEXray:CHANnel? query returns the current bus channel setting. Return Format <channel><NL> <channel> ::= {A | B} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:FLEXray Commands" on page 505 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 509: Trigger:flexray:error:type

    The :TRIGger:FLEXray:ERRor:TYPE? query returns the currently selected FLEXray error type. Return Format <error_type><NL> <error_type> ::= {ALL | HCRC | FCRC} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:FLEXray:TRIGger" on page 516 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 510: Trigger:flexray:event:type

    <event> ::= {WAK | TSS | {FES | DTS} | BSS} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:FLEXray:TRIGger" on page 516 • ":TRIGger:FLEXray:AUTosetup" on page 506 • ":TRIGger:FLEXray:SOURce" on page 515 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 511: Trigger:flexray:frame:ccbase

    The :TRIGger:FLEXray:FRAMe:CCBase? query returns the current cycle count base setting for the FlexRay frame trigger setup. Return Format <cycle_count_base><NL> <cycle_count_base> ::= integer from 0-63 See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:FLEXray:TRIGger" on page 516 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 512: Trigger:flexray:frame:ccrepetition

    FlexRay frame trigger setup. Return Format <cycle_count_repetition><NL> <cycle_count_repetition> ::= {ALL | <rep #>} <rep #> ::= integer from 2-64 See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:FLEXray:TRIGger" on page 516 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 513: Trigger:flexray:frame:id

    <frame_id><NL> <frame_id> ::= {ALL | <frame #>} <frame #> ::= integer from 1-2047 See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:FLEXray:TRIGger" on page 516 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 514: Trigger:flexray:frame:type

    <frame_type> ::= {NORM | STAR | NULL | SYNC | NSTA | NNUL | NSYN | ALL} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:FLEXray:TRIGger" on page 516 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 515: Trigger:flexray:source

    The :TRIGger:FLEXray:SOURce? query returns the current source for the FlexRay signal. Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:FLEXray:TRIGger" on page 516 • ":TRIGger:FLEXray:EVENt:TYPE" on page 510 • ":TRIGger:FLEXray:AUTosetup" on page 506 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 516: Trigger:flexray:trigger

    473 • ":TRIGger:FLEXray:ERRor:TYPE" on page 509 • ":TRIGger:FLEXray:EVENt:TYPE" on page 510 • ":TRIGger:FLEXray:FRAMe:CCBase" on page 511 • ":TRIGger:FLEXray:FRAMe:CCRepetition" on page 512 • ":TRIGger:FLEXray:FRAMe:ID" on page 513 • ":TRIGger:FLEXray:FRAMe:TYPE" on page 514 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 517: Trigger:glitch Commands

    :TRIGger:GLITch:POLar <polarity> ::= {POSitive | ity <polarity> (see ity? (see page 522) NEGative} page 522) :TRIGger:GLITch:QUALi :TRIGger:GLITch:QUALi <qualifier> ::= {GREaterthan | fier <qualifier> (see fier? (see page 523) LESSthan | RANGe} page 523) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 518 <source> ::= {CHANnel<n> | e <source> (see e? (see page 525) EXTernal} for DSO models page 525) <source> ::= {CHANnel<n> | DIGital0,..,DIGital15 } for MSO models <n> ::= 1-2 or 1-4 in NR1 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 519: Trigger:glitch:greaterthan

    <greater_than_time><NL> <greater_than_time> ::= floating-point number in NR3 format. See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:GLITch:SOURce" on page 525 • ":TRIGger:GLITch:QUALifier" on page 523 • ":TRIGger:MODE" on page 473 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 520: Trigger:glitch:lessthan

    <less_than_time><NL> <less_than_time> ::= floating-point number in NR3 format. See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:GLITch:SOURce" on page 525 • ":TRIGger:GLITch:QUALifier" on page 523 • ":TRIGger:MODE" on page 473 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 521: Trigger:glitch:level

    If all channels are off, the query returns "NONE." Return Format <level_argument><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:GLITch:SOURce" on page 525 • ":EXTernal:RANGe" on page 262 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 522: Trigger:glitch:polarity

    The :TRIGger:GLITch:POLarity? query returns the glitch pulse width trigger polarity. Return Format <polarity><NL> <polarity> ::= {POS | NEG} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:GLITch:SOURce" on page 525 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 523: Trigger:glitch:qualifier

    The :TRIGger:GLITch:QUALifier? query returns the glitch pulse width qualifier. Return Format <operator><NL> <operator> ::= {GRE | LESS | RANG} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:GLITch:SOURce" on page 525 • ":TRIGger:MODE" on page 473 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 524: Trigger:glitch:range

    The :TRIGger:GLITch:RANGe? query returns the pulse width duration time for :TRIGger:GLITch:SOURce. Return Format <less_than_time>,<greater_than_time><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:GLITch:SOURce" on page 525 • ":TRIGger:GLITch:QUALifier" on page 523 • ":TRIGger:MODE" on page 473 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 525: Trigger:glitch:source

    • ":TRIGger:MODE" on page 473 • ":TRIGger:GLITch:LEVel" on page 521 • ":TRIGger:GLITch:POLarity" on page 522 • ":TRIGger:GLITch:QUALifier" on page 523 • ":TRIGger:GLITch:RANGe" on page 524 Example Code • "Example Code" on page 504 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 526: Trigger:i2S Commands

    <nondecimal> ::= #Bnn...n where n ::= {0 | 1} for binary <string> ::= "0xnn...n" where n ::= {0,..,9 | A,..,F} for hexadecimal :TRIGger:I2S:RWIDth :TRIGger:I2S:RWIDth? <receiver> ::= 4-32 in NR1 format <receiver> (see (see page 536) page 536) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 527 INRange | OUTRange | INCReasing | DECReasing} :TRIGger:I2S:TWIDth :TRIGger:I2S:TWIDth? <word_size> ::= 4-32 in NR1 <word_size> (see (see page 542) format page 542) :TRIGger:I2S:WSLow :TRIGger:I2S:WSLow? <low_def> ::= {LEFT | RIGHt} <low_def> (see (see page 543) page 543) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 528: Trigger:i2S:alignment

    <setting> ::= {I2S | LJ | RJ} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:I2S:CLOCk:SLOPe" on page 530 • ":TRIGger:I2S:RWIDth" on page 536 • ":TRIGger:I2S:TWIDth" on page 542 • ":TRIGger:I2S:WSLow" on page 543 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 529: Trigger:i2S:audio

    The :TRIGger:I2S:AUDio? query returns the current audio channel for the I2S trigger. Return Format <audio_ch><NL> <audio_ch> ::= {RIGH | LEFT | EITH} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:I2S:TRIGger" on page 540 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 530: Trigger:i2S:clock:slope

    <slope> ::= {NEG | POS} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:I2S:ALIGnment" on page 528 • ":TRIGger:I2S:RWIDth" on page 536 • ":TRIGger:I2S:TWIDth" on page 542 • ":TRIGger:I2S:WSLow" on page 543 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 531: Trigger:i2S:pattern:data

    When the receiver word size is greater than the transmitter word size, the data length is equal to the transmitter word size. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 532 • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:I2S:PATTern:FORMat" on page 533 • ":TRIGger:I2S:TRIGger" on page 540 • ":TRIGger:I2S:RWIDth" on page 536 • ":TRIGger:I2S:TWIDth" on page 542 • ":TRIGger:I2S:AUDio" on page 529 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 533: Trigger:i2S:pattern:format

    I2S pattern data. Return Format <base><NL> <base> ::= {BIN | HEX | DEC} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:I2S:AUDio" on page 529 • ":TRIGger:I2S:TRIGger" on page 540 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 534: Trigger:i2S:range

    <nondecimal> ::= #Bnn...n where n ::= {0 | 1} for binary <string> ::= "0xnn...n" where n ::= {0,..,9 | A,..,F} for hexadecimal See Also • "Introduction to :TRIGger Commands" on page 467 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 535 Commands by Subsystem • ":TRIGger:I2S:TRIGger" on page 540 • ":TRIGger:I2S:RWIDth" on page 536 • ":TRIGger:I2S:TWIDth" on page 542 • ":TRIGger:I2S:WSLow" on page 543 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 536: Trigger:i2S:rwidth

    <receiver> ::= 4-32 in NR1 format See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:I2S:ALIGnment" on page 528 • ":TRIGger:I2S:CLOCk:SLOPe" on page 530 • ":TRIGger:I2S:TWIDth" on page 542 • ":TRIGger:I2S:WSLow" on page 543 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 537: Trigger:i2S:source:clock

    The :TRIGger:I2S:SOURce:CLOCk? query returns the current source for the I2S serial clock (SCLK). Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:I2S:SOURce:DATA" on page 538 • ":TRIGger:I2S:SOURce:WSELect" on page 539 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 538: Trigger:i2S:source:data

    The :TRIGger:I2S:SOURce:DATA? query returns the current source for the I2S serial data (SDATA). Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:I2S:SOURce:CLOCk" on page 537 • ":TRIGger:I2S:SOURce:WSELect" on page 539 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 539: Trigger:i2S:source:wselect

    The :TRIGger:I2S:SOURce:WSELect? query returns the current source for I2S word select (WS). Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:I2S:SOURce:CLOCk" on page 537 • ":TRIGger:I2S:SOURce:DATA" on page 538 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 540: Trigger:i2S:trigger

    "Armed" value • DECReasing — similar to INCReasing except the trigger occurs on a certain descrease over time and the "Trigger" data value is less than the "Armed" data value. Query Syntax :TRIGger:I2S:TRIGger? Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 541 <operator> ::= {EQU | NOT | LESS | GRE | INR | OUTR | INCR | DECR} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:I2S:AUDio" on page 529 • ":TRIGger:I2S:RANGe" on page 534 • ":TRIGger:I2S:PATTern:FORMat" on page 533 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 542: Trigger:i2S:twidth

    <word_size> ::= 4-32 in NR1 format See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:I2S:ALIGnment" on page 528 • ":TRIGger:I2S:CLOCk:SLOPe" on page 530 • ":TRIGger:I2S:RWIDth" on page 536 • ":TRIGger:I2S:WSLow" on page 543 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 543: Trigger:i2S:wslow

    <low_def> ::= {LEFT | RIGHt} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:I2S:ALIGnment" on page 528 • ":TRIGger:I2S:CLOCk:SLOPe" on page 530 • ":TRIGger:I2S:RWIDth" on page 536 • ":TRIGger:I2S:TWIDth" on page 542 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 544: Trigger:iic Commands

    :TRIGger:IIC:TRIGger[ <type> ::= {STARt | STOP | READ7 :TYPE] <type> (see :TYPE]? (see | READEprom | WRITe7 | WRITe10 | page 551) page 551) NACKnowledge | ANACknowledge | R7Data2 | W7Data2 | RESTart} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 545: Trigger:iic:pattern:address

    IIC data. Return Format <value><NL> <value> ::= integer See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:IIC:PATTern:DATA" on page 546 • ":TRIGger:IIC:PATTern:DATa2" on page 547 • ":TRIGger:IIC:TRIGger[:TYPE]" on page 551 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 546: Trigger:iic:pattern:data

    The :TRIGger:IIC:PATTern:DATA? query returns the current pattern for IIC data. Return Format <value><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:IIC:PATTern:ADDRess" on page 545 • ":TRIGger:IIC:PATTern:DATa2" on page 547 • ":TRIGger:IIC:TRIGger[:TYPE]" on page 551 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 547: Trigger:iic:pattern:data2

    The :TRIGger:IIC:PATTern:DATa2? query returns the current pattern for IIC data 2. Return Format <value><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:IIC:PATTern:ADDRess" on page 545 • ":TRIGger:IIC:PATTern:DATA" on page 546 • ":TRIGger:IIC:TRIGger[:TYPE]" on page 551 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 548: Trigger:iic[:Source]:Clock

    Query Syntax :TRIGger:IIC:[SOURce:]CLOCk? The :TRIGger:IIC:[SOURce:]CLOCk? query returns the current source for the IIC serial clock. Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:IIC[:SOURce]:DATA" on page 549 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 549: Trigger:iic[:Source]:Data

    (SDA). Query Syntax :TRIGger:IIC:[SOURce:]DATA? The :TRIGger:IIC:[SOURce:]DATA? query returns the current source for IIC serial data. Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:IIC[:SOURce]:CLOCk" on page 548 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 550: Trigger:iic:trigger:qualifier

    Return Format <value><NL> <value> ::= {EQUal | NOTequal | LESSthan | GREaterthan} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:IIC:TRIGger[:TYPE]" on page 551 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 551: Trigger:iic:trigger[:Type]

    <value> ::= {STAR | STOP | READ7 | READE | WRIT7 | WRIT10 | NACK | ANAC | R7D2 | W7D2 | REST} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 552 Commands by Subsystem • ":TRIGger:IIC:PATTern:ADDRess" on page 545 • ":TRIGger:IIC:PATTern:DATA" on page 546 • ":TRIGger:IIC:PATTern:DATa2" on page 547 • ":TRIGger:IIC:TRIGger:QUALifier" on page 550 • "Long Form to Short Form Truncation Rules" on page 788 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 553: Trigger:lin Commands

    562) <source> ::= {CHANnel<n> | DIGital0,..,DIGital15} for MSO models <n> ::= 1-2 or 1-4 in NR1 format :TRIGger:LIN:STANdard :TRIGger:LIN:STANdard <std> ::= {LIN13 | LIN20} <std> (see page 563) ? (see page 563) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 554 <value> (see k? (see page 564) page 564) :TRIGger:LIN:TRIGger :TRIGger:LIN:TRIGger? <condition> ::= {SYNCbreak} <condition> (see (see page 565) (without Option AMS) page 565) <condition> ::= {SYNCbreak | ID | DATA} (with Option AMS) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 555: Trigger:lin:id

    745 See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:LIN:TRIGger" on page 565 • ":TRIGger:LIN:SIGNal:DEFinition" on page 740 • ":TRIGger:LIN:SOURce" on page 562 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 556: Trigger:lin:pattern:data

    If the data length size is changed after the <string> is programmed, the added or deleted bits will be added to or deleted from the least significant bits. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 557 The :TRIGger:LIN:PATTern:DATA? query returns the currently specified LIN trigger data pattern. Return Format <string><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:LIN:PATTern:FORMat" on page 559 • ":TRIGger:LIN:TRIGger" on page 565 • ":TRIGger:LIN:PATTern:DATA:LENGth" on page 558 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 558: Trigger:lin:pattern:data:length

    <count> ::= integer from 1 to 8 in NR1 format Errors • "- 241, Hardware missing" on page 745 See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:LIN:PATTern:DATA" on page 556 • ":TRIGger:LIN:SOURce" on page 562 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 559: Trigger:lin:pattern:format

    LIN pattern data. Return Format <base><NL> <base> ::= {BIN | HEX | DEC} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:LIN:PATTern:DATA" on page 556 • ":TRIGger:LIN:PATTern:DATA:LENGth" on page 558 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 560: Trigger:lin:samplepoint

    <value> ::= {60 | 62.5 | 68 | 70 | 75 | 80 | 87.5} in NR3 format See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:LIN:TRIGger" on page 565 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 561: Trigger:lin:signal:baudrate

    <baudrate> ::= integer from 2400 to 625000 in 100 b/s increments See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:LIN:TRIGger" on page 565 • ":TRIGger:LIN:SIGNal:DEFinition" on page 740 • ":TRIGger:LIN:SOURce" on page 562 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 562: Trigger:lin:source

    The :TRIGger:LIN:SOURce? query returns the current source for the LIN signal. Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:LIN:TRIGger" on page 565 • ":TRIGger:LIN:SIGNal:DEFinition" on page 740 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 563: Trigger:lin:standard

    Return Format <std><NL> <std> ::= {LIN13 | LIN20} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:LIN:SIGNal:DEFinition" on page 740 • ":TRIGger:LIN:SOURce" on page 562 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 564: Trigger:lin:syncbreak

    <value><NL> <value> ::= {11 | 12 | 13} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:LIN:SIGNal:DEFinition" on page 740 • ":TRIGger:LIN:SOURce" on page 562 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 565: Trigger:lin:trigger

    467 • ":TRIGger:MODE" on page 473 • ":TRIGger:LIN:ID" on page 555 • ":TRIGger:LIN:PATTern:DATA:LENGth" on page 558 • ":TRIGger:LIN:PATTern:DATA" on page 556 • ":TRIGger:LIN:SIGNal:DEFinition" on page 740 • ":TRIGger:LIN:SOURce" on page 562 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 566: Trigger:m1553 Commands

    <n> ::= {1 | 3} page 571) page 571) :TRIGger:M1553:TYPE :TRIGger:M1553:TYPE? <type> ::= {DSTArt | DSTOp | <type> (see page 572) (see page 572) CSTArt | CSTOp | RTA | PERRor | SERRor | MERRor | RTA11} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 567: Trigger:m1553:Autosetup

    +/- 500 mV, turns on serial decode, and sets the trigger mode to M1553. See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:M1553:SOURce:UPPer" on page 571 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 568: Trigger:m1553:Pattern:data

    The :TRIGger:M1553:PATTern:DATA? query returns the current 11- bit setting. Return Format <string><NL> <string> ::= "nn...n" where n ::= {0 | 1 | X} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:M1553:TYPE" on page 572 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 569: Trigger:m1553:Rta

    :TRIGger:M1553:RTA? The :TRIGger:M1553:RTA? query returns the current TV trigger line number setting. Return Format <value><NL> in nondecimal format See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:M1553:TYPE" on page 572 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 570: Trigger:m1553:Source:lower

    Threshold Channel source. Return Format <source><NL> <source> ::= {CHAN<n>} <n> ::= {2 | 4} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:M1553:SOURce:UPPer" on page 571 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 571: Trigger:m1553:Source:upper

    Threshold Channel source. Return Format <source><NL> <source> ::= {CHAN<n>} <n> ::= {1 | 3} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:M1553:SOURce:LOWer" on page 570 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 572: Trigger:m1553:Type

    <type> ::= {DSTA | DSTO | CSTA | CSTO | RTA | PERR | SERR | MERR | RTA11} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:M1553:RTA" on page 569 • ":TRIGger:M1553:PATTern:DATA" on page 568 • ":TRIGger:MODE" on page 473 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 573: Trigger:sequence Commands

    579) to 10 seconds in NR3 format page 579) :TRIGger:SEQuence:TRI :TRIGger:SEQuence:TRI <value> ::= {PATTern2,ENTered | Gger <value> (see Gger? (see page 580) PATTern2,EXITed | EDGE2 | page 580) PATTern2,AND,EDGE2 | EDGE2,COUNt | EDGE2,COUNt,NREFind} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 574: Trigger:sequence:count

    The :TRIGger:SEQuence:COUNt? query returns the current sequencer edge counter setting. Return Format <count><NL> <count> ::= integer in NR1 format See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:SEQuence:TRIGger" on page 580 • ":TRIGger:SEQuence:EDGE" on page 575 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 575: Trigger:sequence:edge

    Return Format <source>, <slope><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:SEQuence:FIND" on page 576 • ":TRIGger:SEQuence:TRIGger" on page 580 • ":TRIGger:SEQuence:RESet" on page 578 • ":TRIGger:SEQuence:COUNt" on page 574 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 576: Trigger:sequence:find

    <find_value> ::= {PATT1,ENT,NONE | PATT1,EXIT,NONE | EDGE1,NONE,NONE | PATT1,AND,EDGE1} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:SEQuence:PATTern" on page 577 • ":TRIGger:SEQuence:EDGE" on page 575 • ":TRIGger:SEQuence:TRIGger" on page 580 • ":TRIGger:SEQuence:RESet" on page 578 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 577: Trigger:sequence:pattern

    Return Format <value>, <mask><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:SEQuence:FIND" on page 576 • ":TRIGger:SEQuence:TRIGger" on page 580 • ":TRIGger:SEQuence:RESet" on page 578 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 578: Trigger:sequence:reset

    • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:SEQuence:PATTern" on page 577 • ":TRIGger:SEQuence:EDGE" on page 575 • ":TRIGger:SEQuence:TIMer" on page 579 • ":TRIGger:SEQuence:FIND" on page 576 • ":TRIGger:SEQuence:TRIGger" on page 580 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 579: Trigger:sequence:timer

    The :TRIGger:SEQuence:TIMer? query returns current sequencer timer setting. Return Format <time value><NL> <time_value> ::= time in seconds in NR1 format See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:SEQuence:RESet" on page 578 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 580: Trigger:sequence:trigger

    467 • ":TRIGger:SEQuence:PATTern" on page 577 • ":TRIGger:SEQuence:EDGE" on page 575 • ":TRIGger:SEQuence:COUNt" on page 574 • ":TRIGger:SEQuence:FIND" on page 576 • ":TRIGger:SEQuence:RESet" on page 578 • ":TRIGger:SEQuence:RESet" on page 578 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 581: Trigger:spi Commands

    <value> ::= {CHANnel<n> | RAMe <source> (see RAMe? (see page 589) EXTernal} for the DSO models page 589) <value> ::= {CHANnel<n> | DIGital0,..,DIGital15} for the MSO models <n> ::= 1-2 or 1-4 in NR1 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 582: Trigger:spi:clock:slope

    The :TRIGger:SPI:CLOCk:SLOPe? query returns the current SPI clock source slope. Return Format <slope><NL> <slope> ::= {NEG | POS} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:SPI:CLOCk:TIMeout" on page 583 • ":TRIGger:SPI:SOURce:CLOCk" on page 587 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 583: Trigger:spi:clock:timeout

    <time_value> ::= time in seconds in NR1 format See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:SPI:CLOCk:SLOPe" on page 582 • ":TRIGger:SPI:SOURce:CLOCk" on page 587 • ":TRIGger:SPI:FRAMing" on page 584 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 584: Trigger:spi:framing

    <value><NL> <value> ::= {CHIPselect | NOTChipselect | TIMeout} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:SPI:CLOCk:TIMeout" on page 583 • ":TRIGger:SPI:SOURce:FRAMe" on page 589 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 585: Trigger:spi:pattern:data

    The :TRIGger:SPI:PATTern:DATA? query returns the current settings of the specified SPI data pattern resource. Return Format <value>, <mask><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:SPI:PATTern:WIDTh" on page 586 • ":TRIGger:SPI:SOURce:DATA" on page 588 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 586: Trigger:spi:pattern:width

    Return Format <width><NL> <width> ::= integer from 4 to 32 in NR1 format See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:SPI:PATTern:DATA" on page 585 • ":TRIGger:SPI:SOURce:DATA" on page 588 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 587: Trigger:spi:source:clock

    Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:SPI:CLOCk:SLOPe" on page 582 • ":TRIGger:SPI:CLOCk:TIMeout" on page 583 • ":TRIGger:SPI:SOURce:FRAMe" on page 589 • ":TRIGger:SPI:SOURce:DATA" on page 588 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 588: Trigger:spi:source:data

    Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:SPI:SOURce:CLOCk" on page 587 • ":TRIGger:SPI:SOURce:FRAMe" on page 589 • ":TRIGger:SPI:PATTern:DATA" on page 585 • ":TRIGger:SPI:PATTern:WIDTh" on page 586 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 589: Trigger:spi:source:frame

    SPI serial frame. Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:SPI:SOURce:CLOCk" on page 587 • ":TRIGger:SPI:SOURce:DATA" on page 588 • ":TRIGger:SPI:FRAMing" on page 584 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 590: Trigger:tv Commands

    595) PALM | PAL | SECam | {P480L60HZ | page 595) P480} | {P720L60HZ | P720} | {P1080L24HZ | P1080} | P1080L25HZ | P1080L50HZ | P1080L60HZ | {I1080L50HZ | I1080} | I1080L60HZ} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 591: Trigger:tv:line

    The :TRIGger:TV:LINE? query returns the current TV trigger line number setting. Return Format <line_number><NL> <line_number>::= integer in NR1 format See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:TV:STANdard" on page 595 • ":TRIGger:TV:MODE" on page 592 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 592: Trigger:tv:mode

    <value> ::= {FIE1 | FIE2 | AFI | ALIN | LINE | VERT | LFI1 | LFI2 | LALT | LVER} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:TV:STANdard" on page 595 • ":TRIGger:MODE" on page 473 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 593: Trigger:tv:polarity

    The :TRIGger:TV:POLarity? query returns the TV trigger polarity. Return Format <polarity><NL> <polarity> ::= {POS | NEG} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:TV:SOURce" on page 594 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 594: Trigger:tv:source

    Return Format <source><NL> <source> ::= {CHAN<n>} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:TV:POLarity" on page 593 Example Code • "Example Code" on page 504 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 595: Trigger:tv:standard

    The :TRIGger:TV:STANdard? query returns the current TV trigger standard setting. Return Format <standard><NL> <standard> ::= {GEN | NTSC | PALM | PAL | SEC | P480L60HZ | P760L60HZ | P1080L24HZ | P1080L25HZ | P1080L50HZ | P1080L60HZ | I1080L50HZ | I1080L60HZ} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 596: Trigger:uart Commands

    <polarity> ::= {HIGH | LOW} y <polarity> (see y? (see page 605) page 605) :TRIGger:UART:QUALifi :TRIGger:UART:QUALifi <value> ::= {EQUal | NOTequal | er <value> (see er? (see page 606) GREaterthan | LESSthan} page 606) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 597 PARityerror | TSTArt | TSTOp | TDATa | TD1 | TD0 | TDX} :TRIGger:UART:WIDTh :TRIGger:UART:WIDTh? <width> ::= {5 | 6 | 7 | 8 | 9} <width> (see (see page 610) page 610) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 598: Trigger:uart:base

    The :TRIGger:UART:BASE? query returns the current UART base setting. Return Format <base><NL> <base> ::= {ASC | HEX} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:UART:DATA" on page 602 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 599: Trigger:uart:baudrate

    Return Format <baudrate><NL> <baudrate> ::= integer from 1200 to 3000000 in 100 b/s increments See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:UART:TYPE" on page 609 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 600: Trigger:uart:bitorder

    <bitorder> ::= {LSBF | MSBF} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:UART:TYPE" on page 609 • ":TRIGger:UART:SOURce:RX" on page 607 • ":TRIGger:UART:SOURce:TX" on page 608 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 601: Trigger:uart:burst

    <value> ::= {OFF | 1 to 4096 in NR1 format} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:UART:IDLE" on page 603 • ":TRIGger:UART:TYPE" on page 609 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 602: Trigger:uart:data

    <value> ::= 8-bit integer in decimal from 0-255 See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:UART:BASE" on page 598 • ":TRIGger:UART:TYPE" on page 609 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 603: Trigger:uart:idle

    <time_value> ::= time from 1 us to 10 s in NR3 format See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:UART:BURSt" on page 601 • ":TRIGger:UART:TYPE" on page 609 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 604: Trigger:uart:parity

    The :TRIGger:UART:PARity? query returns the current UART parity setting. Return Format <parity><NL> <parity> ::= {EVEN | ODD | NONE} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:UART:TYPE" on page 609 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 605: Trigger:uart:polarity

    The :TRIGger:UART:POLarity? query returns the current UART polarity setting. Return Format <polarity><NL> <polarity> ::= {HIGH | LOW} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:UART:TYPE" on page 609 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 606: Trigger:uart:qualifier

    Return Format <value><NL> <value> ::= {EQU | NOT | GRE | LESS} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:UART:TYPE" on page 609 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 607: Trigger:uart:source:rx

    The :TRIGger:UART:SOURce:RX? query returns the current source for the UART Rx signal. Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:UART:TYPE" on page 609 • ":TRIGger:UART:BITorder" on page 600 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 608: Trigger:uart:source:tx

    The :TRIGger:UART:SOURce:TX? query returns the current source for the UART Tx signal. Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:UART:TYPE" on page 609 • ":TRIGger:UART:BITorder" on page 600 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 609: Trigger:uart:type

    TSTO | TDAT | TD1 | TD0 | TDX} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:UART:DATA" on page 602 • ":TRIGger:UART:QUALifier" on page 606 • ":TRIGger:UART:WIDTh" on page 610 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 610: Trigger:uart:width

    Return Format <width><NL> <width> ::= {5 | 6 | 7 | 8 | 9} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:UART:TYPE" on page 609 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 611: Trigger:usb Commands

    :TRIGger:USB:SPEed? <value> ::= {LOW | FULL} <value> (see (see page 614) page 614) :TRIGger:USB:TRIGger :TRIGger:USB:TRIGger? <value> ::= {SOP | EOP | <value> (see (see page 615) ENTersuspend | EXITsuspend | page 615) RESet} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 612: Trigger:usb:source:dminus

    The :TRIGger:USB:SOURce:DMINus? query returns the current source for the USB D- signal. Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:USB:SOURce:DPLus" on page 613 • ":TRIGger:USB:TRIGger" on page 615 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 613: Trigger:usb:source:dplus

    The :TRIGger:USB:SOURce:DPLus? query returns the current source for the USB D+ signal. Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:USB:SOURce:DMINus" on page 612 • ":TRIGger:USB:TRIGger" on page 615 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 614: Trigger:usb:speed

    Return Format <value><NL> See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:USB:SOURce:DMINus" on page 612 • ":TRIGger:USB:SOURce:DPLus" on page 613 • ":TRIGger:USB:TRIGger" on page 615 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 615: Trigger:usb:trigger

    Return Format <value><NL> <value> ::= {SOP | EOP | ENTersuspend | EXITsuspend | RESet} See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:USB:SPEed" on page 614 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 616: Waveform Commands

    | <points_mode>} if waveform points mode is MAXimum or RAW <points_mode> ::= {NORMal | MAXimum | RAW} :WAVeform:POINts:MODE :WAVeform:POINts:MODE <points_mode> ::= {NORMal | <points_mode> (see ? (see page 632) MAXimum | RAW} page 631) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 617 AVER | HRES} :WAVeform:UNSigned :WAVeform:UNSigned? {0 | 1} {{0 | OFF} | {1 | (see page 644) ON}} (see page 644) :WAVeform:VIEW <view> :WAVeform:VIEW? (see <view> ::= {MAIN} (see page 645) page 645) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 618 Data Acquisition Types There are four types of waveform acquisitions that can be selected for analog channels with the :ACQuire:TYPE command (see page 196): NORMal, AVERage, PEAK, and HRESolution. Digital channels are always Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 619 :WAVeform:POINts? query (see page 629). Only the magnitude values of each data point are transmitted. The first voltage value corresponds to the first time bucket on the left side of the Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 620 HRESolution Data The high resolution (smoothing) mode is used to reduce noise at slower sweep speeds where the digitizer samples faster than needed to fill memory for the displayed time range. Data Conversion Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 621 For example, if 1000 points will be transferred, and the WORD format was specified, the block header "#800001000" would be sent. The 8 indicates that eight length bytes follow, and 00001000 indicates that 1000 binary data bytes follow. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 622 BYTE format one byte per point is transferred, and in WORD format two bytes per point are transferred. The :WAVeform:BYTeorder command (see page 624) has no effect when the data format is BYTE. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 623 198) are used to select the digital channels for a bus. Reporting the Setup The following is a sample response from the :WAVeform? query. In this case, the query was issued following a *RST command. :WAV:UNS 1;VIEW MAIN;BYT MSBF;FORM BYTE;POIN +1000;SOUR CHAN1;SOUR:SUBS NONE Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 624: Waveform:byteorder

    "Introduction to :WAVeform Commands" on page 618 • ":WAVeform:DATA" on page 626 • ":WAVeform:FORMat" on page 628 • ":WAVeform:PREamble" on page 633 Example Code • "Example Code" on page 639 • "Example Code" on page 634 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 625: Waveform:count

    Return Format <count_argument><NL> <count_argument> ::= an integer from 1 to 65536 in NR1 format See Also • "Introduction to :WAVeform Commands" on page 618 • ":ACQuire:COUNt" on page 185 • ":ACQuire:TYPE" on page 196 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 626: Waveform:data

    ' QUERY_WAVE_DATA - Outputs waveform data that is stored in a buffer. ' Query the oscilloscope for the waveform data. myScope.WriteString ":WAV:DATA?" ' READ_WAVE_DATA - The wave data consists of two parts: the header, Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 627 * sngXIncrement + dblXOrigin) * 1000000) + " us" + vbCrLf Next lngI MsgBox "Waveform data:" + vbCrLf + strOutput Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 628: Waveform:format

    "Introduction to :WAVeform Commands" on page 618 • ":WAVeform:BYTeorder" on page 624 • ":WAVeform:SOURce" on page 638 • ":WAVeform:DATA" on page 626 • ":WAVeform:PREamble" on page 633 Example Code • "Example Code" on page 639 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 629: Waveform:points

    <# points> ::= {100 | 250 | 500 | 1000 | 2000 | 5000 | 10000 | 20000 | 50000 | 100000 | 200000 | 500000 | 1000000 | 2000000 | 4000000 | 8000000 | <maximum # points>} if waveform points mode is MAXimum or RAW Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 630 Example Code ' WAVE_POINTS - Specifies the number of points to be transferred ' using the ":WAVEFORM:DATA?" query. myScope.WriteString ":WAVEFORM:POINTS 1000" Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 631: Waveform:points:mode

    • The instrument must be stopped (see the :STOP command (see for MAXimum or page 178) or the :DIGitize command (see page 150) in the root RAW data subsystem) in order to return more than the measurement record or retrieval precision analysis record. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 632 450 • ":WAVeform:VIEW" on page 645 • ":WAVeform:PREamble" on page 633 • ":WAVeform:POINts" on page 629 • ":TIMebase:MODE" on page 457 • ":ACQuire:TYPE" on page 196 • ":ACQuire:COUNt" on page 185 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 633: Waveform:preamble

    <type> ::= 2 for AVERage type, 0 for NORMal type, 1 for PEAK detect type; an integer in NR1 format (type set by :ACQuire:TYPE). <count> ::= Average count or 1 if PEAK or NORMal; an integer in NR1 format (count set by :ACQuire:COUNt). Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 634 ' GET_PREAMBLE - The preamble block contains all of the current ' WAVEFORM settings. It is returned in the form <preamble_block><NL> ' where <preamble_block> is: FORMAT : int16 - 0 = BYTE, 1 = WORD, 4 = ASCII. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 635 = Preamble(3) dblXIncrement = Preamble(4) dblXOrigin = Preamble(5) lngXReference = Preamble(6) sngYIncrement = Preamble(7) sngYOrigin = Preamble(8) lngYReference = Preamble(9) Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 636: Waveform:segmented:count

    191 • ":DIGitize" on page 150 • ":SINGle" on page 176 • ":RUN" on page 174 • "Introduction to :WAVeform Commands" on page 618 Example Code • "Example Code" on page 192 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 637: Waveform:segmented:ttag

    :ACQuire:SEGMented:INDex command. Return Format <time_tag> ::= in NR3 format See Also • ":ACQuire:SEGMented:INDex" on page 192 • "Introduction to :WAVeform Commands" on page 618 Example Code • "Example Code" on page 192 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 638: Waveform:source

    The :WAVeform:SOURce? query returns the currently selected source for the WAVeform commands. MATH is an alias for FUNCtion. The :WAVeform:SOURce? Query returns FUNC if the source N O T E is FUNCtion or MATH. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 639 : int16 - 0 = NORMAL, 1 = PEAK DETECT, 2 = AVERAGE POINTS : int32 - number of data points transferred. COUNT : int32 - 1 and is always 1. XINCREMENT : float64 - time difference between data points. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 640 = strOutput + "Offset = " + _ FormatNumber((lngVSteps / 2 - lngYReference) * _ sngYIncrement + sngYOrigin) + " V" + vbCrLf strOutput = strOutput + "Sec/Div = " + _ FormatNumber(lngPoints * dblXIncrement / 10 * _ Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 641 * sngXIncrement + dblXOrigin) * 1000000) + " us" + vbCrLf Next lngI MsgBox "Waveform data:" + vbCrLf + strOutput Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 642: Waveform:source:subsource

    :WAVeform:SOURce:SUBSource? The :WAVeform:SOURce:SUBSource? query returns the current waveform subsource setting. Return Format <subsource><NL> <subsource> ::= {NONE | TX} See Also • "Introduction to :WAVeform Commands" on page 618 • ":WAVeform:SOURce" on page 638 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 643: Waveform:type

    N O T E See Also • "Introduction to :WAVeform Commands" on page 618 • ":ACQuire:TYPE" on page 196 • ":WAVeform:DATA" on page 626 • ":WAVeform:PREamble" on page 633 • ":WAVeform:SOURce" on page 638 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 644: Waveform:unsigned

    The :WAVeform:UNSigned? query returns the status of unsigned mode for the currently selected waveform. Return Format <unsigned><NL> <unsigned> ::= {0 | 1} See Also • "Introduction to :WAVeform Commands" on page 618 • ":WAVeform:SOURce" on page 638 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 645: Waveform:view

    The :WAVeform:VIEW? query returns the view setting associated with the currently selected waveform. Return Format <view><NL> <view> ::= {MAIN} See Also • "Introduction to :WAVeform Commands" on page 618 • ":WAVeform:POINts" on page 629 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 646: Waveform:xincrement

    <value> ::= x-increment in the current preamble in 64-bit floating point NR3 format See Also • "Introduction to :WAVeform Commands" on page 618 • ":WAVeform:PREamble" on page 633 Example Code • "Example Code" on page 634 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 647: Waveform:xorigin

    <value> ::= x-origin value in the current preamble in 64-bit floating point NR3 format See Also • "Introduction to :WAVeform Commands" on page 618 • ":WAVeform:PREamble" on page 633 • ":WAVeform:XREFerence" on page 648 Example Code • "Example Code" on page 634 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 648: Waveform:xreference

    <value> ::= x-reference value = 0 in 32-bit NR1 format See Also • "Introduction to :WAVeform Commands" on page 618 • ":WAVeform:PREamble" on page 633 • ":WAVeform:XORigin" on page 647 Example Code • "Example Code" on page 634 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 649: Waveform:yincrement

    <value> ::= y-increment value in the current preamble in 32-bit floating point NR3 format See Also • "Introduction to :WAVeform Commands" on page 618 • ":WAVeform:PREamble" on page 633 Example Code • "Example Code" on page 634 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 650: Waveform:yorigin

    <value> ::= y-origin in the current preamble in 32-bit floating point NR3 format See Also • "Introduction to :WAVeform Commands" on page 618 • ":WAVeform:PREamble" on page 633 • ":WAVeform:YREFerence" on page 651 Example Code • "Example Code" on page 634 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 651: Waveform:yreference

    <value> ::= y-reference value in the current preamble in 32-bit NR1 format See Also • "Introduction to :WAVeform Commands" on page 618 • ":WAVeform:PREamble" on page 633 • ":WAVeform:YORigin" on page 650 Example Code • "Example Code" on page 634 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 652 Commands by Subsystem Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 653: Commands A-Z

    Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide Commands A-Z • AALias, ":ACQuire:AALias" on page 183 • ACKNowledge, ":TRIGger:CAN:ACKNowledge" on page 738 • ":ACQuire:AALias" on page 183 • ":ACQuire:COMPlete" on page 184 • ":ACQuire:COUNt" on page 185 • ":ACQuire:DAALias" on page 186...
  • Page 654 146 • ":AUToscale:CHANnels" on page 147 • AUTosetup Commands: • ":TRIGger:FLEXray:AUTosetup" on page 506 • ":TRIGger:M1553:AUTosetup" on page 567 • AVERage Commands: • ":MTESt:AVERage" on page 728 • ":MTESt:AVERage:COUNt" on page 729 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 655 210 • ":CALibrate:OUTPut" on page 211 • ":CALibrate:STARt" on page 212 • ":CALibrate:STATus" on page 213 • ":CALibrate:SWITch" on page 214 • ":CALibrate:TEMPerature" on page 215 • ":CALibrate:TIME" on page 216 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 656 230 • ":CHANnel<n>:PROBe:STYPe" on page 231 • ":CHANnel<n>:PROTection" on page 232 • ":CHANnel<n>:RANGe" on page 233 • ":CHANnel<n>:SCALe" on page 234 • ":CHANnel<n>:UNITs" on page 235 • ":CHANnel<n>:VERNier" on page 236 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 657 426 • ":SBUS:FLEXray:COUNt:NULL" on page 428 • ":SBUS:FLEXray:COUNt:RESet" on page 429 • ":SBUS:FLEXray:COUNt:SYNC" on page 430 • ":SBUS:FLEXray:COUNt:TOTal" on page 431 • ":SBUS:UART:COUNt:ERRor" on page 440 • ":SBUS:UART:COUNt:RESet" on page 441 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 658 588 • ":TRIGger:UART:DATA" on page 602 • ":WAVeform:DATA" on page 626 • DATE Commands: • ":CALibrate:DATE" on page 209 • ":SYSTem:DATE" on page 446 • DEFine, ":MEASure:DEFine" on page 316 • DEFinition Commands: Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 659 252 • ":DISPlay:VECTors" on page 253 • DMINus, ":TRIGger:USB:SOURce:DMINus" on page 612 • DPLus, ":TRIGger:USB:SOURce:DPLus" on page 613 • DSP, ":SYSTem:DSP" on page 447 • DURation, ":TRIGger:DURation Commands" on page 489 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 660 262 • ":EXTernal:UNITs" on page 263 • FACTion Commands: • ":MTESt:RMODe:FACTion:MEASure" on page 378 • ":MTESt:RMODe:FACTion:PRINt" on page 379 • ":MTESt:RMODe:FACTion:SAVE" on page 380 • ":MTESt:RMODe:FACTion:STOP" on page 381 • FACTors Commands: Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 661 • ":SAVE:WAVeform:FORMat" on page 417 • ":TRIGger:I2S:PATTern:FORMat" on page 533 • ":TRIGger:LIN:PATTern:FORMat" on page 559 • ":WAVeform:FORMat" on page 628 • FRAMe Commands: • ":TRIGger:FLEXray:FRAMe:CCBase" on page 511 • ":TRIGger:FLEXray:FRAMe:CCRepetition" on page 512 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 662 ":FUNCtion:GOFT:SOURce1" on page 270 • ":FUNCtion:GOFT:SOURce2" on page 271 • GRAYscale, ":HARDcopy:GRAYscale" on page 710 • GREaterthan Commands: • ":TRIGger:DURation:GREaterthan" on page 490 • ":TRIGger:GLITch:GREaterthan" on page 519 • ":HARDcopy:AREA" on page 283 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 663 ":TRIGger:UART:IDLE" on page 603 • "*IDN (Identification Number)" on page 122 • I2S Commands: • ":SBUS:I2S:BASE" on page 432 • ":TRIGger:I2S Commands" on page 526 • IIC Commands: • ":SBUS:IIC:ASIZe" on page 433 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 664 288 • LENGth Commands: • ":SAVE:WAVeform:LENGth" on page 418 • ":TRIGger:CAN:PATTern:DATA:LENGth" on page 481 • ":TRIGger:LIN:PATTern:DATA:LENGth" on page 558 • LESSthan Commands: • ":TRIGger:DURation:LESSthan" on page 491 • ":TRIGger:GLITch:LESSthan" on page 520 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 665 • ":MARKer:X2Y2source" on page 301 • ":MARKer:XDELta" on page 302 • ":MARKer:Y1Position" on page 303 • ":MARKer:Y2Position" on page 304 • ":MARKer:YDELta" on page 305 • MASK Commands: • ":BUS<n>:MASK" on page 206 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 666 717 • ":MEASure:TMIN" on page 718 • ":MEASure:TSTArt" on page 719 • ":MEASure:TSTOp" on page 720 • ":MEASure:TVALue" on page 344 • ":MEASure:TVOLt" on page 721 • ":MEASure:UPPer" on page 723 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 667 363 • ":MTESt:AMASk:{SAVE | STORe}" on page 727 • ":MTESt:AMASk:SOURce" on page 364 • ":MTESt:AMASk:UNITs" on page 365 • ":MTESt:AMASk:XDELta" on page 366 • ":MTESt:AMASk:YDELta" on page 367 • ":MTESt:AVERage" on page 728 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 668 733 • ":MTESt:TITLe" on page 391 • ":MTESt:TRIGger:SOURce" on page 734 • NREJect, ":TRIGger:NREJect" on page 474 • NULL, ":SBUS:FLEXray:COUNt:NULL" on page 428 • NWIDth, ":MEASure:NWIDth" on page 324 • OFFSet Commands: Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 669 482 • ":TRIGger:CAN:PATTern:ID:MODE" on page 483 • ":TRIGger:DURation:PATTern" on page 492 • ":TRIGger:I2S:PATTern:DATA" on page 531 • ":TRIGger:I2S:PATTern:FORMat" on page 533 • ":TRIGger:IIC:PATTern:ADDRess" on page 545 • ":TRIGger:IIC:PATTern:DATA" on page 546 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 670 • PREamble, ":WAVeform:PREamble" on page 633 • PRECision, ":SYSTem:PRECision" on page 450 • PREShoot, ":MEASure:PREShoot" on page 329 • PRINt, ":MTESt:RMODe:FACTion:PRINt" on page 379 • ":PRINt" on page 173 • ":PRINt?" on page 735 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 671 465 • ":TRIGger:DURation:RANGe" on page 494 • ":TRIGger:GLITch:RANGe" on page 524 • ":TRIGger:I2S:RANGe" on page 534 • "*RCL (Recall)" on page 127 • ":RECall:FILename" on page 398 • ":RECall:IMAGe[:STARt]" on page 399 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 672 128 • RTA, ":TRIGger:M1553:RTA" on page 569 • RUMode Commands: • ":MTESt:RUMode" on page 731 • ":MTESt:RUMode:SOFailure" on page 732 • ":RUN" on page 174 • RWIDth, ":TRIGger:I2S:RWIDth" on page 536 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 673 426 • ":SBUS:DISPlay" on page 427 • ":SBUS:FLEXray:COUNt:NULL" on page 428 • ":SBUS:FLEXray:COUNt:RESet" on page 429 • ":SBUS:FLEXray:COUNt:SYNC" on page 430 • ":SBUS:FLEXray:COUNt:TOTal" on page 431 • ":SBUS:I2S:BASE" on page 432 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 674 • ":ACQuire:SEGMented:INDex" on page 192 • ":SAVE:WAVeform:SEGMented" on page 419 • ":WAVeform:SEGMented:COUNt" on page 636 • ":WAVeform:SEGMented:TTAG" on page 637 • SETup Commands: • ":RECall:SETup[:STARt]" on page 402 • ":SAVE:SETup[:STARt]" on page 415 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 675 515 • ":TRIGger:GLITch:SOURce" on page 525 • ":TRIGger:I2S:SOURce:CLOCk" on page 537 • ":TRIGger:I2S:SOURce:DATA" on page 538 • ":TRIGger:I2S:SOURce:WSELect" on page 539 • ":TRIGger:IIC[:SOURce]:CLOCk" on page 548 • ":TRIGger:IIC[:SOURce]:DATA" on page 549 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 676 563 • ":TRIGger:TV:STANdard" on page 595 • STARt Commands: • ":CALibrate:STARt" on page 212 • ":HARDcopy:STARt" on page 291 • ":MTESt:{STARt | STOP}" on page 733 • ":RECall:IMAGe[:STARt]" on page 399 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 677 • ":SYSTem:PRECision" on page 450 • ":SYSTem:SETup" on page 452 • ":SYSTem:TIME" on page 454 • TDELta, ":MEASure:TDELta" on page 715 • TEDGe, ":MEASure:TEDGe" on page 342 • TEMPerature, ":CALibrate:TEMPerature" on page 215 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 678 • TMIN, ":MEASure:TMIN" on page 718 • TOTal Commands: • ":SBUS:CAN:COUNt:TOTal" on page 425 • ":SBUS:FLEXray:COUNt:TOTal" on page 431 • "*TRG (Trigger)" on page 136 • TRIGger Commands: • ":MTESt:TRIGger:SOURce" on page 734 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 679 493 • ":TRIGger:DURation:RANGe" on page 494 • ":TRIGger[:EDGE]:COUPling" on page 500 • ":TRIGger[:EDGE]:LEVel" on page 501 • ":TRIGger[:EDGE]:REJect" on page 502 • ":TRIGger[:EDGE]:SLOPe" on page 503 • ":TRIGger[:EDGE]:SOURce" on page 504 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 680 538 • ":TRIGger:I2S:SOURce:WSELect" on page 539 • ":TRIGger:I2S:TRIGger" on page 540 • ":TRIGger:I2S:TWIDth" on page 542 • ":TRIGger:I2S:WSLow" on page 543 • ":TRIGger:IIC:PATTern:ADDRess" on page 545 • ":TRIGger:IIC:PATTern:DATA" on page 546 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 681 577 • ":TRIGger:SEQuence:RESet" on page 578 • ":TRIGger:SEQuence:TIMer" on page 579 • ":TRIGger:SEQuence:TRIGger" on page 580 • ":TRIGger:SPI:CLOCk:SLOPe" on page 582 • ":TRIGger:SPI:CLOCk:TIMeout" on page 583 • ":TRIGger:SPI:FRAMing" on page 584 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 682 615 • "*TST (Self Test)" on page 137 • TSTArt, ":MEASure:TSTArt" on page 719 • TSTOp, ":MEASure:TSTOp" on page 720 • TTAG, ":WAVeform:SEGMented:TTAG" on page 637 • TV, ":TRIGger:TV Commands" on page 590 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 683 604 • ":TRIGger:UART:POLarity" on page 605 • ":TRIGger:UART:QUALifier" on page 606 • ":TRIGger:UART:SOURce:RX" on page 607 • ":TRIGger:UART:SOURce:TX" on page 608 • ":TRIGger:UART:TYPE" on page 609 • ":TRIGger:UART:WIDTh" on page 610 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 684 • WAVeform Commands: • ":SAVE:WAVeform:FORMat" on page 417 • ":SAVE:WAVeform:LENGth" on page 418 • ":SAVE:WAVeform[:STARt]" on page 416 • ":WAVeform:BYTeorder" on page 624 • ":WAVeform:COUNt" on page 625 • ":WAVeform:DATA" on page 626 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 685 298 • X1Y1source, ":MARKer:X1Y1source" on page 299 • X2Position, ":MARKer:X2Position" on page 300 • X2Y2source, ":MARKer:X2Y2source" on page 301 • XDELta Commands: • ":MARKer:XDELta" on page 302 • ":MTESt:AMASk:XDELta" on page 366 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 686 304 • YDELta Commands: • ":MARKer:YDELta" on page 305 • ":MTESt:AMASk:YDELta" on page 367 • YINCrement, ":WAVeform:YINCrement" on page 649 • YORigin, ":WAVeform:YORigin" on page 650 • YREFerence, ":WAVeform:YREFerence" on page 651 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 687: Obsolete And Discontinued Commands

    Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide Obsolete and Discontinued Commands Obsolete commands are older forms of commands that are provided to reduce customer rework for existing systems and programs (see"Obsolete Commands" on page 786). Obsolete Command Current Command Equivalent Behavior Differences ANALog<n>:BWLimit...
  • Page 688 398) :HARDcopy:FORMat (see :HARDcopy:APRinter (see page 709) page 284) :SAVE:IMAGe:FORMat (see page 409) :SAVE:WAVeform:FORMat (see page 417) :HARDcopy:GRAYscale (see :HARDcopy:PALette (see page 710) page 289) :HARDcopy:IGColors (see :HARDcopy:INKSaver (see page 711) page 287) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 689 :SAVE:MASK[:STARt] (see STORe} (see page 727) page 413) :MTESt:AVERage (see :ACQuire:TYPE AVERage (see page 728) page 196) :MTESt:AVERage:COUNt (see :ACQuire:COUNt (see page 729) page 185) :MTESt:LOAD (see page 730) :RECall:MASK[:STARt] (see page 400) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 690 Listed below are the Discontinued commands and the nearest equivalent command available (if any). Discontinued Command Current Command Equivalent Comments ASTore :DISPlay:PERSistence INFinite (see page 251) CHANnel:MATH :FUNCtion:OPERation (see ADD not included page 273) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 691 *TST (Self Test) (see page 137) TRACE subsystem none All commands discontinued, feature not available TRIGger:ADVanced subsystem Use new GLITch, PATTern, or TV trigger modes TRIGger:TV:FIELd :TRIGger:TV:MODE (see page 592) TRIGger:TV:TVHFrej TRIGger:TV:VIR none VAUToscale none Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 692 Obsolete and Discontinued Commands Discontinued Some previous oscilloscope queries returned control setting values of OFF Parameters and ON. The InfiniiVision 7000 Series oscilloscopes only return the enumerated values 0 (for off) and 1 (for on). Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 693: Channel:activity

    Edges may have occurred that were not detected because of the threshold setting. A bit equal to one indicates that edges have been detected at the specified threshold since the last clear on that channel. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 694: Channel:label

    :DIGital<n>:LABel command (see page 240) for the InfiniiVision 7000 Series oscilloscopes. Query Syntax :CHANnel:LABel? The :CHANnel:LABel? query returns the label associated with a particular analog channel. Return Format <string><NL> <string> ::= quoted ASCII string Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 695: Channel:threshold

    <threshold type> ::= {CMOS | ECL | TTL | USERdef} <value> ::= voltage for USERdef (float 32 NR3) • CMOS = 2.5V N O T E • TTL = 1.5V • ECL = - 1.3V • USERdef ::= - 6.0V to 6.0V Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 696: Channel2:Skew

    The :CHANnel2:SKEW? query returns the current probe skew setting for the selected channel. Return Format <skew value><NL> <skew value> ::= skew value in NR3 format See Also • "Introduction to :CHANnel<n> Commands" on page 218 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 697: Channel:Input

    Use the :CHANnel<n>:IMPedance command (see page 223) instead. Query Syntax :CHANnel<n>:INPut? The :CHANnel<n>:INPut? query returns the current input impedance setting for the specified channel. Return Format <impedance value><NL> <impedance value> ::= {ONEM | FIFT} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 698: Channel:Pmode

    N O T E previous oscilloscopes. Query Syntax :CHANnel<n>:PMODe? The :CHANnel<n>:PMODe? query returns AUT if an autosense probe is attached and MAN otherwise. Return Format <pmode value><NL> <pmode value> ::= {AUT | MAN} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 699: Display:connect

    Use the :DISPlay:VECTors command (see page 253) instead. Query Syntax :DISPlay:CONNect? The :DISPlay:CONNect? query returns the current state of the vectors setting. Return Format <connect><NL> <connect> ::= {1 | 0} See Also • ":DISPlay:VECTors" on page 253 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 700: Display:order

    ' If you leave out channels, they will not be displayed. ' Display ONLY channel 0 and channel 10 in that order. myScope.WriteString ":DISPLAY:ORDER 0,10" Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 701: Erase

    Command Syntax :ERASe The :ERASe command erases the screen. The :ERASe command is an obsolete command provided for compatibility to previous N O T E oscilloscopes. Use the :CDISplay command (see page 149) instead. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 702: External:input

    Return Format <impedance value><NL> <impedance value> ::= {ONEM | FIFT} See Also • "Introduction to :EXTernal Trigger Commands" on page 254 • "Introduction to :TRIGger Commands" on page 467 • ":CHANnel<n>:IMPedance" on page 223 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 703: External:pmode

    N O T E previous oscilloscopes. Query Syntax :EXTernal:PMODe? The :EXTernal:PMODe? query returns AUT if an autosense probe is attached and MAN otherwise. Return Format <pmode value><NL> <pmode value> ::= {AUT | MAN} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 704: Function:source

    <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models See Also • "Introduction to :FUNCtion Commands" on page 266 • ":FUNCtion:OPERation" on page 273 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 705: Function:view

    N O T E oscilloscopes. Use the :FUNCtion:DISPlay command (see page 268) instead. Query Syntax :FUNCtion:VIEW? The :FUNCtion:VIEW? query returns the current state of the selected function. Return Format <view><NL> <view> ::= {1 | 0} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 706: Hardcopy:destination

    Query Syntax :HARDcopy:DESTination? The :HARDcopy:DESTination? query returns the selected hardcopy destination. Return Format <destination><NL> <destination> ::= {CENT | FLOP} See Also • "Introduction to :HARDcopy Commands" on page 282 • ":HARDcopy:FORMat" on page 709 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 707: Hardcopy:device

    709) instead. Query Syntax :HARDcopy:DEVice? The :HARDcopy:DEVice? query returns the selected hardcopy device type. Return Format <device><NL> <device> ::= {TIFF | GIF | BMP | LAS | EPS | DESK | BWD | SEIK} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 708: Hardcopy:filename

    :HARDcopy:FILename? The :HARDcopy:FILename? query returns the current hardcopy output filename. Return Format <string><NL> <string> ::= quoted ASCII string See Also • "Introduction to :HARDcopy Commands" on page 282 • ":HARDcopy:FORMat" on page 709 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 709: Hardcopy:format

    The :HARDcopy:FORMat? query returns the selected hardcopy format type. Return Format <format><NL> <format> ::= {BMP | BMP8 | PNG | CSV | ASC | BIN | PRIN0 | PRIN1} See Also • "Introduction to :HARDcopy Commands" on page 282 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 710: Hardcopy:grayscale

    The :HARDcopy:GRAYscale? query returns a flag indicating whether grayscaling is performed in the hardcopy dump. Return Format <gray><NL> <gray> ::= {0 | 1} See Also • "Introduction to :HARDcopy Commands" on page 282 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 711: Hardcopy:igcolors

    :HARDcopy:IGColors? The :HARDcopy:IGColors? query returns a flag indicating whether graticule colors are inverted or not. Return Format <value><NL> <value> ::= {0 | 1} See Also • "Introduction to :HARDcopy Commands" on page 282 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 712: Hardcopy:pdriver

    DJ8S | DJ8 | DJ9V | OJPR | DJ9 | GVIP | DJ55 | PS10 | PS47 | CLAS | MLAS | LJF | POST} See Also • "Introduction to :HARDcopy Commands" on page 282 • ":HARDcopy:FORMat" on page 709 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 713: Measure:lower

    Return Format <voltage><NL> <voltage> ::= the user-defined lower threshold in volts in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:THResholds" on page 716 • ":MEASure:UPPer" on page 723 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 714: Measure:scratch

    The :MEASure:SCRatch command clears all selected measurements and markers from the screen. The :MEASure:SCRatch command is obsolete and is provided for backward compatibility to N O T E previous oscilloscopes. Use the :MEASure:CLEar command (see page 314) instead. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 715: Measure:tdelta

    • "Introduction to :MEASure Commands" on page 312 • ":MARKer:X1Position" on page 298 • ":MARKer:X2Position" on page 300 • ":MARKer:XDELta" on page 302 • ":MEASure:TSTArt" on page 719 • ":MEASure:TSTOp" on page 720 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 716: Measure:thresholds

    {VOLTage} uses the upper and lower voltage thresholds set by the UPPer and LOWer commands on the selected waveform. See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:LOWer" on page 713 • ":MEASure:UPPer" on page 723 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 717: Measure:tmax

    <value> ::= time at maximum in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:TMIN" on page 718 • ":MEASure:XMAX" on page 356 • ":MEASure:XMIN" on page 357 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 718: Measure:tmin

    <value> ::= time at minimum in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:TMAX" on page 717 • ":MEASure:XMAX" on page 356 • ":MEASure:XMIN" on page 357 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 719: Measure:tstart

    • "Introduction to :MEASure Commands" on page 312 • ":MARKer:X1Position" on page 298 • ":MARKer:X2Position" on page 300 • ":MARKer:XDELta" on page 302 • ":MEASure:TDELta" on page 715 • ":MEASure:TSTOp" on page 720 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 720: Measure:tstop

    • "Introduction to :MEASure Commands" on page 312 • ":MARKer:X1Position" on page 298 • ":MARKer:X2Position" on page 300 • ":MARKer:XDELta" on page 302 • ":MEASure:TDELta" on page 715 • ":MEASure:TSTArt" on page 719 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 721: Measure:tvolt

    The :MEASure:TVOLt command is obsolete and is provided for backward compatibility to N O T E previous oscilloscopes. Use the :MEASure:TVALue command (see page 344) for the InfiniiVision 7000 Series oscilloscopes. Return Format <value><NL> Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 722 Obsolete and Discontinued Commands <value> ::= time in seconds of the specified voltage crossing in NR3 format Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 723: Measure:upper

    The :MEASure:UPPer? query returns the current upper threshold level. Return Format <value><NL> <value> ::= the user-defined upper threshold in NR3 format See Also • "Introduction to :MEASure Commands" on page 312 • ":MEASure:LOWer" on page 713 • ":MEASure:THResholds" on page 716 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 724: Measure:vdelta

    • "Introduction to :MEASure Commands" on page 312 • ":MARKer:Y1Position" on page 303 • ":MARKer:Y2Position" on page 304 • ":MARKer:YDELta" on page 305 • ":MEASure:TDELta" on page 715 • ":MEASure:TSTArt" on page 719 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 725: Measure:vstart

    303 • ":MARKer:Y2Position" on page 304 • ":MARKer:YDELta" on page 305 • ":MARKer:X1Y1source" on page 299 • ":MEASure:SOURce" on page 337 • ":MEASure:TDELta" on page 715 • ":MEASure:TSTArt" on page 719 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 726: Measure:vstop

    303 • ":MARKer:Y2Position" on page 304 • ":MARKer:YDELta" on page 305 • ":MARKer:X2Y2source" on page 301 • ":MEASure:SOURce" on page 337 • ":MEASure:TDELta" on page 715 • ":MEASure:TSTArt" on page 719 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 727: Mtest:amask:{Save | Store

    The :MTESt:AMASk:{SAVE | STORe} command is obsolete and is provided for backward N O T E compatibility to previous oscilloscopes. Use the :SAVE:MASK[:STARt] command (see page 413) instead. See Also • "Introduction to :MTESt Commands" on page 360 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 728: Mtest:average

    :MTESt:AVERage? The :MTESt:AVERage? query returns the current setting for averaging. Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:AVERage:COUNt" on page 729 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 729: Mtest:average:count

    The :MTESt:AVERage:COUNt? query returns the currently selected count value. Return Format <count><NL> <count> ::= an integer from 2 to 65536 in NR1 format See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:AVERage" on page 728 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 730: Mtest:load

    The :MTESt:LOAD command is obsolete and is provided for backward compatibility to N O T E previous oscilloscopes. Use the :RECall:MASK[:STARt] command (see page 400) instead. See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:AMASk:{SAVE | STORe}" on page 727 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 731: Mtest:rumode

    <seconds> ::= from 1 to 86400 in NR3 format <wfm_count> ::= number of waveforms in NR1 format from 1 to 1,000,000,000 See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:RUMode:SOFailure" on page 732 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 732: Mtest:rumode:sofailure

    The :MTESt:RUMode:SOFailure? query returns the current state of the Stop on Failure control. Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :MTESt Commands" on page 360 • ":MTESt:RUMode" on page 731 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 733: Mtest:{Start | Stop

    N O T E backward compatibility to previous oscilloscopes. Use the :RUN command (see page 174) and :STOP command (see page 178) instead. See Also • "Introduction to :MTESt Commands" on page 360 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 734: Mtest:trigger:source

    <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models See Also • "Introduction to :MTESt Commands" on page 360 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 735: Print

    FACTors Selects outputting of Not used additional settings information for :PRINT NOFactors Deselects outputting Not used of additional settings information for :PRINT Old Print Option: Is Now: HIRes COLor LORes GRAYscale PARallel PRINter0 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 736 "Introduction to Root (:) Commands" on page 141 • "Introduction to :HARDcopy Commands" on page 282 • ":HARDcopy:FORMat" on page 709 • ":HARDcopy:FACTors" on page 285 • ":HARDcopy:GRAYscale" on page 710 • ":DISPlay:DATA" on page 247 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 737: Timebase:delay

    ' is the internal time between the trigger event and the ' onscreen delay reference point. ' Set time base delay to 0.0. myScope.WriteString ":TIMEBASE:DELAY 0.0" Example program from the start: "VISA COM Example in Visual Basic" page 812 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 738: Trigger:can:acknowledge

    The :TRIGger:CAN:ACKNowledge? query returns the current CAN acknowledge setting. Return Format <value><NL> <value> ::= 0 See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:CAN:TRIGger" on page 487 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 739: Trigger:can:signal:definition

    <value> ::= DIFF See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:CAN:SIGNal:BAUDrate" on page 485 • ":TRIGger:CAN:SOURce" on page 486 • ":TRIGger:CAN:TRIGger" on page 487 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 740: Trigger:lin:signal:definition

    The :TRIGger:LIN:SIGNal:DEFinition? query returns the current LIN signal type. Return Format <value><NL> <value> ::= LIN See Also • "Introduction to :TRIGger Commands" on page 467 • ":TRIGger:MODE" on page 473 • ":TRIGger:LIN:SIGNal:BAUDrate" on page 561 • ":TRIGger:LIN:SOURce" on page 562 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 741: Trigger:threshold

    <threshold type> ::= {CMOS | ECL | TTL | USER} CMOS ::= 2.5V TTL ::= 1.5V ECL ::= -1.3V USERdef ::= range from -8.0V to +8.0V. <value> ::= voltage for USERdef (a floating-point number in NR1. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 742: Trigger:tv:tvmode

    :TRIGger:TV:TVMode? The :TRIGger:TV:TVMode? query returns the TV trigger mode. Return Format <value><NL> <value> ::= {FIE1 | FIE2 | AFI | ALIN | LINE | VERT | LFI1 | LFI2 | LALT | LVER} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 743 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide Error Messages -440, Query UNTERMINATED after indefinite response -430, Query DEADLOCKED -420, Query UNTERMINATED -410, Query INTERRUPTED -400, Query error -340, Calibration failed -330, Self-test failed -321, Out of memory -320, Storage fault -315, Configuration memory lost ...
  • Page 744 -278, Macro header not found -277, Macro redefinition not allowed -276, Macro recursion error -273, Illegal macro label -272, Macro execution error -258, Media protected -257, File name error -256, File name not found Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 745 AMS (automotive serial decode) or LSS (low- speed serial decode) options are licensed. -240, Hardware error -231, Data questionable -230, Data corrupt or stale -224, Illegal parameter value Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 746 -183, Invalid inside macro definition -181, Invalid outside macro definition -178, Expression data not allowed -171, Invalid expression -170, Expression error -168, Block data not allowed -161, Invalid block data -158, String data not allowed Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 747 -131, Invalid suffix -128, Numeric data not allowed -124, Too many digits -123, Exponent too large -121, Invalid character in number -120, Numeric data error -114, Header suffix out of range -113, Undefined header Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 748 -105, GET not allowed -104, Data type error -103, Invalid separator -102, Syntax error -101, Invalid character -100, Command error +10, Software Fault Occurred +100, File Exists +101, End-Of-File Found +102, Read Error Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 749 A remote operation wants some information, but there is no information available. For example, you may request a stored TIFF image using the :DISPlay:DATA? query, but there may be no image stored. +112, Unknown File Type +113, Directory Not Supported Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 750 Error Messages Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 751: Status Reporting

    Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide Status Reporting Status Reporting Data Structures Status Byte Register (STB) Service Request Enable Register (SRE) Trigger Event Register (TER) Output Queue Message Queue (Standard) Event Status Register (ESR) (Standard) Event Status Enable Register (ESE)
  • Page 752 Service Request Enable register). The Status Byte Register, the Standard Event Status Register group, and the Output Queue are defined as the Standard Status Data Structure Model in IEEE 488.2- 1987. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 753 The *CLS command clears all event registers and all queues except the output queue. If you send *CLS immediately after a program message terminator, the output queue is also cleared. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 754: Status Reporting Data Structures

    Overload Event Enable (Mask) Register Com- :MTERegister[:EVENt]? Auto Started Fail Mask plete Mask Test Event Event Register :MTEenable :MTEenable? Mask Test Event Enable (MASK) Register To bits in Operation Status Condition Register: OVLR Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 755 The status register bits are described in more detail in the following tables: • Table 44 • Table 42 • Table 52 • Table 53 • Table 55 • Table 47 • Table 48 • Table 50 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 756 *SRE common command to set the corresponding bit in the Service Request Enable Register. These enabled bits can then set RQS and MSS (bit 6) in the Status Byte Register. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 757: Status Byte Register (Stb)

    SRQ, bit 6 (weight = 64) is not set. The following example uses the *STB? query to read the contents of the oscilloscope's Status Byte Register. myScope.WriteString "*STB?" varQueryResult = myScope.ReadNumber MsgBox "Status Byte Register, Read: 0x" + Hex(varQueryResult) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 758 Use Serial Polling to Read Status Byte Register. Serial polling is the preferred method to N O T E read the contents of the Status Byte Register because it resets bit 6 and allows the next enabled event that occurs to generate a new SRQ interrupt. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 759: Service Request Enable Register (Sre)

    • When one or more bytes in the Output Queue set bit 4 (MAV). • When an enabled event in the Standard Event Status Register generates a summary bit that sets bit 5 (ESB). Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 760: Trigger Event Register (Ter)

    TER event register must be cleared after each one. If you are using the Service Request to interrupt a program or controller operation, you must clear the event register each time the trigger bit is set. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 761: Output Queue

    This summary bit sets the MAV bit (bit 4) in the Status Byte Register. When using the Agilent VISA COM library, the output queue may be read with the FormattedIO488 object's ReadString, ReadNumber, ReadList, or ReadIEEEBlock methods. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 762: Message Queue

    The length of the oscilloscope's message queue is 1. Note that messages sent with the :SYSTem:DSP command do not set the MSG status bit in the Status Byte Register. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 763: (Standard) Event Status Register (Esr)

    = myScope.ReadNumber MsgBox "Standard Event Status Register: 0x" + Hex(varQueryResult) If bit 4 (weight = 16) and bit 5 (weight = 32) are set, the program prints the sum of the two weights. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 764: (Standard) Event Status Enable Register (Ese)

    (Standard) Event Status Register bits that are not enabled still respond to their corresponding conditions (that is, they are set if the corresponding event occurs). However, because they are not enabled, they do not generate a summary bit to the Status Byte Register. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 765: Error Queue

    "0, No error". The error queue is cleared when: • the instrument is powered up, • the instrument receives the *CLS common command, or • the last item is read from the error queue. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 766: Operation Status Event Register (:Operegister[:Event])

    If any of these bits are set, the OPER bit (bit 7) of the Status Byte Register is set. The Operation Status Event Register is read and cleared with the :OPERegister[:EVENt]? query. The register output is enabled or disabled using the mask value supplied with the OPEE command. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 767: Operation Status Condition Register (:Operegister:condition)

    OVLR bit bit 11 Is set whenever a 50Ω input overload occurs. HWE bit bit 12 Comes from the Hardware Event Registers. The :OPERegister:CONDition? query returns the value of the Operation Status Condition Register. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 768: Arm Event Register (Aer)

    If you are using the Service Request to interrupt a program or controller operation when the trigger bit is set, then you must clear the event register after each time it has been set. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 769: Overload Event Register (:Ovlregister)

    8 Fault has occurred on Channel 3 input. Channel 4 Fault bit 9 Fault has occurred on Channel 4 input. External Trigger bit 10 Fault has occurred on External Trigger input. Fault Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 770: Hardware Event Event Register (:Hweregister[:Event])

    Status Reporting Hardware Event Event Register (:HWERegister[:EVENt]) This register hosts the Bat On bit (bit 0). • The Bat On bit is set whenever the instrument is operating on battery power. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 771: Hardware Event Condition Register (:Hweregister:condition)

    • The PLL LOCKED bit (bit 12) is for internal use and is not intended for general use. • The Bat On bit is set whenever the instrument is operating on battery power. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 772: Mask Test Event Event Register (:Mteregister[:Event])

    Is set when mask testing is started. Auto Mask bit 10 Is set when auto mask creation is completed. The :MTERegister[:EVENt]? query returns the value of, and clears, the Mask Test Event Event Register. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 773: Clearing Registers And Queues

    Clearing Registers and Queues The *CLS common command clears all event registers and all queues except the output queue. If *CLS is sent immediately after a program message terminator, the output queue is also cleared. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 774: Status Reporting Decision Chart

    If events are monitored by the Standard Event Status Register, myScope.WriteString "*STB?" also enable ESB with the *SRE varR = myScope.ReadNumber Determine which bits in the command. MsgBox "STB: 0x" + Hex(varR) Status Byte Register are set. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 775: Synchronizing Acquisitions

    Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide Synchronizing Acquisitions Synchronization in the Programming Flow Blocking Synchronization Polling Synchronization With Timeout Synchronizing with a Single-Shot Device Under Test (DUT) Synchronization with an Averaging Acquisition When remotely controlling an oscilloscope with programming commands, it is often necessary to know when the oscilloscope has finished the previous operation and is ready for the next command.
  • Page 776: Synchronization In The Programming Flow

    Requires known maximum wait time. Implementation "Blocking Synchronization" "Polling Synchronization With Details page 777. Timeout" on page 778. Retrieve Results Once the acquisition is complete, it is safe to retrieve measurements and statistics. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 777: Blocking Synchronization

    ":MEASure:RISetime?" varQueryResult = myScope.ReadNumber ' Read risetime. Debug.Print "Risetime: " + _ FormatNumber(varQueryResult * 1000000000, 1) + " ns" Exit Sub VisaComError: MsgBox "VISA COM Error:" + vbCrLf + Err.Description End Sub Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 778: Polling Synchronization With Timeout

    ' Look for RUN bit = stopped (acquisition complete). Dim lngTimeout As Long ' Max millisecs to wait for single-shot. Dim lngElapsed As Long lngTimeout = 10000 ' 10 seconds. lngElapsed = 0 Do While lngElapsed <= lngTimeout Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 779 Debug.Print "Risetime: " + _ FormatNumber(varQueryResult * 1000000000, 1) + " ns" Else Debug.Print "Timeout waiting for single-shot trigger." End If Exit Sub VisaComError: MsgBox "VISA COM Error:" + vbCrLf + Err.Description End Sub Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 780: Synchronizing With A Single-Shot Device Under Test (Dut)

    ' Set up the trigger and horizontal scale. myScope.WriteString ":TRIGger:MODE EDGE" myScope.WriteString ":TRIGger:EDGE:LEVel 2" myScope.WriteString ":TIMebase:SCALe 5e-8" ' Stop acquisitions and wait for the operation to complete. myScope.WriteString ":STOP" myScope.WriteString "*OPC?" strQueryResult = myScope.ReadString ' Acquire. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 781 Debug.Print "Risetime: " + _ FormatNumber(varQueryResult * 1000000000, 1) + " ns" Else Debug.Print "Timeout waiting for single-shot trigger." End If Exit Sub VisaComError: MsgBox "VISA COM Error:" + vbCrLf + Err.Description End Sub Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 782: Synchronization With An Averaging Acquisition

    ' Stop acquisitions and wait for the operation to complete. myScope.WriteString ":STOP" myScope.WriteString "*OPC?" strQueryResult = myScope.ReadString ' Set up average acquisition mode. Dim lngAverages As Long lngAverages = 256 myScope.WriteString ":ACQuire:COUNt " + CStr(lngAverages) myScope.WriteString ":ACQuire:TYPE AVERage" Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 783 ":MEASure:RISetime?" varQueryResult = myScope.ReadNumber ' Read risetime. Debug.Print "Risetime: " + _ FormatNumber(varQueryResult * 1000000000, 1) + " ns" Exit Sub VisaComError: MsgBox "VISA COM Error:" + vbCrLf + Err.Description End Sub Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 784 Synchronizing Acquisitions Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 785: More About Oscilloscope Commands

    Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide More About Oscilloscope Commands Command Classifications Valid Command/Query Strings Query Return Values All Oscilloscope Commands Are Sequential ...
  • Page 786: Command Classifications

    Core (and Non- core) commands. Obsolete commands are listed in: • Chapter 7, “Obsolete and Discontinued Commands,” starting on page • As well as: Chapter 6, “Commands A- Z,” starting on page 653 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 787: Valid Command/Query Strings

    Instructions are composed of two main parts: • The header, which specifies the command or query to be sent. • The program data, which provide additional information needed to clarify the meaning of the instruction. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 788 New Line Terminator Functions. The NL (New Line) terminator has the same function as N O T E an EOS (End Of String) and EOT (End Of Text) terminator. Long Form to Short Form Truncation Rules To get the short form of a command/keyword: Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 789 The first mnemonic selects the subsystem, and the second mnemonic selects the function within that subsystem. The mnemonics within the compound message are separated by colons. For example, to execute a single function within a subsystem: :<subsystem>:<function><separator><program data><terminator> Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 790 For numeric program data, you have the option of using exponential notation or using suffix multipliers to indicate the numeric value. The following numbers are all equal: 28 = 0.28E2 = 280e-1 = 28000m = 0.028K = 28e-3K. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 791: Command Tree

    • :AER (Arm Event Register) (see page 143) • :AUToscale (see page 144) • :AMODE (see page 146) • :CHANnels (see page 147) • :BLANk (see page 148) • :BUS<n> (see page 198) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 792 :STYPe (see page 231) • :PROTection (see page 232) • :RANGe (see page 233) • :SCALe (see page 234) • :UNITs (see page 235) • :VERNier (see page 236) • :DIGital<n> (see page 237) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 793 :SOURce1 (see page 270) • :SOURce2 (see page 271) • :OFFSet (see page 272) • :OPERation (see page 273) • :RANGe (see page 274) • :REFerence (see page 275) • :SCALe (see page 276) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 794 :XDELta (see page 302) • :Y1Position (see page 303) • :Y2Position (see page 304) • :YDELta (see page 305) • :MEASure (see page 306) • :CLEar (see page 314) • :COUNter (see page 315) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 795 :VTIMe (see page 354) • :VTOP (see page 355) • :XMAX (see page 356) • :XMIN (see page 357) • :MERGe (see page 158) • :MTEenable (Mask Test Event Enable Register) (see page 159) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 796 :BIND (see page 385) • :X1 (see page 386) • :XDELta (see page 387) • :Y1 (see page 388) • :Y2 (see page 389) • :SOURce (see page 390) • :TITLe (see page 391) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 797 :PALette (see page 411) • :LISTer (see page 412) • [:STARt] (see page 412) • :MASK (see page 413) • [:STARt] (see page 413) • :PWD (see page 414) • :SETup (see page 415) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 798 434) • :M1553 • :BASE (see page 435) • :MODE (see page 436) • :SPI • :BITorder (see page 437) • :WIDTh (see page 438) • :UART • :BASE (see page 439) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 799 462) • :VERNier (see page 463) • :WINDow • :POSition (see page 464) • :RANGe (see page 465) • :SCALe (see page 466) • :TRIGger (see page 467) • :HFReject (see page 471) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 800 [:EDGE] (see page 499) • :COUPling (see page 500) • :LEVel (see page 501) • :REJect (see page 502) • :SLOPe (see page 503) • :SOURce (see page 504) • :FLEXray (see page 505) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 801 529) • :CLOCk • :SLOPe (see page 530) • :PATTern • :DATA (see page 531) • :FORMat (see page 533) • :RANGe (see page 534) • :RWIDth (see page 536) • :SOURce Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 802 562) • :STANdard (see page 563) • :SYNCbreak (see page 564) • :TRIGger (see page 565) • :M1553 (see page 566) • :AUTosetup (see page 567) • :PATTern • :DATA (see page 568) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 803 :SWEep (see page 477) • :TV (see page 590) • :LINE (see page 591) • :MODE (see page 592) • :POLarity (see page 593) • :SOURce (see page 594) • :STANdard (see page 595) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 804 628) • :POINts (see page 629) • :MODE (see page 631) • :PREamble (see page 633) • :SEGMented • :COUNt (see page 636) • :TTAG (see page 637) • :SOURce (see page 638) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 805: Duplicate Mnemonics

    :CHANnel1:RANGe .4 Sets the vertical range of channel 1 to 0.4 volts full scale. :TIMebase:RANGe 1 Sets the horizontal time base to 1 second full scale. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 806: Tree Traversal Rules And Multiple Commands

    The semicolon between the RANGe command and the POSition command is the required program message unit separator. The POSition command does not need TIMebase preceding it because the TIMebase:RANGe command sets the parser to the TIMebase node in the tree. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 807 The parser can then see the DISPlay:VECTors ON command. The space between REFerence and CENter is required; so is the space between VECTors and ON. Multiple commands may be any combination of compound and simple commands. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 808: Query Return Values

    (the current response) and places a Query INTERRUPTED error in the error queue. Infinity The representation of infinity is +9.9E+37. This is also the value returned Representation when a measurement cannot be made. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 809: All Oscilloscope Commands Are Sequential

    • Sequential commands finish their task before the execution of the next command starts. • Overlapped commands run concurrently. Commands following an overlapped command may be started before the overlapped command is completed. All of the oscilloscope commands are sequential. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 810 More About Oscilloscope Commands Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 811: Programming Examples

    Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide Programming Examples VISA COM Examples VISA Examples SICL Examples Example programs are ASCII text files that can be cut from the help file and pasted into your favorite text editor. ...
  • Page 812: Visa Com Examples

    ' The commands sent to the oscilloscope are written in both long and ' short form. Both forms are acceptable. ' The input signal is the probe compensation signal from the front ' panel of the oscilloscope connected to channel 1. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 813 ' cause the program to fail or not perform as expected. ' In this example, we initialize the following: - Oscilloscope - Channel 1 range - Display Grid - Timebase reference, range, and delay - Trigger mode and type Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 814 ":TRIGGER:TV:SOURCE CHANNEL1" ' TRIGGER_MODE - Set the trigger mode to EDGE, GLITch, PATTern, CAN, ' DURation, IIC, LIN, SEQuence, SPI, TV, or USB. ' Set the trigger mode to EDGE. myScope.WriteString ":TRIGGER:MODE EDGE" Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 815 ' DIGITIZE - Used to acquire the waveform data for transfer over ' the interface. Sending this command causes an acquisition to ' take place with the resulting data being placed in the buffer. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 816 ' format is a definite-length binary block, for example, #800002204<setup string><NL> ' where the setup string is 2204 bytes in length. myScope.WriteString ":SYSTEM:SETUP?" varQueryResult = myScope.ReadIEEEBlock(BinaryType_UI1) CheckForInstrumentErrors ' After reading query results. ' Output setup string to a file: Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 817 MsgBox "Frequency:" + vbCrLf + _ FormatNumber(varQueryResult / 1000, 4) + " kHz" ' Query for duty cycle. myScope.WriteString ":MEASURE:DUTYCYCLE?" varQueryResult = myScope.ReadNumber ' Read duty cycle. MsgBox "Duty cycle:" + vbCrLf + _ FormatNumber(varQueryResult, 3) + "%" Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 818 : int16 - 0 = BYTE, 1 = WORD, 4 = ASCII. TYPE : int16 - 0 = NORMAL, 1 = PEAK DETECT, 2 = AVERAGE. POINTS : int32 - number of data points transferred. COUNT : int32 - 1 and is always 1. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 819 'strOutput = strOutput + "Y reference = " + _ CStr(lngYReference) + vbCrLf strOutput = strOutput + "Volts/Div = " + _ FormatNumber(lngVSteps * sngYIncrement / 8) + _ " V" + vbCrLf strOutput = strOutput + "Offset = " + _ Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 820 ' Make a delay measurement between channel 1 and 2. Dim dblChan1Edge1 As Double Dim dblChan2Edge1 As Double Dim dblChan1Edge2 As Double Dim dblDelay As Double Dim dblPeriod As Double Dim dblPhase As Double Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 821 = strOut + "INST Error: " + strErrVal myScope.WriteString ":SYSTEM:ERROR?" ' Request error message. strErrVal = myScope.ReadString ' Read error message. Wend If Not strOut = "" Then MsgBox strOut, vbExclamation, "INST Error Messages" Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 822: Visa Com Example In C

    * ------------------------------------------------------------------- * This program illustrates most of the commonly used programming * features of your Agilent oscilloscopes. * ------------------------------------------------------------------- using System; using System.IO; using System.Text; using Ivi.Visa.Interop; using System.Runtime.InteropServices; namespace InfiniiVision class VisaComInstrumentApp Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 823 Most of the following initialization * commands are initialized by *RST. It is not necessary to * reinitialize them unless the default setting is not suitable * for your application. myScope.DoCommand("*RST"); // Reset the to the defaults. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 824 * PATTern, CAN, DURation, IIC, LIN, SEQuence, SPI, TV, * UART, or USB. myScope.DoCommand(":TRIGger:MODE EDGE"); /* TRIGGER_EDGE_SLOPE - Set the slope of the edge for the * trigger to either POSITIVE or NEGATIVE. myScope.DoCommand(":TRIGger:EDGE:SLOPe POSitive"); Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 825 /* DIGITIZE - Used to acquire the waveform data for transfer * over the interface. Sending this command causes an * acquisition to take place with the resulting data being * placed in the buffer. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 826 Console.WriteLine("Read oscilloscope setup ({0} bytes).", nBytes); // Write setup string to file. File.WriteAllBytes("c:\\scope\\config\\setup.dat", ResultsArray); Console.WriteLine("Wrote setup string ({0} bytes) to file.", nBytes); /* RESTORE_SYSTEM_SETUP - Uploads a previously saved setup * string to the oscilloscope. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 827 Console.WriteLine("The frequency is: {0:F4} kHz", fResults / 1000); // Query for peak to peak voltage. fResults = myScope.DoQueryValue(":MEASure:VPP?"); Console.WriteLine("The peak to peak voltage is: {0:F2} V", fResults); /* WAVEFORM_DATA - Get waveform data from oscilloscope. To Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 828 : float32 - value of the voltage at center screen. YREFERENCE : int32 - data point where y-origin occurs. Console.WriteLine("Reading preamble."); double[] fResultsArray; fResultsArray = myScope.DoQueryValues(":WAVeform:PREamble?"); double fFormat = fResultsArray[0]; Console.WriteLine("Preamble FORMat: {0:e}", fFormat); double fType = fResultsArray[1]; Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 829 * of bytes from the oscilloscope; then, read the following NL * character to terminate the query. // Read waveform data. ResultsArray = myScope.DoQueryIEEEBlock(":WAVeform:DATA?"); nBytes = ResultsArray.Length; Console.WriteLine("Read waveform data ({0} bytes).", nBytes); // Make some calculations from the preamble data. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 830 ResourceManagerClass m_ResourceManager; private FormattedIO488Class m_IoObject; private string m_strVisaAddress; // Constructor. public VisaComInstrument(string strVisaAddress) // Save VISA address in member variable. m_strVisaAddress = strVisaAddress; // Open the default VISA COM IO object. OpenIo(); Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 831 // Check for instrument errors. CheckForInstrumentErrors(strQuery); // Return result number. return fResult; public double[] DoQueryValues(string strQuery) // Send the query. m_IoObject.WriteString(strQuery, true); // Get the result numbers. double[] fResultsArray; fResultsArray = (double[])m_IoObject.ReadList( IEEEASCIIType.ASCIIType_R8, ",;"); Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 832 // If there is an error, print it. if (strInstrumentError.ToString() != "+0,\"No error\"\n") if (bFirstError) // Print the command that caused the error. Console.WriteLine("ERROR(s) for command '{0}': ", strCommand); bFirstError = false; Console.Write(strInstrumentError); Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 833 (IMessage)m_ResourceManager.Open(m_strVisaAddress, AccessMode.NO_LOCK, 0, ""); catch (Exception e) Console.WriteLine("An error occurred: {0}", e.Message); public void SetTimeoutSeconds(int nSeconds) m_IoObject.IO.Timeout = nSeconds * 1000; public void Close() m_IoObject.IO.Close(); catch {} Marshal.ReleaseComObject(m_IoObject); catch {} Marshal.ReleaseComObject(m_ResourceManager); catch {} Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 834: Visa Com Example In Visual Basic .Net

    Imports Ivi.Visa.Interop Imports System.Runtime.InteropServices Namespace InfiniiVision Class VisaComInstrumentApp Private Shared myScope As VisaComInstrument Public Shared Sub Main(ByVal args As String()) myScope = New _ VisaComInstrument("USB0::2391::5957::MY47250010::0::INSTR") Initialize() ' The extras function contains miscellaneous commands that Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 835 ' CHANNEL_PROBE - Sets the probe attenuation factor for the ' selected channel. The probe attenuation factor may be from ' 0.1 to 1000. myScope.DoCommand(":CHANnel1:PROBe 10") ' CHANNEL_RANGE - Sets the full scale vertical range in volts. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 836 ' VIEW_BLANK (not executed in this example): - VIEW turns on (starts displaying) an active channel or pixel memory. - BLANK turns off (stops displaying) a specified channel or pixel memory. myScope.DoCommand(":BLANk CHANnel1") myScope.DoCommand(":VIEW CHANnel1") Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 837 - Save the oscilloscope display to a file which can be printed. - Make single channel measurements. Private Shared Sub Analyze() ' Results array. Dim ResultsArray As Byte() ' Number of bytes returned from instrument. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 838 ' Get the screen data in PNG format. ResultsArray = _ myScope.DoQueryIEEEBlock(":DISPlay:DATA? PNG, SCReen, COLor") nBytes = ResultsArray.Length Console.WriteLine("Read screen image ({0} bytes).", nBytes) ' Store the screen data in a file. File.WriteAllBytes("c:\scope\data\screen.png", ResultsArray) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 839 : int16 - 0 = BYTE, 1 = WORD, 4 = ASCII. TYPE : int16 - 0 = NORMAL, 1 = PEAK DETECT, 2 = AVERAGE. POINTS : int32 - number of data points transferred. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 840 ' READ_WAVE_DATA - The wave data consists of two parts: the ' header, and the actual waveform data followed by a ' New Line (NL) character. The query data has the following ' format: <header><waveform data block><NL> Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 841 For index As Integer = 0 To nBytes - 1 writer.WriteLine("{0:E}, {1:f6}", _ (CSng(index) - fXreference) * fXincrement + fXorigin, _ (CSng(ResultsArray(index)) - fYreference) * fYincrement _ + fYorigin) Next writer.Close() Console.WriteLine("Waveform data ({0} points) written to " + _ Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 842 Public Function DoQueryValue(ByVal strQuery As String) As Double ' Send the query. m_IoObject.WriteString(strQuery, True) ' Get the result number. Dim fResult As Double fResult = _ CDbl(m_IoObject.ReadNumber(IEEEASCIIType.ASCIIType_R8, True)) ' Check for instrument errors. CheckForInstrumentErrors(strQuery) ' Return result number. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 843 Private Sub CheckForInstrumentErrors(ByVal strCommand As String) Dim strInstrumentError As String Dim bFirstError As Boolean = True ' Repeat until all errors are displayed. ' Send the ":SYSTem:ERRor?" query, and get the result string. m_IoObject.WriteString(":SYSTem:ERRor?", True) strInstrumentError = m_IoObject.ReadString() Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 844 Public Sub SetTimeoutSeconds(ByVal nSeconds As Integer) m_IoObject.IO.Timeout = nSeconds * 1000 End Sub Public Sub Close() m_IoObject.IO.Close() Catch End Try Marshal.ReleaseComObject(m_IoObject) Catch End Try Marshal.ReleaseComObject(m_ResourceManager) Catch End Try End Sub End Class End Namespace Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 845: Visa Examples

    Show directories for Library files, and add the library files directory (for example, Program Files\VISA\winnt\lib\msc). Click OK to close the Options dialog. Build and run the program. * Agilent VISA Example in C * ------------------------------------------------------------------ Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 846 ("Oscilloscope session initialized!\n"); /* Clear the interface. */ viClear(vi); initialize(); /* The extras function contains miscellaneous commands that do not * need to be executed for the proper operation of this example. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 847 /* CHANNEL_RANGE - Sets the full scale vertical range in volts. * The range value is eight times the volts per division. viPrintf(vi, ":CHANNEL1:RANGE 8\n"); /* TIME_RANGE - Sets the full scale horizontal time in seconds. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 848 - BLANK turns off (stops displaying) a specified channel or pixel memory. viPrintf(vi, ":BLANK CHANNEL1\n"); viPrintf(vi, ":VIEW CHANNEL1\n"); /* TIME_MODE (not executed in this example) - Set the time base * mode to MAIN, DELAYED, XY or ROLL. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 849 - Save the oscilloscope display to a file which can be printed. - Make single channel measurements. void analyze (void) double frequency, vpp; /* Measurements. */ double vdiv, off, sdiv, delay; /* Values calculated from preamble data. */ Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 850 (%d bytes).\n", img_size); /* Write image data to file. */ fp = fopen ("c:\\scope\\data\\screen.bmp", "wb"); img_size = fwrite(image_data, sizeof(unsigned char), img_size, fp); fclose (fp); printf("Wrote image data (%d bytes) to file.\n", img_size); viSetAttribute(vi, VI_ATTR_TMO_VALUE, 5000); Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 851 * the computer for storage, plotting, or further analysis. void get_waveform (void) int waveform_size; /* WAVEFORM_DATA - To obtain waveform data, you must specify the * WAVEFORM parameters for the waveform data prior to sending the * ":WAVEFORM:DATA?" query. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 852 XREFERENCE: %e\n", preamble[6]); printf("Preamble YINCREMENT: %e\n", preamble[7]); printf("Preamble YORIGIN: %e\n", preamble[8]); printf("Preamble YREFERENCE: %e\n", preamble[9]); /* QUERY_WAVE_DATA - Outputs waveform records to the controller * over the interface that is stored in a buffer previously Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 853 The data is saved to a file called "wave.dat". void save_waveform(void) FILE *fp; fp = fopen("c:\\scope\\data\\wave.dat", "wb"); /* Write preamble. */ fwrite(preamble, sizeof(preamble[0]), 10, fp); /* Write actually waveform data. */ fwrite(waveform_data, sizeof(waveform_data[0]), (int)preamble[2], fp); fclose(fp); Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 854: Visa Example In Visual Basic

    ' ------------------------------------------------------------------- Option Explicit Public err As Long ' Error returned by VISA function calls. Public drm As Long ' Session to Default Resource Manager. Public vi As Long ' Session to instrument. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 855 = viClose(drm) End Sub ' Initialize the oscilloscope to a known state. ' ------------------------------------------------------------------- Private Sub Initialize() ' Clear the interface. err = viClear(vi) If Not (err = VI_SUCCESS) Then HandleVISAError vi Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 856 Debug.Print "Setup bytes saved: " + CStr(lngSetupStringSize) ' Output setup string to a file: Dim strPath As String strPath = "c:\scope\config\setup.dat" If Len(Dir(strPath)) Then Kill strPath ' Remove file if it exists. End If Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 857 ' Write learn string back to oscilloscope using ":SYSTem:SETup" ' command: Dim lngRestored As Long lngRestored = DoCommandIEEEBlock(":SYSTem:SETup", lngSetupFileSize) Debug.Print "Setup bytes restored: " + CStr(lngRestored) ' Capture data using :DIGitize. ' ----------------------------------------------------------------- DoCommand ":DIGitize" End Sub Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 858 ' Download waveform data. ' ----------------------------------------------------------------- ' Set the waveform points mode. DoCommand ":WAVeform:POINts:MODE RAW" Debug.Print "Waveform points mode: " + _ DoQueryString(":WAVeform:POINts:MODE?") ' Set the desired number of waveform points. DoCommand ":WAVeform:POINts 1000" Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 859 If intType = 0 Then Debug.Print "Acquisition type: NORMAL" ElseIf intType = 1 Then Debug.Print "Acquisition type: PEAK" ElseIf intType = 2 Then Debug.Print "Acquisition type: AVERAGE" End If Debug.Print "Waveform points desired: " + _ Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 860 FormatNumber((lngDataValue - lngYReference) * _ sngYIncrement + sngYOrigin) Next lngI ' Close output file. Close hFile ' Close file. MsgBox "Waveform format BYTE data written to " + _ "c:\scope\data\waveform_data.csv." End Sub Private Sub DoCommand(command As String) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 861 = viVPrintf(vi, query + vbLf, 0) If (err <> VI_SUCCESS) Then HandleVISAError vi err = viVScanf(vi, "%lf" + vbLf, VarPtr(dblResult)) If (err <> VI_SUCCESS) Then HandleVISAError vi DoQueryNumber = dblResult CheckInstrumentErrors End Function Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 862 If (err <> VI_SUCCESS) Then HandleVISAError vi err = viFlush(vi, VI_WRITE_BUF) If (err <> VI_SUCCESS) Then HandleVISAError vi ' retCount is now actual number of bytes returned by query. DoQueryIEEEBlock_Bytes = retCount CheckInstrumentErrors End Function Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 863 MsgBox "*** VISA Error : " + strVisaErr, vbExclamation ' If the error is not a warning, close the session. If err < VI_SUCCESS Then If session <> 0 Then Call viClose(session) End If Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 864: Visa Example In C

    * This program illustrates most of the commonly used programming * features of your Agilent oscilloscopes. * ------------------------------------------------------------------- using System; using System.IO; using System.Text; namespace InfiniiVision class VisaInstrumentApp private static VisaInstrument oscp; public static void Main(string[] args) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 865 * reinitialize them unless the default setting is not suitable * for your application. oscp.DoCommand("*RST"); // Reset the to the defaults. oscp.DoCommand("*CLS"); // Clear the status data structures. /* IDN - Ask for the device's *IDN string. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 866 /* TRIGGER_EDGE_SLOPE - Set the slope of the edge for the * trigger to either POSITIVE or NEGATIVE. oscp.DoCommand(":TRIGger:EDGE:SLOPe POSitive"); * Extra() * -------------------------------------------------------------- * The commands in this function are not executed and are shown Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 867 * placed in the buffer. /* NOTE! The use of the DIGITIZE command is highly recommended * as it will ensure that sufficient data is available for * measurement. Keep in mind when the oscilloscope is running, Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 868 // Write setup string to file. File.WriteAllBytes("c:\\scope\\config\\setup.dat", ResultsArray); Console.WriteLine("Wrote setup string ({0} bytes) to file.", nLength); /* RESTORE_SYSTEM_SETUP - Uploads a previously saved setup * string to the oscilloscope. byte[] DataArray; int nBytesWritten; Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 869 // Query for peak to peak voltage. fResults = oscp.DoQueryValue(":MEASure:VPP?"); Console.WriteLine("The peak to peak voltage is: {0:F2} V", fResults); /* WAVEFORM_DATA - Get waveform data from oscilloscope. To * obtain waveform data, you must specify the WAVEFORM Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 870 YREFERENCE : int32 - data point where y-origin occurs. Console.WriteLine("Reading preamble."); double[] fResultsArray; fResultsArray = oscp.DoQueryValues(":WAVeform:PREamble?"); double fFormat = fResultsArray[0]; Console.WriteLine("Preamble FORMat: {0:e}", fFormat); double fType = fResultsArray[1]; Console.WriteLine("Preamble TYPE: {0:e}", fType); Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 871 * character to terminate the query. // Read waveform data. nLength = oscp.DoQueryIEEEBlock(":WAVeform:DATA?", out ResultsArray); Console.WriteLine("Read waveform data ({0} bytes).", nLength); // Make some calculations from the preamble data. double fVdiv = 32 * fYincrement; Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 872 // Save VISA address in member variable. m_strVisaAddress = strVisaAddress; // Open the default VISA resource manager. OpenResourceManager(); // Open a VISA resource session. OpenSession(); // Clear the interface. int nViStatus; nViStatus = visa32.viClear(m_nSession); Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 873 // Send the query. VisaSendCommandOrQuery(strQuery); // Get the result string. StringBuilder strResults = new StringBuilder(1000); strResults = VisaGetResultString(); // Check for instrument errors (another command and result). CheckForInstrumentErrors(strQuery); // Return string results. return strResults; Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 874 // Check for instrument errors (another command and result). CheckForInstrumentErrors(strQuery); // Return string results. return length; private void CheckForInstrumentErrors(string strCommand) // Check for instrument errors. StringBuilder strInstrumentError = new StringBuilder(1000); bool bFirstError = true; VisaSendCommandOrQuery(":SYSTem:ERRor?"); Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 875 = visa32.viScanf(m_nSession, "%lf", out fResults); CheckVisaStatus(nViStatus); return fResults; private double[] VisaGetResultValues() double[] fResultsArray; fResultsArray = new double[10]; // Read return value string from the device. int nViStatus; nViStatus = visa32.viScanf(m_nSession, "%,10lf\n", Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 876 ApplicationException("Failed to open Resource Manager"); private void OpenSession() int nViStatus; nViStatus = visa32.viOpen(this.m_nResourceManager, this.m_strVisaAddress, visa32.VI_NO_LOCK, visa32.VI_TMO_IMMEDIATE, out this.m_nSession); CheckVisaStatus(nViStatus); public void SetTimeoutSeconds(int nSeconds) int nViStatus; nViStatus = visa32.viSetAttribute(this.m_nSession, visa32.VI_ATTR_TMO_VALUE, nSeconds * 1000); CheckVisaStatus(nViStatus); Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 877: Visa Example In Visual Basic .Net

    Explorer. It will have a little arrow icon in its lower left corner, indicating that it is a link. Right- click the project again and choose Properties; then, select "InfiniiVision.VisaInstrumentApp" as the Startup object. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 878 MsgBox("*** Error : " & err.Message, vbExclamation, _ "Unexpected Error") Exit Sub Finally oscp.Close() End Try End Sub ' Initialize() ' -------------------------------------------------------------- ' This function initializes both the interface and the ' oscilloscope to a known state. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 879 ' PATTern, CAN, DURation, IIC, LIN, SEQuence, SPI, TV, ' UART, or USB. oscp.DoCommand(":TRIGger:MODE EDGE") ' TRIGGER_EDGE_SLOPE - Set the slope of the edge for the ' trigger to either POSITIVE or NEGATIVE. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 880 ' over the interface. Sending this command causes an ' acquisition to take place with the resulting data being ' placed in the buffer. ' NOTE! The use of the DIGITIZE command is highly recommended Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 881 ' Write setup string to file. File.WriteAllBytes("c:\scope\config\setup.dat", ResultsArray) Console.WriteLine("Wrote setup string ({0} bytes) to file.", _ nLength) ' RESTORE_SYSTEM_SETUP - Uploads a previously saved setup ' string to the oscilloscope. Dim DataArray As Byte() Dim nBytesWritten As Integer Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 882 ' Query for peak to peak voltage. fResults = oscp.DoQueryValue(":MEASure:VPP?") Console.WriteLine("The peak to peak voltage is: {0:F2} V", _ fResults) ' WAVEFORM_DATA - Get waveform data from oscilloscope. To ' obtain waveform data, you must specify the WAVEFORM Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 883 = oscp.DoQueryValues(":WAVeform:PREamble?") Dim fFormat As Double = fResultsArray(0) Console.WriteLine("Preamble FORMat: {0:e}", fFormat) Dim fType As Double = fResultsArray(1) Console.WriteLine("Preamble TYPE: {0:e}", fType) Dim fPoints As Double = fResultsArray(2) Console.WriteLine("Preamble POINts: {0:e}", fPoints) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 884 Dim fSdiv As Double = fPoints * fXincrement / 10 Dim fDelay As Double = (fPoints / 2) * fXincrement + fXorigin ' Print them out... Console.WriteLine("Scope Settings for Channel 1:") Console.WriteLine("Volts per Division = {0:f}", fVdiv) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 885 ' Open the default VISA resource manager. OpenResourceManager() ' Open a VISA resource session. OpenSession() ' Clear the interface. Dim nViStatus As Integer nViStatus = visa32.viClear(m_nSession) End Sub Public Sub DoCommand(ByVal strCommand As String) ' Send the command. VisaSendCommandOrQuery(strCommand) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 886 ' Check for instrument errors (another command and result). CheckForInstrumentErrors(strQuery) ' Return string results. Return strResults End Function Public Function DoQueryValue(ByVal strQuery As String) As Double ' Send the query. VisaSendCommandOrQuery(strQuery) ' Get the result string. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 887 Dim bFirstError As Boolean = True VisaSendCommandOrQuery(":SYSTem:ERRor?") strInstrumentError = VisaGetResultString() If strInstrumentError.ToString() <> _ "+0,""No error""" & Chr(10) & "" Then If bFirstError Then Console.WriteLine("ERROR(s) for command '{0}': ", _ strCommand) bFirstError = False End If Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 888 "%,10lf" & Chr(10) & "", fResultsArray) CheckVisaStatus(nViStatus) Return fResultsArray End Function Private Function VisaGetResultIEEEBlock(ByRef ResultsArray _ As Byte()) As Integer ' Results array, big enough to hold a PNG. ResultsArray = New Byte(299999) {} Dim length As Integer Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 889 ' If VISA error, throw exception. If nViStatus < visa32.VI_SUCCESS Then Dim strError As New StringBuilder(256) visa32.viStatusDesc(Me.m_nResourceManager, nViStatus, strError) Throw New ApplicationException(strError.ToString()) End If End Sub Public Sub Close() If m_nSession <> 0 Then visa32.viClose(m_nSession) End If Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 890 Programming Examples If m_nResourceManager <> 0 Then visa32.viClose(m_nResourceManager) End If End Sub End Class End Namespace Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 891: Sicl Examples

    * Agilent SICL Example in C * ------------------------------------------------------------------ * This program illustrates most of the commonly-used programming * features of your Agilent oscilloscope. * This program is to be built as a WIN32 console application. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 892 /* Open a device session using the DEVICE_ADDRESS */ id = iopen(DEVICE_ADDRESS); if (id == 0) printf ("Oscilloscope iopen failed!\n"); else printf ("Oscilloscope session initialized!\n"); /* Set the I/O timeout value for this session to 5 seconds. */ itimeout(id, TIMEOUT); Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 893 * the response into buf. ipromptf(id, "*IDN?\n", "%t", buf); printf("%s\n", buf); /* AUTOSCALE - This command evaluates all the input signals and * sets the correct conditions to display all of the active signals. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 894 * function from main. void extra (void) /* RUN_STOP (not executed in this example): - RUN starts the acquisition of data for the active waveform display. - STOP stops the data acquisition and turns off AUTOSTORE. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 895 * been enough time for the data acquisition process to collect * data and the results may not be accurate. An error value of * 9.9E+37 may be returned over the bus in this situation. iprintf(id, ":DIGITIZE CHAN1\n"); Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 896 /* IMAGE_TRANSFER - In this example we will query for the image * data with ":DISPLAY:DATA?" to read the data and save the data * to the file "image.dat" which you can then send to a printer. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 897 ("Data Point %4d = %6.2f Volts at %10f Seconds\n", i, ((float)waveform_data[i] - preamble[9]) * preamble[7] + preamble[8], ((float)i - preamble[6]) * preamble[4] + preamble[5]); save_waveform(); /* Save waveform data to disk. */ retrieve_waveform(); /* Load waveform data from disk. */ Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 898 YINCREMENT : float32 - voltage difference between data points. YORIGIN : float32 - value of the voltage at center screen. YREFERENCE : int32 - data point where y-origin occurs. printf("Reading preamble\n"); ipromptf(id, ":WAVEFORM:PREAMBLE?\n", "%,10lf\n", preamble); printf("Preamble FORMAT: %e\n", preamble[0]); Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 899 = %d\n", waveform_size); * save_waveform * ------------------------------------------------------------------ * This function saves the waveform data from the get_waveform * function to disk. The data is saved to a file called "wave.dat". void save_waveform(void) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 900: Sicl Example In Visual Basic

    Suite\include directory), select it, and click Open. Choose Insert>Module. Cut- and- paste the code that follows into the editor. Edit the program to use the SICL address of your oscilloscope, and save the changes. Run the program. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 901 ' Close the vi session and the resource manager session. Call iclose(id) Exit Sub ErrorHandler: MsgBox "*** Error : " + Error, vbExclamation End Sub ' Initialize the oscilloscope to a known state. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 902 Open strPath For Binary Access Write Lock Write As hFile Dim lngI As Long For lngI = 0 To lngSetupStringSize - 1 Put hFile, , byteArray(lngI) ' Write data. Next lngI Close hFile ' Close file. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 903 ' Length of file. Get hFile, , byteArray ' Read data. Close hFile ' Close file. ' Write learn string back to oscilloscope using ":SYSTem:SETup" ' command: Dim lngRestored As Long lngRestored = DoCommandIEEEBlock(":SYSTem:SETup", lngSetupFileSize) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 904 Open strPath For Binary Access Write Lock Write As hFile Dim lngI As Long For lngI = 10 To lngBlockSize - 1 ' Skip past 10-byte header. Put hFile, , byteArray(lngI) ' Write data. Next lngI Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 905 Dim lngVSteps As Long Dim intBytesPerData As Integer lngVSteps = 256 intBytesPerData = 1 ' Get the waveform data Dim lngNumBytes As Long lngNumBytes = DoQueryIEEEBlock_Bytes(":WAVeform:DATA?") Debug.Print "Waveform data IEEEBlock bytes: " + CStr(lngNumBytes) Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 906 Call ivprintf(id, command + vbLf) CheckForInstrumentErrors command Exit Sub ErrorHandler: MsgBox "*** Error : " + Error, vbExclamation End Sub Private Function DoCommandIEEEBlock(command As String, _ lngBlockSize As Long) On Error GoTo ErrorHandler ' Send command part. Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 907 On Error GoTo ErrorHandler Dim dblResult As Double Call ivprintf(id, query + vbLf) Call ivscanf(id, "%lf" + vbLf, dblResult) CheckForInstrumentErrors query DoQueryNumber = dblResult Exit Function ErrorHandler: MsgBox "*** Error : " + Error, vbExclamation Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 908 If Not strOut = "" Then MsgBox strOut, vbExclamation, "INST Error Messages, " + _ strCmdOrQuery Call iflush(id, I_BUF_DISCARD_READ Or I_BUF_DISCARD_WRITE) End If Exit Sub ErrorHandler: MsgBox "*** Error: " + Error, vbExclamation End Sub Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 909 AVERage commands, BWLimit commands, ALL segments waveform save option, average value measurement, byte format for data transfer, 622, alphabetical list of commands, averaging acquisition type, 182, BYTeorder, AMASk commands, averaging, synchronizing with, amplitude, vertical, Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 910 CHANnel<n> commands, 217, code, VISA COM library example in C#, CSV (Comma Separated Values) hardcopy channels to autoscale, code, VISA COM library example in Visual format, channels, how autoscale affects, Basic, characters to display, Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 911 DISPlay commands, 244, deep analysis record, ellipsis, display commands introduction, default conditions, enable channel labels, display connect, define channel labels, enabling calibration, Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 912 :WAVeform:POINts, FLEXray trigger autosetup, glitch trigger polarity, example code, :WAVeform:PREamble, FLEXray trigger commands, glitch trigger source, example code, :WAVeform:SEGMented, FlexRay triggering, GOFT commands, example code, *RST, format, 628, graphics, Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 913 46, HWERegister:CONDition (Hardware Event initialize, Condition Register), 154, initialize label list, HWERegister[:EVENt] (Hardware Event Event label, 240, initiate acquisition, Register), 156, label command, bus, inksaver, save image with, LABel commands, input, 257, Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 914 412, lower threshold channel, M1553 trigger, markers, masks, bind levels, lower threshold voltage for measurement, measurements, time between trigger and master summary status bit, lowercase characters in commands, edge, math function, stop displaying, Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 915 490, 491, 519, new line (NL) terminator, 108, order of output, pattern format, I2S, NL (new line) terminator, 108, oscilloscope connection, opening, pattern format, LIN, noise reject filter, oscilloscope connection, verifying, pattern length, 481, Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 916 342, quoted ASCII string, print mask test failures, reporting status, QYE (Query Error) status bit, 119, print query, reporting the setup, printer, request service, Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 917 SPI trigger frame, saving and recalling data, setting pod display, SPI triggering, SBUS commands, setting pod size, square root math function, scale, 276, 462, setting pod threshold, SCALe commands, Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 918 467, trigger qualifier, UART, time, stop marker, sweep speed set to fast to measure fall trigger reset conditions, time, system, time, TRIGger SEQuence commands, time/div, how autoscale affects, Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 919 USB trigger, trigger, IIC pattern data 2, turn off math function, USB trigger commands, trigger, IIC qualifier, turn off measurements, USB triggering, trigger, IIC signal baudrate, turn off trace memories, user defined channel labels, Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 920 Y-origin, 650, Visual Basic for Applications, 48, waveform, X origin, Y-reference, Visual Basic, SICL library example, waveform, X reference, Visual Basic, VISA COM example, waveform, Y increment, Visual Basic, VISA example, waveform, Y origin, Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 921 Index zero values in waveform data, zoomed time base, zoomed time base mode, how autoscale affects, zoomed window horizontal scale, Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...
  • Page 922 Index Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide...

Table of Contents