background image

Marker Commands

23

Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference

419

 

:MARKer:MEASurement:MEASurement

Command

:MARKer:MEASurement:MEASurement {MEASurement<N>}

The :MARKer:MEASurement:MEASurement command specifies which 
measurement markers track. This setting is only used when the 
:MARKer:MODE is set to MEASurement.

<N>

MEASurement<N> is an integer, 1- 10.

Example

This example sets the markers to track the fourth measurement.

myScope.WriteString ":MARKER:MEASurement:MEASurement MEASurement4"

Query

:MARKer:MEASurement:MEASurement?

The :MARKer:MEASurement:MEASurement? query returns the currently 
specified measurement for marker tracking.

Returned Format

[:MARKer:MEASurement:MEASurement] {MEAS<N>}<NL>

Example

This example places the current marker mode in the string variable, 
strTrackMeas, then prints the contents of the variable to the computer's 
screen.

Dim strTrackMeas As String

' Dimension variable.

myScope.WriteString ":MARKER:MEASurement:MEASurement?"

strTrackMeas = myScope.ReadString

Debug.Print strTrackMeas

See Also

":MARKer:MODE" 

on page 420

Содержание Infiniium 90000 Q-Series

Страница 1: ...s1 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference...

Страница 2: ...terms of such license Restricted Rights Legend If software is for use in the performance of a U S Government prime contract or sub contract Software is delivered and licensed as Commercial computer so...

Страница 3: ...s Reporting starting on page 103 Chapter 7 Remote Acquisition Synchronization starting on page 127 Chapter 8 Programming Conventions starting on page 137 The next chapters describe the commands used t...

Страница 4: ...are no longer supported Chapter 37 Error Messages starting on page 1007 describes error messages Chapter 38 Sample Programs starting on page 1019 shows example programs in various languages using the...

Страница 5: ...39 What s New in Version 3 11 40 What s New in Version 3 10 41 2 Setting Up Step 1 Install Agilent IO Libraries Suite software 44 Step 2 Connect and set up the oscilloscope 45 Using the USB Device In...

Страница 6: ...a Subsystem 70 Selecting Multiple Subsystems 71 Programming Getting Started 72 Referencing the IO Library 73 Opening the Oscilloscope Connection via the IO Library 74 Initializing the Interface and t...

Страница 7: ...ssage Communication and System Functions Protocols 100 Functional Elements 100 Protocol Overview 100 Protocol Operation 101 Protocol Exceptions 101 Suffix Multiplier 101 Suffix Unit 102 6 Status Repor...

Страница 8: ...form 130 Retrieving Results 131 Acquisition Synchronization 132 Blocking Synchronization 132 Polling Synchronization With Timeout 132 Single Shot Device Under Test DUT 134 Averaging Acquisition Synchr...

Страница 9: ...SRATe ANALog 170 ACQuire SRATe ANALog AUTO 172 ACQuire SRATe DIGital 173 ACQuire SRATe DIGital AUTO 174 10 Bus Commands BUS B N TYPE 176 BUS N BIT M 177 BUS N BITS 178 BUS N CLEar 179 BUS N CLOCk 180...

Страница 10: ...HANnel N PROBe AUTozero 219 CHANnel N PROBe COUPling 220 CHANnel N PROBe EADapter 221 CHANnel N PROBe ECOupling 223 CHANnel N PROBe EXTernal 224 CHANnel N PROBe EXTernal GAIN 225 CHANnel N PROBe EXTer...

Страница 11: ...8 14 Digital Commands DIGital N DISPlay 270 DIGital N LABel 271 DIGital N SIZE 272 DIGital N THReshold 273 15 Disk Commands DISK CDIRectory 276 DISK COPY 277 DISK DELete 278 DISK DIRectory 279 DISK LO...

Страница 12: ...308 DISPlay PERSistence 309 DISPlay ROW 310 DISPlay SCOLor 311 DISPlay STATus COL 313 DISPlay STATus ROW 314 DISPlay STRing 315 DISPlay TAB 316 DISPlay TEXT 317 17 Function Commands FUNCtion F 322 FUN...

Страница 13: ...n F MULTiply 353 FUNCtion F OFFSet 354 FUNCtion F RANGe 355 FUNCtion F SMOoth 356 FUNCtion F SQRT 357 FUNCtion F SQUare 358 FUNCtion F SUBTract 359 FUNCtion F VERSus 360 FUNCtion F VERTical 361 FUNCti...

Страница 14: ...ce 392 ISCan RUNT HYSTeresis 393 ISCan RUNT LLEVel 394 ISCan RUNT SOURce 395 ISCan RUNT ULEVel 396 ISCan SERial PATTern 397 ISCan SERial SOURce 398 ISCan ZONE HIDE 399 ISCan ZONE SOURce 400 ISCan ZONE...

Страница 15: ...UNITs 437 MTESt AMASk XDELta 438 MTESt AMASk YDELta 439 MTESt AUTO 440 MTESt AVERage 441 MTESt AVERage COUNt 442 MTESt COUNt FAILures 443 MTESt COUNt FUI 444 MTESt COUNt FWAVeforms 445 MTESt COUNt UI...

Страница 16: ...ion 488 MEASure CGRade EHEight 489 MEASure CGRade EWIDth 490 MEASure CGRade EWINdow 491 MEASure CGRade JITTer 492 MEASure CGRade QFACtor 493 MEASure CLEar 494 MEASure CLOCk 495 MEASure CLOCk METHod 49...

Страница 17: ...STogram MEAN 549 MEASure HISTogram MEDian 550 MEASure HISTogram MIN 551 MEASure HISTogram MODE 552 MEASure HISTogram PEAK 553 MEASure HISTogram PP 554 MEASure HISTogram RESolution 555 MEASure HISTogra...

Страница 18: ...SCOPe RN 588 MEASure NOISe STATe 589 MEASure NOISe UNITs 590 MEASure NPERiod 591 MEASure NPULses 592 MEASure NUI 593 MEASure NWIDth 594 MEASure OVERshoot 596 MEASure PAMPlitude 598 MEASure PBASe 599...

Страница 19: ...HResholds ABSolute 646 MEASure THResholds HYSTeresis 648 MEASure THResholds METHod 650 MEASure THResholds PERCent 651 MEASure THResholds TOPBase METHod 653 MEASure THResholds TOPBase ABSolute 654 MEAS...

Страница 20: ...nt N SOURce 695 26 Pod Commands POD N DISPlay 698 POD N PSKew 699 POD N THReshold 700 27 Root Level Commands ADER 705 AER 706 ATER 707 AUToscale 708 AUToscale CHANnels 709 AUToscale PLACement 710 AUTo...

Страница 21: ...order 746 SBUS N SPI CLOCk SLOPe 747 SBUS N SPI CLOCk TIMeout 748 SBUS N SPI FRAMe STATe 749 SBUS N SPI SOURce CLOCk 750 SBUS N SPI SOURce DATA 751 SBUS N SPI SOURce FRAMe 752 SBUS N SPI SOURce MISO 7...

Страница 22: ...izer TAP UTARget 784 SPRocessing DFEQualizer TAP LTARget 785 SPRocessing DFEQualizer TAP AUTomatic 786 SPRocessing FFEQualizer DISPlay 787 SPRocessing FFEQualizer SOURce 788 SPRocessing FFEQualizer NP...

Страница 23: ...INDow POSition 827 TIMebase WINDow RANGe 828 TIMebase WINDow SCALe 829 33 Trigger Commands General Trigger Commands 833 TRIGger AND ENABle 834 TRIGger AND SOURce 835 TRIGger HOLDoff 836 TRIGger HOLDof...

Страница 24: ...ce 868 TRIGger GLITch WIDTh 869 Pattern Trigger Commands 870 TRIGger PATTern CONDition 871 TRIGger PATTern LOGic 872 Pulse Width Trigger Commands 873 TRIGger PWIDth DIRection 874 TRIGger PWIDth POLari...

Страница 25: ...er TIMeout CONDition 906 TRIGger TIMeout SOURce 907 TRIGger TIMeout TIME 908 Transition Trigger Commands 909 TRIGger TRANsition DIRection 910 TRIGger TRANsition SOURce 911 TRIGger TRANsition TIME 912...

Страница 26: ...WAVeform SEGMented XLISt 973 WAVeform SOURce 974 WAVeform STReaming 975 WAVeform TYPE 976 WAVeform VIEW 977 WAVeform XDISplay 979 WAVeform XINCrement 980 WAVeform XORigin 981 WAVeform XRANge 982 WAVef...

Страница 27: ...020 VISA COM Example in Visual Basic 1020 VISA COM Example in C 1031 VISA COM Example in Visual Basic NET 1041 VISA COM Example in Python 1051 VISA Examples 1059 VISA Example in C 1059 VISA Example in...

Страница 28: ...gilent Infiniium 90000 Series Oscilloscopes Programmer s Reference BIN Header Format 1155 File Header 1155 Waveform Header 1155 Waveform Data Header 1157 Example Program for Reading Binary Data 1158 I...

Страница 29: ...at s New What s New in Version 4 50 30 What s New in Version 4 30 33 What s New in Version 4 20 34 What s New in Version 4 10 35 What s New in Version 4 00 36 What s New in Version 3 50 37 What s New...

Страница 30: ...oscilloscopes which provide up to 16 digital input channels DISable DIGital see page 716 The DISable DIGital command supports the new MSO 90000 X Series mixed signal oscilloscopes which provide up to...

Страница 31: ...me see page 639 Digital channels can now be specified as sources MEASure SOURce see page 642 Digital channels can now be specified as sources MEASure TEDGe see page 644 Digital channels can now be spe...

Страница 32: ...857 Digital channels can now be specified as the source TRIGger DELay TRIGger SOU Rce see page 861 Digital channels can now be specified as the source TRIGger EDGE SOURce see page 865 Digital channel...

Страница 33: ...aveform delayed in time FUNCtion F GATing see page 340 Defines a horizontal gating function of another waveform similar to horizontal zoom Measurements on horizontal gating functions are essentially g...

Страница 34: ...OCk METHod JT F see page 502 Specifies the clock recovery PLL s response in terms of the Jitter Transfer Function s JTF 3 dB bandwidth MEASure CLOCk METHod OJ TF see page 504 Specifies the clock recov...

Страница 35: ...AILfit to specify which method is used for the reports MEASure RJDJ METHod see page 627 Lets you select the method for random jitter RJ analysis either the SPECtral method or BOTH the spectral and tai...

Страница 36: ...dwidth models of the 90000 Q Series oscilloscopes this command enables or disables the RealEdge channel inputs DISK SAVE PRECprobe see page 287 Saves PrecisionProbe Cable data to a file ISCan ZONE HID...

Страница 37: ...MEASure NOISe see page 580 Adds a Noise measurement to the oscilloscope display like Measure Data Noise from the front panel or gets the measured noise value MEASure NOISe ALL see page 581 Returns th...

Страница 38: ...with Meas Histogram math functions MEASure HISTogram MAX see page 548 Can now use this command with Meas Histogram math functions MEASure HISTogram MEAN see page 549 Can now use this command with Mea...

Страница 39: ...X Series oscilloscope software appear below New Commands Command Description MARKer MEASurement MEA Surement see page 419 Specifies which measurement markers track when the MARKer MODE is set to MEASu...

Страница 40: ...CHANnel N ISIM PEXTracti on see page 210 Selects a channel s InfiniiSim port extraction MEASure HISTogram MODE see page 552 Returns the measurement histogram s Mode value Command Description BUS B N T...

Страница 41: ...ion CHANnel N PROBe PRECpr obe ZSRC see page 238 Specifies how PrecisionProbe characterizes the time domain and frequency domain response DISPlay STATus COL see page 313 Used to position the real time...

Страница 42: ...INT16 options have been added for specifying the 1 2 4 8 or 16 point Sin x x interpolation ratios MEASure RJDJ BER see page 622 You can now set J2 and J9 jitter BER levels MEASure VRMS see page 686 T...

Страница 43: ...scilloscope connection 46 This chapter explains how to install the Agilent IO Libraries Suite software on a controller PC connect the oscilloscope to the controller PC set up the oscilloscope and veri...

Страница 44: ...To install the Agilent IO Libraries Suite software on a controller PC 1 Download the Agilent IO Libraries Suite software from the Agilent web site at http www agilent com find iolib 2 Run the setup f...

Страница 45: ...to the USB DEVICE port on the back of the oscilloscope This is a USB 2 0 high speed port Using the LAN Interface 1 If the controller PC is not already connected to the local area network LAN do that f...

Страница 46: ...choose Agilent Connection Expert from the popup menu 2 In the Agilent Connection Expert application instruments connected to the controller s USB and GPIB interfaces should automatically appear You c...

Страница 47: ...ies Oscilloscopes Programmer s Reference 47 You must manually add instruments on LAN interfaces a Right click on the LAN interface choose Add Instrument from the popup menu b If the oscilloscope is on...

Страница 48: ...click Add Address i In the next dialog select either Hostname or IP address and enter the oscilloscope s hostname or IP address ii Click Test Connection iii If the instrument is successfully opened cl...

Страница 49: ...end Commands To This Instrument from the popup menu b In the Agilent Interactive IO application enter commands in the Command field and press Send Command Read Response or Send Read c Choose Connect E...

Страница 50: ...50 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 2 Setting Up...

Страница 51: ...rogram Data 66 Numeric Program Data 67 Embedded Strings 68 Program Message Terminator 69 Common Commands within a Subsystem 70 Selecting Multiple Subsystems 71 Programming Getting Started 72 Referenci...

Страница 52: ...eans of remote control Basic operations that you can do with a computer and an oscilloscope include Set up the oscilloscope Make measurements Get data waveform measurements and configuration from the...

Страница 53: ...A COM library provides the WriteString method for sending commands and queries After a query is sent the response can be read using the ReadString method The ReadString method passes the value across...

Страница 54: ...tions VBA Visual Basic NET C C etc The only time a parameter is not meant to be expressed as a string is when the instruction s syntax definition specifies block data such as with the SYSTem SETup com...

Страница 55: ...o be performed by the oscilloscope See Chapter 8 Programming Conventions starting on page 137 for more information Queries are formed by adding a question mark to the end of the header Many instructio...

Страница 56: ...ace Separator White space is used to separate the instruction header from the program data If the instruction does not require any program data parameters you do not need to include any white space In...

Страница 57: ...90000 Series Oscilloscopes Programmer s Reference 57 Braces When several items are enclosed by braces only one of these elements may be selected Vertical line indicates or For example ON OFF indicate...

Страница 58: ...Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 3 Introduction to Programming Ellipsis An ellipsis trailing dots indicates that the preceding element may be repeated one or more ti...

Страница 59: ...Introduction to Programming 3 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 59 Square Brackets Items enclosed in square brackets are optional...

Страница 60: ...ies require that a source be specified Depending on the command or query and the model number of Infiniium oscilloscope being used some of the sources are not available The following is a list of sour...

Страница 61: ...f the command or query It provides necessary information such as whether a function should be on or off or which waveform is to be displayed Each instruction s syntax definition shows the program data...

Страница 62: ...is program mnemonic terminator For example AUTOSCALE When program data must be included with the simple command header for example DIGITIZE CHAN1 white space is added to separate the data from the hea...

Страница 63: ...ons within the oscilloscope The syntax is command header terminator No space or separator is allowed between the asterisk and the command header CLS is an example of a common command header Duplicate...

Страница 64: ...r Range You can use queries to find out how the oscilloscope is currently configured and to get results of measurements made by the oscilloscope For example the query MEASURE RISETIME tells the oscill...

Страница 65: ...short form For example TIMebase DELay 1E 6 is the long form TIM DEL 1E 6 is the short form The command descriptions in this reference show upper and lowercase characters For example AUToscale indicate...

Страница 66: ...to left center or right The character program data in this case may be LEFT CENTER or RIGHT The command TIMEBASE REFERENCE RIGHT sets the time base reference to right The available mnemonics for char...

Страница 67: ...all equal 28 0 28E2 280E 1 28000m 0 028K 28E 3K When a syntax definition specifies that a number is an integer it means that the number should be whole Any fractional part is ignored and truncated Nu...

Страница 68: ...ic characters which are treated as a unit of data by the oscilloscope An example of this is the line of text written to the advisory line of the oscilloscope with the SYSTEM DSP command SYSTEM DSP Thi...

Страница 69: ...eived The terminator may be either an NL New Line character an EOI End Or Identify asserted in the GPIB interface or a combination of the two Asserting the EOI sets the EOI control line low on the las...

Страница 70: ...subsystem For example if the program message ACQUIRE AVERAGE ON CLS COUNT 1024 is received by the oscilloscope the oscilloscope turns averaging on then clears the status information without leaving t...

Страница 71: ...es for different subsystems on the same line by separating each command with a semicolon The colon following the semicolon lets you enter a new subsystem For example program mnemonic data program mnem...

Страница 72: ...Getting Started The remainder of this chapter explains how to set up the oscilloscope how to retrieve setup information and measurement results how to digitize a waveform and how to pass data to the c...

Страница 73: ...ry files see the Agilent IO Libraries Suite documentation for more information To reference the Agilent VISA COM library in Visual Basic for Applications VBA which comes with Microsoft Office products...

Страница 74: ...od the FormattedIO488 object s WriteString WriteNumber WriteList or WriteIEEEBlock methods are used for sending commands and queries After a query is sent the response is read using the ReadString Rea...

Страница 75: ...r and set the interface timeout to 10 seconds myScope IO Clear myScope IO Timeout 10000 When you are using GPIB CLEAR also resets the oscilloscope s parser The parser is the program which reads in the...

Страница 76: ...elay time delay reference trigger mode trigger level and slope A typical example of the commands sent to the oscilloscope are CHANNEL1 PROBE 10 RANGE 16 OFFSET 1 00 terminator SYSTEM HEADER OFF termin...

Страница 77: ...enter Set the vertical range to 1 6 volts full scale with center screen at 0 4 volts with 10 1 probe attenuation and DC coupling myScope WriteString CHANnel1 PROBe 1 0 Probe attenuation to 1 1 myScope...

Страница 78: ...umber of data points comprising a waveform varies according to the number requested in the ACQUIRE subsystem The ACQUIRE subsystem determines the number of data points type of acquisition and number o...

Страница 79: ...ructures available formatting and I O capabilities You must convert the data values to determine the voltage value of each point These data values are passed starting with the left most point on the o...

Страница 80: ...CHANNEL1 INPUT you would use the ReadString method Dim strSetting As String myScope WriteString CHANnel1 INPut strSetting myScope ReadString This would enter the current setting for the channel 1 coup...

Страница 81: ...for the formats and types of data returned from queries This example shows the data being returned to a string variable Dim strRang As String myScope WriteString CHANNEL1 RANGE strRang myScope ReadStr...

Страница 82: ...Programming Numeric Variable Example This example shows the data being returned to a numeric variable Dim varRang As Variant myScope WriteString CHANnel1 RANGe varRang myScope ReadNumber Debug Print C...

Страница 83: ...antities of data or 8 bit extended ASCII codes The syntax is a pound sign followed by a non zero digit representing the number of digits in the decimal integer After the non zero digit is the decimal...

Страница 84: ...single string variable each response is separated by a semicolon For example the output of the previous example would be Timebase range delay range_value delay_value To read the TIMebase RANGe DELay q...

Страница 85: ...5 Oscilloscope Status Status registers track the current status of the oscilloscope By checking the oscilloscope status you can find out whether an operation has completed and is receiving triggers Ch...

Страница 86: ...86 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 3 Introduction to Programming...

Страница 87: ...ies 91 GPIB Command and Data Concepts 92 Communicating Over the GPIB Interface 93 Communicating Over the LAN Interface 94 Communicating via Telnet and Sockets 96 Bus Commands 98 There are several type...

Страница 88: ...on the rear panel This allows direct connect to your network However before you can use the LAN interface to program the oscilloscope the network properties must be configured Unless you are a Network...

Страница 89: ...loscope by installing a GPIB cable between the two units Finger tighten the captive screws on both ends of the GPIB cable to avoid accidentally disconnecting the cable during operation A maximum of fi...

Страница 90: ...hex Service Request Enable Register is set to 0x80 hex The Operation Status Enable Register is set to 0xFFFF hex The Overload Event Enable Register is set to 0xFF hex The Mask Test Event Enable Regis...

Страница 91: ...Function Capability SH1 Source Handshake Full Capability AH1 Acceptor Handshake Full Capability T5 Talker Basic Talker Serial Poll Talk Only Mode Unaddress if Listen Address MLA L4 Listener Basic List...

Страница 92: ...ention ATN control line is true The command mode is used to send talk and listen addresses and various interface commands such as group execute trigger GET The interface is in the data mode when the A...

Страница 93: ...face Select Code Each interface card has a unique interface select code This code is used by the computer to direct commands and communications to the proper interface The default is typically 7 for t...

Страница 94: ...Setup from the Infiniium oscilloscope application s main menu as shown below The following C example program shows how to communicate with the oscilloscope using the LAN interface and the Agilent Sta...

Страница 95: ...90000 Series Oscilloscopes Programmer s Reference 95 Clear the interface iclear Bus Query and print the oscilloscope s Id iwrite Bus IDN 5 1 actualcnt iread Bus buffer BUFFER_SIZE reason actualcnt bu...

Страница 96: ...a Windows or Unix machine The sockets are located on port 5025 on your oscilloscope Between ports 5024 and 5025 only six socket ports can be opened simultaneously It is therefore important that you u...

Страница 97: ..._SOCKET printf Error at socket ld n WSAGetLastError WSACleanup return NULL sockaddr_in clientService clientService sin_family AF_INET clientService sin addr s_addr inet_addr ipAddress clientService si...

Страница 98: ...C commands clear the input buffer and output queue reset the parser and clear any pending commands If either of these commands is sent during a digitize operation the digitize operation is aborted Gro...

Страница 99: ...ts Protocols and Common Commands This oscilloscope series is designed to be compatible with other Agilent Technologies IEEE 488 2 compatible instruments Oscilloscopes that are compatible with IEEE 488...

Страница 100: ...rsing and executing commands Output Queue The output queue of the oscilloscope is the memory area where all output data or response messages are stored until read by the computer Parser The oscillosco...

Страница 101: ...t After you send a query message the next message should be the response message The computer should always read the complete response message associated with a query message before sending another pr...

Страница 102: ...d System Functions Suffix Unit The suffix units that the oscilloscope will accept are shown in Table 3 Table 2 suffix mult Value Mnemonic Value Mnemonic 1E18 EX 1E 3 M 1E15 PE 1E 6 U 1E12 T 1E 9 N 1E9...

Страница 103: ...er 120 Trigger Armed Event Register 121 Auto Trigger Event Register 122 Error Queue 1008 Output Queue 124 Message Queue 125 Clearing Registers and Queues 126 An overview of the oscilloscope s status r...

Страница 104: ...loscope defined structures and bits The status reporting structure consists of the registers shown here Table 4 lists the bit definitions for each bit in the status reporting data structure Figure 2 S...

Страница 105: ...have occurred RQS Request Service Indicates that the device is requesting service MSS Master Summary Status Indicates if a device has a reason for requesting service ESB Event Status Bit Indicates if...

Страница 106: ...e bits are enabled by using the ESE common command to set the corresponding bit in the Standard Event Status Enable Register To generate a service request SRQ interrupt to the computer you must enable...

Страница 107: ...Status Reporting 6 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 107 Figure 4 Status Reporting Data Structures Continued...

Страница 108: ...ry reads bit 6 as the Master Summary Status MSS and does not clear the bit or have any effect on the SRQ interrupt The value returned is the total bit weights of all of the bits that are set at the pr...

Страница 109: ...en the Status Byte Register is read by the serial poll command Example 2 The following example uses the resource session object s ReadSTB method to read the contents of the oscilloscope s Status Byte...

Страница 110: ...are set are read with the SRE query Bit 6 always returns 0 Refer to the Status Reporting Data Structures shown in Figure 3 Example The following example sets bit 4 MAV and bit 5 ESB in the Service Re...

Страница 111: ...register sets the MSG bit in the status byte register when an internally generated message is written to the advisory line on the oscilloscope The message is read using the SYSTEM DSP query Note that...

Страница 112: ...rigger event register stays set until it is cleared by reading the register with the TER query or by using the CLS clear status command If your application needs to detect multiple triggers the trigge...

Страница 113: ...n the Standard Event Status Enable Register a summary bit ESB in the Status Byte Register is set You can read the contents of the Standard Event Status Register and clear the register by sending the E...

Страница 114: ...u can enable any of these bits to generate the summary bit by sending myScope WriteString ESE CStr CInt H3C Whenever an error occurs it sets one of these bits in the Standard Event Status Register Bec...

Страница 115: ...ll math processes are done The WAIT TRIG bit is set by the Trigger Armed Event Register and indicates the trigger is armed The MASK bit is set whenever at least one of the Mask Test Event Register bit...

Страница 116: ...n enable this bit to generate the summary bit by sending myScope WriteString OPEE CStr CInt H200 Whenever an error occurs the oscilloscope sets this bit in the Mask Test Event Register Because this bi...

Страница 117: ...Test Fail bit is set whenever the mask test failed The Mask Low Amplitude bit is set whenever the signal is below the mask amplitude The Mask High Amplitude bit is set whenever the signal is above th...

Страница 118: ...ope WriteString MTEE CStr CInt H2 Whenever an error occurs the oscilloscope sets the MASK bit in the Operation Status Register Because the bits in the Operation Status Enable Register are all enabled...

Страница 119: ...nt Register ACQ DONE sets bit 0 ACQ DONE bit in the Operation Status Register when the oscilloscope acquisition is completed The ACQ DONE event register stays set until it is cleared by reading the re...

Страница 120: ...s Reference 6 Status Reporting Process Done Event Register The Process Done Event Register PDER sets bit 1 PROC DONE of the Operation Status Register when all functions and all math operations are com...

Страница 121: ...igger Armed Event Register TDER sets bit 5 WAIT TRIG in the Operation Status Register when the oscilloscope becomes armed The ARM event register stays set until it is cleared by reading the register w...

Страница 122: ...ger Event Register AUTO TRIG sets bit 11 AUTO TRIG in the Operation Status Register when an auto trigger event occurs The AUTO TRIG register stays set until it is cleared by reading the register with...

Страница 123: ...n for the Queue overflow message The error queue is read with the SYSTEM ERROR query Executing this query reads and removes the oldest error from the head of the queue which opens a position at the ta...

Страница 124: ...ted by certain oscilloscope commands and queries The output queue generates the Message Available summary bit when the output queue contains one or more bytes This summary bit sets the MAV bit bit 4 i...

Страница 125: ...5 Message Queue The message queue contains the text of the last message written to the advisory line on the screen of the oscilloscope The queue is read with the SYSTEM DSP query Note that messages se...

Страница 126: ...WXV WH 5HJLVWHU 8VH WKH 6 FRPPRQ FRPPDQG WR HQDEOH WKH ELWV RX ZDQW WR JHQHUDWH WKH 546 066 ELW WR VHW ELW LQ WKH 6WDWXV WH 5HJLVWHU DQG VHQG 654 WR WKH FRPSXWHU I HYHQWV DUH PRQLWRUHG E WKH 6WDQGDUG...

Страница 127: ...with SCPI commands it is often necessary to know when the oscilloscope has finished the previous operation and is ready for the next SCPI command The most common example is when an acquisition is star...

Страница 128: ...Oscilloscopes Programmer s Reference 7 Remote Acquisition Synchronization Programming Flow Most remote programming follows these three general steps 1 Setup the oscilloscope and device under test 2 Ac...

Страница 129: ...loscope Before making changes to the oscilloscope setup it is best to make sure it is stopped using the STOP command followed by the OPC command After the oscilloscope is configured it is ready for an...

Страница 130: ...Blocking Wait Polling Wait Use When You know the oscilloscope will trigger based on the oscilloscope setup and device under test You know the oscilloscope may or may not trigger based on the oscillos...

Страница 131: ...Acquisition Synchronization 7 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 131 Retrieving Results Once the acquisition is complete it is safe to retrieve measurements and stati...

Страница 132: ...rocessing is complete Example Setup TRIGGER MODE EDGE TIMEBASE SCALE 5e 9 Acquire DIG Get results MEASURE RISETIME Polling Synchronization With Timeout This example requires a timeout value so the ope...

Страница 133: ...Remote Acquisition Synchronization 7 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 133 MEASURE RISETIME...

Страница 134: ...he DUT is enabled This example is the same as the previous example with the addition of checking for the armed event status Example TIMEOUT 1000ms currentTime 0ms Setup STOP OPC if not stopped ADER cl...

Страница 135: ...Remote Acquisition Synchronization 7 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 135 MEASURE RISETIME...

Страница 136: ...cannot be used The SINGle command does not average If it is known that a trigger will occur a DIG will acquire the complete number of averages but if the number of averages is large it may cause a tim...

Страница 137: ...Command Tree 139 Infinity Representation 142 Sequential and Overlapped Commands 143 Response Generation 144 EOI 145 This chapter describes conventions used to program the Infiniium Series Oscilloscop...

Страница 138: ...irst four characters of the keyword unless the fourth character is a vowel Then the mnemonic is the first three characters of the keyword If the length of the keyword is four characters or less this r...

Страница 139: ...pendent of the tree and do not affect the position of the parser within the tree RST is an example of a common command Root level commands control many of the basic functions of the oscilloscope These...

Страница 140: ...preceding it because the CHANNEL1 RANGE command sets the parser to the CHANNEL1 node in the tree Example 2 Consider the following commands myScope WriteString TIMEBASE REFERENCE CENTER POSITION 0 0000...

Страница 141: ...000 Series Oscilloscopes Programmer s Reference 141 In this example the leading colon before CHANNEL1 tells the parser to go back to the root of the command tree The parser can then recognize the CHAN...

Страница 142: ...Series Oscilloscopes Programmer s Reference 8 Programming Conventions Infinity Representation The representation for infinity for this oscilloscope is 9 99999E 37 This is also the value returned when...

Страница 143: ...verlapped Commands IEEE 488 2 makes a distinction between sequential and overlapped commands Sequential commands finish their task before the execution of the next command starts Overlapped commands r...

Страница 144: ...Response Generation As defined by IEEE 488 2 query responses may be buffered for these reasons When the query is parsed by the oscilloscope When the computer addresses the oscilloscope to talk so that...

Страница 145: ...Programming Conventions 8 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 145 EOI The EOI bus control line follows the IEEE 488 2 standard without exception...

Страница 146: ...146 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 8 Programming Conventions...

Страница 147: ...re POINts AUTO 163 ACQuire POINts DIGital 164 ACQuire REDGe 165 ACQuire RESPonse 166 ACQuire SEGMented COUNt 167 ACQuire SEGMented INDex 168 ACQuire SEGMented TTAGs 169 ACQuire SRATe ANALog 170 ACQuir...

Страница 148: ...ging is not available in PDETect mode The MTESt AVERage command performs the same function as this command Example This example turns averaging on myScope WriteString ACQUIRE AVERAGE ON Query ACQuire...

Страница 149: ...a values must be averaged for each time bucket to be considered complete The number of time buckets that must be complete for the acquisition to be considered complete is specified by the ACQuire COMP...

Страница 150: ...idth of the bandwidth filter whose range of values depends on the model number of your oscilloscope NOTE This command is only available with Enhanced Bandwidth or Noise Reduction options Model Bandwid...

Страница 151: ...lent Infiniium 90000 Series Oscilloscopes Programmer s Reference 151 Query ACQuire BANDwidth The ACQuire BANDwidth query returns the bandwidth setting of the bandwidth control Returned Format ACQuire...

Страница 152: ...lly has no effect and the behavior of the oscilloscope is the same as when the completion criteria is set to 100 this is the same as in PDETect mode When ACQuire AVERage is on all of the previous data...

Страница 153: ...is example reads the completion criteria and places the result in the variable varPercent Then it prints the content of the variable to the computer s screen myScope WriteString SYSTEM HEADER OFF mySc...

Страница 154: ...record as the result of any given trigger event You set the acquire mode of the oscilloscope by using the ACQuire MODE command ON Turns the COMPlete mode on Then you can specify the completion percen...

Страница 155: ...bits of vertical resolution which can affect the sampling rate Example This example sets the bit resolution setting to a minimum of 11 bits myScope WriteString ACQuire HRESolution BITS11 Query ACQuir...

Страница 156: ...n or off when the oscilloscope is in one of the real time sampling modes You can also specify the 1 2 4 8 or 16 point Sin x x interpolation ratios using INT1 INT2 INT4 INT8 or INT16 When ON the number...

Страница 157: ...rmines the number of data points per data region From each data region four sample points are chosen to be displayed for each time column The four sample points chosen from each data region are the mi...

Страница 158: ...Peak Detect Segmented mode SEGHres Enables High Resolution Segmented mode To set the desired bits of vertical resolution see ACQuire HRESolution on page 155 Example This example sets the acquisition m...

Страница 159: ...channel depends on the oscilloscope settings of sampling mode sampling rate and trigger sweep The following tables show the range of memory values for the different memory options Table 6 1G Memory O...

Страница 160: ...d sample rate Trigger Sweep Single Auto or Triggered Normal Peak Detect full sample rate and High Resolution Modes 16 to 205 000 000 Normal and High Resolution modes with averaging 16 to 2 050 000 Pea...

Страница 161: ...l Peak Detect full sample rate and High Resolution modes 16 to 51 250 000 Normal and High Resolution modes with averaging 16 to 2 050 000 Peak Detect Mode at full sample rate 16 to 51 250 000 Equivale...

Страница 162: ...rmat ACQuire POINts ANALog points_value NL Example This example checks the current setting for memory depth and places the result in the variable varLength Then the program prints the contents of the...

Страница 163: ...ire POINts command Example This example sets the automatic memory depth control to off myScope WriteString ACQUIRE POINTS AUTO OFF Query ACQuire POINts AUTO The ACQuire POINts AUTO query returns the a...

Страница 164: ...00 Series Oscilloscopes Programmer s Reference 9 Acquire Commands ACQuire POINts DIGital Query ACQuire POINts DIGital The ACQuire POINts DIGital query returns the current memory depth for the digital...

Страница 165: ...ixed at 160 GSa s Real Time Normal is the only acquisition mode available Example This example enables the RealEdge channel inputs myScope WriteString ACQuire REDGe ON Query ACQuire REDGe The ACQuire...

Страница 166: ...s the decrease in bandwidth Please consult the Flat Magnitude Magnitude Magnitude Filters topic in the help system for specific information regarding the decrease in bandwidth Example This example tur...

Страница 167: ...rol to 1000 myScope WriteString ACQUIRE SEGMented COUNt 1000 Query ACQuire SEGMented COUNt The ACQuire SEGMented COUNT query returns the number of segments control value Returned Format ACQuire SEGMen...

Страница 168: ...the index number of the segment that you want to display Example This example sets the segmented memory index number control to 1000 myScope WriteString ACQUIRE SEGMented INDex 1000 Query ACQuire SEG...

Страница 169: ...ACQUIRE SEGMented TTAGs ON Query ACQuire SEGMented TTAGs The ACQuire SEGMented TTAGs query returns the segmented memory time tags control value Returned Format ACQuire SEGMented TTAGs 1 0 NL Example T...

Страница 170: ...POINts ANALog If you assign a sample rate value with ACQuire SRATe ANALog or a points value using ACQuire POINts ANALog the following interactions will occur Manual means you are setting a non AUTO va...

Страница 171: ...400 500 1k 2k 2 5k 4k 5k 10k 20k 25k 40k 50k 100k 200k 250k 400k 500k 1M 2M 2 5M 4M 5M 10M 20M 25M 40M 50M 100 M 125 M 200 M 250 M 400 M 500 M 1G 1 25 G 2G 2 50 G 4G 5G 10G 20G 40G Table 13 90604A 904...

Страница 172: ...Manual Example This example changes the sampling rate to manual myScope WriteString ACQuire SRATe ANALog AUTO OFF Query ACQuire SRATe ANALog AUTO The ACQuire SRATe ANALog AUTO query returns the curre...

Страница 173: ...e but the value is rounded to the next fastest sample rate Interaction between ACQuire SRATe D IGital and ACQuire POINts DIGital If you assign a sample rate value with ACQuire SRATe DIGital the digita...

Страница 174: ...e to manual myScope WriteString ACQuire SRATe DIGital AUTO OFF Query ACQuire SRATe DIGital AUTO The ACQuire SRATe DIGital AUTO query returns the current digital channel acquisition sample rate Returne...

Страница 175: ...6 BUS N BIT M 177 BUS N BITS 178 BUS N CLEar 179 BUS N CLOCk 180 BUS N CLOCk SLOPe 181 BUS N DISPlay 182 BUS N LABel 183 BUS N READout 184 NOTE The BUS B N TYPE command applies to oscilloscopes with t...

Страница 176: ...eric HOTLink IIC INFiniband JTAG LIN MIPI MPHY PCI3 PCIexpress SAS SATA SPI UART USB2 USB3 XAUI N An integer 1 4 Example This example sets the serial bus waveform number one protocol type to FLEXray m...

Страница 177: ...excluded from the definition The digital subsystem must be enabled for this command will work See ENABle command in the root subsystem M An integer 0 15 N An integer 1 4 Example This example includes...

Страница 178: ...for this command will work See ENABle command in the root subsystem N An integer 1 4 channel_list The channel range is from 0 to 15 in the following format Example This example includes bits 1 2 4 5 6...

Страница 179: ...Command BUS N CLEar The BUS N CLEar command excludes all of the digital channels from the selected bus definition N An integer 1 4 Example This example excludes all the digital channels from the bus 1...

Страница 180: ...for decoding the bus values M An integer 0 15 N An integer 1 4 O An integer 1 4 Example This example sets the clock to channel 1 for bus 1 myScope WriteString ENABLE DIGITAL myScope WriteString BUS1...

Страница 181: ...or decoding the bus values O An integer 1 4 Example This example sets the clock edge to falling for bus 1 myScope WriteString ENABLE DIGITAL myScope WriteString BUS1 CLOCk SLOPE FALLING Query BUS N CL...

Страница 182: ...igital subsystem must be enabled before this command will work See the ENABle command in the root subsystem N An integer 1 4 Example This example enables the viewing of bus 1 myScope WriteString ENABL...

Страница 183: ...uoted_string A series of 6 or less characters as a quoted ASCII string Example This example sets the bus 1 label to Data myScope WriteString BUS1 LABEL Data Query BUS N LABel The BUS N LABel query ret...

Страница 184: ...anges the format of the numbers displayed in the bus waveform N An integer 1 4 Example This example sets the bus read out to decimal myScope WriteString BUS1 READOUT DECIMAL Query BUS N READout The BU...

Страница 185: ...the calibration procedure and how the calibration subsystem is intended to be used Oscilloscope Calibration Oscilloscope calibration establishes calibration factors for the oscilloscope These factors...

Страница 186: ...factors only if a probe calibration is performed If you do not perform a probe calibration but want to use an unidentified probe enter the attenuation factor in the Setup Channel Probes Configure Pro...

Страница 187: ...umber from 2 4 V to 2 4 V dc ZERO a 450 mV DV level ONE a 150 mV DC level DPULse A double pulse signal SOSC The 100 MHz reference clock output HFOSC A high frequency oscillator output Example This exa...

Страница 188: ...to the current time base position to shift the position of the channel s data in time Use this command to compensate for differences in the electrical lengths of input paths due to cabling and probes...

Страница 189: ...hese are ten comma separated integers with 1 0 or 1 A 1 indicates pass a 0 indicates fail and a 1 indicates unused This matches the status in the Calibration dialog box in the Utilities menu Returned...

Страница 190: ...190 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 11 Calibration Commands...

Страница 191: ...HANnel N ISIM CONVolve 205 CHANnel N ISIM CORRection 206 CHANnel N ISIM DEConvolve 208 CHANnel N ISIM DELay 209 CHANnel N ISIM PEXTraction 210 CHANnel N ISIM SPAN 212 CHANnel N ISIM STATe 213 CHANnel...

Страница 192: ...l subsystem commands control all vertical Y axis functions of the oscilloscope You may toggle the channel displays on and off with the root level commands VIEW and BLANk or with CHANnel DISPlay NOTE I...

Страница 193: ...ns channel 1 common mode channel on channel 1 channel 3 myScope WriteString CHANnel1 COMMonmode ON Query CHANnel N COMMonmode The CHANnel N COMMonmode query returns whether the channel is in commonmod...

Страница 194: ...urns channel 1 differential on channel 1 channel 3 myScope WriteString CHANNEL1 DIFFerential ON Query CHANnel N DIFFerential The CHANnel N DIFFerential query returns whether the channel is in differen...

Страница 195: ...l to 10 s myScope WriteString CHANNEL1 DIFFerential SKEW 10E 6 Query CHANnel N DIFFerential SKEW The CHANnel N DIFFerential SKEW query returns the skew that is applied to the differential or common mo...

Страница 196: ...nnel 1 display in the variable varDisplay then prints the contents of the variable to the computer s screen myScope WriteString SYSTem HEADer OFF myScope WriteString CHANNEL1 DISPLAY varDisplay myScop...

Страница 197: ...DISPlay AUTO 1 0 NL Example This example places whether or not the channel 1 channel 3 differential channel display scale and offset is tracking the acquisition scale and offset in the variable varAut...

Страница 198: ...lue NL Example This example places the displayed offset of channel 1 in the variable varOffset then prints the contents of the variable to the computer s screen myScope WriteString SYSTem HEADer OFF m...

Страница 199: ...Format CHANnel N DISPlay RANGe range NL Example This example places the range of channel 1 in the variable varRange then prints the contents of the variable to the computer s screen myScope WriteStrin...

Страница 200: ...ISPlay SCALe scale NL Example This example places the display scale of channel 1 in the variable varScale then prints the contents of the variable to the computer s screen myScope WriteString SYSTem H...

Страница 201: ...eger 1 4 Example This example sets the channel 1 input to DC50 myScope WriteString CHANNEL1 INPut DC50 Query CHANnel N INPut The CHANnel N INPut query returns the selected channel input parameter and...

Страница 202: ...rently selected function file name when 2 port or 4 port mode is enabled Returned Format CHANnel N ISIM APPLy file_name NL Example This example puts the current transfer function file name in the vari...

Страница 203: ...nnel input s bandwidth limit cutoff frequency Returned Format CHANnel N ISIM BANDwidth parameter NL Example This example puts the current input for channel 1 in the string variable varBwLimit The prog...

Страница 204: ...bandwidth limiting feature Returned Format CHANnel N ISIM BWLimit 1 0 NL Example This example puts the current InfiniiSim bandwidth limit state for channel 1 in the string variable varLimit The progra...

Страница 205: ...meter file Example This example convolves the s parameter file example s2p with the waveform on channel 1 myScope WriteString CHANNEL1 ISIM CONVolve example s2p NOTE This CHANnel command only applies...

Страница 206: ...a lower percentage Example This example sets the channel 1 InfiniiSim correction factor to 80 myScope WriteString CHANnel1 ISIM CORRection 80 Query CHANnel N ISIM CORRection The CHANnel N ISIM CORRec...

Страница 207: ...nt Infiniium 90000 Series Oscilloscopes Programmer s Reference 207 myScope WriteString SYSTem HEADer OFF myScope WriteString CHANnel1 ISIM CORRection varIsimCorrection myScope ReadNumber Debug Print F...

Страница 208: ...rameter file Example This example deconvolves the s parameter file example s2p with the waveform on channel 1 myScope WriteString CHANNEL1 ISIM DEConvolve example s2p NOTE This CHANnel command only ap...

Страница 209: ...puts whether or not the transfer function delay is included in the resultant waveform for channel 1 in the string variable strDelay The program then prints the contents of the variable to the computer...

Страница 210: ...e current InfiniiSim port extraction selection Returned Format CHANnel N ISIM PEXTraction P12 P32 P34 P14 DIFF COMM NL Example This example puts the current InfiniiSim port extraction selection for ch...

Страница 211: ...Channel Commands 12 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 211 strMode myScope ReadString Debug Print strMode...

Страница 212: ...ximum time span value in the variable varTspan The program then prints the contents of the variable to the computer s screen myScope WriteString SYSTem HEADer OFF myScope WriteString CHANNEL1 ISIM SPA...

Страница 213: ...ple puts the current InfiniiSim state for channel 1 in the string variable strMode The program then prints the contents of the variable to the computer s screen myScope WriteString SYSTem HEADer OFF m...

Страница 214: ...he CHANnel N LABel query returns the label of the specified channel Returned Format CHANnel N LABel string NL NOTE You can specify differential and or common mode channels using the following conventi...

Страница 215: ...ave specified other units using the CHANnel N UNITs command or the CHANnel N PROBe EXTernal UNITs command Example This example sets the offset for channel 1 to 0 125 in the current measurement units m...

Страница 216: ...attenuation units or from 80 dB to 60 dB for the DECibel attenuation units Example This example sets the probe attenuation factor for a 10 1 probe on channel 1 in ratio units myScope WriteString CHANN...

Страница 217: ...cisionProbe or PrecisionCable AC response calibration for the probe on channel 1 myScope WriteString CHANNEL1 PROBE ACCAL PRECprobe Query CHANnel N PROBe ACCAL The CHANnel N PROBe ACCAL query returns...

Страница 218: ...onnected to the channel you will get a settings conflict error N An integer 1 4 Example This example sets the probe attenuation for channel 1 to divide by 10 myScope WriteString CHANNEL1 PROBE ATTENUA...

Страница 219: ...Be AUTozero command initiates the N2893A probe s auto degauss offset cal If the N2893A probe is not connected to the channel you will get a settings conflict error N An integer 1 4 Example This exampl...

Страница 220: ...ROBe COUPling command sets the coupling to either AC or DC N An integer 1 4 Example This example sets the probe coupling for channel 1 to AC myScope WriteString CHANNEL1 PROBE COUPling AC Query CHANne...

Страница 221: ...10 myScope WriteString CHANNEL1 PROBE EADAPTER DIV10 Query CHANnel N PROBe EADapter The CHANnel N PROBe EADapter query returns the current external adapter value for the specified channel Returned Fo...

Страница 222: ...niium 90000 Series Oscilloscopes Programmer s Reference 12 Channel Commands Dim strAdapter As String Dimension variable myScope WriteString CHANNEL1 PROBE EADAPTER strAdapter myScope ReadString Debug...

Страница 223: ...nal coupling adapter for channel 1 to ac myScope WriteString CHANNEL1 PROBE ECOUPLING AC Query CHANnel N PROBe ECOupling The CHANnel N PROBe ECoupling query returns the current external adapter coupli...

Страница 224: ...ring CHANNEL1 PROBE EXTERNAL ON Query CHANnel N PROBe EXTernal The CHANnel N PROBe EXTernal query returns the current external probe mode for the specified channel Returned Format CHANnel N PROBe EXTe...

Страница 225: ...4 gain_factor A real number from 0 001 to 10000 for the RATio gain units or from 60 dB to 80 dB for the DECibel gain units Example This example sets the probe external scaling gain factor for channel...

Страница 226: ...s but can be in other measurement units such as amperes if you have specified other units using the CHANnel N PROBe EXTernal UNITs command Example This example sets the external offset for the probe o...

Страница 227: ...eString CHANNEL1 PROBE EXTERNAL ON myScope WriteString CHANNEL1 PROBE EXTERNAL UNITS AMPERE Query CHANnel N PROBe EXTernal UNITs The CHANnel N PROBe EXTernal UNITs query returns the current external u...

Страница 228: ...154A probe is not connected to the channel you will get a settings conflict error N An integer 1 4 Example This example sets the probe gain for channel 1 to times 10 myScope WriteString CHANNEL1 PROBE...

Страница 229: ...he CHANnel N PROBe HEAD ADD command adds an entry to the list of probe heads N An integer 1 4 head A quoted string matching the probe head model such as N5381A E2678A etc label An optional quoted stri...

Страница 230: ...DELete ALL The CHANnel N PROBe HEAD DELete ALL command deletes all the nodes in the list of probe heads except for one default probe head which remains after this command is executed N An integer 1 4...

Страница 231: ...HEAD ADD N5444A 2 92 foo myScope WriteString CHANnel1 PROBe HEAD SELect 1 myScope WriteString CHANnel1 PROBe HEAD SELect foo Query CHANnel N PROBe HEAD SELect MODel LABel The CHANnel N PROBe HEAD SEL...

Страница 232: ...ets the termination voltage for the N5444A probe head N An integer 1 4 voltage A real number for the internal termination voltage setting Example To set an internal termination voltage of 1 0 V myScop...

Страница 233: ...integer 1 4 Returned Format CHANnel N PROBe ID probe_id probe_id A string of alphanumeric characters Some of the possible returned values are Example This example reports the probe type connected to...

Страница 234: ...s not connected to the channel you will get a settings conflict error N An integer 1 4 Example This example sets the probe InfiniiMode for channel 1 to common mode myScope WriteString CHANNEL1 PROBE M...

Страница 235: ...top applying correction BOOSt boost_dB Lets you specify a dB limit at which to stop applying correction Example This example specifies that for PrecisionProbe or PrecisionCable on channel 1 correction...

Страница 236: ...The SMA probe heads can use two independent calibration files Example This example says to use the PrecisionProbe or PrecisionCable calibration named 2 8 2 for channel 1 myScope WriteString CHANNEL1 P...

Страница 237: ...ple chooses PrecisionProbe calibration for the probe on channel 1 myScope WriteString CHANNEL1 PROBE PRECprobe MODE PROBe Query CHANnel N PROBe PRECprobe MODE The CHANnel N PROBe PRECprobe MODE query...

Страница 238: ...e which corrects the probe as what would be there if the probe were not present and specifies a constant Zo 2 value in ohms as the system source impedance One drawback of defining the probe s response...

Страница 239: ...90000 Series Oscilloscopes Programmer s Reference 239 See Also CHANnel N PROBe ACCAL on page 217 CHANnel N PROBe PRECprobe MODE on page 237 CHANnel N PROBe PRECprobe CALibration on page 236 CHANnel N...

Страница 240: ...loscope s probe skew control to remove timing differences between probes or cables on different channels N An integer 1 4 skew_value A real number for the skew value in the range 1 ms to 1 ms Example...

Страница 241: ...the CHANnel N PROBe EXTernal OFFset command changes the offset value of the probe amplifier When differential is selected the CHANnel N PROBe EXTernal OFFset command changes the offset value of the ch...

Страница 242: ...4 range_value A real number for the full scale voltage of the specified channel number Example This example sets the full scale range for channel 1 to 500 mV myScope WriteString CHANNEL1 RANGE 500E 3...

Страница 243: ...r division Example This example sets the scale value for channel 1 to 500 mV div myScope WriteString CHANNEL1 SCALE 500E 3 Query CHANnel N SCALe The CHANnel N SCALe query returns the current scale set...

Страница 244: ...sets the units for channel 1 to amperes myScope WriteString CHANNEL1 UNITS AMPERE Query CHANnel N UNITs The CHANnel N UNITs query returns the current units setting for the specified channel Returned...

Страница 245: ...e remote interface as separate program messages or within other program messages Receiving Common Commands Common commands can be received and processed by the oscilloscope whether they are sent over...

Страница 246: ...ing bits in the enable register you can select the status information for use Refer to the chapter Status Reporting for a complete discussion of status NOTE Headers and Common Commands Headers are not...

Страница 247: ...eference 247 CLS Clear Status Command CLS The CLS command clears all status and error registers Example This example clears the status data structures of the oscilloscope myScope WriteString CLS See A...

Страница 248: ...gn is also returned representing a mask value for the bits enabled in the Standard Event Status Register as shown in Table 17 Example This example places the current contents of the Standard Event Sta...

Страница 249: ...ith the current settings 3 8 DDE Device Dependent Error Indicates whether the device was unable to complete an operation for device dependent reasons 2 4 QYE Query Error Indicates if the protocol for...

Страница 250: ...variable to the computer s screen myScope WriteString ESR varEvent myScope ReadNumber Debug Print FormatNumber varEvent 0 Table 18 lists each bit in the Event Status Register and the corresponding bit...

Страница 251: ...x which is the same for all identical oscilloscopes The last five digits are the serial suffix which is assigned sequentially and is different for each oscilloscope Rev Specifies the software version...

Страница 252: ...size is subject to change with different firmware revisions Example This Python and PyVISA example saves the LRN string to a file and then restores the oscilloscope setup from the file Using the LRN...

Страница 253: ...iniium write RST n Set up oscilloscope by loading previously saved learn string sLearn f open learn stp rb sLearn f read f close Infiniium write s n sLearn check_instrument_errors print Learn string b...

Страница 254: ...cilloscope s output queue when all pending selected device operations have finished Returned Format 1 NL Example This example places an ASCII character 1 in the oscilloscope s output queue when the AU...

Страница 255: ...CAN SA1 DDR NL Table 19 Possible Installed Options and Descriptions Installed Option Description AP2 U7233A DDR1 Compliance B30 N5416A USB Compliance CAN N5402A CAN FlexRay Protocols CFL N8803A B Basi...

Страница 256: ...ink Compliance MPI U7238A MIPI D PHY Compliance MPH U7249A MIPI M PHY Compliance MPP N8802A MIPI D PHY Protocol MYC N5467A User Defined App PCI N5393B PCI Express 1 0a Compliance PC2 N5393B PCI Expres...

Страница 257: ...ade STP N8801A SATA SAS Protocol SVD N8812A SVID Protocol SWT N5414A B N5415B InfiniiScan TBL N6463A Thunderbolt Compliance U3P N5464A B USB 3 0 Protocol UDF N5430A User Def Fn UH2 Ultra HS2 SD Compli...

Страница 258: ...le Register must be set to 128 decimal and the Service Request Enable Register must be set to 32 decimal This allows the Power On PON bit to set the SRQ line when the oscilloscope is ready to receive...

Страница 259: ...sly in the specified register Registers 0 through 9 are general purpose registers and can be used by the RCL command register An integer 0 through 9 specifying the save recall register that contains t...

Страница 260: ...he RST command performs a default setup which is the same as pressing the oscilloscope front panel default key Example This example resets the oscilloscope to a known state myScope WriteString RST NOT...

Страница 261: ...V register The SAV command stores the current state of the oscilloscope in a save register register An integer 0 through 9 specifying the register used to save the current oscilloscope setup Example T...

Страница 262: ...The SRE query returns the current contents of the Service Request Enable Register Returned Format mask NL mask An integer 0 to 255 representing a mask value for the bits enabled in the Service Request...

Страница 263: ...ds 13 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 263 2 4 MSG Message 1 2 USR User Event Register 0 1 TRG Trigger Table 20 Service Request Enable Register Bits continued Bit We...

Страница 264: ...se to a serial poll SPOLL Request Service RQS is reported on bit 6 of the status byte Otherwise the Master Summary Status bit MSS is reported on bit 6 MSS is the inclusive OR of the bitwise combinatio...

Страница 265: ...has been displayed 1 message has been displayed 1 2 USR 0 no enabled user event conditions have occurred 1 an enabled user event condition has occurred 0 1 TRG 0 no trigger has occurred 1 a trigger o...

Страница 266: ...ires data for the active waveform display if the trigger conditions are met according to the current settings Example This example starts the data acquisition for the active waveform display according...

Страница 267: ...ample performs a self test on the oscilloscope and places the results in the numeric variable varResults The program then prints the results to the computer s screen myScope WriteString TST varResults...

Страница 268: ...00 Series Oscilloscopes Programmer s Reference 13 Common Commands WAI Wait Command WAI The WAI command has no function in the oscilloscope but is parsed for compatibility with other instruments Exampl...

Страница 269: ...ium 90000 Series Oscilloscopes Programmer s Reference 14 Digital Commands DIGital N DISPlay 270 DIGital N LABel 271 DIGital N SIZE 272 DIGital N THReshold 273 NOTE The DIGital commands only apply to t...

Страница 270: ...view for the selected digital channel N An integer 0 15 Example This example turns on the display of bit 5 for the digital channels myScope WriteString DIGital5 DISPlay ON Query DIGital N DISPlay The...

Страница 271: ...quoted_string A series of 16 or less characters as a quoted ASCII string Example This example sets the label for bit 7 to Clock myScope WriteString DIGital7 LABel Clock Query DIGital N LABel The DIGit...

Страница 272: ...d before this command will work See ENABle command in the root subsystem N An integer 0 15 Example This example changes the size to medium for all displayed digital channels or buses myScope WriteStri...

Страница 273: ...he voltage values for the predefined thresholds are CMOS50 2 5 V CMOS33 1 65 V CMOS25 1 25 V ECL 1 3 V PECL 3 7 V TTL 1 4 V DIFFerential 0 V N An integer 0 15 value A real number representing the volt...

Страница 274: ...274 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 14 Digital Commands...

Страница 275: ...ASurements 286 DISK SAVE PRECprobe 287 DISK SAVE SETup 288 DISK SAVE WAVeform 289 DISK SEGMented 291 The DISK subsystem commands perform the disk operations as defined in the File menu This allows sav...

Страница 276: ...ry does not exist You can then view the error with the SYSTem ERRor NUMBer STRing query directory A character quoted ASCII string which can include the subdirectory designation You must separate the d...

Страница 277: ...e on the disk An error is displayed on the oscilloscope screen if the requested file does not exist The default path is C Document and Settings All Users Shared Documents Infiniium Data source_file de...

Страница 278: ...he disk An error is displayed on the oscilloscope screen if the requested file does not exist The default path is C Document and Settings All Users Shared Documents Infiniium Data file_name A characte...

Страница 279: ...at DISK DIRectory n NL directory n The specifier that is returned before the directory listing indicating the number of lines in the listing directory The list of filenames and directories Each line i...

Страница 280: ...p file SETUP0 SET using the command DISK LOAD C Document and Settings All Users Shared Documents Infiniium Setups SETUP0 SET Or you can use DISK CDIRectory to change the present working directory to C...

Страница 281: ...f the requested subdirectory does not exist directory A quoted ASCII string which can include subdirectories You must separate the directory name and any subdirectories with a backslash Example 1 This...

Страница 282: ...All Users Shared Documents Infiniium Data has not been changed by the DISK CDIRectory command the DISK PWD query will return an empty string Returned Format DISK PWD present_working_directory NL Exam...

Страница 283: ...the selected file format If you do not include the format in the command the file is saved in the format shown in the Save Screen dialog box file_name A quoted ASCII string with a maximum of 254 char...

Страница 284: ...J tab at the bottom of the oscilloscope screen along with the RJDJ histograms in a comma separated variables CSV file format The csv extension is supplied by the oscilloscope The default path is C Doc...

Страница 285: ...window to a file in either a csv or txt format The default path is C Document and Settings All Users Shared Documents Infiniium Data source SERial N The default serial bus is the one currently display...

Страница 286: ...hown in the measurements tab at the bottom of the oscilloscope screen in a comma separated variables CSV file format The csv extension is supplied by the oscilloscope The default path is C Document an...

Страница 287: ...N4 The DISK SAVE PRECprobe command saves PrecisionProbe Cable data in a comma separated variables CSV file format The default path is C Document and Settings All Users Shared Documents Infiniium Data...

Страница 288: ...e setup to a disk The file will have a set extension file_name A quoted ASCII string with a maximum of 254 characters including the entire path name if used The filename assumes the present working di...

Страница 289: ...e has the High Speed Serial option installed and the feature is enabled The EQUalized source is only available if the oscilloscope has the High Speed Serial option and the Serial Data Equalization opt...

Страница 290: ...Commands In the H5 format data is saved as floats In the H5INt format data is saved as integers header ON 1 OFF 0 Example This example saves the channel 1 waveform to FILE1 on the disk in the CSV for...

Страница 291: ...re MODE must be set to the SEGMented mode and segments must be acquired Example This example sets the disk segmented memory store method to CURRent myScope WriteString DISK SEGMENTED CURRENT Query DIS...

Страница 292: ...292 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 15 Disk Commands...

Страница 293: ...ISPlay GRATicule 302 DISPlay GRATicule INTensity 303 DISPlay GRATicule NUMBer 304 DISPlay GRATicule SETGrat 305 DISPlay GRATicule SIZE 306 DISPlay LABel 307 DISPlay LINE 308 DISPlay PERSistence 309 DI...

Страница 294: ...uilding the database The database is the size of the graticule area and varies in size Behind each pixel is a 53 bit counter Each counter is incremented each time a pixel is hit by data from a channel...

Страница 295: ...ue Yellow maximum value White minimum value White maximum value Returned Format DISPlay CGRade LEVels color format NL color format intensity color min max is an integer value from 0 to 9 007 199 254 7...

Страница 296: ...296 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 16 Display Commands See Also DISPlay CGRade on page 294 DISPlay CGRade SCHeme on page 297...

Страница 297: ...the range of the counters in the database In the CLASsic color grade scheme the counters with the largest counts are displayed using a white pixel while the counters with the smallest counts are displ...

Страница 298: ...rned Format DISPlay CGRade SCHeme CLASsic TEMP NL Example This example gets the specified color scheme and prints it on the computer screen Dim strCgradeScheme As String Dimension variable myScope Wri...

Страница 299: ...0 Example This example sets the starting column for subsequent DISPlay STRing and DISPlay LINE commands to column 10 myScope WriteString DISPLAY COLUMN 10 Query DISPlay COLumn The DISPlay COLumn query...

Страница 300: ...onsecutive waveform data points This is also known as linear interpolation DISPlay CONNect is forced to OFF when color grade DISPlay CGRade persistence is on Example This example turns on the connect...

Страница 301: ...are BMP file type SCReen mode compression turned ON and inversion set to NORMal type The bitmap type BMP JPG GIF TIF PNG screen_mode The display setting SCReen GRATicule Selecting GRATicule displays a...

Страница 302: ...rame that is separated into major and minor divisions myScope WriteString DISPlay GRATicule FRAMe Queries DISPlay GRATicule The DISPlay GRATicule query returns the type of graticule currently displaye...

Страница 303: ...ensity _value A integer from 0 to 100 indicating the percentage of grid intensity Example This example sets the graticule intensity to 50 myScope WriteString DISPlay GRATicule INTensity 50 Queries DIS...

Страница 304: ...riteString DISPlay GRATicule NUMBer 2 Queries DISPlay GRATicule NUMBer The DISPlay GRATicule NUMBer query returns the the number of viewing areas Returned Format DISPlay GRATicule NUMBer 1 2 4 8 16 NL...

Страница 305: ...M4 MEM N where N is between 1 and 4 FN N where N is between 1 and 16 function HIST D M where M is between 0 and 15 on MSO models with 16 digital channels BUS Y where Y is between 1 and 4 on MSO models...

Страница 306: ...ing DISPlay GRATicule SIZE EXTended Queries DISPlay GRATicule SIZE The DISPlay GRATicule SIZE query returns the graticule size Returned Format DISPlay GRATicule SIZE STANdard EXTended MAXimized MINimi...

Страница 307: ...ABel command Example This example turns on the display of all labels myScope WriteString DISPLAY LABEL ON Query DISPlay LABel The DISPlay LABel query returns the current state of the labels Returned F...

Страница 308: ...tring DISPLAY LINE Infiniium Test When using the C programming language quotation marks within a string are escaped using the backslash character as shown in the next example This example writes the m...

Страница 309: ...at is you can specify how long acquisitions remain on the screen Example This example sets the persistence to infinite myScope WriteString DISPlay PERSistence INFinite Query DISPlay PERSistence The DI...

Страница 310: ...g row for subsequent DISPlay STRing and DISPlay LINE commands The range of values is 9 to 23 Example This example sets the starting row for subsequent DISPlay STRing and DISPlay LINE commands to 10 my...

Страница 311: ...lay element CGLevel5 Color Grade Level 5 waveform display element CGLevel6 Color Grade Level 6 waveform display element CGLevel7 Color Grade Level 7 waveform display element CHANnel1 Channel 1 wavefor...

Страница 312: ...s A 0 luminosity is pure black Example This example sets the hue to 50 the saturation to 70 and the luminosity to 90 for the markers myScope WriteString DISPLAY SCOLOR MARKERS 50 70 90 Query DISPlay S...

Страница 313: ...1 the far right Example For example a column of 0 5 will place the upper left of the status label at the center screen myScope WriteString DISPLAY STATus COL 0 5 Query DISPlay STATus COL The DISPlay...

Страница 314: ...e far bottom Example For example a row and column of 0 5 will place the upper left of the status label at the center screen myScope WriteString DISPLAY STATus ROW 0 5 Query DISPlay STATus ROW The DISP...

Страница 315: ...rting at the current row and column settings If the column limit is reached the excess text is discarded The DISPlay STRing command does not increment the row value but DISPlay LINE does string _argum...

Страница 316: ...example sets the Status tab as the displayed one myScope WriteString DISPlay TAB STATus Query DISPlay TAB The DISPlay TAB query returns the tab that is currently displayed Returned Format DISPlay TAB...

Страница 317: ...loscopes Programmer s Reference 317 DISPlay TEXT Command DISPlay TEXT BLANk The DISPlay TEXT command blanks the user text area of the screen Example This example blanks the user text area of the oscil...

Страница 318: ...318 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 16 Display Commands...

Страница 319: ...erence 333 FUNCtion F FFT RESolution 334 FUNCtion F FFT TDELay 335 FUNCtion F FFT WINDow 336 FUNCtion F FFTMagnitude 338 FUNCtion F FFTPhase 339 FUNCtion F HIGHpass 341 FUNCtion F HORizontal 342 FUNCt...

Страница 320: ...zontal scaling and position values of the functions using the HORizontal RANge and HORizontal POSition queries in this subsystem If a channel is not on but is used as an operand that channel will acqu...

Страница 321: ...common mode channel between these same channels DIFF2 refers to the differential signal between channels 2 and 4 and COMMonmode4 refers to the common mode channel between these same channels Waveform...

Страница 322: ...els differential channels common mode channels waveform memories 1 4 functions 1 4 a constant jitter measurement trend and jitter spectrum If the function is applied to a constant the source returns t...

Страница 323: ...ABSolute command takes the absolute value an operand operand CHANnel N FUNCtion F WMEMory N DIFF P COMMonmode P MTRend MSPectrum See the discussion of possible operands in the introduction to Chapter...

Страница 324: ...lgebraic sum of the two operands F An integer 1 16 representing the selected function operand CHANnel n DIFF P COMMonmode P FUNCtion F WMEMory n float_value MTRend MSPectrum See the discussion of poss...

Страница 325: ...quadrature Q parts of the input signal and then performs a square root of the sum of the real and imaginary parts to get the demodulated amplitude envelope waveform F An integer 1 16 representing the...

Страница 326: ...ages F An integer 1 16 representing the selected function operand CHANnel n DIFF P COMMonmode P FUNCtion F WMEMory n float_value MTRend MSPectrum See the discussion of possible operands in the introdu...

Страница 327: ...erands and divides by 2 point by point F An integer 1 16 representing the selected function operand CHANnel n DIFF P COMMonmode P FUNCtion F WMEMory n float_value MTRend MSPectrum See the discussion o...

Страница 328: ...ifting the function waveform in time F An integer 1 16 representing the selected function operand CHANnel n DIFF P COMMonmode P FUNCtion F WMEMory n MTRend MSPectrum See the discussion of possible ope...

Страница 329: ...r 1 16 representing the selected function operand CHANnel n DIFF P COMMonmode P FUNCtion F WMEMory n float_value MTRend MSPectrum See the discussion of possible operands in the introduction to Chapter...

Страница 330: ...e This example turns function 1 on myScope WriteString FUNCTION1 DISPLAY ON Query FUNCtion F DISPlay The FUNCtion F DISPlay query returns the displayed status of the specified function Returned Format...

Страница 331: ...e second operand F An integer 1 16 representing the selected function operand CHANnel n DIFF P COMMonmode P FUNCtion F WMEMory n float_value MTRend MSPectrum See the discussion of possible operands in...

Страница 332: ...nd sets the center frequency for the FFT when FUNCtion F FFTMagnitude is defined for the selected function F An integer 1 16 representing the selected function center _frequency _value A real number f...

Страница 333: ...point to DISPlay myScope WriteString FUNCTION1 FFT REFERENCE DISPLAY Query FUNCtion F FFT REFerence The FUNCtion F FFT REFerence query returns the currently selected reference point for the FFT phase...

Страница 334: ...6 representing the selected function resolution _value Resolution frequency The FFT resolution is determined by the sample rate and memory depth settings The FFT resolution is calculated using the fol...

Страница 335: ...FUNCtion1 FFT TDELay 1E 3 Query FUNCtion F FFT TDELay The FUNCtion F FFT TDELay query returns the time delay for the FFT phase function Returned Format FUNCtion F FFT TDELay time_delay NL Example This...

Страница 336: ...NNing is useful for frequency resolution and general purpose use It is good for resolving two frequencies that are close together or for making frequency measurements FLATtop is best for making accura...

Страница 337: ...nce 337 Example This example places the current state of the function 1 FFT window in the string variable strWND then prints the contents of the variable to the computer s screen Dim strWND As String...

Страница 338: ...the digitized time record and transforms it to magnitude and phase components as a function of frequency F An integer 1 16 representing the selected function operand CHANnel n DIFF P COMMonmode P FUNC...

Страница 339: ...ord and transforms it into magnitude and phase components as a function of frequency F An integer 1 16 representing the selected function source CHANnel n DIFF P COMMonmode P FUNCtion F WMEMory n floa...

Страница 340: ...he selected function operand CHANnel n DIFF P COMMonmode P FUNCtion F WMEMory n MTRend MSPectrum See the discussion of possible operands in the introduction to Chapter 17 Function Commands starting on...

Страница 341: ...t is the 3 dB bandwidth of the filter F An integer 1 16 representing the selected function source CHANnel n DIFF P COMMonmode P FUNCtion F WMEMory n MTRend MSPectrum See the discussion of possible ope...

Страница 342: ...on RANGe F An integer 1 16 representing the selected function Query FUNCtion F HORizontal The FUNCtion F HORizontal query returns the current horizontal scaling mode of the specified function Returned...

Страница 343: ...tically selects manual mode F An integer 1 16 representing the selected function position _value A real number for the position value in time in seconds from 10E15 to 10E15 Query FUNCtion F HORizontal...

Страница 344: ...of screen in current X axis units usually seconds from 100E 15 to 100E15 Query FUNCtion F HORizontal RANGe The FUNCtion F HORizontal RANGe query returns the current time range setting of the specifie...

Страница 345: ...al of the specified operand s waveform F An integer 1 16 representing the selected function operand CHANnel n DIFF P COMMonmode P FUNCtion F WMEMory n float_value MTRend MSPectrum See the discussion o...

Страница 346: ...d operand s waveform by multiplying by 1 F An integer 1 16 representing the selected function operand CHANnel n DIFF P COMMonmode P FUNCtion F WMEMory n float_value MTRend MSPectrum See the discussion...

Страница 347: ...u set is the 3 dB bandwidth of the filter F An integer 1 16 representing the selected function source CHANnel n DIFF P COMMonmode P FUNCtion F WMEMory n MTRend MSPectrum See the discussion of possible...

Страница 348: ...this function It is useful for scaling channels another function or memories with the RANGe and OFFSet commands in this subsystem F An integer 1 16 representing the selected function operand CHANnel...

Страница 349: ...cket for the defined operand s waveform F An integer 1 16 representing the selected function operand CHANnel n DIFF P COMMonmode P FUNCtion F WMEMory n float_value MTRend MSPectrum See the discussion...

Страница 350: ...istogram statistics using the MEASure HISTogram queries F An integer 1 16 representing the selected function Example This example sets up a histogram function of the first measurement myScope WriteStr...

Страница 351: ...cket for the defined operand s waveform F An integer 1 16 representing the selected function operand CHANnel n DIFF P COMMonmode P FUNCtion F WMEMory n float_value MTRend MSPectrum See the discussion...

Страница 352: ...measurement threshold settings as the waveform progresses across the screen For every cycle a measurement is made and the value is displayed on the screen for the cycle If a measurement cannot be mad...

Страница 353: ...the first operand by the second operand F An integer 1 16 representing the selected function operand CHANnel n DIFF P COMMonmode P FUNCtion F WMEMory n float_value MTRend MSPectrum See the discussion...

Страница 354: ...et value is limited to being within the vertical range that can be represented by the function data Example This example sets the offset voltage for function 1 to 2 mV myScope WriteString FUNCTION1 OF...

Страница 355: ...om 100E15 to 100E15 Example This example sets the full scale range for function 1 to 400 mV myScope WriteString FUNCTION1 RANGE 400E 3 Query FUNCtion F RANGe The FUNCtion F RANGe query returns the cur...

Страница 356: ...An integer 1 16 representing the selected function operand CHANnel n DIFF P COMMonmode P FUNCtion F WMEMory n float_value MTRend MSPectrum See the discussion of possible operands in the introduction t...

Страница 357: ...SQRT command takes the square root of the operand operand CHANnel N DIFF P COMMonmode P FUNCtion F WMEMory N MTRend MSPectrum See the discussion of possible operands in the introduction to Chapter 17...

Страница 358: ...SQUare command takes the square value of the operand operand CHANnel N DIFF P COMMonmode P FUNCtion F WMEMory N MTRend MSPectrum See the discussion of possible operands in the introduction to Chapter...

Страница 359: ...e second operand from the first operand F An integer 1 16 representing the selected function operand CHANnel n DIFF P COMMonmode P FUNCtion F WMEMory n float_value MTRend MSPectrum See the discussion...

Страница 360: ...ual to that of the first operand and you can adjust them with the RANGe and OFFSet commands in this subsystem F An integer 1 16 representing the selected function operand CHANnel n DIFF P COMMonmode P...

Страница 361: ...n integer 1 16 representing the selected function Query FUNCtion F VERTical The FUNCtion F VERTical query returns the current vertical scaling mode of the specified function Returned Format FUNCtion F...

Страница 362: ...elected Y axis units normally volts The offset value is limited only to being within the vertical range that can be represented by the function data Query FUNCtion F VERTical OFFset The FUNCtion F VER...

Страница 363: ...elected function full_scale _range A real number for the full scale vertical range from 100E15 to 100E15 Query FUNCtion F VERTical RANGe The FUNCtion F VERTical RANGe query returns the current range s...

Страница 364: ...364 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 17 Function Commands...

Страница 365: ...18 Hardcopy Commands HARDcopy AREA 366 HARDcopy DPRinter 367 HARDcopy FACTors 368 HARDcopy IMAGe 369 HARDcopy PRINters 370 The HARDcopy subsystem commands set various parameters for printing the scree...

Страница 366: ...entire screen is printed Example This example selects the graticule for printing myScope WriteString HARDCOPY AREA GRATICULE Query HARDcopy AREA The HARDcopy AREA query returns the current setting fo...

Страница 367: ...the HARDcopy PRINters query myScope WriteString HARDCOPY DPRINTER 2 This example sets the default printer to the installed printer with the name HP Laser myScope WriteString HARDCOPY DPRINTER HP Lase...

Страница 368: ...ure Printer dialog box Example This example turns on the setup factors myScope WriteString HARDCOPY FACTORS ON Query HARDcopy FACTors The HARDcopy FACTors query returns the current setup factors setti...

Страница 369: ...This example sets the hard copy image output to normal myScope WriteString HARDCOPY IMAGE NORMAL Query HARDcopy IMAGe The HARDcopy IMAGe query returns the current image setting Returned Format HARDcop...

Страница 370: ...The word DEFAULT appears next to the printer that is the currently selected default printer The printer_data return string has the following format printer_number printer_string DEFAULT Example This e...

Страница 371: ...vertical histogram that measures the noise on a waveform Jitter is measured by sizing the histogram window to a narrow portion of voltage and observing a horizontal histogram that measures the jitter...

Страница 372: ...ou can avoid overlapping data in the database caused by multiple waveforms Even if the display is set to show only the most recent acquisition the database keeps track of all pixel hits while the data...

Страница 373: ...histogram can be used to measure voltage related information like noise Example This example defines a vertical histogram myScope WriteString HISTOGRAM AXIS VERTICAL Query HISTogram AXIS The HISTogram...

Страница 374: ...Togram ON command will automatically set HISTOgram MODE to MEASurement Example This example sets the histogram mode to track the waveform myScope WriteString HISTOGRAM MODE WAVEFORM Query HISTogram MO...

Страница 375: ...and from 1 0 to 10 0 for the vertical mode Example This example sets the histogram size to 3 5 myScope WriteString HISTOGRAM SCALE SIZE 3 5 Query HISTogram SCALe SIZE The HISTogram SCALe SIZE query re...

Страница 376: ...ram WINDow DEFault The HISTogram WINDow DEFault command positions the histogram markers to a default location on the display Each marker will be positioned one division off the left right top and bott...

Страница 377: ...integer 1 16 Example This example sets the histogram window s source to Channel 1 myScope WriteString HISTOGRAM WINDOW SOURCE CHANNEL1 Query HISTogram WINDow SOURce The HISTogram WINDow SOURce query...

Страница 378: ...ram window source left_limit A real number that represents the left boundary of the histogram window Example This example sets the left limit position to 200 microseconds myScope WriteString HISTOGRAM...

Страница 379: ...of the histogram window source right_limit A real number that represents the right boundary of the histogram window Example This example sets the Bx marker to 200 microseconds myScope WriteString HIS...

Страница 380: ...f the histogram window source bottom_limit A real number that represents the bottom boundary of the histogram window Example This example sets the position of the Ay marker to 250 mV myScope WriteStri...

Страница 381: ...of the histogram window source top_limit A real number that represents the top boundary of the histogram window Example This example sets the position of the By marker to 250 mV myScope WriteString HI...

Страница 382: ...382 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 19 Histogram Commands...

Страница 383: ...tonic HYSTeresis 391 ISCan NONMonotonic SOURce 392 ISCan RUNT HYSTeresis 393 ISCan RUNT LLEVel 394 ISCan RUNT SOURce 395 ISCan RUNT ULEVel 396 ISCan SERial PATTern 397 ISCan SERial SOURce 398 ISCan ZO...

Страница 384: ...s the amount of time that the InfiniiScan trigger is delayed from the hardware trigger Example The following example causes the oscilloscope to delay by 1 ms myScope WriteString ISCAN DELay 1E 06 Quer...

Страница 385: ...t by the ISCan MEASurement LIMit and ISCan MEASurement ULIMit commands OUTSide OUTside causes the oscilloscope to fail a test when the measurement results exceed the parameters set by the ISCan MEASur...

Страница 386: ...LLIMIT 1 0 If for example you chose to measure volts peak peak and want the smallest acceptable signal swing to be one volt you could use the above command then set the measurement limit to trigger w...

Страница 387: ...n the Measurements tab area of the screen Example The following example selects the first measurement as the source for the limit testing commands myScope WriteString ISCAN MEASUREMENT MEAS1 Query ISC...

Страница 388: ...se you are measuring the maximum voltage of a signal with Vmax and that voltage should not exceed 500 mV You can use the above program and set the ISCan MEASurement FAIL OUTside command to specify tha...

Страница 389: ...t Limit trigger mode NONMonotonic Sets the Non monotonic edge trigger mode RUNT Sets the Runt trigger mode SERial Sets the Serial trigger mode ZONE Sets the Zone Qualify trigger mode Example The follo...

Страница 390: ...edge trigger to falling edges RISing Sets the edge used by the Non monotonic edge trigger to rising edges Example The following example selects the falling edge non monotonic trigger myScope WriteStr...

Страница 391: ...e sets the hysteresis value used by the Non monotonic trigger mode to 10 mV myScope WriteString ISCAN NONMONOTONIC HYSTERESIS 1E 2 Query ISCan NONMonotonic HYSTersis The query returns the hysteresis v...

Страница 392: ...mple sets the source used by the Non monotonic trigger mode to channel 1 myScope WriteString ISCAN NONMONOTONIC SOURCE CHANNEL1 Query ISCan NONMonotonic SOURce The query returns the source used by the...

Страница 393: ...ng example sets the hysteresis value used by the Runt trigger mode to 10 mV myScope WriteString ISCAN RUNT HYSTERESIS 1E 2 Query ISCan RUNT HYSTersis The query returns the hysteresis value used by the...

Страница 394: ...sets the lower level limit to 1 0 V myScope WriteString ISCAN RUNT LLEVel 1 0 Query ISCan RUNT LLEVel The query returns the lower level limit set by the command Returned Format ISCan RUNT LLEVel lowe...

Страница 395: ...e following example sets the source used by the Runt trigger mode to channel 1 myScope WriteString ISCAN RUNT SOURCE CHANNEL1 Query ISCan RUNT SOURce The query returns the source used by the Runt trig...

Страница 396: ...lue used by the Runt trigger mode to 500 mV myScope WriteString ISCAN RUNT ULEVEL 500E 3 Query ISCan RUNT ULEVel The query returns the current upper level value used by the Runt trigger Returned Forma...

Страница 397: ...only be expressed in the binary format Example The following example sets the pattern used by the Serial trigger to 101100 myScope WriteString ISCAN SERIAL PATTERN 101100 Query ISCan SERial PATTern Th...

Страница 398: ...ollowing example sets the source used by the Serial trigger mode to channel 1 myScope WriteString ISCAN SERIAL SOURCE CHANNEL1 Query ISCan SERial SOURce The query returns the source used by the Serial...

Страница 399: ...can zones on the display Example The following example hides all InfiniiScan zones on the display myScope WriteString ISCAN ZONE HIDE ON Query ISCan ZONE HIDE The query returns the current zone hide s...

Страница 400: ...The following example sets the source used by the zone qualify trigger to channel 1 myScope WriteString ISCAN ZONE SOURCE CHANNEL1 Query ISCan ZONE SOURce The query returns the source used by the zone...

Страница 401: ...intersect mode the waveform cannot enter a zone region to qualify as a valid waveform N is an integer from 1 4 Example The following example sets the mode to intersect for zone 1 myScope WriteString I...

Страница 402: ...f the center of the zone in seconds y_center is a real number defining the y coordinate of the center of the zone in volts Example The following example sets the size of zone 1 to be 500 ps wide and 0...

Страница 403: ...e qualify trigger N is an integer from 1 4 Example The following example turns on zone 2 myScope WriteString ISCAN ZONE2 STATE ON Query ISCan ZONE N STATe The query returns the state value for a zone...

Страница 404: ...404 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 20 InfiniiScan ISCan Commands...

Страница 405: ...TESt RESults 409 LTESt TEST 410 LTESt ULIMit 411 The Limit Test commands and queries control the limit test features of the oscilloscope Limit testing automatically compares measurement results with p...

Страница 406: ...ment results are within the parameters set by the LLTESt LIMit and LTESt ULIMit commands OUTSide FAIL OUTside causes the oscilloscope to fail a test when the measurement results exceed the parameters...

Страница 407: ...e WriteString LTEST LLIMIT 1 0 If for example you chose to measure volts peak peak and want the smallest acceptable signal swing to be one volt you could use the above command then set the limit test...

Страница 408: ...are numbered from left to right Example The following example selects the first measurement as the source for the limit testing commands myScope WriteString LTEST MEASUREMENT MEAS1 Query LTESt MEASure...

Страница 409: ...ts fail_min fail_max num_meas NL fail_min A real number representing the total number of measurements that have failed the minimum limit fail_max A real number representing the total number of measure...

Страница 410: ...xample The following example turns off the limit test function myScope WriteString LTEST TEST OFF Query LTESt TEST The query returns the state of the TEST control Returned Format LTESt TEST 1 0 NL Exa...

Страница 411: ...g LTEST ULIMIT 500E 3 Suppose you are measuring the maximum voltage of a signal with Vmax and that voltage should not exceed 500 mV You can use the above program and set the LTESt FAIL OUTside command...

Страница 412: ...412 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 21 Limit Test Commands...

Страница 413: ...m 90000 Series Oscilloscopes Programmer s Reference 22 Lister Commands LISTer DATA 414 LISTer DISPlay 415 The LISTer subsystem is used to turn on off the serial decode Lister display and return data f...

Страница 414: ...erence 22 Lister Commands LISTer DATA Query LISTer DATA SBUS1 SBUS2 SBUS3 SBUS4 The LISTer DATA query returns the lister data Returned Format binary block NL binary_block comma separated data with new...

Страница 415: ...o display in the Lister or whether the Lister is off ON or 1 is the same as SBUS1 When set to ALL the decode information for different buses is interleaved in time Serial bus decode must be on before...

Страница 416: ...416 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 22 Lister Commands...

Страница 417: ...kers volts amps and watts for the Y axis You typically set the Y axis measurement units using the CHANnel UNITs command NOTE Guidelines for Using Queries in Marker Modes In Track Waveforms mode use MA...

Страница 418: ...nit marker 1 to the string variable strPosition The program then prints the contents of the variable to the computer s screen Dim strPosition As String Dimension variable myScope WriteString MARKER CU...

Страница 419: ...th measurement myScope WriteString MARKER MEASurement MEASurement MEASurement4 Query MARKer MEASurement MEASurement The MARKer MEASurement MEASurement query returns the currently specified measurement...

Страница 420: ...measurement FFTPeak Tracks the current FFT peak that has been navigated to Example This example sets the marker mode to waveform myScope WriteString MARKer MODE WAVeform Query MARKer MODE The MARKer M...

Страница 421: ...ple sets the Ax marker to 90 ns myScope WriteString MARKER X1POSITION 90E 9 Query MARKer X1Position The MARKer X1Position query returns the time at the Ax marker position Returned Format MARKer X1Posi...

Страница 422: ...le This example sets the Bx marker to 90 ns myScope WriteString MARKER X2POSITION 90E 9 Query MARKer X2Position The MARKer X2Position query returns the time at Bx marker in seconds Returned Format MAR...

Страница 423: ...Data Equalization option installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 BUS N is an integer 1 4 Buses are a...

Страница 424: ...Data Equalization option installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 BUS N is an integer 1 4 Buses are a...

Страница 425: ...Returned Format MARKer XDELta time NL time Time difference between Ax and Bx time markers in seconds Example This example returns the current time between the Ax and Bx time markers to the numeric va...

Страница 426: ...arker to 10 mV myScope WriteString MARKER Y1POSITION 10E 3 Query MARKer Y1Position The MARKer Y1Position query returns the current measurement unit level at the Ay marker position Returned Format MARK...

Страница 427: ...rker to 100 mV myScope WriteString MARKER Y2POSITION 100E 3 Query MARKer Y2Position The MARKer Y2Position query returns the current measurement unit level at the By marker position Returned Format MAR...

Страница 428: ...By value at Ay Returned Format MARKer YDELta value NL value Measurement unit difference between Ay and By Example This example returns the voltage difference between Ay and By to the numeric variable...

Страница 429: ...ESt AVERage COUNt 442 MTESt COUNt FAILures 443 MTESt COUNt FUI 444 MTESt COUNt FWAVeforms 445 MTESt COUNt UI 446 MTESt COUNt WAVeforms 447 MTESt DELete 448 MTESt ENABle 449 MTESt FOLDing 450 MTESt FOL...

Страница 430: ...TRIGger SOURce 472 The MTESt subsystem commands and queries control the mask test features Mask Testing automatically compares measurement results with the boundaries of a set of polygons that you def...

Страница 431: ...mand automatically aligns and scales the mask to the current waveform on the display The type of mask alignment performed depends on the current setting of the Use File Setup When Aligning control See...

Страница 432: ...umn indicates that the control can be adjusted Example This example specifies the alignment type to be EYEAMI myScope WriteString MTEST ALIGNFIT EYEAMI Query MTESt AlignFIT The MTEST AlignFIT query re...

Страница 433: ...ommands 24 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 433 Returned Format MTESt AlignFIT EYEAMI EYECMI EYENRZ FANWidth FAPeriod FAPWidth FYNWidth FYPWidth NONE NWIDth PWIDth T...

Страница 434: ...defined by the AMASk XDELta AMASk YDELta and AMASk UNITs commands The mask only encompasses the portion of the waveform visible on the display so you must ensure that the waveform is acquired and dis...

Страница 435: ...that UNITs are CURRent and that you set SOURce to CHANNEL1 which is using units of volts Then you can define AMASk XDELta in terms of volts and AMASk YDELta in terms of seconds N An integer 1 4 Exampl...

Страница 436: ...a maximum of 254 characters long including the path name if used The filename assumes the present working directory if a path does not precede the file name The default save path is C Documents and S...

Страница 437: ...specified as parts of a screen division The mask test subsystem maintains separate XDELta and YDELta settings for CURRent and DIVisions Thus XDELta and YDELta are not converted to new values when the...

Страница 438: ...t the tolerance to 250 millidivisions or 1 4 of a division Example This example sets the units to divisions and sets the X tolerance to one eighth of a division myScope WriteString MTEST AMASK UNITS D...

Страница 439: ...k UNITs is DIVisions the same ydelta_value will set the tolerance to 250 millidivisions or 1 4 of a division Example This example sets the units to current and sets the Y tolerance to 30 mV assuming t...

Страница 440: ...is alignment guarantees that the aligned mask and any subsequent mask tests meet the requirements of the standard When disabled the alignment is performed using the current oscilloscope settings This...

Страница 441: ...ACQuire AVERage command performs the same function as this command Averaging is not available in PDETect mode Example This example turns averaging on myScope WriteString MTEST AVERAGE ON Query MTESt...

Страница 442: ...6 data values must be averaged for each time bucket to be considered complete The number of time buckets that must be complete for the acquisition to be considered complete is specified by the MTESt C...

Страница 443: ...region number that is unused number An integer 1 through 8 designating the region for which you want to determine the failure count Returned Format MTESt COUNt FAILures REGion number number_of_failure...

Страница 444: ...nterval failures that have occurred Returned Format MTESt COUNt FUI unit_interval_failures NL unit_interval_fa ilures The number of unit interval failures Example This example determines the current n...

Страница 445: ...e true Mask testing was turned on before the histogram or color grade persistence and No mask changes have occurred including scaling changes editing or new masks The value 9 999E37 is returned if mas...

Страница 446: ...that have been mask tested Returned Format MTESt COUNt UI unit_intervals_tested NL unit_intervals_t ested The number of unit intervals tested Example This example determines the current number of uni...

Страница 447: ...returned if mask testing is not enabled Returned Format MTESt COUNt WAVeforms number_of_waveforms NL number_of_ waveforms The total number of waveforms for the current test run Example This example d...

Страница 448: ...scilloscopes Programmer s Reference 24 Mask Test Commands MTESt DELete Command MTESt DELete The MTESt DELete command clears the currently loaded mask Example This example clears the currently loaded m...

Страница 449: ...example enables the mask test features myScope WriteString MTEST ENABLE ON Query MTESt ENABle The MTESt ENABle query returns the current state of mask test features Returned Format MTESt ENABle 1 0 N...

Страница 450: ...the real time eye myScope WriteString MTEST FOLDING ON Query MTESt FOLDing The MTESt FOLDing query returns the current state of clock recovery folding Returned Format MTESt FOLDing 1 0 NL Example myS...

Страница 451: ...it types pattern An eight character string 8 of 1 0 or X For example 101XX010 cursor A value from 0 to 7 representing which bit is bit 0 from the LSB Example This example sets bit type to transition b...

Страница 452: ...eft and right of the eye at the threshold hysteresis level Top and bottom of the eye at the center For each bit that represents the worst case at one of the evaluated points the 1 000 bits that surrou...

Страница 453: ...volts of a pulse as allowed by the pulse standard Example This example sets the maximum pulse amplitude to 3 6 volts myScope WriteString MTEST HAMPLITUDE 3 6 Query MTESt HAMPlitude The MTESt HAMPlitud...

Страница 454: ...ion of a mask file NONE Disables the probe impedance check IMP75 Enables the probe impedance check for the E2622A probe IMP100 Enables the probe impedance check for the E2621A probe with the switch se...

Страница 455: ...negative going pulses The trigger level and mask offset are also adjusted Not all masks support negative going pulse testing and for these masks the command is ignored Example This example inverts th...

Страница 456: ...volts of a pulse as allowed by the pulse standard Example This example sets the minimum pulse amplitude to 2 4 volts myScope WriteString MTEST LAMPLITUDE 2 4 Query MTESt LAMPlitude The MTESt LAMPlitud...

Страница 457: ...es is C Documents and Settings All Users Documents Infiniium MASKS To use a different path specify the complete path and file name filename An MS DOS compatible name of the file a maximum of 254 chara...

Страница 458: ...t NREGions query returns the number of regions that define the mask Returned Format MTESt NREGions regions NL regions An integer from 0 to 8 Example This example returns the number of mask regions myS...

Страница 459: ...ing for the E2621A and E2622A probes for the current mask test channel Returned Format MTESt PROBe IMPedance impedance NL impedance An unquoted string 75 100 110 120 or NONE Example This example retur...

Страница 460: ...number of failures TIME TIME sets the amount of time in minutes that a mask test will run before it terminates time A real number 0 1 to 1440 0 WAVeforms WAVeforms sets the maximum number of waveform...

Страница 461: ...he Stop On Failure run until criteria When a mask test is run and a mask violation is detected the mask test is stopped and the acquisition system is stopped Example This example enables the Stop On F...

Страница 462: ...sabled adjusting either the 1 Level or the 0 Level control changes the vertical height of the mask If the Bind 1 0 Levels control is enabled the 1 Level and the 0 Level controls track each other Adjus...

Страница 463: ...simplifies reprogramming to handle different data rates For example if you halve the period of the waveform of interest you need only to adjust the XDELta value to set up the mask for the new waveform...

Страница 464: ...rate without corresponding changes in the waveform can easily be handled by changing X The X coordinate of polygon vertices is normalized using this equation xdelta_value A time value specifying the...

Страница 465: ...1 to 100 mV and Y2 to 1 V a Y value of 0 100 in a vertex is at 190 mV y1_value A voltage value specifying the point at which Y 0 Example This example sets the Y1 marker to 150 mV myScope WriteString M...

Страница 466: ...ou set Y1 to 100 mV and Y2 to 1 V a Y value of 0 100 in a vertex is at 190 mV y2_value A voltage value specifying the location of the Y2 marker Example This example sets the Y2 marker to 2 5 V myScope...

Страница 467: ...re enabled This command uses the Feed Forward Equalized FFE signal as the source N An integer 1 4 F An integer 1 16 Example This example selects channel 1 as the mask test source myScope WriteString M...

Страница 468: ...e 24 Mask Test Commands MTESt STARt Command MTESt STARt The MTESt STARt command starts the mask test The MTESt STARt command also starts the oscilloscope acquisition system Example This example starts...

Страница 469: ...ies Oscilloscopes Programmer s Reference 469 MTESt STOP Command MTESt STOP The MTESt STOP command stops the mask test The MTESt STOP command does not stop the acquisition system Example This example s...

Страница 470: ...t failure timeout An integer from 1 to 120 seconds representing the time between triggers not the time that it takes to finish the alignment Example This example sets the timeout value for the Autoali...

Страница 471: ...is displayed in the mask test dialog box and mask test tab when a mask file is loaded Returned Format MTESt TITLe mask_title NL mask_title A string of up to 23 ASCII characters which is the mask title...

Страница 472: ...n integer 1 4 Example This example sets the mask trigger source to channel 1 myScope WriteString MTEST TRIGGER SOURCE CHANNEL1 Query MTESt TRIGger SOURce The query returns the currently selected mask...

Страница 473: ...de QFACtor 493 MEASure CLEar 494 MEASure CLOCk 495 MEASure CLOCk METHod 496 MEASure CLOCk METHod ALIGn 498 MEASure CLOCk METHod DEEMphasis 499 MEASure CLOCk METHod EDGE 500 MEASure CLOCk METHod JTF 50...

Страница 474: ...HISTogram MIN 551 MEASure HISTogram MODE 552 MEASure HISTogram PEAK 553 MEASure HISTogram PP 554 MEASure HISTogram RESolution 555 MEASure HISTogram STDDev 556 MEASure HOLDtime 557 MEASure JITTer HISTo...

Страница 475: ...587 MEASure NOISe SCOPe RN 588 MEASure NOISe STATe 589 MEASure NOISe UNITs 590 MEASure NPERiod 591 MEASure NPULses 592 MEASure NUI 593 MEASure NWIDth 594 MEASure OVERshoot 596 MEASure PAMPlitude 598 M...

Страница 476: ...re SLEWrate 641 MEASure SOURce 642 MEASure STATistics 643 MEASure TEDGe 644 MEASure THResholds ABSolute 646 MEASure THResholds HYSTeresis 648 MEASure THResholds METHod 650 MEASure THResholds PERCent 6...

Страница 477: ...tware commands The following MEASure commands are available when the E2688A High Speed Serial Software is installed MEASure CLOCk on page 495 MEASure CLOCk METHod on page 496 MEASure CLOCk METHod ALIG...

Страница 478: ...TATistics on page 570 MEASure JITTer TRENd on page 571 MEASure NCJitter on page 578 MEASure NPERiod on page 591 MEASure NUI on page 593 MEASure SETuptime on page 639 MEASure TIEClock2 on page 656 MEAS...

Страница 479: ...RJDJ CLOCk on page 624 MEASure RJDJ EDGE on page 625 MEASure RJDJ INTerpolate on page 626 MEASure RJDJ PLENgth on page 629 MEASure RJDJ SOURce on page 633 MEASure RJDJ STATe on page 634 MEASure RJDJ...

Страница 480: ...of the defined measurements are requested the oscilloscope first determines the top 100 and base 0 voltages of the waveform From this information the oscilloscope determines the other important volta...

Страница 481: ...measurements on a particular cycle display only that cycle on the screen Measurements are made on the displayed waveforms specified by the SOURce command The SOURce command lets you specify two sourc...

Страница 482: ...N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 Example This example turns on the area measurement which measures between the waveform and ground Only that p...

Страница 483: ...s the minimum time between bursts source CHANnel N FUNCtion F WMEMory N N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 idle time Minimum amount of idle time...

Страница 484: ...is the minimum time between bursts source CHANnel N FUNCtion F WMEMory N N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 idle time Minimum amount of idle tim...

Страница 485: ...ial option and the Serial Data Equalization option installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N An integer 1 4 F An integer 1 16 idle_...

Страница 486: ...tion installed and the feature is enabled The EQUalized source is only available if the oscilloscope has the High Speed Serial option and the Serial Data Equalization option installed and the features...

Страница 487: ...de CROSsing query returns the crossing level percent measurement of the current eye diagram on the color grade display Before using this command or query you must use the DISPlay CGRade command to ena...

Страница 488: ...ISTORTION TIME Query MEASure CGRade DCDistortion format The MEASure CGRade DCDistortion query returns the duty cycle distortion measurement of the color grade display Before using this command or quer...

Страница 489: ...on the mean and standard deviation of the eye top and base Example This example enables the eye height measurement myScope WriteString MEASURE CGRADE EHEIGHT Query MEASure CGRade EHEight The MEASure C...

Страница 490: ...h based upon the mean and standard deviation of the crossings Example This example measures the eye width myScope WriteString MEASURE CGRADE EWIDTH Query MEASure CGRade EWIDth The MEASure CGRade EWIDt...

Страница 491: ...making measurements Default value is 1 Example This example sets the eye window starting point to 2 the stopping point to 75 and the start after to 5 000 hits myScope WriteString SYSTEM HEADER OFF Res...

Страница 492: ...at The MEASure CGRade JITTer query returns the jitter measurement of the color grade display Before using this command or query you must use the DISPlay CGRade command to enable the color grade persis...

Страница 493: ...de QFACtor query returns the Q factor measurement of the color grade display Before using this command or query you must use the DISPlay CGRade command to enable the color grade persistence feature Re...

Страница 494: ...ommands MEASure CLEar Command MEASure CLEar SCRatch The MEASure CLEar command clears the measurement results from the screen and disables all previously enabled measurements Example This example clear...

Страница 495: ...k The MEASure CLOCk query returns the state of the recovered clock display Returned Format MEASure CLOCk 1 0 NL Example This example places the current setting of the recovered clock display in the va...

Страница 496: ...er Transfer Function OJTF see MEASure CLOCk METHod OJTF on page 504 For setting phase locked loop PLL clock recovery methods in terms of the Jitter Transfer Function JTF see MEASure CLOCk METHod JTF o...

Страница 497: ...FLEXR baud_rate FLEXT baud_rate Example This example places the current setting of the clock recovery method in the variable strSetting then prints the contents of the variable to the computer s scree...

Страница 498: ...s are aligned with the center of data myScope WriteString MEASURE CLOCK METHOD ALIGn CENTer Query MEASure CLOCK METHod ALIGn The MEASure CLOCk METHod ALIGn query returns the clock recovery method s ed...

Страница 499: ...Sure CLOCk METHod DEEMphasis query returns whether or not de emphasis is turned on Returned Format MEASure CLOCk METHod DEEMphasis OFF ON Example This example places the current setting of the de emph...

Страница 500: ...QSOPLL Equalized Second Order PLL To measure jitter on only rising or falling edges of a clock you must also set MEASure RJDJ EDGE to the same RISing or FALLing option and you must set MEASure RJDJ CL...

Страница 501: ...er OFF myScope WriteString MEASure CLOCk METHod EDGE strSetting myScope ReadString Debug Print strSetting See Also MEASure CLOCk METHod on page 496 MEASure CLOCk METHod OJTF on page 504 MEASure CLOCk...

Страница 502: ...L Second Order PLL EQFOPLL Equalized First Order PLL EQSOPLL Equalized Second Order PLL EXPFOPLL Explicit First Order PLL EXPSOPLL Explicit Second Order PLL The EQUalized clock recovery methods are on...

Страница 503: ...MEASure CLOCk METHod JTF query returns the state of the clock recovery method Returned Format MEASure CLOCk METHod JTF FOPLL data_rate jtf_loop_bandwidth EQFOPLL data_rate jtf_loop_bandwidth SOPLL dat...

Страница 504: ...OPLL First Order PLL SOPLL Second Order PLL EQFOPLL Equalized First Order PLL EQSOPLL Equalized Second Order PLL EXPFOPLL Explicit First Order PLL EXPSOPLL Explicit Second Order PLL The EQUalized cloc...

Страница 505: ...MEASure CLOCk METHod OJTF query returns the state of the clock recovery method Returned Format MEASure CLOCk METHod OJTF FOPLL data_rate ojtf_loop_bandwidth EQFOPLL data_rate ojtf_loop_bandwidth SOPL...

Страница 506: ...RE CLOCk VERTical AUTO Query MEASure CLOCk VERTical The MEASure CLOCk VERTical query returns the current recovered clock vertical scale mode setting Returned Format MEASure CLOCk VERTical AUTO MANual...

Страница 507: ...query returns the clock recovery vertical offset setting Returned Format MEASure CLOCk VERTical OFFSet value NL value The clock recovery vertical offset setting Example This example places the current...

Страница 508: ...VERTical RANGe query returns the recovered clock vertical range setting Returned Format MEASure CLOCk VERTical RANGe value NL value The recovered clock vertical range setting Example This example pla...

Страница 509: ...riteString MEASure CROSsing CHANnel1 CHANnel2 Query MEASure CROSsing source1 source2 The MEASure CROSsing query returns the crossing measurement value If the source parameters are not specified the tw...

Страница 510: ...s are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 direction RISing FALLing S...

Страница 511: ...he cycle to cycle duty cycle of channel 1 in the numeric variable varValue then prints the contents of the variable to the computer s screen myScope WriteString SYSTEM HEADER OFF Response headers off...

Страница 512: ...tures are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 direction RISing FALLi...

Страница 513: ...es the cycle to cycle jitter of channel 1 in the numeric variable varValue then prints the contents of the variable to the computer s screen myScope WriteString SYSTEM HEADER OFF Response headers off...

Страница 514: ...mand uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 Example This example measures the cycle to cycle...

Страница 515: ...iniium 90000 Series Oscilloscopes Programmer s Reference 515 myScope WriteString SYSTEM HEADER OFF Response headers off myScope WriteString MEASURE CTCNWIDTH CHANNEL1 varValue myScope ReadNumber Debug...

Страница 516: ...mand uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 Example This example measures the cycle to cycle...

Страница 517: ...iniium 90000 Series Oscilloscopes Programmer s Reference 517 myScope WriteString SYSTEM HEADER OFF Response headers off myScope WriteString MEASURE CTCPWIDTH CHANNEL1 varValue myScope ReadNumber Debug...

Страница 518: ...gh Speed Serial option and the Serial Data Equalization option installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1...

Страница 519: ...s the current data rate of the channel 1 waveform in the numeric variable varValue then prints the contents of the variable to the computer s screen myScope WriteString SYSTEM HEADER OFF Response head...

Страница 520: ...e if the oscilloscope has the High Speed Serial option installed and the feature is enabled The EQUalized source is only available if the oscilloscope has the High Speed Serial option and the Serial D...

Страница 521: ...lt_state If SENDvalid is ON the result state is returned with the measurement result See the MEASure RESults table in this chapter for a list of the result states Example This example places the curre...

Страница 522: ...displayed source CHANnel N FUNCtion F DIGital M WMEMory N CLOCk MTRend MSPectrum EQUalized MTRend and MSPectrum sources are only available if the oscilloscope has the EZJIT option installed and the f...

Страница 523: ...sult states Example This example places the current value of delta time in the numeric variable varValue then prints the contents of the variable to the computer s screen This example assumes the sour...

Страница 524: ...e This example sets the delta time starting edge to a rising edge on the 5th edge at the middle position and the stopping edge to falling on the 50th edge at the lower position myScope WriteString SYS...

Страница 525: ...t Infiniium 90000 Series Oscilloscopes Programmer s Reference 525 NOTE Turn Off Headers When receiving numeric data into numeric variables turn off the headers Otherwise the headers may cause misinter...

Страница 526: ...ption and the Serial Data Equalization option installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an...

Страница 527: ...result See the MEASure RESults table in this chapter for a list of the result states Example This example places the current duty cycle of the channel 1 waveform in the numeric variable varValue then...

Страница 528: ...ption and the Serial Data Equalization option installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an...

Страница 529: ...the MEASure RESults table in this chapter for a list of the result states Example This example places the current duty cycle of the channel 1 waveform in the numeric variable varValue then prints the...

Страница 530: ...9 99999E 37 if the necessary edges are not displayed source CHANnel N FUNCtion F WMEMory N CLOCk MTRend MSPectrum EQUalized MTRend and MSPectrum sources are only available if the oscilloscope has the...

Страница 531: ...scope has the EZJIT option installed and the feature is enabled The CLOCk source is only available if the oscilloscope has the High Speed Serial option installed and the feature is enabled The EQUaliz...

Страница 532: ...le places the current value for fall time in the numeric variable varValue then prints the contents of the variable to the computer s screen myScope WriteString SYSTEM HEADER OFF Response headers off...

Страница 533: ...Data Equalization option installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 Quer...

Страница 534: ...Programmer s Reference 25 Measure Commands myScope WriteString meas FFT dfr func4 Perform dfrequency meas myScope WriteString meas FFT dfr func4 Query for measurement varFrequency myScope ReadNumber...

Страница 535: ...Equalization option installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 Query ME...

Страница 536: ...Programmer s Reference 25 Measure Commands myScope WriteString meas FFT dmag func4 Perform magnitude meas myScope WriteString meas FFT dmag func4 Query for measurement varMagnitude myScope ReadNumber...

Страница 537: ...n installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 Query MEASure FFT FREQuency...

Страница 538: ...n installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 Query MEASure FFT MAGNitude...

Страница 539: ...ified with the MEASure SOURce command as FUNCtion F or WMEMory N 1st_peak _number An integer 1 to 100 specifying the number of the first peak N WMEMory N is an integer 1 4 F FUNCtion F is an integer 1...

Страница 540: ...ified with the MEASure SOURce command as FUNCtion F or WMEMory N 2nd_peak _number An integer 1 to 100 specifying the number of the second peak N WMEMory N is an integer 1 4 F FUNCtion F is an integer...

Страница 541: ...eshold The MEASure FFT THReshold query returns the peak search threshold value Returned Format MEASure FFT THReshold threshold_value NL These MEASure commands also operate on FFT functions See Also Al...

Страница 542: ...IT option installed and the feature is enabled The CLOCk source is only available if the oscilloscope has the High Speed Serial option installed and the feature is enabled The EQUalized source is only...

Страница 543: ...n the screen using the mid threshold levels of the waveform result_state If SENDvalid is ON the result state is returned with the measurement result See the MEASure RESults table in this chapter for a...

Страница 544: ...number of hits within the histogram stored in WMEMory1 myScope WriteString MEASure HISTogram HITS WMEMory1 Query MEASure HISTogram HITS source The MEASure HISTogram HITS query returns the number of h...

Страница 545: ...data stored in waveform memory 3 myScope WriteString MEASure HISTogram M1S WMEMory3 Query MEASure HISTogram M1S source The MEASure HISTogram M1S query returns the measurement of the percentage of poi...

Страница 546: ...specified using the MEASure SOURce command myScope WriteString MEASure HISTogram M2S WMEMory1 Query MEASure HISTogram M2S source The MEASure HISTogram M2S query returns the measurement of the percenta...

Страница 547: ...histogram myScope WriteString MEASure HISTogram M3S HISTogram Query MEASure HISTogram M3S source The MEASure HISTogram M3S query returns the measurement of the percentage of points within three stand...

Страница 548: ...s tab the maximum value of the histogram stored in WMEMory1 myScope WriteString MEASure HISTogram MAX WMEMory1 Query MEASure HISTogram MAX source The MEASure HISTogram MAX query returns the measuremen...

Страница 549: ...urements tab the mean of the histogram stored in WMEMory1 myScope WriteString MEASure HISTogram MEAN WMEMory1 Query MEASure HISTogram MEAN source The MEASure HISTogram MEAN query returns the measureme...

Страница 550: ...ents tab the median of the histogram stored in WMEMory1 myScope WriteString MEASure HISTogram MEDian WMEMory1 Query MEASure HISTogram MEDian source The MEASure HISTogram MEDian query returns the measu...

Страница 551: ...nts tab the minimum the histogram stored in WMEMory1 myScope WriteString MEASure HISTogram MIN WMEMory1 Query MEASure HISTogram MIN source The MEASure HISTogram MIN query returns the measurement of th...

Страница 552: ...ments tab the mode of the histogram stored in WMEMory1 myScope WriteString MEASure HISTogram MODE WMEMory1 Query MEASure HISTogram MODE source The MEASure HISTogram MODE query returns the measurement...

Страница 553: ...the greatest peak of the histogram stored in WMEMory1 myScope WriteString MEASure HISTogram PEAK WMEMory1 Query MEASure HISTogram PEAK source The MEASure HISTogram PEAK query returns the number of hit...

Страница 554: ...easurements tab the width of the histogram stored in WMEMory1 myScope WriteString MEASure HISTogram PP WMEMory1 Query MEASure HISTogram PP source The MEASure HISTogram PP query returns the measurement...

Страница 555: ...easurements tab the bin width of the histogram stored in WMEMory1 myScope WriteString MEASure HISTogram RESolution WMEMory1 Query MEASure HISTogram RES source The MEASure HISTogram RES query returns t...

Страница 556: ...togram stored in WMEMory1 myScope WriteString MEASure HISTogram STDDev WMEMory1 Query MEASure HISTogram STDDev source The MEASure HISTogram STDDev query returns the measurement of standard deviation o...

Страница 557: ...and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source clock_source CHANnel N FUNCtion F WMEMory N CLOCk MTRend MSPectrum EQUalized MTRend and MSPectrum sou...

Страница 558: ...me between the specified clock and data source Returned Format MEASure SETuptime value NL value Hold time in seconds Example This example places the current value of hold time in the numeric variable...

Страница 559: ...N Query MEASure JITTer HISTogram The MEASure JITTer HISTogram query returns the state of measurement histogram display Returned Format MEASure JITTer HISTogram 1 0 Example This example places the curr...

Страница 560: ...MEASurement The MEASure JITTer MEASurement query returns the measurement number you are performing the jitter analysis on If no measurements are being displayed on the oscilloscope the query will retu...

Страница 561: ...N Query MEASure JITTer SPECtrum The MEASure JITTer SPECtrum query returns the state of jitter spectrum display Returned Format MEASure JITTer SPECtrum 1 0 Example This example places the current setti...

Страница 562: ...ode to automatic myScope WriteString MEASURE JITTER SPECTRUM HORIZONTAL AUTO Query MEASure JITTer SPECtrum HORizontal The MEASure JITTer SPECtrum HORizontal query returns the current jitter spectrum h...

Страница 563: ...rum HORizontal POSition The MEASure JITTer SPECtrum HORizontal POSition query returns the current jitter spectrum horizontal center frequency position setting Returned Format MEASure JITTer SPECtrum H...

Страница 564: ...r SPECtrum HORizontal RANGe The MEASure JITTer SPECtrum HORizontal RANGe query returns the current jitter spectrum horizontal range setting Returned Format MEASure JITTer SPECtrum HORizontal RANGe val...

Страница 565: ...atic myScope WriteString MEASURE JITTER SPECTRUM VERTICAL AUTO Query MEASure JITTer SPECtrum VERTical The MEASure JITTer SPECtrum VERTical query returns the current jitter spectrum vertical mode setti...

Страница 566: ...RTical OFFSet The MEASure JITTer SPECtrum VERTical OFFSet query returns the jitter spectrum vertical offset time Returned Format MEASure JITTer SPECtrum VERTical OFFSet value result_state NL value The...

Страница 567: ...ITTer SPECtrum VERTical RANGe The MEASure JITTer SPECtrum VERTical RANGe query returns the jitter spectrum range time setting Returned Format MEASure JITTer SPECtrum VERTical RANGe value result_state...

Страница 568: ...Near Query MEASure JITTer SPECtrum VERTical TYPE The MEASure JITTer SPECtrum VERTical TYPE query returns the current jitter spectrum plot vertical scale setting Returned Format MEASure JITTer SPECtrum...

Страница 569: ...HANNing Query MEASure JITTer SPECtrum WINDow The MEASure JITTer SPECtrum WINDow query returns the current jitter spectrum window mode setting Returned Format MEASure JITTer SPECtrum WINDow RECTangula...

Страница 570: ...sure all edges in the waveform not just the first edge on screen Example This example turns the jitter measurement statistics and the Measure All Edges mode on myScope WriteString MEASure JITTer STATi...

Страница 571: ...WriteString MEASURE JITTER TREND ON Query MEASure JITTer TRENd The MEASure JITTer TRENd query returns the state of jitter trend display Returned Format MEASure JITTer TRENd 1 0 Example This example pl...

Страница 572: ...ng MEASURE JITTer TREND SMOOTH ON Query MEASure JITTer TRENd SMOoth The MEASure JITTer TRENd SMOoth query returns the current jitter trend smoothing mode setting Returned Format MEASure JITTer TRENd S...

Страница 573: ...EASure JITTer TRENd SMOoth POINts The MEASure JITTer TRENd SMOoth POINts query returns the current setting for jitter trend smoothing points Returned Format MEASure JITTer TRENd SMOoth POINts value NL...

Страница 574: ...tic myScope WriteString MEASURE JITTer TRENd VERTical AUTO Query MEASure JITTer TRENd VERTical The MEASure JITTer TRENd VERTical query returns the current jitter trend vertical mode setting Returned F...

Страница 575: ...RENd VERTical OFFSet The MEASure JITTer TRENd VERTical OFFSet query returns the jitter trend vertical offset setting Returned Format MEASure JITTer TRENd VERTical OFFSet value NL value The jitter vert...

Страница 576: ...s the jitter trend vertical range setting Returned Format MEASure JITTer TRENd VERTical RANGe value NL value The jitter trend vertical range setting result_state If SENDvalid is ON the result state is...

Страница 577: ...AS4 name The MEASure NAME commands sets the name of the specified measurement to whatever string is given to name This enables you to give specific names to measurements displayed on the oscilloscope...

Страница 578: ...enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 direction RISing FALLing specifi...

Страница 579: ...Sults table in this chapter for a list of the result states Example This example places the current value of N cycle jitter in the numeric variable varValue then prints the contents of the variable to...

Страница 580: ...lized FFE signal as the source N In CHANnel N and WMEMory N N is an integer 1 4 representing the selected channel or waveform memory F FUNCtion F is an integer 1 16 Example This example adds a ones No...

Страница 581: ...t was derived using a bit error rate of 1E 12 A format of rms means the measurement is a root mean square measurement A format of dd means the measurement uses a dual Dirac delta model to derive the m...

Страница 582: ...level Example This example places the noise measurement result for ones in the strResults variable and displays it on the computer s screen Dim strResult As String Dimension variable myScope WriteStr...

Страница 583: ...E myScope WriteString MEASURE NOISe BANDWIDTH WIDE Query MEASure NOISe BANDwidth The MEASure NOISe BANDwidth query returns the RN bandwidth filter setting Returned Format MEASure NOISe BANDwidth NARRo...

Страница 584: ...measurement location to 60 myScope WriteString MEASURE NOISe LOCation 60 Query MEASure NOISe LOCation The MEASure NOISe LOCation query returns the measurement location setting Returned Format MEASure...

Страница 585: ...ground bounce effects present in your signal you can select the SPECtral method in order to run faster When this option is selected the deterministic interference DI that is uncorrelated to the data...

Страница 586: ...l and tail fit analysis including aperiodic bounded uncorrelated interference ABUI measurements myScope WriteString MEASURE NOISe REPort TAILfit Query MEASure NOISe REPort The MEASure NOISe REPort que...

Страница 587: ...random noise RNrms One The known amount of ones random noise OFF Disables the specification of random noise amounts Specified amounts of ones and zeros random noise is shown in the noise measurement r...

Страница 588: ...rom the front panel user interface will set RNrms Zero and RNrms One to the measured values however the measures values can be changed by this command Example This example specifies 100 V of oscillosc...

Страница 589: ...MEASure NOISe STATe The MEASure NOISe STATe query returns the state of the NOISe measurements Returned Format MEASure NOISe STATe 1 0 NL Example This example places the current state of the NOISe meas...

Страница 590: ...amplitude Query MEASure NOISe UNITs The MEASure NOISe UNITs query returns the units of measure being used for the NOISe measurements Returned Format MEASure NOISe UNITs VOLT UNITamplitude NL Example T...

Страница 591: ...onsecutive periods The measurement then moves over one period and measures the span of time of the next N consecutive periods source the source on which the measurement is made slope rising or falling...

Страница 592: ...es source The MEASure NPULses measures the number of negative pulses on the screen source the source on which the measurement is made Example This example measures the number of negative pulses on cha...

Страница 593: ...cutive unit intervals The measurement then moves over one unit interval and measures the span of time of the next N consecutive unit intervals source the source on which the measurement is made N An i...

Страница 594: ...rces are only available if the oscilloscope has the EZJIT option installed and the feature is enabled The CLOCk source is only available if the oscilloscope has the High Speed Serial option installed...

Страница 595: ...ith the measurement result See the MEASure RESults table in this chapter for a list of the result states Example This example places the current width of the first negative pulse on the screen in the...

Страница 596: ...talled and the feature is enabled The CLOCk source is only available if the oscilloscope has the High Speed Serial option installed and the feature is enabled The EQUalized source is only available if...

Страница 597: ...ure RESults table in this chapter for a list of the result states Example This example places the current value of overshoot in the numeric variable varValue then prints the contents of the variable t...

Страница 598: ...ory N N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 width width to measure at the top and base of the pulse in percent 0 100 direction the edge direction to...

Страница 599: ...he middle threshold level A 100 window would measure the average of the entire positive or negative pulse In measure all edges mode and EZJIT these measurements can be trended histogrammed etc source...

Страница 600: ...installed and the feature is enabled The CLOCk source is only available if the oscilloscope has the High Speed Serial option installed and the feature is enabled The EQUalized source is only availabl...

Страница 601: ...st complete cycle on the screen result_state If SENDvalid is ON the result state is returned with the measurement result See the MEASure RESults table in this chapter for a list of the result states E...

Страница 602: ...option and the Serial Data Equalization option installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is...

Страница 603: ...he measurement result See the MEASure RESults table in this chapter for a list of the result states Example This example places the current phase angle value between channel 1 and channel 2 in the var...

Страница 604: ...es source The MEASure PPULses measures the number of positive pulses on the screen source the source on which the measurement is made Example This example measures the number of positive pulses on cha...

Страница 605: ...ZJIT option installed and the feature is enabled The CLOCk source is only available if the oscilloscope has the High Speed Serial option installed and the feature is enabled The EQUalized source is on...

Страница 606: ...RESults table in this chapter for a list of the result states Example This example places the current value of preshoot in the numeric variable varPreshoot then prints the contents of the variable to...

Страница 607: ...d at the middle threshold level A 100 window would measure the average of the entire positive or negative pulse In measure all edges mode and EZJIT these measurements can be trended histogrammed etc s...

Страница 608: ...ources are only available if the oscilloscope has the EZJIT option installed and the feature is enabled The CLOCk source is only available if the oscilloscope has the High Speed Serial option installe...

Страница 609: ...sult See the MEASure RESults table in this chapter for a list of the result states Example This example places the value of the width of the first positive pulse on the screen in the numeric variable...

Страница 610: ...e This example sets the level qualifier 2 condition to HIGH myScope WriteString MEASURE QUALIFIER2 CONDITION HIGH Query MEASure QUALifier M CONDition The MEASure QUALifier M CONDition query returns th...

Страница 611: ...ce CHANNEL1 Query MEASure QUALifier M SOURce The MEASure QUALifier M SOURce query returns the source being used of the level qualifier for timing measurements Returned Format MEASure QUALifier M SOURc...

Страница 612: ...WriteString MEASURE QUALIFIER2 STATE ON Query MEASure QUALifier M STATe The MEASure QUALifier M STATe query returns the state of the level qualifier for timing measurements Returned Format MEASure QUA...

Страница 613: ...t MEASure RESults result_list NL result_list A list of the measurement results separated with commas The following shows the order of values received for a single measurement if MEASure STATistics is...

Страница 614: ...id Lower threshold not on waveform 13 Result invalid Upper threshold not on waveform 14 Result invalid Upper and lower thresholds are too close 15 Result invalid Top not on waveform 16 Result invalid...

Страница 615: ...s measurement or must be in jitter mode to make this measurement 40 Current measurement is not on screen 41 Not enough points available to recover the clock 42 The loop bandwidth of the PLL is too hig...

Страница 616: ...the 90 point on the rising edge source CHANnel N FUNCtion F WMEMory N CLOCk MTRend MSPectrum EQUalized MTRend and MSPectrum sources are only available if the oscilloscope has the EZJIT option install...

Страница 617: ...ASure RESults table in this chapter for a list of the result states Example This example places the current value of rise time in the numeric variable varRise then prints the contents of the variable...

Страница 618: ...For instance TJ 1E 12 means that the TJ measurement was derived using a bit error rate of 1E 12 A format of rms means the measurement is a root mean square measurement A format of dd means the measure...

Страница 619: ...mple This example places the jitter measures in the strResults variable and displays it on the computer s screen Dim strResult As String Dimension variable myScope WriteString SYSTem HEADer OFF Respon...

Страница 620: ...ttern length as a numeric data value Invalid 9 99999E 37 is returned if there is no data Example This example places the calculated pattern length in the strResults variable and displays it on the com...

Страница 621: ...cope WriteString MEASURE RJDJ BANDWIDTH WIDE Query MEASure RJDJ BANDwidth The MEASure RJDJ BANDwidth query returns the RJ bandwidth filter setting Returned Format MEASure RJDJ BANDwidth NARRow WIDE NL...

Страница 622: ...9 E10 1E 10 E11 1E 11 E12 1E 12 E13 1E 13 E14 1E 14 E15 1E 15 E16 1E 16 E17 1E 17 E18 1E 18 J2 2 5E 3 J9 2 5E 10 Example This example sets the bit error rate to E16 myScope WriteString MEASURE RJDJ BE...

Страница 623: ...nt Infiniium 90000 Series Oscilloscopes Programmer s Reference 623 myScope WriteString SYSTEM HEADER OFF Response headers off myScope WriteString MEASURE RJDJ BER varRate myScope ReadNumber Debug Prin...

Страница 624: ...ption Example This example turns on the RJDJ clock option myScope WriteString MEASURE RJDJ CLOCk ON Query MEASure RJDJ CLOCk The MEASure RJDJ CLOCk query returns the setting Returned Format MEASure RJ...

Страница 625: ...EASure RJDJ EDGE The MEASure RJDJ EDGE query returns the edge being used for the RJDJ measurements Returned Format MEASure RJDJ EDGE RISING FALLING BOTH NL Example This example places the current edge...

Страница 626: ...ure RJDJ INTerpolate The MEASure RJDJ INTerpolate query returns the edge being used for the RJDJ measurements Returned Format MEASure RJDJ INTerpolate LINear NONE NL Example This example places the cu...

Страница 627: ...ground bounce effects present in your signal you can select the SPECtral method in order to run faster When this option is selected the deterministic jitter DJ that is uncorrelated to the data pattern...

Страница 628: ...the RJDJ measurement mode If NUI is selected then ui selects the number of unit intervals for example MEASure RJDJ MODe NUI 5 Example This example sets the RJDJ mode to TIE myScope WriteString MEASURE...

Страница 629: ...f pattern from 2 to 1024 Example This example sets the RJDJ bits to 5 myScope WriteString MEASURE RJDJ PLENgth 5 Query MEASure RJDJ PLENgth The MEASure RJDJ PLENgth query returns the number of bits be...

Страница 630: ...he spectral and tail fit analysis including aperiodic bounded uncorrelated jitter ABUJ measurements myScope WriteString MEASURE RJDJ REPort TAILfit Query MEASure RJDJ REPort The MEASure RJDJ REPort qu...

Страница 631: ...a specified amount of random jitter RJrms The known amount of random jitter OFF Disables the specification of known random jitter The amount of random jitter is shown in the jitter measurement results...

Страница 632: ...rom the reported RJ The calculated oscilloscope random jitter is shown in the jitter measurement results see page 618 as Scope RJ rms OFF Disables the removal of the oscilloscope s calibrated random j...

Страница 633: ...on option installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an inte...

Страница 634: ...MEASure RJDJ STATe The MEASure RJDJ STATe query returns the state of the RJDJ measurements Returned Format MEASure RJDJ STATe 1 0 NL Example This example places the current state of the RJDJ measureme...

Страница 635: ...easurement A format of d d means the measurement uses from a dual Dirac delta model used to derive the measurement A format of p p means the measurement is a peak to peak measurement tj_result rj_resu...

Страница 636: ...AL Query MEASure RJDJ UNITs The MEASure RJDJ UNITs query returns the units of measure being used for the RJDJ measurements Returned Format MEASure RJDJ UNITs SECond UNITinterval NL Example This exampl...

Страница 637: ...MEASure SCRatch Command MEASure SCRatch CLEar The MEASure SCRatch command clears the measurement results from the screen This command performs the same function as MEASure CLEar Example This example...

Страница 638: ...ASure SENDvalid query returns the state of the send valid control Returned Format MEASure SENDvalid 0 1 NL Example This example places the current mode for SENDvalid in the string variable strMode the...

Страница 639: ...enabled This command uses the Feed Forward Equalized FFE signal as the source clock_source CHANnel N FUNCtion F DIGital M WMEMory N CLOCk MTRend MSPectrum EQUalized MTRend and MSPectrum sources are o...

Страница 640: ...1 RIS CHAN2 RIS Query MEASure SETuptime data_source data_source_dir clock_source clock_ source_dir The MEASure SETuptime query returns the measured setup time between the specified clock and data sour...

Страница 641: ...d and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N An integer 1 4 F An integer 1 16 edge_dir RISing FALLing BOTH Example This example measures the s...

Страница 642: ...ature is enabled The EQUalized source is only available if the oscilloscope has the High Speed Serial option and the Serial Data Equalization option installed and the features are enabled This command...

Страница 643: ...URE STATISTICS ON Query MEASure STATistics The MEASure STATistics query returns the current statistics mode Returned Format MEASure STATistics ON CURRent MAXimum MEAN MINimum STDDev NL Example This ex...

Страница 644: ...tal M WMEMory N CLOCk MTRend MSPectrum EQUalized MTRend and MSPectrum sources are only available if the oscilloscope has the EZJIT option installed and the feature is enabled The CLOCk source is only...

Страница 645: ...rigger event and the 90 threshold on the second rising edge of the source waveform to the numeric variable varTime The contents of the variable are then printed to the computer s screen myScope WriteS...

Страница 646: ...mand uses the Feed Forward Equalized FFE signal as the source Setting the source to ALL does not affect the individual channel settings which is the behavior as the user interface N An integer 1 4 F A...

Страница 647: ...STem HEADer OFF Response headers off myScope WriteString MEASure THResholds ABSolute CHANnel1 strThresholds myScope ReadString Debug Print strThresholds NOTE Turn Off Headers When receiving numeric da...

Страница 648: ...e High Speed Serial option and the Serial Data Equalization option installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source Setting the source to AL...

Страница 649: ...Tem HEADer OFF Response headers off myScope WriteString MEASure THResholds HYSTeresis CHANNEL1 strRangeLevel myScope ReadString Debug Print strRangeLevel NOTE Turn Off Headers When receiving numeric d...

Страница 650: ...enabled This command uses the Feed Forward Equalized FFE signal as the source Setting the source to ALL does not affect the individual channel settings which is the behavior as the user interface N An...

Страница 651: ...urce to ALL does not affect the individual channel settings which is the behavior as the user interface N An integer 1 4 F An integer 1 16 M An integer 0 15 Digital channels are available on mixed sig...

Страница 652: ...s Reference 25 Measure Commands strThresholdsPct myScope ReadString Debug Print strThresholdsPct NOTE Turn Off Headers When receiving numeric data into numeric variables turn off the headers Otherwis...

Страница 653: ...command uses the Feed Forward Equalized FFE signal as the source Setting the source to ALL does not affect the individual channel settings which is the behavior as the user interface N An integer 1 4...

Страница 654: ...source to ALL does not affect the individual channel settings which is the behavior as the user interface N An integer 1 4 F An integer 1 16 M An integer 0 15 Digital channels are available on mixed s...

Страница 655: ...t Infiniium 90000 Series Oscilloscopes Programmer s Reference 655 NOTE Turn Off Headers When receiving numeric data into numeric variables turn off the headers Otherwise the headers may cause misinter...

Страница 656: ...ized MTRend and MSPectrum sources are only available if the oscilloscope has the EZJIT option installed and the feature is enabled The CLOCk source is only available if the oscilloscope has the High S...

Страница 657: ...e TIEClock2 source SECond UNITinterval direction AUTO CUSTOM frequency VARiable frequency bandwidth CLOCk The MEASure TIEClock2 query returns the current value of the clock time interval error Returne...

Страница 658: ...ly available if the oscilloscope has the High Speed Serial option installed and the feature is enabled The EQUalized source is only available if the oscilloscope has the High Speed Serial option and t...

Страница 659: ...state If SENDvalid is ON the result state is returned with the measurement result See the MEASure RESults table in this chapter for a list of the result states Example This example places the current...

Страница 660: ...ecade myScope WriteString MEASURE TIEFilter SHAPe DB40 Query MEASure TIEFilter SHAPe The MEASure TIEFilter SHAPe query returns the specified shape of the TIE filter edge s Returned Format MEASure TIEF...

Страница 661: ...cy of the TIE filter Returned Format MEASure TIEFilter STARt value NL value The start frequency for the TIE filter Example This example returns the current value of the starting frequency for the TIE...

Страница 662: ...tate of the TIE data filter Returned Format MEASure TIEFilter STATe 0 1 NL Example This example returns the current state of the TIE data filter then prints the contents of the variable to the compute...

Страница 663: ...y of the TIE filter Returned Format MEASure TIEFilter STOP value NL value The stop frequency for the TIE filter Example This example returns the current value of the stopping frequency for the TIE fil...

Страница 664: ...Sure TIEFilter TYPE query returns the current type of TIE filter being used Returned Format MEASure TIEFilter TYPE BANDpass LOWPass HIGHpass NL Example This example places the current mode for TIEFilt...

Страница 665: ...Equalization option installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F...

Страница 666: ...option installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer...

Страница 667: ...be reported if one the first crossing is reported if two the second crossing is reported etc The desired crossing must be present on the display Occurrences are counted with 1 being the first occurren...

Страница 668: ...t states Example This example returns the time interval between the trigger event and the transition through 0 250 Volts on the third rising occurrence of the source waveform to the numeric variable v...

Страница 669: ...t interval and makes another measurement When N 1 this is analogous to cycle cycle jitter but measures unit intervals instead of periods When N 1 this is analogous to N Cycle jitter but measures unit...

Страница 670: ...High Speed Serial option and the Serial Data Equalization option installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer...

Страница 671: ...e current unit interval of the channel 1 waveform in the numeric variable varValue then prints the contents of the variable to the computer s screen myScope WriteString SYSTEM HEADER OFF Response head...

Страница 672: ...This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 Example This example calculates the dif...

Страница 673: ...has the High Speed Serial option installed and the feature is enabled The EQUalized source is only available if the oscilloscope has the High Speed Serial option and the Serial Data Equalization optio...

Страница 674: ...the current average voltage in the numeric variable varAverage then prints the contents of the variable to the computer s screen myScope WriteString SYSTEM HEADER OFF Response headers off myScope Wri...

Страница 675: ...enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 Example This example measures t...

Страница 676: ...and the Serial Data Equalization option installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an inte...

Страница 677: ...d the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 Example This...

Страница 678: ...678 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 25 Measure Commands varMaximum myScope ReadNumber Debug Print FormatNumber varMaximum 0...

Страница 679: ...ed and the feature is enabled The EQUalized source is only available if the oscilloscope has the High Speed Serial option and the Serial Data Equalization option installed and the features are enabled...

Страница 680: ...features are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 Example This exampl...

Страница 681: ...Measure Commands 25 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 681 varMinimum myScope ReadNumber Debug Print FormatNumber varMinimum 0...

Страница 682: ...he feature is enabled The CLOCk source is only available if the oscilloscope has the High Speed Serial option installed and the feature is enabled The EQUalized source is only available if the oscillo...

Страница 683: ...ilable if the oscilloscope has the High Speed Serial option and the Serial Data Equalization option installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as th...

Страница 684: ...ries Oscilloscopes Programmer s Reference 25 Measure Commands myScope WriteString SYSTEM HEADER OFF Response headers off myScope WriteString MEASURE VPP CHANNEL1 varVoltage myScope ReadNumber Debug Pr...

Страница 685: ...s the EZJIT option installed and the feature is enabled The CLOCk source is only available if the oscilloscope has the High Speed Serial option installed and the feature is enabled The EQUalized sourc...

Страница 686: ...ter is also useful when measuring noise AC The AC parameter is used to measure the RMS voltage subtracting the DC component DC The DC parameter is used to measure RMS voltage including the DC componen...

Страница 687: ...ult_state NL value RMS voltage of the selected waveform result_state If SENDvalid is ON the result state is returned with the measurement result See the MEASure RESults table in this chapter for a lis...

Страница 688: ...d Serial option and the Serial Data Equalization option installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMo...

Страница 689: ...niium 90000 Series Oscilloscopes Programmer s Reference 689 myScope WriteString SYSTEM HEADER OFF Response headers off myScope WriteString MEASURE VTIME 500E 3 CHANNEL1 varValue myScope ReadNumber Deb...

Страница 690: ...e features are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 Example This exam...

Страница 691: ...ption installed and the features are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer...

Страница 692: ...692 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 25 Measure Commands varValue myScope ReadNumber Debug Print FormatNumber varValue 0...

Страница 693: ...are made in the ZOOM window measurement gating or over the entire acquisition MAIN or ALL The MAIN and ALL parameters are equivalent Example This example gates Measurement 1 to the zoom window myScope...

Страница 694: ...e of the specified measurement to whatever string is given to name This lets you give specific names to measurements displayed on the oscilloscope s screen N An integer 1 10 This number represents the...

Страница 695: ...The EQUalized source is only available if the oscilloscope has the High Speed Serial option and the Serial Data Equalization option installed and the features are enabled This command uses the Feed F...

Страница 696: ...696 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 25 Measure Commands...

Страница 697: ...1 697 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 26 Pod Commands POD N DISPlay 698 POD N PSKew 699 POD N THReshold 700 NOTE The POD commands only apply to the MSO oscilloscope...

Страница 698: ...Displaying a pod automatically enables digital channels See ENABle command in the root subsystem N An integer 1 2 Example This example turns on the display of bit 5 for the digital channels myScope Wr...

Страница 699: ...me delay between the analog and digital channels This can occur when different length cables are used N An integer 1 2 skew_value A real number for the skew value in the range 1 ms to 1 ms Example Thi...

Страница 700: ...are CMOS50 2 5 V CMOS33 1 65 V CMOS25 1 25 V ECL 1 3 V PECL 3 7 V TTL 1 4 V DIFFerential 0 V N An integer 1 2 value A real number representing the voltage value which distinguishes a 1 logic level fr...

Страница 701: ...Pod Commands 26 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 701 See Also DIGital N THReshold on page 273...

Страница 702: ...702 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 26 Pod Commands...

Страница 703: ...ls 709 AUToscale PLACement 710 AUToscale VERTical 711 BEEP 712 BLANk 713 CDISplay 714 DIGitize 715 DISable DIGital 716 ENABle DIGital 717 MTEE 719 MTER 720 MODel 718 OPEE 721 OPER 722 OVLRegister 723...

Страница 704: ...f the basic operations of the oscilloscope that you can select by pressing the labeled keys on the front panel These commands are always recognized by the parser if they are prefixed with a colon rega...

Страница 705: ...quisition Done Event Register and returns 1 or 0 After the Acquisition Done Event Register is read the register is cleared The returned value 1 indicates an acquisition completed event has occurred an...

Страница 706: ...eared The returned value 1 indicates a trigger armed event has occurred and 0 indicates a trigger armed has not occurred Once the AER bit is set it is cleared only by doing AER or by sending a CLS com...

Страница 707: ...Event Register Query ATER The ATER query reads the Auto Trigger Event Register and returns 1 or 0 After the Auto Trigger Event Register is read the register is cleared The returned value 1 indicates...

Страница 708: ...el 4 then channel 3 channel 2 and channel 1 until a trigger waveform is detected If waveforms cannot be found on any vertical input the oscilloscope is returned to its former state Autoscale sets the...

Страница 709: ...s Command AUToscale CHANnels ALL DISPlayed The AUToscale CHANnels command selects whether to apply autoscale to all of the input channels or just the input channels that are currently displayed Exampl...

Страница 710: ...rms because they no longer take up the full dynamic range of th ADC analog to digital converter If Separate is chosen then the screen is divided into the same number of grids that there are waveforms...

Страница 711: ...d scaling for the corresponding channel without changing anything else for example trigger or timebase settings Example This example automatically autoscales the vertical position and scale for the wa...

Страница 712: ...y duration The BEEP command makes the oscilloscope beep at a defined frequency and duration frequency A real number representing frequency of beep in Hertz duration A real number representing duration...

Страница 713: ...OCk MTRend MSPectrum EQUalize ALL The BLANk command turns off an active channel function histogram waveform memory measurement trend measurement spectrum or Feed Forward Equalized waveform The VIEW co...

Страница 714: ...resets all associated measurements If the oscilloscope is stopped all currently displayed data is erased If the oscilloscope is running all of the data in active channels and functions is erased howe...

Страница 715: ...played in the Infiniium waveform viewing area In this case the display state of the acquired waveforms is not changed after the DIGitize command is completed Because the command executes more quickly...

Страница 716: ...opes Programmer s Reference 27 Root Level Commands DISable DIGital Command DISable DIGital The DISable DIGital command disables the digital channels 0 15 Example This example will disable the digital...

Страница 717: ...90000 Series Oscilloscopes Programmer s Reference 717 ENABle DIGital Command ENABle DIGital The ENABle DIGital command enables the digital channels 0 15 Example This example will enable the digital ch...

Страница 718: ...ned by header and longform status as in Table 25 Example This example places the model number in a string variable strModel then prints the contents of the variable on the computer s screen Dim strMod...

Страница 719: ...n interrupt whenever a Mask Test Fail occurs in the mask test register You can enable this bit to generate the summary bit by sending myScope WriteString MTEE 2 Whenever an error occurs the oscillosco...

Страница 720: ...is complete Bit 1 Mask Test Fail bit is set whenever the mask test failed Bit 2 Mask Low Amplitude bit is set whenever the signal is below the mask amplitude Bit 3 Mask High Amplitude bit is set whene...

Страница 721: ...E command sets a mask in the Operation Status Enable register Each bit that is set to a 1 enables that bit to set bit 7 in the status byte register and potentially causes an SRQ to be generated Bit 5...

Страница 722: ...OPER query returns the value contained in the Operation Status Register as a decimal number This register contains the WAIT TRIG bit bit 5 and the OVLR bit bit 11 The WAIT TRIG bit is set by the Trig...

Страница 723: ...Query OVLRegister The OVLRegister query returns the value stored in the Overload Event Register The integer value returned by this query represents the channels as follows Bit 0 Channel 1 Bit 1 Chann...

Страница 724: ...PDER query reads the Processing Done Event Register and returns 1 or 0 After the Processing Done Event Register is read the register is cleared The returned value 1 indicates indicates that all math...

Страница 725: ...RINt command outputs a copy of the screen to a printer or other device destination specified in the HARDcopy subsystem You can specify the selection of the output and the printer using the HARDcopy su...

Страница 726: ...ory_num setup _memory_num Setup memory number an integer 0 through 9 The RECall SETup command recalls a setup that was saved in one of the oscilloscope s setup memories You can save setups using eithe...

Страница 727: ...ording to its current settings Acquisition runs repetitively until the oscilloscope receives a STOP command or until there is only one acquisition if Trigger Sweep is set to Single However the TRIGger...

Страница 728: ...tring returned for the IDN query described in the Common Commands chapter serial _number A ten character alphanumeric serial number enclosed with quotation marks Example This example sets the serial n...

Страница 729: ...loscope to make a single acquisition when the next trigger event occurs However this command does not set the TRIGger SWEep to SINGle Example This example sets up the oscilloscope to make a single acq...

Страница 730: ...option installed and the feature is enabled The EQUalized source is only available if the oscilloscope has the High Speed Serial option and the Serial Data Equalization option installed and the featu...

Страница 731: ...illoscopes Programmer s Reference 731 STOP Command STOP The STOP command causes the oscilloscope to stop acquiring data To restart the acquisition use the RUN or SINGle command Example This example st...

Страница 732: ...owed by the RJ DJ measurement results section After the RJ DJ measurement results section is the data for each of the measurements Each data section has a header showing what the measurement data is t...

Страница 733: ...Tup Command STORe SETup setup_memory_num setup _memory_num Setup memory number an integer 0 through 9 The STORe SETup command saves the current oscilloscope setup in one of the setup memories Example...

Страница 734: ...r 1 4 F An integer 1 16 The STORe WAVeform command copies a channel function stored waveform measurement trend or measurement spectrum to a waveform memory The parameter preceding the comma specifies...

Страница 735: ...the waveform meets the trigger criteria Returned Format 1 0 NL Example This example checks the current status of the Trigger Event Register places the status in the string variable strCurrent then pr...

Страница 736: ...D P The VIEW command turns on a channel function histogram or waveform memory The BLANk command turns them off MTRend and MSPectrum sources are only available if the oscilloscope has the EZJIT option...

Страница 737: ...ial Bus Commands General SBUS N Commands 738 SBUS N IIC Commands 741 SBUS N SPI Commands 745 The SBUS N subsystem commands control the serial decode bus viewing mode and other options NOTE These comma...

Страница 738: ...738 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 28 Serial Bus Commands General SBUS N Commands SBUS N DISPlay on page 739 SBUS N MODE on page 740...

Страница 739: ...y display 1 ON 0 OFF The SBUS N DISPlay command turns displaying of the serial decode bus on or off Query SBUS N DISPlay The SBUS N DISPlay query returns the current display setting of the serial deco...

Страница 740: ...N MODE command determines the decode mode for the serial bus Query SBUS N MODE The SBUS n MODE query returns the current serial bus decode mode setting Returned Format SBUS N MODE mode NL mode IIC SP...

Страница 741: ...oscopes Programmer s Reference 741 SBUS N IIC Commands SBUS n IIC ASIZe on page 742 SBUS N IIC SOURce CLOCk on page 743 SBUS N IIC SOURce DATA on page 744 NOTE These commands are only valid when the l...

Страница 742: ...BUS n IIC ASIZe size size BIT7 BIT8 The SBUS n IIC ASIZe command determines whether the Read Write bit is included as the LSB in the display of the IIC address field of the decode bus Query SBUS n IIC...

Страница 743: ...N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 M An integer 0 15 Digital channels are available on mixed signal oscilloscopes Example This example selects channel 2 a...

Страница 744: ...l N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 M An integer 0 15 Digital channels are available on mixed signal oscilloscopes Example This example selects channel 1...

Страница 745: ...Ck TIMeout on page 748 SBUS N SPI FRAMe STATe on page 749 SBUS N SPI SOURce CLOCk on page 750 SBUS N SPI SOURce DATA on page 751 SBUS N SPI SOURce FRAMe on page 752 SBUS N SPI SOURce MISO on page 753...

Страница 746: ...SPI BITorder command selects the bit order most significant bit first MSB or least significant bit first LSB used when displaying data in the serial decode waveform and in the Lister N An integer 1 4...

Страница 747: ...SPI CLOCk SLOPe command specifies the rising edge POSitive or falling edge NEGative of the SPI clock source that will clock in the data N An integer 1 4 Query SBUS N SPI CLOCk SLOPe The SBUS N SPI CL...

Страница 748: ...l clock timeout resource in seconds from 100 ns to 10 s when the SBUS N SPI FRAMing command is set to TIMeout The timer is used to frame a signal by a clock timeout N An integer 1 4 Query SBUS N SPI C...

Страница 749: ...nd SBUS N SPI FRAMe STATe value value LOW HIGH The SBUS N SPI FRAMe STATe command sets the SPI trigger frame state N An integer 1 4 Query SBUS N SPI FRAMe STATe The SBUS N SPI FRAMe STATe query return...

Страница 750: ...N is an integer 1 4 F FUNCtion F is an integer 1 16 M An integer 0 15 Digital channels are available on mixed signal oscilloscopes Query SBUS N SPI SOURce CLOCk The SBUS N SPI SOURce CLOCk query retu...

Страница 751: ...BUS N SPI SOURce MOSI command N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 M An integer 0 15 Digital channels are available on mixed signal oscilloscopes Q...

Страница 752: ...MEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 M An integer 0 15 Digital channels are available on mixed signal oscilloscopes Query SBUS N SPI SOURce FRAMe The SBUS N SPI SOURce FRAMe quer...

Страница 753: ...CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 M An integer 0 15 Digital channels are available on mixed signal oscilloscopes Query SBUS N SPI SOURce MISO The...

Страница 754: ...ce DATA command to set the MOSI data source N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 M An integer 0 15 Digital channels are available on mixed signal o...

Страница 755: ...An integer 1 4 Example To set the 3 wire SPI decode type myScope WriteString SBUS1 SPI TYPE WIRE3 Query SBUS N SPI TYPE The SBUS N SPI TYPE query returns the decode type setting Returned Format SBUS...

Страница 756: ...ord_width integer 4 16 in NR1 format The SBUS N SPI WIDTh command determines the number of bits in a word of data for SPI N An integer 1 4 Query SBUS N SPI WIDTh The SBUS N SPI WIDTh query returns the...

Страница 757: ...f Test Commands SELFtest CANCel 758 SELFtest SCOPETEST 759 The SELFtest subsystem commands set up the self test dialog and run the Infiniium Series Oscilloscopes Self Tests NOTE Enclose File Name in Q...

Страница 758: ...copes Programmer s Reference 29 Self Test Commands SELFtest CANCel Command SELFtest CANCel The SELFtest CANCel command stops the currently running selftest Example This example stops the currently run...

Страница 759: ...e_stamp NL test_name A string as follows Scope Self Tests time_stamp The time stamp follows the test name and test status and is the part of the returned string that includes the date and time in the...

Страница 760: ...760 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 29 Self Test Commands...

Страница 761: ...775 SPRocessing DFEQualizer SOURce 776 SPRocessing DFEQualizer NTAPs 777 SPRocessing DFEQualizer TAP 778 SPRocessing DFEQualizer TAP WIDTh 779 SPRocessing DFEQualizer TAP DELay 780 SPRocessing DFEQual...

Страница 762: ...er TAP TDELay 799 SPRocessing FFEQualizer TAP TDMode 800 SPRocessing FFEQualizer VERTical 801 SPRocessing FFEQualizer VERTical OFFSet 802 SPRocessing FFEQualizer VERTical RANGe 803 The N5461A Serial D...

Страница 763: ...d turns the display of a Continuous Time Linear Equalizer CTLE real time eye diagram on or off Turning CTLE on automatically turns FFE off and vice versa Example This example turns on the display of a...

Страница 764: ...ry N The CTLequalizer SOURce command sets the source for the Continuous Time Linear Equalization N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 Example This...

Страница 765: ...r DCGain dc_gain The CTLequalizer DCGain command sets the DC Gain parameter for the Continuous Time Linear Equalization dc_gain A real number Example This example sets the CTLE DC Gain parameter to 1...

Страница 766: ...r NUMPoles POLE2 POLE3 The SPRocessing CTLequalizer NUMPoles command selects either a 2 Pole or 3 Pole Continuous Time Linear Equalizer CTLE Example This example selects a 2 Pole CTLE myScope WriteStr...

Страница 767: ...lizer P1 pole1_freq The CTLequalizer P1 command sets the Pole 1 frequency for the Continuous Time Linear Equalization pole1_freq A real number Example This example sets the CTLE Pole 1 frequency to 1G...

Страница 768: ...lizer P2 pole2_freq The CTLequalizer P1 command sets the Pole 2 frequency for the Continuous Time Linear Equalization pole2_freq A real number Example This example sets the CTLE Pole 2 frequency to 4...

Страница 769: ...lizer P3 pole3_freq The CTLequalizer P1 command sets the Pole 3 frequency for the Continuous Time Linear Equalization pole3_freq A real number Example This example sets the CTLE Pole 3 frequency to 4...

Страница 770: ...SPRocessing CTLequalizer RATe data_rate The CTLequalizer RATe command sets the data rate for the CTLE equalizer data_rate A real number Example This example sets the CTLE data rate to 3e9 myScope Writ...

Страница 771: ...his example sets the CTLE signal s vertical scale mode to automatic myScope WriteString SPRocessing CTLequalizer VERTical AUTO Query SPRocessing CTLequalizer VERTical The SPRocessing CTLequalizer VERT...

Страница 772: ...CTLequalizer VERTICAL OFFSET 1 Query SPRocessing CTLequalizer VERTical OFFSet The SPRocessing CTLequalizer VERTical OFFSet query returns the CTLE signal s vertical offset setting Returned Format SPRoc...

Страница 773: ...String SPRocessing CTLequalizer VERTICAL RANGE 16 Query SPRocessing CTLequalizer VERTical RANGe The SPRocessing CTLequalizer VERTical RANGe query returns the CTLE signal s vertical range setting Retur...

Страница 774: ...izer ZERo zero_freq The CTLequalizer ZERo command sets the zero frequency for the Continuous Time Linear Equalization zero_freq A real number Example This example sets the CTLE zero frequency to 900 M...

Страница 775: ...Te Command SPRocessing DFEQualizer STATe OFF 0 ON 1 The DFEQualizer STATe command turns the Decision Feedback Equalization on or off Example This example turns on DFE myScope WriteString SPRocessing D...

Страница 776: ...he source for the Decision Feedback Equalization Setting the source to EQUalized means the Feed Forward Equalized FFE waveform is used as the DFE source N CHANnel N is an integer 1 4 WMEMory N is an i...

Страница 777: ...alizer NTAPs command sets the number of taps to be used in the DFE algorithm DFE tap indices always begin with 1 and extend to the number of taps number An integer between 2 and 40 Example This exampl...

Страница 778: ...value for each DFE tap For example when tap is equal to 0 then the 0th tap is set to value DFE tap indices always start at 1 and extend to the number of taps tap The tap number when tap 0 Tap 1 is set...

Страница 779: ...eformed at the location of the clock Setting the width to 1 0 means the entire acquisition is used in the optimization The default value for DFE is 0 0 For more information on this parameter refer to...

Страница 780: ...ay command specifies the amount of drift the equalized eye diagram has relative to the unequalized one This drift is then accounted for so the two eyes overlap For more information on this parameter r...

Страница 781: ...e upper and lower limits on the tap values The DFEQualizer TAP MAX command sets the upper limit on taps determined through optimization max_tap_value A real number Example This example sets the Upper...

Страница 782: ...e upper and lower limits on the tap values The DFEQualizer TAP MIN command sets the lower limit on taps determined through optimization min_tap_value A real number Example This example sets the Lower...

Страница 783: ...ectly compare the eye at the receiver to the eye at the transmitter a gain factor needs to be applied The DFEQualizer TAP GAIN command allows you to set this gain For more information on this paramete...

Страница 784: ...the DFE algorithm For example in DFE when a bit is determined to be a logical high its value will be equal to Upper Target The DFEQualizer TAP UTARget command allows you to set this value upper_target...

Страница 785: ...the DFE algorithm For example in DFE when a bit is determined to be a logical low its value will be equal to Lower Target The DFEQualizer TAP LTARget command allows you to set this value lower_target...

Страница 786: ...FEQualizer TAP AUTomatic Command SPRocessing DFEQualizer TAP AUTomatic The DFEQualizer TAP AUTomatic command starts the DFE tap optimization Be sure to first specify the number of taps and the max min...

Страница 787: ...ON 1 The FFEQualizer DISPlay command turns the display of a Feed Forward Equalized FFE real time eye diagram on or off Example This example turns on the display of a FFE real time eye diagram myScope...

Страница 788: ...F WMEMory N The FFEQualizer SOURce command sets the source for the Feed Forward Equalization N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 Example This exam...

Страница 789: ...er The FFEQualizer NPRecursor command sets the number of precursor taps to be used in the FFE algorithm number An integer between 1 and NTAPs 1 Example This example sets the number of FFE precursor ta...

Страница 790: ...depend on the number of precursor taps being used For example if you are using zero precursor taps then your FFE tap indices would range from 0 to NTAPs 1 If you are using two precursor taps then you...

Страница 791: ...d SPRocessing FFEequalizer RATe data_rate The FFEequalizer RATe command sets the data rate for the FFE equalizer data_rate A real number Example This example sets the FFE data rate to 3e9 myScope Writ...

Страница 792: ...ur FFE taps depend on the number of precursor taps being used For example if you are using zero precursor taps then your FFE tap indices would range from 0 to NTAPs 1 If you are using two precursor ta...

Страница 793: ...EQualizer TAP PLENgth command sets the pattern for the FFE tap optimization algorithm The file parameter is only used in CUSTom mode For more information on this parameter refer to the N5461A Infiniiu...

Страница 794: ...rmed at the location of the clock Setting the width to 1 0 means the entire acquisition is used in the optimization The default value for FFE is 0 33 For more information on this parameter refer to th...

Страница 795: ...Lay command specifies the amount of drift the equalized eye diagram has relative to the unequalized one This drift is then accounted for so the two eyes overlap For more information on this parameter...

Страница 796: ...TAP AUTomatic Command SPRocessing FFEQualizer TAP AUTomatic The FFEQualizer TAP AUTomatic command starts the FFE tap optimization Be sure to first specify the number of taps and specify the Pattern an...

Страница 797: ...zer TAP BWMode command is set to CUSTom and in this case it sets the bandwidth at which the response generated by equalization rolls off To understand more about this parameter consult the N5461A Infi...

Страница 798: ...de command sets the bandwidth at which the response generated by equalization is rolled off To understand more about this parameter consult the N5461A Infiniium Serial Data Equalization User s Guide E...

Страница 799: ...ommand is only needed if the FFEQualizer TAP TDMode is set to CUSTom To determine what this value should be use the equation tap delay 1 data rate x of taps per bit To understand more about this param...

Страница 800: ...one tap per bit use the TBITrate selection If you are using multiple taps per bit use CUSTom and then use the FFEQualizer TAP TDELay command to set the value To understand more about this parameter c...

Страница 801: ...This example sets the FFEE signal s vertical scale mode to automatic myScope WriteString SPRocessing FFEQualizer VERTical AUTO Query SPRocessing FFEQualizer VERTical The SPRocessing FFEQualizer VERTi...

Страница 802: ...FFEQualizer VERTICAL OFFSET 1 Query SPRocessing FFEQualizer VERTical OFFSet The SPRocessing FFEQualizer VERTical OFFSet query returns the FFE signal s vertical offset setting Returned Format SPRocess...

Страница 803: ...eString SPRocessing FFEQualizer VERTICAL RANGE 16 Query SPRocessing FFEQualizer VERTical RANGe The SPRocessing FFEQualizer VERTical RANGe query returns the FFE signal s vertical range setting Returned...

Страница 804: ...804 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 30 Serial Data Equalization Commands...

Страница 805: ...Der 811 SYSTem LOCK 812 SYSTem LONGform 813 SYSTem PRESet 814 SYSTem SETup 815 SYSTem TIME 817 SYSTem subsystem commands control the way query responses are formatted send and receive setup strings an...

Страница 806: ...alues range from 1992 to 2035 month Specifies the month in the format 1 2 12 JAN FEB MAR day Specifies the day in the format 1 31 Example This example sets the date to December 1 2002 myScope WriteStr...

Страница 807: ...debug file or any other debug file This is a read only mode output_mode FILE SCReen FileSCReen file_name An MS DOS compatible name of the file a maximum of 254 characters long including the path name...

Страница 808: ...ing NL SYSTEM ERROR 0 No error ACQuire BEST FLATness NL 113 Undefined header syst err string NL SYSTEM ERROR 113 Undefined header syst err string NL SYSTEM ERROR 0 No error Debug information file C Do...

Страница 809: ...Query SYSTem DSP The SYSTem DSP query returns the last string written to the advisory line This may be a string written with a SYSTem DSP command or an internally generated advisory The string is actu...

Страница 810: ...strCondition then prints the contents of the variable to the computer s screen Dim strCondition As String Dimension variable myScope WriteString SYSTEM ERROR STRING strCondition myScope ReadString De...

Страница 811: ...s with query responses myScope WriteString SYSTEM HEADER ON Query SYSTem HEADer The SYSTem HEADer query returns the state of the SYSTem HEADer command Returned Format SYSTem HEADer 1 0 NL Example This...

Страница 812: ...nt panel can be re enabled by sending the SYSTem LOCK OFF command or by using the mouse to click on the Minimize button in the upper right hand corner of the oscilloscope screen Example This example d...

Страница 813: ...m LONGform The SYSTem LONGform query returns the current state of the SYSTem LONGform command Returned Format SYSTem LONGform 1 0 NL Example This example checks the current format for query responses...

Страница 814: ...rol settings found in the User Preferences dialog box display color settings screen options probe skew probe external adapter settings for differential probes or probe internal attenuation and gain se...

Страница 815: ...le varSetup Read data Close hFile Close file Write setup to oscilloscope myScope WriteIEEEBlock SYSTem SETup varSetup Debug Print Setup bytes restored CStr LenB varSetup Query SYSTem SETup The SYSTem...

Страница 816: ...put setup string to a file Dim strPath As String strPath c scope config setup dat Dim hFile As Long hFile FreeFile Open strPath For Binary Access Write Lock Write As hFile Put hFile varSetup Write dat...

Страница 817: ...command sets the time in the oscilloscope and is not affected by the RST common command hour 0 23 minute 0 59 second 0 59 Example This example sets the oscilloscope time to 10 30 45 a m myScope WriteS...

Страница 818: ...818 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 31 System Commands...

Страница 819: ...POSition 820 TIMebase RANGe 821 TIMebase REFClock 822 TIMebase REFerence 823 TIMebase SCALe 824 TIMebase VIEW 825 TIMebase WINDow DELay 826 TIMebase WINDow POSition 827 TIMebase WINDow RANGe 828 TIMeb...

Страница 820: ...rigger to the delay reference point Example This example sets the delay position to 2 ms myScope WriteString TIMEBASE POSITION 2E 3 Query TIMebase POSition The TIMebase POSition query returns the curr...

Страница 821: ...s div Example This example sets the full scale horizontal range to 10 ms myScope WriteString TIMEBASE RANGE 10E 3 Query TIMebase RANGe The TIMebase RANGe query returns the current full scale horizont...

Страница 822: ...ntal scale section instead of the internal reference clock Example This example turns on the 10 MHz reference clock mode myScope WriteString TIMebase REFClock ON Query TIMebase REFClock The TIMebase R...

Страница 823: ...er of the display myScope WriteString TIMEBASE REFERENCE CENTER Query TIMebase REFerence The TIMebase REFerence query returns the current delay reference position Returned Format TIMebase REFerence LE...

Страница 824: ...scale is 5 ps div to 20 s div Example This example sets the scale to 10 ms div myScope WriteString TIMEBASE SCALE 10E 3 Query TIMebase SCALe The TIMebase SCALe query returns the current scale time se...

Страница 825: ...mple turns the horizontal zoom mode on myScope WriteString TIMebase VIEW WINDow Query TIMebase VIEW The TIMebase VIEW query returns the horizontal zoom mode setting Returned Format TIMebase VIEW MAIN...

Страница 826: ...20E 9 Query TIMebase WINDow DELay The TIMebase WINDow DELay query returns the current horizontal position in the delayed view Returned Format TIMebase WINDow DELay delay_position NL Example This examp...

Страница 827: ...int The maximum position depends on the main sweep range and the main sweep horizontal position Example This example sets the time base window delay position to 20 ns myScope WriteString TIMEBASE WIND...

Страница 828: ...ge of the time base window in seconds Example This example sets the full scale range of the delayed view to 100 ns myScope WriteString TIMEBASE WINDOW RANGE 100E 9 Query TIMebase WINDow RANGe The TIMe...

Страница 829: ...layed view This command rescales the horizontal components of displayed waveforms time A real number for the delayed windows scale Example This example sets the scale of the time base window to 2 mill...

Страница 830: ...830 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 32 Time Base Commands...

Страница 831: ...ng but the one that is used most often is edge triggering Edge triggering identifies a trigger condition by looking for the slope rising or falling and voltage level trigger level on the source you se...

Страница 832: ...the oscilloscope is in the proper trigger mode is to send the TRIGger MODE command in the same program message as the parameter to be set For example these commands place the instrument in the proper...

Страница 833: ...n page 834 TRIGger AND SOURce on page 835 TRIGger HOLDoff on page 836 TRIGger HOLDoff MAX on page 837 TRIGger HOLDoff MIN on page 838 TRIGger HOLDoff MODE on page 839 TRIGger HTHReshold on page 840 TR...

Страница 834: ...TRIGger AND ENABle command enables the ability to further qualify the trigger using other channels The optional 1 2 parameter sets whether the AND qualifier goes with the TERM1 or TERM2 state if sequ...

Страница 835: ...and determines what voltage level is considered a HIGH or a LOW logic value If you set more than one channel to a HIGH or a LOW then the multiple channels are used to qualify the trigger The optional...

Страница 836: ...TRIGger HOLDoff command specifies the amount of time the oscilloscope should wait after receiving a trigger before enabling the trigger again holdoff_time A real number for the holdoff time ranging f...

Страница 837: ...s The Random holdoff mode ensures that the oscilloscope re arms after each acquisition in a manner that minimizes or eliminates the likelihood of triggering at the beginning of a DDR burst Randomizing...

Страница 838: ...s The Random holdoff mode ensures that the oscilloscope re arms after each acquisition in a manner that minimizes or eliminates the likelihood of triggering at the beginning of a DDR burst Randomizing...

Страница 839: ...be between the values specified by the TRIGger HOLDoff MAX and TRIGger HOLDoff MIN commands The Random holdoff mode ensures that the oscilloscope re arms after each acquisition in a manner that minimi...

Страница 840: ...lected trigger source Set the high threshold level to a value considered to be a high level for your logic family your data book gives two values VIH and VOH N An integer 1 4 level A real number for t...

Страница 841: ...oise reject as either normal or high sensitivity NORMal sensitivity adds hysteresis to the trigger circuitry for rejecting noise and should be used for waveforms of 4 GHz or below HSENsitivity lowers...

Страница 842: ...channel for the trigger source Only one trigger level is stored in the oscilloscope for each channel This level applies to the channel throughout the trigger dialog N An integer 1 4 level A real numbe...

Страница 843: ...pecifies the low threshold voltage level for the selected trigger source Set the low threshold level to a value considered to be a low level for your logic family your data book gives two values VIL a...

Страница 844: ...nnel as the trigger source You can also use pattern triggering to trigger on a pulse of a given width PWIDth PWIDth or pulse width trigger is used to find pulse that are either narrower or wider than...

Страница 845: ...nce SHOLd STATe TIMeout TRANsition TV WINDow SBUS N NL TV TV trigger mode lets you trigger the oscilloscope on one of the standard television waveforms You can also use this mode to trigger on a custo...

Страница 846: ...matically forces a trigger which causes the oscilloscope to sweep If the frequency of your waveform is 50 Hz or less you should not use the AUTO sweep mode because it is possible that the oscilloscope...

Страница 847: ...90000 Series Oscilloscopes Programmer s Reference 847 Comm Trigger Commands TRIGger COMM BWIDth on page 848 TRIGger COMM ENCode on page 849 TRIGger COMM PATTern on page 850 TRIGger COMM POLarity on pa...

Страница 848: ...th_value The TRIGger COMM BWIDth command is used to set the width of a bit for your waveform The bit width is usually defined in the mask standard for your waveform bwidth_value A real number that rep...

Страница 849: ...COMM ENCode RZ NRZ This TRIGger COMM ENCode command sets the type of waveform encoding for your waveform You should use NRZ for CMI type waveforms and RZ for all other type of waveforms Query TRIGger...

Страница 850: ...re must be at least one logic 0 to logic 1 transition in the pattern For NRZ waveforms with negative polarity there must be at least one logic 1 to logic 0 transition in the pattern For RZ type wavefo...

Страница 851: ...orm is used to trigger the oscilloscope When set to a negative value the falling edge of a pulse or waveform is used The polarity setting is also used to check for valid patterns If you are trying to...

Страница 852: ...ce Command TRIGger COMM SOURce CHANnel N The TRIGger COMM SOURce command selects the channel used for the communication trigger N An integer 1 4 Query TRIGger COMM SOURce The TRIGger COMM SOURce query...

Страница 853: ...ARM SOURce on page 854 TRIGger DELay ARM SLOPe on page 855 TRIGger DELay EDELay COUNt on page 856 TRIGger DELay EDELay SOURce on page 857 TRIGger DELay EDELay SLOPe on page 858 TRIGger DELay MODE on...

Страница 854: ...ets the Arm On source for arming the trigger circuitry when the oscilloscope is in the Delay trigger mode N An integer 1 4 M An integer 0 15 Digital channels are available on mixed signal oscilloscope...

Страница 855: ...r DELay ARM SLOPe NEGative POSitive This command sets a positive or negative slope for arming the trigger circuitry when the oscilloscope is in the Delay trigger mode Query TRIGger DELay ARM SLOPe The...

Страница 856: ...sets the event count for a Delay By Event trigger event edge_num An integer from 0 to 16 000 000 specifying the number of edges to delay Query TRIGger DELay EDELay COUNt The query returns the currentl...

Страница 857: ...DIGital M This command sets the Event source for a Delay By Event trigger event N An integer 1 4 M An integer 0 15 Digital channels are available on mixed signal oscilloscopes Query TRIGger DELay EDE...

Страница 858: ...Command TRIGger DELay EDELay SLOPe NEGative POSitive This command sets the trigger slope for the Delay By Event trigger event Query TRIGger DELay EDELay SLOPe The query returns the currently defined...

Страница 859: ...RIGger DELay MODE Command TRIGger DELay MODE EDELay TDELay The TRIGger DELay MODE command selects the type of delay trigger mode to either events or to time Query TRIGger DELay MODE The query returns...

Страница 860: ...elay This command sets the delay for a Delay By Time trigger event delay Time in seconds set for the delay trigger from 10 ns to 10 s Query TRIGger DELay TDELay TIME The query returns the currently de...

Страница 861: ...el N DIGital M This command sets the Trigger On source for a Delay trigger event N An integer 1 4 M An integer 0 15 Digital channels are available on mixed signal oscilloscopes Query TRIGger DELay TRI...

Страница 862: ...er SLOPe Command TRIGger DELay TRIGger SLOPe NEGative POSitive This command sets the trigger slope for the Delay trigger event Query TRIGger DELay TRIGger SLOPe The query returns the currently defined...

Страница 863: ...Trigger Commands 33 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 863 Edge Trigger Commands TRIGger EDGE SLOPe on page 864 TRIGger EDGE SOURce on page 865...

Страница 864: ...e of the trigger source previously selected by the TRIGger EDGE SOURce command The LINE source has no slope The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state...

Страница 865: ...urce that will be used for subsequent TRIGger EDGE SLOPe commands or queries The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential triggering is bei...

Страница 866: ...nt Infiniium 90000 Series Oscilloscopes Programmer s Reference 33 Trigger Commands Glitch Trigger Commands TRIGger GLITch POLarity on page 867 TRIGger GLITch SOURce on page 868 TRIGger GLITch WIDTh on...

Страница 867: ...the polarity of the glitch as positive or negative The trigger source must be set using the TRIGger GLITch SOURce command The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 o...

Страница 868: ...tch trigger mode The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential triggering is being used N An integer 1 4 M An integer 0 15 Digital channels...

Страница 869: ...pe will trigger on a pulse that has a width less than the specified width The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential triggering is being...

Страница 870: ...870 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 33 Trigger Commands Pattern Trigger Commands TRIGger PATTern CONDition on page 871 TRIGger PATTern LOGic on page 872...

Страница 871: ...sequential triggering is being used gt_time The minimum time greater than time for the trigger pattern from 10 ns to 9 999 s lt_time The maximum time less than time for the trigger pattern from 10 5...

Страница 872: ...ected channel The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential triggering is being used N An integer 1 4 M An integer 0 15 Digital channels are...

Страница 873: ...ies Oscilloscopes Programmer s Reference 873 Pulse Width Trigger Commands TRIGger PWIDth DIRection on page 874 TRIGger PWIDth POLarity on page 875 TRIGger PWIDth SOURce on page 876 TRIGger PWIDth TPOi...

Страница 874: ...whether a pulse must be wider or narrower than the width value to trigger the oscilloscope The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential tr...

Страница 875: ...lse the oscilloscope triggers when the rising edge of a pulse crosses the trigger level For a positive polarity pulse the oscilloscope triggers when the falling edge of a pulse crosses the trigger lev...

Страница 876: ...loscope with the pulse width trigger The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential triggering is being used N An integer 1 4 M An integer 0...

Страница 877: ...r at the end of the pulse or at a specified timeout period This command is only available if the pulse direction is set to GTHan The optional 1 2 parameter sets whether the trigger mode goes with the...

Страница 878: ...s how wide a pulse must be to trigger the oscilloscope The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential triggering is being used width Pulse wi...

Страница 879: ...ilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 879 Runt Trigger Commands TRIGger RUNT POLarity on page 880 TRIGger RUNT QUALified on page 881 TRIGger RUNT SOURce on page 882 TRIGger...

Страница 880: ...rity of the runt pulse as positive or negative The trigger source must be set using the TRIGger RUNT SOURce command The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM...

Страница 881: ...eature the polarity of the runt pulse as positive or negative The trigger source must be set using the TRIGger RUNT SOURce command The optional 1 2 parameter sets whether the trigger mode goes with th...

Страница 882: ...This command sets the source for the runt trigger mode The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential triggering is being used N An integer...

Страница 883: ...igger on a runt pulse that has a width greater than the specified time The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential triggering is being use...

Страница 884: ...ds TRIGger SEQuence TERM1 on page 885 TRIGger SEQuence TERM2 on page 886 TRIGger SEQuence RESet ENABle on page 887 TRIGger SEQuence RESet TYPE on page 888 TRIGger SEQuence RESet EVENt on page 889 TRIG...

Страница 885: ...t not both 4 You can only use one long timer 30 ns Therefore trigger modes that use timers greater than 30 ns can only be used for either the Term1 state or the Term2 state but not both Some examples...

Страница 886: ...ut not both 4 You can only use one long timer 30 ns Therefore trigger modes that use timers greater than 30 ns can only be used for either the Term1 state or the Term2 state but not both Some examples...

Страница 887: ...mote command WAIT is used as well then the Reset timer does not start counting down until after the delay period is complete You can also base the Reset condition on a logical pattern If the specified...

Страница 888: ...without triggering If the Delay feature remote command WAIT is used as well then the Reset timer does not start counting down until after the delay period is complete You can also base the Reset condi...

Страница 889: ...9 TRIGger SEQuence RESet EVENt Command TRIGger SEQuence RESet EVENt CHANnel N HIGH LOW DONTcare This command defines the logical pattern used for an event Reset condition You can specify for each chan...

Страница 890: ...nds TRIGger SEQuence RESet TIME Command TRIGger SEQuence RESet TIME time This command defines the length of time to use for the time based Reset condition time A length of time in seconds Query TRIGge...

Страница 891: ...ON 1 OFF 0 This command turns the Delay feature on or off for the sequential trigger The Delay feature allows you to define a length of time for the sequential trigger system to wait after the TERM1 e...

Страница 892: ...r Commands TRIGger SEQuence WAIT TIME Command TRIGger SEQuence WAIT TIME time This command defines the length of time to use for the Delay condition time A length of time in seconds Query TRIGger SEQu...

Страница 893: ...rammer s Reference 893 Setup and Hold Trigger Commands TRIGger SHOLd CSOurce on page 894 TRIGger SHOLd CSOurce EDGE on page 895 TRIGger SHOLd DSOurce on page 896 TRIGger SHOLd HoldTIMe HTIMe on page 8...

Страница 894: ...ion The clock must pass through the voltage level you have set before the trigger circuitry looks for a setup and hold time violation The optional 1 2 parameter sets whether the trigger mode goes with...

Страница 895: ...on The clock must pass through the voltage level you have set before the trigger circuitry looks for a setup and hold time violation The optional 1 2 parameter sets whether the trigger mode goes with...

Страница 896: ...pecify the data source for the trigger setup and hold violation The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential triggering is being used N An...

Страница 897: ...hold trigger violation The hold time is the amount of time that the data must be stable and valid after a clock edge The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TE...

Страница 898: ...s HOLD When using the hold time mode the waveform must not cross the threshold voltages after the specified clock edge for at least the hold time you have selected Otherwise a violation event occurs a...

Страница 899: ...trigger violation The setup time is the amount of time that the data must be stable and valid before a clock edge The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2...

Страница 900: ...90000 Series Oscilloscopes Programmer s Reference 33 Trigger Commands State Trigger Commands TRIGger STATe CLOCk on page 901 TRIGger STATe LOGic on page 902 TRIGger STATe LTYPe on page 903 TRIGger ST...

Страница 901: ...lock waveform in the State Trigger Mode The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential triggering is being used N An integer 1 4 M An integer...

Страница 902: ...settings conflict on a channel that has been defined as the clock The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential triggering is being used N...

Страница 903: ...input waveforms match the pattern specified by the TRIGger STATe LOGic command If the logic type is set to NAND then a trigger is generated on the edge of the clock when the input waveforms do not mat...

Страница 904: ...used to generate a trigger The waveform source used for the clock is selected by using the TRIGger STATe CLOCk command The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or T...

Страница 905: ...mands 33 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 905 Timeout Trigger Commands TRIGger TIMeout CONDition on page 906 TRIGger TIMeout SOURce on page 907 TRIGger TIMeout TIME...

Страница 906: ...he waveform has been high for a period time longer than the time value which is set by the TRIGger TIMeout TIME command LOW Trigger when the waveform has been low for a period time longer than the tim...

Страница 907: ...he channel source used to trigger the oscilloscope with the timeout trigger The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential triggering is bein...

Страница 908: ...ion violations that are greater than or less than the time specified The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential triggering is being used...

Страница 909: ...um 90000 Series Oscilloscopes Programmer s Reference 909 Transition Trigger Commands TRIGger TRANsition DIRection on page 910 TRIGger TRANsition SOURce on page 911 TRIGger TRANsition TIME on page 912...

Страница 910: ...violations that are greater than or less than the time specified by the TRIGger TRANsition TIME command The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if s...

Страница 911: ...a transition violation trigger by looking for any pulses in your waveform with rising or falling edges that do not cross two voltage levels in the amount of time you have specified The optional 1 2 p...

Страница 912: ...s that are greater than or less than the time specified The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential triggering is being used time The time...

Страница 913: ...u select either a rise time or fall time transition violation trigger event The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential triggering is bein...

Страница 914: ...TV LINE on page 915 TRIGger TV MODE on page 916 TRIGger TV POLarity on page 917 TRIGger TV SOURce on page 918 TRIGger TV STANdard on page 919 TRIGger TV UDTV ENUMber on page 920 TRIGger TV UDTV HSYNc...

Страница 915: ...number of lines specified line_number Horizontal line number as shown below Query TRIGger TV LINE The query returns the current line number Returned Format TRIGger TV LINE line_number NL Video Standa...

Страница 916: ...mand TRIGger TV MODE AFIelds ALINes ALTernate FIElds1 FIElds2 LIN E The TRIGger TV MODE command determines which portion of the video waveform is used to trigger Query TRIGger TV MODE The query return...

Страница 917: ...mand TRIGger TV POLarity NEGative POSitive The TRIGger TV POLarity command specifies the vertical sync pulse polarity for the selected field used during TV mode triggering Query TRIGger TV POLarity Th...

Страница 918: ...ce CHANnel N The TRIGger TV SOURce command selects the source for the TV mode triggering This is the source that will be used for subsequent TRIGger TV commands and queries N An integer 1 4 Query TRIG...

Страница 919: ...DTV The TRIGger TV STANdard command sets triggering to one of the standard video types There is also a user defined TV type that can be used to set the triggering to one of the non standard types of v...

Страница 920: ...orizontal sync pulses to delay after arming the trigger before looking for the trigger event Specify conditions for arming the trigger using TRIGger TV UDTV PGTHan and TRIGger TV UDTV POLarity count A...

Страница 921: ...ence 921 TRIGger TV UDTV HSYNc Command TRIGger TV UDTV HSYNc ON 1 OFF 0 This command enables the horizontal sync mode of triggering Query TRIGger TV UDTV HSYNc The query returns the current state of t...

Страница 922: ...V HTIMe time The TRIGger TV UDTV HTIMe command sets the time that a sync pulse must be present to be considered a valid sync pulse time A real number that is the time width for the sync pulse Query TR...

Страница 923: ...ger TV UDTV PGTHan Present Greater THan command specifies the minimum pulse width of the waveform used to arm the trigger used during user defined trigger mode lower_limit Minimum pulse width time fro...

Страница 924: ...r TV UDTV POLarity NEGative POSitive The TRIGger TV UDTV POLarity command specifies the polarity for the sync pulse used to arm the trigger in the user defined trigger mode Query TRIGger TV UDTV POLar...

Страница 925: ...t Infiniium 90000 Series Oscilloscopes Programmer s Reference 925 Window Trigger Commands TRIGger WINDow CONDition on page 926 TRIGger WINDow SOURce on page 927 TRIGger WINDow TIME on page 928 TRIGger...

Страница 926: ...command describes the condition applied to the trigger window to actually generate a trigger The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential...

Страница 927: ...the channel source used to trigger the oscilloscope with the window trigger The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential triggering is bein...

Страница 928: ...ions that are greater than or less than the time specified The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential triggering is being used time The t...

Страница 929: ...the window trigger should occur at the boundary of the window or at a specified timeout period The optional 1 2 parameter sets whether the trigger mode goes with the TERM1 or TERM2 state if sequential...

Страница 930: ...930 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 33 Trigger Commands...

Страница 931: ...m PREamble 965 WAVeform SEGMented ALL 970 WAVeform SEGMented COUNt 971 WAVeform SEGMented TTAG 972 WAVeform SEGMented XLISt 973 WAVeform SOURce 974 WAVeform STReaming 975 WAVeform TYPE 976 WAVeform VI...

Страница 932: ...ize command to stop the oscilloscope so that all subsequent queries will be consistent Waveform Data and Preamble The waveform record consists of two parts the preamble and the waveform data The wavef...

Страница 933: ...the time X axis units must be zero so the time of the first data point is the X origin Data Format for Data Transfer There are four types of data formats that you can select using the WAVeform FORMat...

Страница 934: ...m the acquisition path and software filtering Returned Format WAVeform BANDpass lower_cutoff upper_cutoff NL lower_cutoff Minimum frequency passed by the acquisition system upper_cutoff Maximum freque...

Страница 935: ...n myScope WriteString WAVEFORM BYTEORDER MSBFIRST Query WAVeform BYTeorder The WAVeform BYTeorder query returns the current setting for the byte order Returned Format WAVeform BYTeorder MSBFirst LSBFi...

Страница 936: ...is the number of time buckets that have had the specified number of hits divided by the memory depth The hits are specified by the ACQuire AVERage COUNt command For the VERSus waveform type percent c...

Страница 937: ...al RAW INTerpolate and VERSus waveform types the count value returned is one unless the data contains holes sample points where no data is acquired If the data contains holes zero is returned Returned...

Страница 938: ...ring Dimension variable myScope WriteString WAVEFORM COUPLING strSetting myScope ReadString Debug Print strSetting See Also The CHANnel N INPut command sets the coupling for a particular channel You c...

Страница 939: ...he size is adjusted to be the maximum available memory depth minus the start value Streaming Off The returned waveform data response depends upon the setting of the WAVeform STReaming command When the...

Страница 940: ...SOURce CHANnel1 Select source myScope WriteString WAVeform FORMat WORD Select word format myScope WriteString WAVeform DATA varWavData myScope ReadIEEEBlock BinaryType_I2 Figure 6 Streaming Off N L N...

Страница 941: ...es a waveform which is connected to Channel 1 include stdio h location of printf include stdlib h location of atof atoi include string h location of strlen include sicl h Prototypes int InitIO void vo...

Страница 942: ...oFile BytesToRead CloseIO Function name InitIO Parameters none Return value TRUE if successful otherwise FALSE Description This routine initializes the SICL environment It sets up error handling opens...

Страница 943: ...maximum number of bytes to read Return value integer which indicates the actual number of bytes read Description This routine inputs strings from the scope device session using SICL commands unsigned...

Страница 944: ...ouble double buffer iscanf scope lf buffer Function name close_IO Parameters none Return value none Description This routine closes device and interface sessions for the SICL environment and calls the...

Страница 945: ...ifference represented by adjacent waveform data digital codes double yOrg which is the voltage value of digital code 0 Return value none Description This routine reads the conversion factors used to c...

Страница 946: ...onFactors double xInc double xOrg Read values which are used to create time values WriteIO WAVeform XINCrement ReadDouble xInc WriteIO WAVeform XORigin ReadDouble xOrg Function name WriteCsvToFile Par...

Страница 947: ...ate time j j 1 Volts buff i yInc yOrg calculate voltage fprintf fp e f n Time Volts fclose fp else printf Unable to open file pairs csv n DATA Example for Digital Channels The following C example show...

Страница 948: ...d void ReadDouble double buffer void CloseIO void void AcquireData void void GetTimeConversionFactors void void CreateTimeData unsigned long AcquiredLength double TimeValues void WriteCsvToFile double...

Страница 949: ...5E 6 ReadWord wordData BytesToRead ReadByte Term 1L Read termination character WriteIO WAVeform FORMat BYTE Setup transfer format BytesToRead SetupDataTransfer 25E 6 25E 6 ReadByte byteData BytesToRea...

Страница 950: ...ession if scope 0 printf Scope session invalid n iclose bus close interface session _siclcleanup required for 16 bit applications return FALSE itimeout scope IO_TIMEOUT set device timeout iclear scope...

Страница 951: ...r buffer unsigned long BytesToRead unsigned long BytesRead 0L int reason BytesRead BytesToRead iread scope buffer BytesToRead reason BytesRead return BytesRead Function name ReadWord Parameters short...

Страница 952: ...eturn value none Description This routine closes device and interface sessions for the SICL environment and calls the routine _siclclean up which de allocates resources used by the SICL environm ent v...

Страница 953: ...data to read Description This routine sets up the waveform data transfer and get s the number of bytes to be read The beginning of data starts with the character followed by a number which tells how m...

Страница 954: ...d BytesRead ReadByte header_str BytesToRead header_str BytesRead 0 BytesToRead atoi header_str return BytesToRead Function name GetTimeConversionFactors Parameters none Return value none Description T...

Страница 955: ...ointer to an array of calculated time values unsigned short wordData which is a pointer to an arr ay of word format digital values unsigned char byteData which is a pointer to an arra y of byte format...

Страница 956: ...er Description This routine takes a floating point number and create s an integer int Round double number if number 0 0f return int number 0 5f else return int number 0 5f Understanding WORD and BYTE...

Страница 957: ...rent reference dc voltage The output of the comparators is converted into an 8 bit integer by the encoder All ADCs have non linearity errors which if not corrected can give less accurate vertical meas...

Страница 958: ...put is controlled by Infiniium s CPU There are 65 536 dc voltage levels that are produced by the 16 bit DAC at the Aux Out At each dc voltage value the output of the ADC is checked to see if a new dig...

Страница 959: ...ch as 26 188 could be produced which represents an ADC clipped value This number will vary from one oscilloscope to the next WORD and BYTE Data Formats When downloading the waveform data in WORD forma...

Страница 960: ...er s Reference 34 Waveform Commands This conversion is what makes the BYTE download format less accurate than the WORD format 16 Bit Integers 8 Bit Integer Decimal Hex Hex Decimal 26 240 0x6680 Trunca...

Страница 961: ...ing point engineering notation For example 8 0836E 2 8 1090E 2 3 1245E 3 In ASCii format Table 27 Selecting a Format Type Advantages Disadvantages ASCii Data is returned as voltage values and does not...

Страница 962: ...matted data is transferred as signed 16 bit integers in two bytes If WAVeform BYTeorder is set to MSBFirst the most significant byte of each word is sent first If the BYTeorder is LSBFirst the least s...

Страница 963: ...ASCii BINary BYTE WORD NL Example This example places the current output format for data transmission in the string variable strMode then prints the contents of the variable to the computer s screen...

Страница 964: ...ted points Returned Format WAVeform POINts points NL points An integer See the ACQuire POINts command for a table of possible values Example This example places the current acquisition length in the n...

Страница 965: ...model acquisition mode completion X units Y units max bandwidth limit min bandwidth limit format 0 for ASCii format 1 for BYTE format 2 for WORD format 3 for LONG format 4 for LONGLONG type Returned...

Страница 966: ...uired See the WAVeform YORigin on page 987 query Y reference The Y reference is the level associated with the Y origin It is at this level that the Y origin is defined In this oscilloscope this value...

Страница 967: ...he source waveform The bandwidth limit is computed as a function of the selected coupling and filter mode See the WAVeform BANDpass on page 934 query See Table 28 for descriptions of all the waveform...

Страница 968: ...s zero See the WAVeform YREFerence on page 989 query Coupling The input coupling of the waveform The coupling value is ignored when sent to the oscilloscope in the preamble See the WAVeform COUPling o...

Страница 969: ...ope in the preamble See the WAVeform COMPlete on page 936 query X Units The X axis units of the waveform See the WAVeform XUNits on page 984 query Y Units The Y axis units of the waveform See the WAVe...

Страница 970: ...the oscilloscope or performing a Default Setup sets this command to OFF There is complete backwards compatibility when this command is set to OFF The ON setting only supports channel and pod sources...

Страница 971: ...e of zero indicates that the ACQuire MODE is not set to SEGMented index_number An integer number representing the index value of the last segment Returned Format WAVeform SEGMented COUNt index_number...

Страница 972: ...a_time A real number in exponential format representing the time value difference between the first segment s trigger point and the currently displayed segment Returned Format WAVeform SEGMented TTAG...

Страница 973: ...uery rapidly downloads x parameter values for all segments RELXorigin relative X origin for each segment ABSXorigin relative origin time tag for each segment TTAG time tag for each segment This query...

Страница 974: ...he Feed Forward Equalized FFE signal as the source POD1 is the activated digital channels in the D0 D7 set while POD2 is the activated digital channels in the D8 D15 set PODALL is all the activated di...

Страница 975: ...bytes of data to be transfered from the Infiniium oscilloscope to a PC when using the WAVeform DATA query See the WAVeform DATA query for information on receiving this much data Example This example t...

Страница 976: ...histogram Histograms are transferred using the LONGLONG format They can be generated using the Histogram subsystem commands HHIStogram data is a horizontal histogram Histograms are transferred using t...

Страница 977: ...sponds to the first time bucket in the delayed view and the last value corresponds to the last time bucket in the delayed view Memories For memories if you specify ALL all the data in the waveform rec...

Страница 978: ...nds Example This example returns the current view setting to the string variable strSetting then prints the contents of the variable to the computer s screen Dim strSetting As String Dimension variabl...

Страница 979: ...it floating point number Returned Format WAVeform XDISplay value NL value A real number representing the X axis value at the left edge of the display Example This example returns the X axis value at t...

Страница 980: ...Returned Format WAVeform XINCrement value NL value A real number representing the duration between data points on the X axis Example This example places the current X increment value for the currently...

Страница 981: ...Returned Format WAVeform XORigin value NL value A real number representing the X axis value of the first data point in the data record Example This example places the current X origin value for the c...

Страница 982: ...rned Format WAVeform XRANge value NL value A real number representing the X axis duration of the displayed waveform Example This example returns the X axis duration of the displayed waveform to the nu...

Страница 983: ...cilloscope the value is always zero Returned Format WAVeform XREFerence 0 NL Example This example places the current X reference value for the currently specified source in the numeric variable varVal...

Страница 984: ...ource may be a channel function or waveform memory Returned Format WAVeform XUNits UNKNown VOLT SECond CONStant AMP DECibels HERTz WATT NL Example This example returns the X axis units of the currentl...

Страница 985: ...alue A real number representing the Y axis value at the center of the display Example This example returns the current Y display value to the numeric variable varValue then prints the contents of the...

Страница 986: ...ent is the full scale voltage range covered by the A D converter Returned Format WAVeform YINCrement real_value NL real_value A real number in exponential format Example This example places the curren...

Страница 987: ...increment Returned Format WAVeform YORigin real_value NL real_value A real number in exponential format Example This example places the current Y origin value in the numeric variable varCenter then pr...

Страница 988: ...e A real number representing the Y axis duration of the displayed waveform Example This example returns the current Y range value to the numeric variable varValue then prints the contents of the varia...

Страница 989: ...eform YREFerence 0 NL Example This example places the current Y reference value for the currently specified source in the numeric variable varValue then prints the contents of the variable to the comp...

Страница 990: ...d source may be a channel function or waveform memory Returned Format WAVeform YUNits UNKNown VOLT SECond HITS DECibels CONStant AMP NL Example This example returns the Y axis units of the currently s...

Страница 991: ...OAD 994 WMEMory N SAVE 995 WMEMory N XOFFset 996 WMEMory N XRANge 997 WMEMory N YOFFset 998 WMEMory N YRANge 999 The Waveform Memory Subsystem commands let you save and display waveforms memories and...

Страница 992: ...Reference 35 Waveform Memory Commands WMEMory N CLEar Command WMEMory N CLEar The WMEMory N CLEar clears the associated wave memory N The memory number is an integer from 1 to 4 Example This example c...

Страница 993: ...DISPlay command enables or disables the viewing of the selected waveform memory N The memory number is an integer from 1 to 4 Example This example turns on the waveform memory 1 display myScope WriteS...

Страница 994: ...for waveforms is c Document and Settings All Users Shared Documents Infiniium Data To use a different path specify the path and file name completely N The memory number is an integer from 1 to 4 file_...

Страница 995: ...hether the waveform memory is displayed or not The WAVeform VIEW command determines the view of the data being saved N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an intege...

Страница 996: ...osition is referenced to center screen N The memory number is an integer from 1 to 4 offset_value A real number for the horizontal offset position value Example This example sets the X axis horizontal...

Страница 997: ...orizontal scale is the horizontal range divided by 10 N The memory number is an integer from 1 to 4 range_value A real number for the horizontal range value Example This example sets the X axis horizo...

Страница 998: ...e selected waveform memory N The memory number is an integer from 1 to 4 offset_value A real number for the vertical offset value Example This example sets the Y axis vertical offset of waveform memor...

Страница 999: ...The vertical scale is the vertical range divided by 8 N The memory number is an integer from 1 to 4 range_value A real number for the vertical range value Example This example sets the Y axis vertica...

Страница 1000: ...1000 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 35 Waveform Memory Commands...

Страница 1001: ...able if any Obsolete Command Current Command Equivalent Behavior Differences MEASure CLOCk METHod see page 1002 MEASure CLOCk METHod see page 496 MEASure CLOCk METHod J TF see page 502 MEASure CLOCk M...

Страница 1002: ...k METHod command sets the clock recovery method to FOPLL first order phase locked loop SOPLL second order phase locked loop EQFOPLL equalized first order phase locked loop EQSOPLL equalized second ord...

Страница 1003: ...quency of the PLL damping_fact A real number used for the damping factor of the PLL baud_rate A real number used for the baud rate Example This example sets the clock recovery method to phase locked l...

Страница 1004: ...m 90000 Series Oscilloscopes Programmer s Reference 36 Obsolete and Discontinued Commands myScope WriteString SYSTem HEADer OFF myScope WriteString MEASURE CLOCK METHOD strSetting myScope ReadString D...

Страница 1005: ...res are enabled This command uses the Feed Forward Equalized FFE signal as the source N CHANnel N is an integer 1 4 WMEMory N is an integer 1 4 F FUNCtion F is an integer 1 16 Example This example mea...

Страница 1006: ...cilloscopes Programmer s Reference 36 Obsolete and Discontinued Commands myScope WriteString SYSTEM HEADER OFF Response headers off myScope WriteString MEASURE DDPWS CHANNEL1 varValue myScope ReadNumb...

Страница 1007: ...ror Numbers 1009 Command Error 1010 Execution Error 1011 Device or Oscilloscope Specific Error 1012 Query Error 1013 List of Error Messages 1014 This chapter describes the error messages and how they...

Страница 1008: ...arded The length of the oscilloscope s error queue is 30 29 positions for the error messages and 1 position for the Queue overflow message Reading an error from the head of the queue removes that erro...

Страница 1009: ...he type of error that is detected 0 indicates no errors were detected 100 to 199 indicates a command error was detected 200 to 299 indicates an execution error was detected 300 to 399 indicates a devi...

Страница 1010: ...by the parser That is a computer to oscilloscope message was received that is in violation of the IEEE 488 2 standard This may be a data element that violates the oscilloscope s listening formats or a...

Страница 1011: ...e of the following events occurred The program data following a header is outside the legal input range or is inconsistent with the oscilloscope s capabilities A valid program message could not be pro...

Страница 1012: ...s that the instrument has detected an error caused by an oscilloscope operation that did not properly complete This may be due to an abnormal hardware or firmware condition For example this error may...

Страница 1013: ...trument has detected a problem with the message exchange protocol An occurrence of any error in this class should cause the query error bit bit 2 in the event status register to be set An occurrence o...

Страница 1014: ...d for the header 109 Missing parameter Fewer parameters were received than required for the header 112 Program mnemonic too long The header or character data element contains more than twelve characte...

Страница 1015: ...ment was encountered but was not allowed by the oscilloscope at this point in parsing 170 Expression error This error can be generated when parsing an expression data element It is used if the oscillo...

Страница 1016: ...m error Indicates that a system error occurred 311 Memory error 312 PUD memory error 313 Calibration memory lost 314 Save recall memory lost 315 Configuration memory lost 321 Out of memory 330 Self te...

Страница 1017: ...test log file could not be found 375 Attenuator relay actuation counts can only be modified during factory service 400 Query error This is the generic query error 410 Query INTERRUPTED 420 Query UNTE...

Страница 1018: ...1018 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 37 Error Messages...

Страница 1019: ...copes Programmer s Reference 38 Sample Programs VISA COM Examples 1020 VISA Examples 1059 SICL Examples 1110 SCPI NET Examples 1129 Example programs are ASCII text files that can be cut from the help...

Страница 1020: ...brary a Choose Tools References from the main menu b In the References dialog check VISA COM 3 0 Type Library Microsoft Scripting Runtime c Click OK 4 Choose Insert Module 5 Cut and paste the code tha...

Страница 1021: ...Clear Clear the interface Initialize start from a known state Initialize Capture data Capture Analyze the captured waveform Analyze Exit Sub VisaComError MsgBox VISA COM Error vbCrLf Err Description E...

Страница 1022: ...QueryString TRIGger EDGE SOURce DoCommand TRIGger LEVel CHANnel1 2E 3 Debug Print Trigger level channel 1 _ DoQueryString TRIGger LEVel CHANnel1 DoCommand TRIGger EDGE SLOPe POSitive Debug Print Trigg...

Страница 1023: ...saved setup Dim varSetupString As Variant strPath c scope config setup dat Open strPath For Binary Access Read As hFile Open file for input Get hFile varSetupString Read data Close hFile Close file Wr...

Страница 1024: ...trPath Then Kill strPath Remove file if it exists End If Dim hFile As Long hFile FreeFile Open strPath For Binary Access Write Lock Write As hFile Put hFile byteData Write data Close hFile Close file...

Страница 1025: ...Double Dim dblMinBwLimit As Double Dim dctWavFormat As Scripting Dictionary Set dctWavFormat New Scripting Dictionary dctWavFormat Add 0 ASCii dctWavFormat Add 1 BYTE dctWavFormat Add 2 WORD dctWavFor...

Страница 1026: ...13 dblYDispOrigin Preamble 14 strDate Preamble 15 strTime Preamble 16 strFrameModel Preamble 17 intAcqMode Preamble 18 intCompletion Preamble 19 intXUnits Preamble 20 intYUnits Preamble 21 dblMaxBwLim...

Страница 1027: ...Mode Debug Print Completion pct _ FormatNumber intCompletion 0 Debug Print Waveform X units dctUnits Item intXUnits Debug Print Waveform Y units dctUnits Item intYUnits Debug Print Max BW limit _ Form...

Страница 1028: ...oTo VisaComError myScope WriteString command CheckInstrumentErrors Exit Sub VisaComError MsgBox VISA COM Error vbCrLf CStr Err Number _ Err Source _ Err Description vbExclamation VISA COM Error End En...

Страница 1029: ...oQueryNumber myScope ReadNumber CheckInstrumentErrors Exit Function VisaComError MsgBox VISA COM Error vbCrLf CStr Err Number _ Err Source _ Err Description vbExclamation VISA COM Error End End Functi...

Страница 1030: ...ckInstrumentErrors Exit Function VisaComError MsgBox VISA COM Error vbCrLf CStr Err Number _ Err Source _ Err Description vbExclamation VISA COM Error End End Function Private Sub CheckInstrumentError...

Страница 1031: ...olution in the Solution Explorer window of the Microsoft Visual Studio environment b Choose Add Reference c In the Add Reference dialog select the COM tab d Select VISA COM 3 0 Type Library then click...

Страница 1032: ...WriteLine VISA COM Error err Message catch System SystemException err Console WriteLine System Error Message err Message catch System Exception err System Diagnostics Debug Fail Unexpected Error Conso...

Страница 1033: ...HANnel1 myScope DoCommand TRIGger EDGE SLOPe POSitive Console WriteLine Trigger edge slope 0 myScope DoQueryString TRIGger EDGE SLOPe Save oscilloscope setup byte ResultsArray Results array int nLengt...

Страница 1034: ...myScope DoCommandIEEEBlock SYSTem SETup DataArray Console WriteLine Setup bytes restored 0 nBytesWritten Set the desired number of waveform points and capture an acquisition myScope DoCommand ACQuire...

Страница 1035: ...ring WAVeform TYPE Get the number of waveform points Console WriteLine Waveform points 0 myScope DoQueryString WAVeform POINts Set the waveform source myScope DoCommand WAVeform SOURce CHANnel1 Consol...

Страница 1036: ...Console WriteLine Waveform average count 0 strsPreamble 3 Console WriteLine Waveform X increment 0 strsPreamble 4 Console WriteLine Waveform X origin 0 strsPreamble 5 Console WriteLine Waveform X ref...

Страница 1037: ...YORigin Get the waveform data myScope DoCommand WAVeform STReaming OFF short WordDataArray Results array WordDataArray myScope DoQueryIEEEBlock_I2 WAVeform DATA nLength WordDataArray Length Console Wr...

Страница 1038: ...to the device m_IoObject WriteIEEEBlock strCommand DataArray true Check for inst errors CheckInstrumentErrors strCommand public string DoQueryString string strQuery Send the query m_IoObject WriteStr...

Страница 1039: ...uery m_IoObject WriteString strQuery true Get the results array System Threading Thread Sleep 2000 Delay before reading byte ResultsArray ResultsArray byte m_IoObject ReadIEEEBlock IEEEBinaryType Bina...

Страница 1040: ...bFirstError Console WriteLine ERROR s for command 0 strCommand bFirstError false Console Write strInstrumentError while strInstrumentError ToString StartsWith 0 private void OpenIo m_ResourceManager...

Страница 1041: ...n in the Solution Explorer window of the Microsoft Visual Studio environment b Choose Add Reference c In the Add Reference dialog select the COM tab d Select VISA COM 3 0 Type Library then click OK e...

Страница 1042: ...ionException Console WriteLine VISA Error Message err Message Catch err As System SystemException Console WriteLine System Error Message err Message Catch err As System Exception System Diagnostics De...

Страница 1043: ...slope 0 _ myScope DoQueryString TRIGger EDGE SLOPe Save oscilloscope configuration Dim ResultsArray As Byte Results array Dim nLength As Integer Number of bytes returned from inst Dim strPath As Stri...

Страница 1044: ...taArray Console WriteLine Setup bytes restored 0 nBytesWritten Set the desired number of waveform points and capture an acquisition myScope DoCommand ACQuire POINts 32000 myScope DoCommand DIGitize En...

Страница 1045: ...urce myScope DoCommand WAVeform SOURce CHANnel1 Console WriteLine Waveform source 0 _ myScope DoQueryString WAVeform SOURce Choose the format of the data returned myScope DoCommand WAVeform FORMat WOR...

Страница 1046: ...eamble 6 Console WriteLine Waveform Y increment 0 strsPreamble 7 Console WriteLine Waveform Y origin 0 strsPreamble 8 Console WriteLine Waveform Y reference 0 strsPreamble 9 Console WriteLine Coupling...

Страница 1047: ...sts strPath Then File Delete strPath End If Open file for output Dim writer As StreamWriter File CreateText strPath Output waveform data in CSV format For index As Integer 0 To nLength 1 Write time va...

Страница 1048: ...tion DoQueryString ByVal strQuery As String As String Send the query m_IoObject WriteString strQuery True Get the result string Dim strResults As String strResults m_IoObject ReadString Check for inst...

Страница 1049: ...Dim ResultsArray As Byte ResultsArray _ m_IoObject ReadIEEEBlock IEEEBinaryType BinaryType_UI1 _ False True Check for inst errors CheckInstrumentErrors strQuery Return results array Return ResultsArra...

Страница 1050: ...rror ToString StartsWith 0 End Sub Private Sub OpenIo m_ResourceManager New ResourceManagerClass m_IoObject New FormattedIO488Class Open the default VISA COM IO object Try m_IoObject IO _ DirectCast m...

Страница 1051: ...ariable open a Command Prompt window then change to the folder that contains the example py file and enter python example py Agilent VISA COM Example in Python using comtypes This program illustrates...

Страница 1052: ...lt do_query_string TRIGger EDGE SOURce print Trigger edge source s qresult do_command TRIGger LEVel CHANnel1 2E 3 qresult do_query_string TRIGger LEVel CHANnel1 print Trigger level channel 1 s qresult...

Страница 1053: ...up_bytes print Setup bytes restored d len setup_bytes Set the desired number of waveform points and capture an acquisition do_command ACQuire POINts 32000 do_command DIGitize Analyze def analyze Make...

Страница 1054: ...rint Waveform source s qresult Choose the format of the data returned do_command WAVeform FORMat WORD print Waveform format s do_query_string WAVeform FORMat Display the waveform settings from preambl...

Страница 1055: ...aveform Y display range s y_display_range print Waveform Y display origin s y_display_origin print Date s date print Time s time print Frame model s frame_model print Acquire mode s acq_mode_dict int...

Страница 1056: ...ring check_instrument_errors query return result Send a query check for errors return string def do_query_ieee_block_UI1 query myScope WriteString s query True result myScope ReadIEEEBlock VisaComLib...

Страница 1057: ...error print ERROR s command s error_string command print Exited because of error sys exit 1 else No error break else SYSTem ERRor STRing should always return string print ERROR SYSTem ERRor STRing re...

Страница 1058: ...1058 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 38 Sample Programs initialize capture analyze print End of program...

Страница 1059: ...xample c file and click Add 6 Edit the program to use the VISA address of your oscilloscope 7 Choose Project Properties In the Property Pages dialog update these project settings a Under Configuration...

Страница 1060: ...ieeeblock char query Query for IEEE byte block int do_query_ieeeblock_words char query Query for word block void check_instrument_errors Check for inst errors void error_handler VISA error handler Glo...

Страница 1061: ...N printf Oscilloscope IDN string s n str_result Load the default setup do_command RST Capture the waveform void capture void int num_values FILE fp Set probe attenuation factor do_command CHANnel1 PRO...

Страница 1062: ...vertical scale and offset do_command CHANnel1 SCALe 0 1 do_query_string CHANnel1 SCALe printf Channel 1 vertical scale s n str_result do_command CHANnel1 OFFSet 0 0 do_query_string CHANnel1 OFFSet pr...

Страница 1063: ...turned from instrument int i Make measurements do_command MEASure SOURce CHANnel1 do_query_string MEASure SOURce printf Measure source s n str_result do_command MEASure FREQuency do_query_number MEASu...

Страница 1064: ...crement num_result printf Waveform X increment e n x_increment do_query_number WAVeform XORigin x_origin num_result printf Waveform X origin e n x_origin do_query_number WAVeform YINCrement y_incremen...

Страница 1065: ...d num_bytes char command int num_bytes char message 80 int data_length strcpy message command strcat message 8 08d err viPrintf vi message num_bytes if err VI_SUCCESS error_handler err viBufWrite vi i...

Страница 1066: ...uery_numbers query char query char message 80 strcpy message query strcat message n err viPrintf vi message if err VI_SUCCESS error_handler err viScanf vi 10lf n dbl_results if err VI_SUCCESS error_ha...

Страница 1067: ...gth IEEEBLOCK_SPACE err viScanf vi hb n data_length ieeeblock_data_words if err VI_SUCCESS error_handler if data_length IEEEBLOCK_SPACE printf IEEE block buffer full printf May not have received all d...

Страница 1068: ...LT F11 to launch the Visual Basic editor 3 Add the visa32 bas file to your project a Choose File Import File b Navigate to the header file visa32 bas installed with Agilent IO Libraries Suite and foun...

Страница 1069: ...strQueryResult As String 200 For Sleep subroutine Private Declare Sub Sleep Lib kernel32 ByVal dwMilliseconds As Long Main Program Sub Main Open the default resource manager session err viOpenDefault...

Страница 1070: ...DoQueryString CHANnel1 PROBe Use auto scale to automatically configure oscilloscope DoCommand AUToscale Set trigger mode EDGE PULSe PATTern etc and input source DoCommand TRIGger MODE EDGE Debug Prin...

Страница 1071: ...eryString CHANnel1 SCALe DoCommand CHANnel1 OFFSet 0 0 Debug Print Channel 1 vertical offset _ DoQueryString CHANnel1 OFFSet Set horizontal scale and position DoCommand TIMebase SCALe 0 0002 Debug Pri...

Страница 1072: ...matNumber dblQueryResult 1000 4 kHz DoCommand MEASure VAMPlitude dblQueryResult DoQueryNumber MEASure VAMPlitude MsgBox Vertical amplitude vbCrLf _ FormatNumber dblQueryResult 4 V Download the screen...

Страница 1073: ...Increment As Double Dim dblYOrigin As Double dblXIncrement DoQueryNumber WAVeform XINCrement Debug Print Waveform X increment _ Format dblXIncrement Scientific dblXOrigin DoQueryNumber WAVeform XORigi...

Страница 1074: ...I_SUCCESS Then HandleVISAError vi CheckInstrumentErrors End Sub Private Function DoCommandIEEEBlock command As String _ lngBlockSize As Long retCount lngBlockSize Dim strCommandAndLength As String str...

Страница 1075: ...Set up paramsArray for multiple parameter query returning array paramsArray 0 VarPtr retCount paramsArray 1 VarPtr dblArray 0 Set retCount to max number of elements array can hold retCount DblArraySi...

Страница 1076: ...SUCCESS Then HandleVISAError vi Set up paramsArray for multiple parameter query returning array paramsArray 0 VarPtr retCount paramsArray 1 VarPtr wordArray 0 Set retCount to max number of elements ar...

Страница 1077: ...al Read error message If err VI_SUCCESS Then HandleVISAError vi Wend If Not strOut Then MsgBox strOut vbExclamation INST Error Messages err viFlush vi VI_READ_BUF If err VI_SUCCESS Then HandleVISAErro...

Страница 1078: ...Libraries Suite and found in the Program Files IVI Foundation VISA WinNT include directory select it but do not click the Open button d Click the down arrow to the right of the Add button and choose...

Страница 1079: ...err Message catch System SystemException err Console WriteLine System Error Message err Message catch System Exception err System Diagnostics Debug Fail Unexpected Error Console WriteLine Unexpected E...

Страница 1080: ...CHANnel1 myScope DoCommand TRIGger EDGE SLOPe POSitive Console WriteLine Trigger edge slope 0 myScope DoQueryString TRIGger EDGE SLOPe Save oscilloscope configuration byte ResultsArray Results array...

Страница 1081: ...lock SYSTem SETup DataArray Console WriteLine Setup bytes restored 0 nBytesWritten Set the desired number of waveform points and capture an acquisition myScope DoCommand ACQuire POINts 32000 myScope D...

Страница 1082: ...String WAVeform TYPE Get the number of waveform points Console WriteLine Waveform points 0 myScope DoQueryString WAVeform POINts Set the waveform source myScope DoCommand WAVeform SOURce CHANnel1 Cons...

Страница 1083: ...ints 0 strsPreamble 2 Console WriteLine Waveform average count 0 strsPreamble 3 Console WriteLine Waveform X increment 0 strsPreamble 4 Console WriteLine Waveform X origin 0 strsPreamble 5 Console Wri...

Страница 1084: ...fYorigin myScope DoQueryNumber WAVeform YORigin Get the waveform data myScope DoCommand WAVeform STReaming OFF nLength myScope DoQueryIEEEBlock_Words WAVeform DATA out WordResultsArray Console WriteL...

Страница 1085: ...strCommandAndLength int nViStatus nLength nBytesWritten nLength DataArray Length strCommandAndLength String Format 0 8 08d strCommand Write first part of command to formatted I O write buffer nViStat...

Страница 1086: ...ouble DoQueryNumbers string strQuery Send the query VisaSendCommandOrQuery strQuery Get the result string double fResultsArray fResultsArray VisaGetResultNumbers Check for inst errors CheckInstrumentE...

Страница 1087: ...String Format 0 n strCommandOrQuery int nViStatus nViStatus visa32 viPrintf m_nSession strWithNewline CheckVisaStatus nViStatus private StringBuilder VisaGetResultString StringBuilder strResults new S...

Страница 1088: ...ed after IEEE block nViStatus visa32 viFlush m_nSession visa32 VI_WRITE_BUF CheckVisaStatus nViStatus nViStatus visa32 viFlush m_nSession visa32 VI_READ_BUF CheckVisaStatus nViStatus return length pri...

Страница 1089: ...while strInstrumentError ToString StartsWith 0 private void OpenResourceManager int nViStatus nViStatus visa32 viOpenDefaultRM out this m_nResourceManager if nViStatus visa32 VI_SUCCESS throw new Appl...

Страница 1090: ...le to your project a Right click the project you wish to modify not the solution in the Solution Explorer window of the Microsoft Visual Studio environment b Choose Add and then choose Add Existing It...

Страница 1091: ...s 10 Initialize start from a known state Initialize Capture data Capture Analyze the captured waveform Analyze Catch err As System ApplicationException Console WriteLine VISA Error Message err Message...

Страница 1092: ...ueryString TRIGger EDGE SOURce myScope DoCommand TRIGger LEVel CHANnel1 2E 3 Console WriteLine Trigger edge level 0 _ myScope DoQueryString TRIGger LEVel CHANnel1 myScope DoCommand TRIGger EDGE SLOPe...

Страница 1093: ...yScope DoQueryString ACQuire MODE Or set up by loading a previously saved setup Dim DataArray As Byte Dim nBytesWritten As Integer Read setup string from file strPath c scope config setup stp DataArra...

Страница 1094: ...m Close Console WriteLine Screen image 0 bytes written to 1 _ nLength strPath Download waveform data Get the waveform type Console WriteLine Waveform type 0 _ myScope DoQueryString WAVeform TYPE Get t...

Страница 1095: ...trsPreamble strPreamble Split c Console WriteLine Waveform format 0 _ dctWavFormat strsPreamble 0 Console WriteLine Acquire type 0 _ dctAcqType strsPreamble 1 Console WriteLine Waveform points 0 strsP...

Страница 1096: ...ble fYincrement myScope DoQueryNumber WAVeform YINCrement Dim fYorigin As Double fYorigin myScope DoQueryNumber WAVeform YORigin Get the waveform data myScope DoCommand WAVeform STReaming OFF nLength...

Страница 1097: ...nstrumentErrors strCommand End Sub Public Function DoCommandIEEEBlock ByVal strCommand As String _ ByVal DataArray As Byte As Integer Send the command to the device Dim strCommandAndLength As String D...

Страница 1098: ...for inst errors CheckInstrumentErrors strQuery Return string results Return fResults End Function Public Function DoQueryNumbers ByVal strQuery As String _ As Double Send the query VisaSendCommandOrQ...

Страница 1099: ...rQuery _ As String Send command or query to the device Dim strWithNewline As String strWithNewline String Format 0 Chr 10 _ strCommandOrQuery Dim nViStatus As Integer nViStatus visa32 viPrintf m_nSess...

Страница 1100: ...32 viScanf m_nSession b length _ ResultsArray CheckVisaStatus nViStatus Write and read buffers need to be flushed after IEEE block nViStatus visa32 viFlush m_nSession visa32 VI_WRITE_BUF CheckVisaStat...

Страница 1101: ...End Sub Private Sub OpenResourceManager Dim nViStatus As Integer nViStatus visa32 viOpenDefaultRM Me m_nResourceManager If nViStatus visa32 VI_SUCCESS Then Throw New _ ApplicationException Failed to...

Страница 1102: ...http www python org and http pyvisa sourceforge net respectively To run this example with Python and PyVISA 1 Cut and paste the code that follows into a file named example py 2 Edit the program to us...

Страница 1103: ...rint Trigger mode s qresult Set EDGE trigger parameters do_command TRIGger EDGE SOURCe CHANnel1 qresult do_query_string TRIGger EDGE SOURce print Trigger edge source s qresult do_command TRIGger LEVel...

Страница 1104: ...ously saved setup sSetup f open setup stp rb sSetup f read f close do_command SYSTem SETup 8 08d s len sSetup sSetup hide_param s True print Setup bytes restored d len sSetup Set the desired number of...

Страница 1105: ...Veform POINts print Waveform points s qresult Set the waveform source do_command WAVeform SOURce CHANnel1 qresult do_query_string WAVeform SOURce print Waveform source s qresult Choose the format of t...

Страница 1106: ...print Coupling s coupling_dict int coupling print Waveform X display range s x_display_range print Waveform X display origin s x_display_origin print Waveform Y display range s y_display_range print W...

Страница 1107: ...t command 1 if debug print nCmd s header else if debug print nCmd s command Infiniium write s n command if hide_params check_instrument_errors header else check_instrument_errors command Send a query...

Страница 1108: ...mmand print Exited because of error sys exit 1 Returns data from definite length block def get_definite_length_block_data sBlock First character should be pound sBlock 0 1 if pound print PROBLEM Inval...

Страница 1109: ...Sample Programs 38 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 1109 print End of program...

Страница 1110: ...operties In the Property Pages dialog update these project settings a Under Configuration Properties Linker Input add sicl32 lib to the Additional Dependencies field b Under Configuration Properties C...

Страница 1111: ...s int do_query_ieeeblock char query Query for IEEE block int do_query_ieeeblock_words char query Query for word data void check_instrument_errors Check for inst errors Global variables INST id Device...

Страница 1112: ...o release resources allocated by SICL for this application This call is a no op for WIN32 programs _siclcleanup Initialize the oscilloscope to a known state void initialize void Clear status do_comman...

Страница 1113: ...SYSTem SETup printf Read setup string query d bytes n num_values Write setup string to file fp fopen c scope config setup stp wb num_values fwrite ieeeblock_data sizeof unsigned char num_values fp fcl...

Страница 1114: ...n num_values Set the desired number of waveform points and capture an acquisition do_command ACQuire POINts 32000 do_command DIGitize Analyze the captured waveform void analyze void double wav_format...

Страница 1115: ...form source do_command WAVeform SOURce CHANnel1 do_query_string WAVeform SOURce printf Waveform source s n str_result Choose the format of the data returned do_command WAVeform FORMat WORD do_query_st...

Страница 1116: ...a csv n Send a command to the instrument void do_command command char command char message 80 strcpy message command strcat message n iprintf id message check_instrument_errors Command with IEEE defin...

Страница 1117: ...iscanf id lf num_result check_instrument_errors Query for numbers result void do_query_numbers query char query char message 80 strcpy message query strcat message n iprintf id message iscanf id 10lf...

Страница 1118: ...ntf id message data_length IEEEBLOCK_SPACE iscanf id wb data_length ieeeblock_data_words if data_length IEEEBLOCK_SPACE printf IEEE block buffer full printf May not have received all data n check_inst...

Страница 1119: ...paste the code that follows into the editor 6 Edit the program to use the SICL address of your oscilloscope and save the changes 7 Run the program Agilent SICL Example in Visual Basic This program ill...

Страница 1120: ...m Analyze Close the vi session and the resource manager session Call iclose id Exit Sub ErrorHandler MsgBox Error Error vbExclamation End End Sub Initialize the oscilloscope to a known state Private S...

Страница 1121: ...r LEVel CHANnel1 2E 3 Debug Print Trigger level channel 1 _ DoQueryString TRIGger LEVel CHANnel1 DoCommand TRIGger EDGE SLOPe POSitive Debug Print Trigger edge slope _ DoQueryString TRIGger EDGE SLOPe...

Страница 1122: ...mmand ACQuire MODE RTIMe Debug Print Acquire mode _ DoQueryString ACQuire MODE Or configure by loading a previously saved setup strPath c scope config setup dat Open strPath For Binary Access Read As...

Страница 1123: ...reen image Dim lngBlockSize As Long lngBlockSize DoQueryIEEEBlock_Bytes DISPlay DATA PNG Debug Print Screen image bytes CStr lngBlockSize Save screen image to a file Dim strPath As String strPath c sc...

Страница 1124: ...ueryNumber WAVeform YINCrement Debug Print Waveform Y increment _ Format dblYIncrement Scientific dblYOrigin DoQueryNumber WAVeform YORigin Debug Print Waveform Y origin _ FormatNumber dblYOrigin 0 Ge...

Страница 1125: ...r vbExclamation End End Sub Private Sub DoCommand command As String On Error GoTo ErrorHandler Call ivprintf id command vbLf CheckInstrumentErrors Exit Sub ErrorHandler MsgBox Error Error vbExclamatio...

Страница 1126: ...g strResult CheckInstrumentErrors Exit Function ErrorHandler MsgBox Error Error vbExclamation End End Function Private Function DoQueryNumber query As String As Double On Error GoTo ErrorHandler Dim d...

Страница 1127: ...byteArray ByteArraySize vbNull retCount Get number of block length digits Dim intLengthDigits As Integer intLengthDigits CInt Chr byteArray 1 Get block length from those digits Dim strBlockLength As S...

Страница 1128: ...um Error String While Val strErrVal 0 End if find 0 No Error strOut strOut INST Error strErrVal Call ivprintf id SYSTem ERRor STRing vbLf Request error me ssage Call ivscanf id 200t strErrVal Read err...

Страница 1129: ...EW Microsoft Excel Agilent VEE and Agilent SystemVue For more information on Agilent Command Expert and to download the software see http www agilent com find commandexpert SCPI NET Example in C on pa...

Страница 1130: ...ming features of your Agilent oscilloscope using System using System IO using System Text using System Collections Generic using Agilent CommandExpert ScpiNet AgInfiniium90000_3_10 namespace Infiniium...

Страница 1131: ...to a known state private static void Initialize string strResults Get and display the device s IDN string myScope SCPI IDN Query out strResults Console WriteLine IDN result is 0 strResults Clear stat...

Страница 1132: ...etup string myScope SCPI SYSTem SETup Query out byteResultsArray nLength byteResultsArray Length Write setup string to file strPath c scope config setup stp FileStream fStream File Open strPath FileMo...

Страница 1133: ...ray Results array string strResults double fResult Make measurements myScope SCPI MEASure SOURce Command CHANnel1 null myScope SCPI MEASure SOURce Queryx out strResultsArray Console WriteLine Measure...

Страница 1134: ...s 0 nPointsAvail Set the waveform source myScope SCPI WAVeform SOURce Command CHANnel1 myScope SCPI WAVeform SOURce Query out strResults Console WriteLine Waveform source 0 strResults Choose the forma...

Страница 1135: ...2 Console WriteLine Waveform average count 0 strsPreamble 3 Console WriteLine Waveform X increment 0 strsPreamble 4 Console WriteLine Waveform X origin 0 strsPreamble 5 Console WriteLine Waveform X re...

Страница 1136: ...yScope SCPI WAVeform YINCrement Query out fYincrement double fYorigin myScope SCPI WAVeform YORigin Query out fYorigin Get the waveform data myScope SCPI WAVeform STReaming Command false short WordDat...

Страница 1137: ...og select the Browse tab and navigate to the ScpiNetDrivers folder Windows XP C Documents and Settings All Users Agilent Command Expert ScpiNetDrivers Windows 7 C ProgramData Agilent Command Expert Sc...

Страница 1138: ...data Capture Analyze the captured waveform Analyze Console WriteLine Press any key to exit Console ReadKey Catch err As System ApplicationException Console WriteLine SCPI NET Error err Message Catch e...

Страница 1139: ...0 strResults myScope SCPI TRIGger LEVel Command CHANnel1 0 002 myScope SCPI TRIGger LEVel Query CHANnel1 fResult Console WriteLine Trigger edge level 0 F2 fResult myScope SCPI TRIGger EDGE SLOPe Comm...

Страница 1140: ...Dim nBytesWritten As Integer Read setup string from file strPath c scope config setup stp DataArray File ReadAllBytes strPath nBytesWritten DataArray Length Restore setup string myScope SCPI SYSTem SE...

Страница 1141: ...h fStream Close Console WriteLine Screen image 0 bytes written to 1 _ nLength strPath Download waveform data Get the waveform points mode myScope SCPI WAVeform TYPE Query strResults Console WriteLine...

Страница 1142: ...Add 2 SECOND dctUnits Add 3 CONSTANT dctUnits Add 4 AMP dctUnits Add 5 DECIBEL Dim strPreamble As String Dim strsPreamble As String myScope SCPI WAVeform PREamble Query strPreamble strsPreamble strPr...

Страница 1143: ...XINCrement Query fXincrement Dim fXorigin As Double myScope SCPI WAVeform XORigin Query fXorigin Dim fYincrement As Double myScope SCPI WAVeform YINCrement Query fYincrement Dim fYorigin As Double myS...

Страница 1144: ...m to use the address of your oscilloscope 4 If the IronPython ipy exe can be found via your PATH environment variable open a Command Prompt window then change to the folder that contains the example p...

Страница 1145: ...GE trigger parameters scope SCPI TRIGger EDGE SOURce Command None CHANnel1 qresult scope SCPI TRIGger EDGE SOURce Query None print Trigger edge source s qresult scope SCPI TRIGger LEVel Command CHANne...

Страница 1146: ...tion scope SCPI ACQuire POINts Command 32000 scope SCPI DIGitize Command None Analyze def analyze Make measurements scope SCPI MEASure SOURce Command CHANnel1 None source_list scope SCPI MEASure SOURc...

Страница 1147: ...veform source s qresult Choose the format of the data returned scope SCPI WAVeform FORMat Command WORD qresult scope SCPI WAVeform FORMat Query print Waveform format s qresult scope SCPI WAVeform BYTe...

Страница 1148: ...display range s x_display_range print Waveform X display origin s x_display_origin print Waveform Y display range s y_display_range print Waveform Y display origin s y_display_origin print Date s dat...

Страница 1149: ...D data written to s strPath Main program addr labi trex lp11 cos agilent com addr TCPIP0 labi trex lp11 cos agilent com inst0 INSTR scope AgInfiniium90000 addr scope Transport DefaultTimeout Set 10000...

Страница 1150: ...1150 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 38 Sample Programs...

Страница 1151: ...s1 1151 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 39 Reference HDF5 Example 1152 CSV and TSV Header Format 1153 BIN Header Format 1155...

Страница 1152: ...d HDF5 file Channel 1 6576 Group Size 1 Number of Attributes 17 Waveform Type 1 Start 1 NumPoints 1000000 NumSegments 0 Count 1 XDispRange 1 0E 6 XDispOrigin 5 0E 7 XInc 5 0E 11 XOrg 2 4999999E 5 XUni...

Страница 1153: ...umber of sources being stored The X display range is the X axis duration of the waveform that is displayed For time domain waveforms it is the duration of time across the display If the value is zero...

Страница 1154: ...uired YOrg The number of Y origin columns n depends on the number of sources being store The Y origin is the Y axis value at level zero For voltage waveforms it is the voltage at level zero If the val...

Страница 1155: ...bytes that are in the file Number of Waveforms An integer 4 byte signed which is the number of waveforms that are stored in the file Waveform Header The waveform header contains information about the...

Страница 1156: ...me at the start of the display This value is treated as a double precision 64 bit floating point number If the value is zero then no data has been acquired X Increment A double 8 bytes which is the du...

Страница 1157: ...e signed which is the segment index of the data that follows the waveform data header Waveform Data Header The waveform data header consists of information about the waveform data points that are stor...

Страница 1158: ...location of atof atoi include string h location of strlen include sicl h Defines define MAX_LENGTH 10000000 define INTERFACE lan 130 29 70 247 inst0 Change the IP address to the one found in the Remo...

Страница 1159: ...E_STRING_LENGTH char Time DATE_TIME_STRING_LENGTH char Frame FRAME_STRING_LENGTH char WaveformLabel SIGNAL_STRING_LENGTH double TimeTag unsigned int SegmentIndex WaveformHeader typedef struct int Head...

Страница 1160: ...LENGTH float MaxVolts MAX_LENGTH float MinVolts MAX_LENGTH UINT64 HistogramData MAX_LENGTH int main int argc char argv FileHeader fileHeader WaveformHeader waveformHeader if argc 1 InputFile fopen arg...

Страница 1161: ...double xOrg which is the time value of the first data point Return value none Description This routine transfers the waveform conversion factors for the time values void GetTimeConversionFactors Wave...

Страница 1162: ...olts i if BytesRead MAX_LENGTH done TRUE Function name OutputHistogramWaveform Parameters WaveformHeader waveformHeader which is a structure that contains the waveform header information Return value...

Страница 1163: ...ataHeader waveformDataHeader int done FALSE size_t BytesRead 0L int NumberToRead NumberToRead waveformDataHeader BufferSize while done BytesRead fread char Volts 1 NumberToRead InputFile BytesRead fwr...

Страница 1164: ...BufferType PB_DATA_MAX OutputData MaxFile waveformDataHeader OutputData MinFile waveformDataHeader else OutputData MinFile waveformDataHeader OutputData MaxFile waveformDataHeader fclose MaxFile fclo...

Страница 1165: ...CHANnel N ISIM BWLimit command query 204 CHANnel N ISIM CONVolve command query 205 CHANnel N ISIM CORRection command query 206 CHANnel N ISIM DEConvolve command query 208 CHANnel N ISIM DELay command...

Страница 1166: ...mand query 374 HISTogram SCALe SIZE command query 375 HISTogram WINDow BLIMit command query 380 HISTogram WINDow DEFault command 376 HISTogram WINDow LLIMit command query 378 HISTogram WINDow RLIMit c...

Страница 1167: ...ation command query 584 MEASure NOISe METHod command query 585 MEASure NOISe REPort command query 586 MEASure NOISe RN command query 587 MEASure NOISe SCOPe RN command query 588 MEASure NOISe STATe co...

Страница 1168: ...ry 750 SBUS N SPI SOURce DATA command query 751 SBUS N SPI SOURce FRAMe command query 752 SBUS N SPI SOURce MISO command query 753 SBUS N SPI SOURce MOSI command query 754 SBUS N SPI TYPE command quer...

Страница 1169: ...Quence RESet ENABle command query 887 TRIGger SEQuence RESet EVENt command 889 TRIGger SEQuence RESet TIME command query 890 TRIGger SEQuence RESet TYPE command query 888 TRIGger SEQuence TERM1 comman...

Страница 1170: ...e RJDJ ALL query 618 ALL MEASure RJDJ APLength query 620 alphanumeric characters in embedded string 68 alphanumeric strings 66 AMASk MTESt AMASk CREate command 434 AMASk MTESt AMASk SAVE command 436 A...

Страница 1171: ...CLEar BUS N CLEar command query 179 CLEar MEASure CLEar command 494 CLEar WMEMory N CLEar command 992 Clearing Buffers 98 clearing DONE bit 119 clearing error queue 123 1008 Clearing Pending Commands...

Страница 1172: ...command query 894 CSOurce TRIGger SHOLd CSOurce EDGE command query 895 CTCDutycycle MEASure CTCDutycycle command query 510 CTCJitter MEASure CTCJitter command query 512 CTCNwidth MEASure CTCNwidth co...

Страница 1173: ...64 DIGital ACQuire SRATe DIGital command query 173 DIGital ACQuire SRATe DIGital AUTO command query 174 Digitize Aborting 98 DIGitize setting up for execution 147 DIRection TRIGger PWIDth DIRection co...

Страница 1174: ...PRocessing FFEQualizer NTAPs command query 790 FFEQualizer SPRocessing FFEQualizer SOURce command query 788 FFEQualizer SPRocessing FFEQualizer TAP command query 792 FFEQualizer SPRocessing FFEQualize...

Страница 1175: ...ommand query 544 HOLDoff TRIGger HOLDoff command query 836 HOLDoff TRIGger HOLDoff MAX command query 837 HOLDoff TRIGger HOLDoff MIN command query 838 HOLDoff TRIGger HOLDoff MODE command query 839 Ho...

Страница 1176: ...74 JITTer MEASure JITTer TRENd VERTical OFFSet command query 575 JITTer MEASure JITTer TRENd VERTical RANGe command query 576 JITTer STORe JITTer command 732 JTF MEASure CLOCk METHod JTF command query...

Страница 1177: ...MODE HISTogram MODE command query 374 MODE ISCan MODE command query 389 MODE ISCan ZONE N MODE command query 401 MODE MARKer MODE command query 420 MODE MEASure HISTogram MODE command query 552 MODe...

Страница 1178: ...AK1 command query 539 PEAK2 MEASure FFT PEAK2 command query 540 peak to peak voltage and VPP 683 Pending Commands Clearing 98 PERCent MEASure THResholds PERCent command query 651 period measurement se...

Страница 1179: ...MEASure QUALifier M CONDition command query 610 QUALifier M MEASure QUALifier M SOURce command query 611 QUALifier M MEASure QUALifier M STATe command query 612 Query 55 64 Query Error 1013 Query Erro...

Страница 1180: ...al 139 RUMode MTESt RUMode command query 460 RUMode MTESt RUMode SOFailure command query 461 RUN and GET relationship 98 RUNT ISCan RUNT HYSTeresis command query 393 RUNT ISCan RUNT LLEVel command que...

Страница 1181: ...simple command header 62 SIZE DIGital N SIZE command query 272 SIZE DISPlay GRATicule SIZE command query 306 SIZE HISTogram SCALe SIZE command query 375 SKEW CALibrate SKEW command query 188 SKEW CHA...

Страница 1182: ...SR 113 Standard Event Status Register bits 250 Standard Status Data Structure Model 104 STANdard TRIGger TV STANdard command query 919 STARt MEASure TIEFilter STARt command query 661 STARt MTESt STARt...

Страница 1183: ...and date setting 805 Time Base Commands 819 time buckets and POINts 964 time scale operands and functions 320 TIME SYSTem TIME command query 817 TIME TRIGger DELay TDELay TIME command query 860 TIME...

Страница 1184: ...1 VERTical FUNCtion F VERTical command query 361 VERTical FUNCtion F VERTical OFFSet command query 362 VERTical FUNCtion F VERTical RANGe command query 363 VERTical MEASure CLOCk VERTical command quer...

Страница 1185: ...decode 756 WORD and FORMat 962 WORD Understanding the format 956 WriteIEEEBlock method 74 WriteList method 74 WriteNumber method 74 WriteString method 74 WriteString VISA COM method 53 writing text to...

Страница 1186: ...1186 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference Index...

Отзывы: