Agilent Technologies DSO6052A, MSO6104A/L, MSO6034A, MSO6032A, DSO6034A Programmer's Reference Manual

...
Agilent 6000 Series Oscilloscopes
Programmer's Reference
A
Notices
© Agilent Technologies, Inc. 2005-2007
No part of this manual may be reproduced in any form or by any means (including electronic storage and retrieval or transla­tion into a foreign language) without prior agreement and written consent from Agi­lent Technologies, Inc. as governed by United States and international copyright laws.
Trademarks
Microsoft®, MS-DOS®, Windows®, Win­dows 2000®, and Windows XP® are U.S. registered trademarks of Microsoft Corpo­ration.
Adobe®, Acrobat®, and the Acrobat Logo® are trademarks of Adobe Systems Incorporated.
Manual Part Number
Version 04.10.0002
Edition
July 23, 2007
Available in electronic format only
Agilent Technologies, Inc. 1900 Garden of the Gods Road Colorado Springs, CO 80907 USA
Warranty
The material contained in this docu­ment is provided “as is,” and is sub­ject to being changed, without notice, in future editions. Further, to the max­imum extent permitted by applicable law, Agilent disclaims all warranties, either express or implied, with regard to this manual and any information contained herein, including but not limited to the implied warranties of merchantability and fitness for a par­ticular purpose. Agilent shall not be liable for errors or for incidental or consequential damages in connection with the furnishing, use, or perfor­mance of this document or of any information contained herein. Should Agilent and the user have a separate written agreement with warranty terms covering the material in this document that conflict with these terms, the warranty terms in the sep­arate agreement shall control.
Technology Licenses
The hardware and/or software described in this document are furnished under a license and may be used or copied only in accordance with the terms of such license.
Restricted Rights Legend
agency regulation or contract clause. Use, duplication or disclosure of Software is subject to Agilent Technologies’ standard commercial license terms, and non-DOD Departments and Agencies of the U.S. Gov­ernment will receive no greater than Restricted Rights as defined in FAR
52.227-19(c)(1-2) (June 1987). U.S. Govern­ment users will receive no greater than Limited Rights as defined in FAR 52.227-14 (June 1987) or DFAR 252.227-7015 (b)(2) (November 1995), as applicable in any technical data.
Safety Notices
CAUTION
A CAUTION notice denotes a haz­ard. It calls attention to an operat­ing procedure, practice, or the like that, if not correctly performed or adhered to, could result in damage to the product or loss of important data. Do not proceed beyond a CAUTION notice until the indicated conditions are fully understood and met.
WARNING
A WARNING notice denotes a hazard. It calls attention to an operating procedure, practice, or the like that, if not correctly per­formed or adhered to, could result in personal injury or death. Do not proceed beyond a WARNING notice until the indicated condi­tions are fully understood and met.
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 soft­ware” as defined in DFAR 252.227-7014 (June 1995), or as a “commercial item” as defined in FAR 2.101(a) or as “Restricted computer software” as defined in FAR
52.227-19 (June 1987) or any equivalent

In This Book

This programmer's reference gives detailed information on all the commands available for controlling these oscilloscope models:
Table 1 6000 Series Oscilloscope Models
Channels Input Bandwidth
1 GHz 500 MHz 300 MHz 100 MHz
4 analog + 16 digital (mixed-signal)
2 analog + 16 digital (mixed-signal)
4 analog DSO6104A/L DSO6054A/L DSO6034A DSO6014A/L
2 analog DSO6102A DSO6052A DSO6032A DSO6012A
The command descriptions in this reference show upper and lowercase characters. For example, :AUToscale indicates that the entire command name is :AUTOSCALE. The short form, :AUT, is also accepted by the oscilloscope.
Command arguments and syntax are described for each command. Some command descriptions have example code.
"What's New" on page 17
"Commands Quick Reference" on page 31
"Commands by Subsystem" on page 73
"Commands A- Z" on page 469
"Obsolete and Discontinued Commands" on page 491
MSO6104A/L MSO6054A/L MSO6034A MSO6014A/L
MSO6102A MSO6052A MSO6032A MSO6012A
"Error Messages" on page 533
"Status Reporting" on page 541
"More About Oscilloscope Commands" on page 563
"Programming Examples" on page 585
See the Agilent 6000 Series Oscilloscopes Programmer's Quick Start Guide for information on installing the IO libraries, connecting the
oscilloscope to the controller PC, and getting started with oscilloscope programming.
See your oscilloscope's User's Guide for more information on front-panel operation.
Agilent 6000 Series Oscilloscopes Programmer's Reference 3
Mixed-Signal
Oscilloscope
Channel
Differences
Because both the "analog channels only" oscilloscopes (DSO models) and the mixed-signal oscilloscopes (MSO models) have analog channels, topics that describe analog channels refer to all oscilloscope models. Whenever a topic describes digital channels, that information applies only to the mixed-signal oscilloscope models.
Example
Programs
The example programs are designed to work with multiple 6000 Series oscilloscopes. Therefore, the commands may not match the example code exactly, but the example code should run because of the designed- in backward compatibility with earlier commands.
4 Agilent 6000 Series Oscilloscopes Programmer's Reference

Contents

1 What's New
2 Commands Quick Reference
In This Book 3
What's New in Version 4.10 18
What's New in Version 4.00 20
What's New in Version 3.50 22
What's New in Version 3.00 24
Command Differences From 54620/54640 Series Oscilloscopes 26
Command Summary 32
Syntax Elements 70
Number Format 70 <NL> (Line Terminator) 70 [ ] (Optional Syntax Terms) 70 { } (Braces) 70 ::= (Defined As) 70 < > (Angle Brackets) 71 ... (Ellipsis) 71 n,..,p (Value Ranges) 71 d (Digits) 71 Quoted ASCII String 71 Definite-Length Block Response Data 71
3 Commands by Subsystem
Common (*) Commands 75
*CLS (Clear Status) 79 *ESE (Standard Event Status Enable) 80 *ESR (Standard Event Status Register) 82 *IDN (Identification Number) 84 *LRN (Learn Device Setup) 85 *OPC (Operation Complete) 86 *OPT (Option Identification) 87 *RCL (Recall) 88
Agilent 6000 Series Oscilloscopes Programmer's Reference 5
*RST (Reset) 89 *SAV (Save) 92 *SRE (Service Request Enable) 93 *STB (Read Status Byte) 95 *TRG (Trigger) 97 *TST (Self Test) 98 *WAI (Wait To Continue) 99
Root (:) Commands 100
:ACTivity 103 :AER (Arm Event Register) 104 :AUToscale 105 :AUToscale:AMODE 107 :AUToscale:CHANnels 108 :BLANk 109 :CDISplay 110 :DIGitize 111 :HWEenable (Hardware Event Enable Register) 113 :HWERegister:CONDition (Hardware Event Condition Register) 115 :HWERegister[:EVENt] (Hardware Event Event Register) 117 :MERGe 119 :OPEE (Operation Status Enable Register) 120 :OPERegister:CONDition (Operation Status Condition Register) 122 :OPERegister[:EVENt] (Operation Status Event Register) 124 :OVLenable (Overload Event Enable Register) 126 :OVLRegister (Overload Event Register) 128 :PRINt 130 :RUN 131 :SERial 132 :SINGle 133 :STATus 134 :STOP 135 :TER (Trigger Event Register) 136 :VIEW 137
:ACQuire Commands 138
:ACQuire:AALias 140 :ACQuire:COMPlete 141 :ACQuire:COUNt 142 :ACQuire:DAALias 143 :ACQuire:MODE 144 :ACQuire:POINts 145 :ACQuire:RSIGnal 146
6 Agilent 6000 Series Oscilloscopes Programmer's Reference
:ACQuire:SRATe 147 :ACQuire:TYPE 148
:BUS<n> Commands 150
:BUS<n>:BIT<m> 152 :BUS<n>:BITS 153 :BUS<n>:CLEar 155 :BUS<n>:DISPlay 156 :BUS<n>:LABel 157 :BUS<n>:MASK 158
:CALibrate Commands 159
:CALibrate:DATE 160 :CALibrate:LABel 161 :CALibrate:STARt 162 :CALibrate:STATus 163 :CALibrate:SWITch 164 :CALibrate:TEMPerature 165 :CALibrate:TIME 166
:CHANnel<n> Commands 167
:CHANnel<n>:BWLimit 170 :CHANnel<n>:COUPling 171 :CHANnel<n>:DISPlay 172 :CHANnel<n>:IMPedance 173 :CHANnel<n>:INVert 174 :CHANnel<n>:LABel 175 :CHANnel<n>:OFFSet 176 :CHANnel<n>:PROBe 177 :CHANnel<n>:PROBe:ID 178 :CHANnel<n>:PROBe:SKEW 179 :CHANnel<n>:PROBe:STYPe 180 :CHANnel<n>:PROTection 181 :CHANnel<n>:RANGe 182 :CHANnel<n>:SCALe 183 :CHANnel<n>:UNITs 184 :CHANnel<n>:VERNier 185
:DIGital<n> Commands 186
:DIGital<n>:DISPlay 188 :DIGital<n>:LABel 189 :DIGital<n>:POSition 190 :DIGital<n>:SIZE 191 :DIGital<n>:THReshold 192
Agilent 6000 Series Oscilloscopes Programmer's Reference 7
:DISPlay Commands 193
:DISPlay:CLEar 195 :DISPlay:DATA 196 :DISPlay:LABel 198 :DISPlay:LABList 199 :DISPlay:PERSistence 200 :DISPlay:SOURce 201 :DISPlay:VECTors 202
:EXTernal Trigger Commands 203
:EXTernal:BWLimit 204 :EXTernal:IMPedance 205 :EXTernal:PROBe 206 :EXTernal:PROBe:ID 207 :EXTernal:PROBe:STYPe 208 :EXTernal:PROTection 209 :EXTernal:RANGe 210 :EXTernal:UNITs 211
:FUNCtion Commands 212
:FUNCtion:CENTer 214 :FUNCtion:DISPlay 215 :FUNCtion:OFFSet 216 :FUNCtion:OPERation 217 :FUNCtion:RANGe 218 :FUNCtion:REFerence 219 :FUNCtion:SCALe 220 :FUNCtion:SOURce 221 :FUNCtion:SPAN 222 :FUNCtion:WINDow 223
:HARDcopy Commands 224
:HARDcopy:FACTors 225 :HARDcopy:FFEed 226 :HARDcopy:FILename 227 :HARDcopy:FORMat 228 :HARDcopy:IGColors 229 :HARDcopy:PALette 230 :HARDcopy:PDRiver 231
:MARKer Commands 232
:MARKer:MODE 234 :MARKer:X1Position 235 :MARKer:X1Y1source 236
8 Agilent 6000 Series Oscilloscopes Programmer's Reference
:MARKer:X2Position 237 :MARKer:X2Y2source 238 :MARKer:XDELta 239 :MARKer:Y1Position 240 :MARKer:Y2Position 241 :MARKer:YDELta 242
:MEASure Commands 243
:MEASure:CLEar 250 :MEASure:COUNter 251 :MEASure:DEFine 252 :MEASure:DELay 255 :MEASure:DUTYcycle 257 :MEASure:FALLtime 258 :MEASure:FREQuency 259 :MEASure:NWIDth 260 :MEASure:OVERshoot 261 :MEASure:PERiod 263 :MEASure:PHASe 264 :MEASure:PREShoot 265 :MEASure:PWIDth 266 :MEASure:RISetime 267 :MEASure:SDEViation 268 :MEASure:SHOW 269 :MEASure:SOURce 270 :MEASure:TEDGe 272 :MEASure:TVALue 274 :MEASure:VAMPlitude 276 :MEASure:VAVerage 277 :MEASure:VBASe 278 :MEASure:VMAX 279 :MEASure:VMIN 280 :MEASure:VPP 281 :MEASure:VRMS 282 :MEASure:VTIMe 283 :MEASure:VTOP 284 :MEASure:XMAX 285 :MEASure:XMIN 286
:POD Commands 287
:POD<n>:DISPlay 288 :POD<n>:SIZE 289 :POD<n>:THReshold 290
Agilent 6000 Series Oscilloscopes Programmer's Reference 9
:SBUS Commands 292
:SBUS:BUSDoctor:ADDRess 294 :SBUS:BUSDoctor:BAUDrate 295 :SBUS:BUSDoctor:CHANnel 296 :SBUS:BUSDoctor:MODE 297 :SBUS:CAN:COUNt:ERRor 298 :SBUS:CAN:COUNt:OVERload 299 :SBUS:CAN:COUNt:RESet 300 :SBUS:CAN:COUNt:TOTal 301 :SBUS:CAN:COUNt:UTILization 302 :SBUS:DISPlay 303 :SBUS:FLEXray:COUNt:NULL 304 :SBUS:FLEXray:COUNt:RESet 305 :SBUS:FLEXray:COUNt:SYNC 306 :SBUS:FLEXray:COUNt:TOTal 307 :SBUS:IIC:ASIZe 308 :SBUS:LIN:PARity 309 :SBUS:MODE 310 :SBUS:SPI:WIDTh 311
:SYSTem Commands 312
:SYSTem:DATE 313 :SYSTem:DSP 314 :SYSTem:ERRor 315 :SYSTem:LOCK 316 :SYSTem:SETup 317 :SYSTem:TIME 319
:TIMebase Commands 320
:TIMebase:MODE 322 :TIMebase:POSition 323 :TIMebase:RANGe 324 :TIMebase:REFClock 325 :TIMebase:REFerence 326 :TIMebase:SCALe 327 :TIMebase:VERNier 328 :TIMebase:WINDow:POSition 329 :TIMebase:WINDow:RANGe 330 :TIMebase:WINDow:SCALe 331
:TRIGger Commands 332
General :TRIGger Commands 335 :TRIGger:HFReject 336
10 Agilent 6000 Series Oscilloscopes Programmer's Reference
:TRIGger:HOLDoff 337 :TRIGger:MODE 338 :TRIGger:NREJect 339 :TRIGger:PATTern 340 :TRIGger:SWEep 342 :TRIGger:CAN Commands 343 :TRIGger:CAN:PATTern:DATA 345 :TRIGger:CAN:PATTern:DATA:LENGth 346 :TRIGger:CAN:PATTern:ID 347 :TRIGger:CAN:PATTern:ID:MODE 348 :TRIGger:CAN:SAMPlepoint 349 :TRIGger:CAN:SIGNal:BAUDrate 350 :TRIGger:CAN:SOURce 351 :TRIGger:CAN:TRIGger 352 :TRIGger:DURation Commands 354 :TRIGger:DURation:GREaterthan 355 :TRIGger:DURation:LESSthan 356 :TRIGger:DURation:PATTern 357 :TRIGger:DURation:QUALifier 358 :TRIGger:DURation:RANGe 359 :TRIGger:EBURst Commands 360 :TRIGger:EBURst:COUNt 361 :TRIGger:EBURst:IDLE 362 :TRIGger:EBURst:SLOPe 363 :TRIGger[:EDGE] Commands 364 :TRIGger[:EDGE]:COUPling 365 :TRIGger[:EDGE]:LEVel 366 :TRIGger[:EDGE]:REJect 367 :TRIGger[:EDGE]:SLOPe 368 :TRIGger[:EDGE]:SOURce 369 :TRIGger:FLEXray Commands 370 :TRIGger:FLEXray:ERRor:TYPE 371 :TRIGger:FLEXray:FRAMe:CCBase 373 :TRIGger:FLEXray:FRAMe:CCRepetition 374 :TRIGger:FLEXray:FRAMe:ID 375 :TRIGger:FLEXray:FRAMe:TYPE 376 :TRIGger:FLEXray:TIME:CBASe 377 :TRIGger:FLEXray:TIME:CREPetition 378 :TRIGger:FLEXray:TIME:SEGMent 379 :TRIGger:FLEXray:TIME:SLOT 380 :TRIGger:FLEXray:TRIGger 381 :TRIGger:GLITch Commands 382
Agilent 6000 Series Oscilloscopes Programmer's Reference 11
:TRIGger:GLITch:GREaterthan 384 :TRIGger:GLITch:LESSthan 385 :TRIGger:GLITch:LEVel 386 :TRIGger:GLITch:POLarity 387 :TRIGger:GLITch:QUALifier 388 :TRIGger:GLITch:RANGe 389 :TRIGger:GLITch:SOURce 390 :TRIGger:IIC Commands 391 :TRIGger:IIC:PATTern:ADDRess 392 :TRIGger:IIC:PATTern:DATA 393 :TRIGger:IIC:PATTern:DATa2 394 :TRIGger:IIC:SOURce:CLOCk 395 :TRIGger:IIC:SOURce:DATA 396 :TRIGger:IIC:TRIGger:QUALifier 397 :TRIGger:IIC:TRIGger[:TYPE] 398 :TRIGger:LIN Commands 400 :TRIGger:LIN:ID 401 :TRIGger:LIN:SAMPlepoint 402 :TRIGger:LIN:SIGNal:BAUDrate 403 :TRIGger:LIN:SOURce 404 :TRIGger:LIN:STANdard 405 :TRIGger:LIN:SYNCbreak 406 :TRIGger:LIN:TRIGger 407 :TRIGger:SEQuence Commands 408 :TRIGger:SEQuence:COUNt 409 :TRIGger:SEQuence:EDGE 410 :TRIGger:SEQuence:FIND 411 :TRIGger:SEQuence:PATTern 412 :TRIGger:SEQuence:RESet 413 :TRIGger:SEQuence:TIMer 414 :TRIGger:SEQuence:TRIGger 415 :TRIGger:SPI Commands 416 :TRIGger:SPI:CLOCk:SLOPe 417 :TRIGger:SPI:CLOCk:TIMeout 418 :TRIGger:SPI:FRAMing 419 :TRIGger:SPI:PATTern:DATA 420 :TRIGger:SPI:PATTern:WIDTh 421 :TRIGger:SPI:SOURce:CLOCk 422 :TRIGger:SPI:SOURce:DATA 423 :TRIGger:SPI:SOURce:FRAMe 424 :TRIGger:TV Commands 425 :TRIGger:TV:LINE 426
12 Agilent 6000 Series Oscilloscopes Programmer's Reference
:TRIGger:TV:MODE 427 :TRIGger:TV:POLarity 428 :TRIGger:TV:SOURce 429 :TRIGger:TV:STANdard 430 :TRIGger:USB Commands 431 :TRIGger:USB:SOURce:DMINus 432 :TRIGger:USB:SOURce:DPLus 433 :TRIGger:USB:SPEed 434 :TRIGger:USB:TRIGger 435
:WAVeform Commands 436
:WAVeform:BYTeorder 444 :WAVeform:COUNt 445 :WAVeform:DATA 446 :WAVeform:FORMat 448 :WAVeform:POINts 449 :WAVeform:POINts:MODE 451 :WAVeform:PREamble 453 :WAVeform:SOURce 456 :WAVeform:TYPE 460 :WAVeform:UNSigned 461 :WAVeform:VIEW 462 :WAVeform:XINCrement 463 :WAVeform:XORigin 464 :WAVeform:XREFerence 465 :WAVeform:YINCrement 466 :WAVeform:YORigin 467 :WAVeform:YREFerence 468
4 Commands A-Z
5 Obsolete and Discontinued Commands
:CHANnel:ACTivity 496 :CHANnel:LABel 497 :CHANnel:THReshold 498 :CHANnel2:SKEW 499 :CHANnel<n>:INPut 500 :CHANnel<n>:PMODe 501 :DISPlay:CONNect 502 :DISPlay:ORDer 503 :ERASe 504 :EXTernal:INPut 505
Agilent 6000 Series Oscilloscopes Programmer's Reference 13
:EXTernal:PMODe 506 :FUNCtion:VIEW 507 :HARDcopy:DESTination 508 :HARDcopy:DEVice 509 :HARDcopy:GRAYscale 510 :MEASure:LOWer 511 :MEASure:SCRatch 512 :MEASure:TDELta 513 :MEASure:THResholds 514 :MEASure:TMAX 515 :MEASure:TMIN 516 :MEASure:TSTArt 517 :MEASure:TSTOp 518 :MEASure:TVOLt 519 :MEASure:UPPer 521 :MEASure:VDELta 522 :MEASure:VSTArt 523 :MEASure:VSTOp 524 :PRINt? 525 :TIMebase:DELay 527 :TRIGger:CAN:ACKNowledge 528 :TRIGger:CAN:SIGNal:DEFinition 529 :TRIGger:LIN:SIGNal:DEFinition 530 :TRIGger:THReshold 531 :TRIGger:TV:TVMode 532
6 Error Messages
7 Status Reporting
Status Reporting Data Structures 543
Status Byte Register (STB) 546
Service Request Enable Register (SRE) 548
Trigger Event Register (TER) 549
Output Queue 550
Message Queue 551
(Standard) Event Status Register (ESR) 552
(Standard) Event Status Enable Register (ESE) 553
Error Queue 554
14 Agilent 6000 Series Oscilloscopes Programmer's Reference
Operation Status Event Register (:OPERegister[:EVENt]) 555
Operation Status Condition Register (:OPERegister:CONDition) 556
Arm Event Register (AER) 557
Hardware Event Event Register (:HWERegister[:EVENt]) 558
Hardware Event Condition Register (:HWERegister:CONDition) 559
Clearing Registers and Queues 560
Status Reporting Decision Chart 561
8 More About Oscilloscope Commands
Command Classifications 564
Core Commands 564 Non-Core Commands 564 Obsolete Commands 564
Valid Command/Query Strings 565
Program Message Syntax 565 Command Tree 569 Duplicate Mnemonics 579 Tree Traversal Rules and Multiple Commands 579
Query Return Values 582
All Oscilloscope Commands Are Sequential 583
9 Programming Examples
SICL Example in C 586
VISA Example in C 595
VISA Example in Visual Basic 604
VISA COM Example in Visual Basic 614
Index
Agilent 6000 Series Oscilloscopes Programmer's Reference 15
16 Agilent 6000 Series Oscilloscopes Programmer's Reference
Agilent 6000 Series Oscilloscopes Programmer's Reference
1 What's New
What's New in Version 4.10 18 What's New in Version 4.00 20 What's New in Version 3.50 22 What's New in Version 3.00 24 Command Differences From 54620/54640 Series Oscilloscopes 26
A
17
1 What's New

What's New in Version 4.10

New features in version 4.10 of the 6000 Series oscilloscope software are:
The ability to trigger on and decode FlexRay serial bus data using a
Decomsys BusDoctor 2 protocol analyzer with a four-channel mixed-signal oscilloscope that includes the Option FRS license.
The square root waveform math function.
Several new hardcopy printer drivers.
More detailed descriptions of the new and changed commands appear below.
New Commands
Command Description
:SBUS:BUSDoctor:ADDRess (see page 294) Sets/queries the four fields in the BusDoctor
:SBUS:BUSDoctor:BAUDrate (see page 295) Sets/queries the baud rate for the BusDosctor
LAN IP Address.
from 2.5 Mb/s to 10 Mb/s.
:SBUS:BUSDoctor:CHANnel (see page 296) Sets/queries the FlexRay channel that the
BusDoctor analyzes/preprocesses.
:SBUS:BUSDoctor:MODE (see page 297) Sets/queries the operating mode of the
:SBUS:FLEXray:COUNt:NULL? (see page 304) Returns the FlexRay null frame count.
:SBUS:FLEXray:COUNt:RESet (see page 305) Resets the FlexRay frame counters.
:SBUS:FLEXray:COUNt:SYNC? (see page 306) Returns the FlexRay sync frame count.
:SBUS:FLEXray:COUNt:TOTal? (see page 307) Returns the FlexRay total frame count.
:TRIGger:FLEXray:ERRor:TYPE (see page 371) Sets/queries the FlexRay error type to trigger
:TRIGger:FLEXray:FRAMe:CCBase (see
page 373)
:TRIGger:FLEXray:FRAMe:CCRepetition (see
page 374)
:TRIGger:FLEXray:FRAMe:ID (see page 375) Sets/queries the FlexRay frame ID to trigger
:TRIGger:FLEXray:FRAMe:TYPE (see page 376) Sets/queries the FlexRay frame type to trigger
BusDoctor.
on.
Sets/queries the base of the FlexRay cycle count (in the frame header) to trigger on.
Sets/queries the repetition number of the FlexRay cycle count (in the frame header) to trigger on.
on.
on.
:TRIGger:FLEXray:TIME:CBASe (see page 377) Sets/queries the base of the FlexRay cycle to
trigger on.
:TRIGger:FLEXray:TIME:CREPetition (see
page 378)
18 Agilent 6000 Series Oscilloscopes Programmer's Reference
Sets/queries the repetition number of the FlexRay cycle to trigger on.
Command Description
What's New 1
Changed
Commands
:TRIGger:FLEXray:TIME:SEGMent (see
page 379)
:TRIGger:FLEXray:TIME:SLOT (see page 380) Sets/queries the FlexRay slot type and ID.
:TRIGger:FLEXray:TRIGger (see page 381) Sets/queries the FlexRay trigger mode..
Command Differences
:FUNCtion:OPERation (see page 217) You can now select the SQRT (square root)
:SBUS:MODE (see page 310) You can now select the FLEXray serial bus
:TRIGger:MODE (see page 338) You can now select the FLEXray trigger mode.
:HARDcopy:PDRiver (see page 231) You can now select the new DJPR0kx50,
Sets/queries the FlexRay segment type.
waveform math function.
decode mode.
DJ55xx, PS470, and LJFastraster printer drivers.
Agilent 6000 Series Oscilloscopes Programmer's Reference 19
1 What's New

What's New in Version 4.00

New features in version 4.00 of the 6000 Series oscilloscope software are:
The ability to :AUToscale selected channels only and specify the
acquisition type and mode that is set after an :AUToscale.
The :BUS command subsystem for controlling up to two buses made up
of digital channels.
Additional :CALibrate commands for starting the user calibration
procedure, displaying the status of the last user calibration, and displaying the temperature change since the last user calibration.
More detailed descriptions of the new and changed commands appear below.
New Commands
Command Description
:AUToscale:AMODE (see page 107) Specifies whether to keep the current
acquisition type and mode after subsequent autoscales.
:AUToscale:CHANnels (see page 108) Specifies whether to autoscale the currently
displayed channels or all channels.
:BUS<n>:BIT<m> (see page 152) Includes or excludes the selected bit in a bus
:BUS<n>:BITS (see page 153) Includes or excludes a list of bits in a bus
:BUS<n>:CLEar (see page 155) Excludes all digital channels from a bus
:BUS<n>:DISPlay (see page 156) Displays or hides the bus on the oscilloscope
:BUS<n>:LABel (see page 157) Assigns a label string to a bus.
:BUS<n>:MASK (see page 158) Includes or excludes bits in a bus definition
:CALibrate:STARt (see page 162) Starts the user calibration procedure.
:CALibrate:STATus? (see page 163) Displays the summary results of the last user
:CALibrate:TEMPerature? (see page 165) Displays the change in temperature since the
definition.
definition.
definition
display.
according to a mask.
calibration procedure.
last user calibration procedure.
20 Agilent 6000 Series Oscilloscopes Programmer's Reference
Changed
Commands
What's New 1
Command Differences
:AUToscale (see page 105) You can now specify which channels to
autoscale.
:BLANk (see page 109) Now, you can also use this command with
digital channel buses.
:DIGitize (see page 111) Now, you can also use this command with
digital channel buses.
:STATus (see page 134) Now, you can also use this command with
digital channel buses.
:VIEW (see page 137) Now, you can also use this command with
digital channel buses.
:WAVeform:SOURce (see page 456) Now, you can also use this command with
digital channel buses.
Agilent 6000 Series Oscilloscopes Programmer's Reference 21
1 What's New

What's New in Version 3.50

New features in version 3.50 of the 6000 Series oscilloscope software are:
The CAN and LIN options have been added to the :SBUS:MODE (serial
decode mode) command.
The :SBUS:CAN:COUNt commands have been added to count CAN bus
frames, count load utilization, and reset the counters.
The ALLerrors, OVERload, and ACKerror options have been added to
the :TRIGger:CAN:TRIGger command.
The :TRIGger:LIN:ID, :TRIGger:LIN:SAMPlepoint, :TRIGger:LIN:STANdard,
and :TRIGger:LIN:SYNCbreak commands have been added.
The :SBUS:LIN:PARity command has been added.
The ID (for Frame Id) option has been added to the
:TRIGger:LIN:TRIGger command.
The :HWERegister:CONDition, :HWERegister[:EVENt], and :HWE
commands for the hardware event condition, event, and enable registers have been added.
New Commands
More detailed descriptions of the new and changed commands appear below.
Command Description
:SBUS:CAN:COUNt:ERRor? (see page 298) Returns the CAN bus error frame count.
:SBUS:CAN:COUNt:OVERload? (see page 298) Returns the CAN bus overload frame count.
:SBUS:CAN:COUNt:RESet (see page 298) Resets the CAN bus counters.
:SBUS:CAN:COUNt:TOTal? (see page 298) Returns the CAN bus total frame count.
:SBUS:CAN:COUNt:UTILization? (see page 298) Returns a percentage showing CAN bus
utilization.
:SBUS:IIC:ASIZe (see page 308) Determines whether the Read/Write bit is
included as the LSB in the display of the IIC address field of the decode bus.
:SBUS:LIN:PARity (see page 309) Determines whether the parity bits are
included as the most significant bits (MSB) in the display of the Frame Id field in the LIN decode bus.
:TRIGger:LIN:ID (see page 401) Defines the LIN identifier searched for in each
CAN message when the LIN trigger mode is set to frame ID.
22 Agilent 6000 Series Oscilloscopes Programmer's Reference
What's New 1
Command Description
:TRIGger:LIN:SAMPlepoint (see page 402) Sets the point during the bit time where the bit
level is sampled to determine whether the bit is dominant or recessive. The sample point represents the percentage of time between the beginning of the bit time to the end of the bit time.
:TRIGger:LIN:STANdard (see page 405) Sets the LIN standard in effect for triggering
and decoding to be LIN1.3 or LIN2.0.
:TRIGger:LIN:SYNCbreak (see page 406) Sets the length of the LIN sync break to be
greater than or equal to 11,12, or 13 clock lengths. The sync break is the idle period in the bus activity at the beginning of each packet that distinguishes one information packet from the previous one.
:HWEenable (see page 113) Sets or reads the hardware event enable mask
register.
Changed
Commands
Obsolete
Commands
:HWERegister:CONDition? (see page 115) Queries the hardware event condition register.
:HWERegister[:EVENt]? (see page 117) Queries the hardware event event register.
Command Differences
:SBUS:MODE (see page 310) The CAN and LIN serial bus decode modes
have been added.
:TRIGger:CAN:TRIGger (see page 352) The ALLerrors, OVERload, and ACKerror
options have been added.
:TRIGger:LIN:TRIGger (see page 407) The ID (for Frame Id) option has been added.
Obsolete Command Current Command Equivalent Behavior Differences
:TRIGger:CAN:SIGNal:DEFiniti on (see page 529)
:TRIGger:LIN:SIGNal:DEFinitio n (see page 530)
none
none
Agilent 6000 Series Oscilloscopes Programmer's Reference 23
1 What's New

What's New in Version 3.00

New features in version 3.00 of the 6000 Series oscilloscope software are:
The :SBUS command subsystem for controlling serial decode bus
display, mode, and other options.
The EBURst trigger mode and supporting :TRIGger:EBURst commands.
The :ACQuire:AALias and :ACQuire:DAALias commands.
The :WAVeform:POINts:MODE command.
The :MEASure:SDEViation command.
The :TIMebase:REFClock command.
Changes to the :TRIGger:IIC commands.
Changes to the :TRIGger:SEQuence:TRIGger command.
Changes to the :ACQuire:TYPE and :WAVeform:TYPE commands to add
HRESolution type.
New Commands
Changes to the :BLANk, :DIGitize, :STATus, :VIEW, and
:WAVeform:SOURce commands to include the serial decode bus.
Changes to the :HARDcopy:FORMat command to support the PNG,
ASCiixy, and BINary format types.
Changes to the :DISPlay:DATA? query and the :PRINt command to
support the PNG format.
Changes to the :WAVeform:POINts command to set from 2000 to
8,000,000 points (in 1-2-5 sequence) when the waveform points mode is MAXimum or RAW.
More detailed descriptions of the new and changed commands appear below.
Command Description
:ACQuire:AALias? (see page 140) Returns the current state of the oscilloscope's
anti-alias control.
:ACQuire:DAALias (see page 143) Sets the oscilloscope's disable anti-alias mode.
:MEASure:SDEViation (see page 268) Measures the std deviation of a waveform.
:SBUS:DISPlay (see page 303) Controls the decoded serial bus display.
:SBUS:MODE (see page 310) Determines the decode mode for the serial bus.
:SBUS:SPI:WIDTh (see page 311) Determines the number of bits in a word of
decoded data for SPI.
:TIMebase:REFClock (see page 325) Enables or disables the 10 MHz REF BNC
input/output.
24 Agilent 6000 Series Oscilloscopes Programmer's Reference
Changed
Commands
What's New 1
Command Description
:TRIGger:EBURst:COUNt (see page 361) Sets the Nth edge of burst edge counter
resource.
:TRIGger:EBURst:IDLE (see page 362) Sets the Nth edge in a burst idle resource.
:TRIGger:EBURst:SLOPe (see page 361) Specifies whether the rising edge (POSitive) or
falling edge (NEGative) of the Nth edge in a burst will generate a trigger.
:TRIGger:IIC:PATTern:DATa2 (see page 394)Sets IIC data 2.
:WAVeform:POINts:MODE (see page 451) Sets the waveform points mode.
Command Differences
:ACQuire:TYPE (see page 148) The HRESolution type has been added for
smoothing at slower sweep speeds.
:BLANk (see page 109) Now, you can also use this command with the
serial decode bus.
:DIGitize (see page 111) Now, you can also use this command with the
serial decode bus.
:DISPlay:DATA (see page 196) Now, the PNG format is supported in the query.
:HARDcopy:FORMat (see page 228) Now, the PNG, ASCiixy, and BINary formats are
also supported.
:PRINt (see page 130) Now, the PNG option is supported
:STATus (see page 134) Now, you can also use this command with the
serial decode bus.
:TRIGger:IIC:TRIGger[:TYPE] (see page 398) The ANACknowledge, R7Data2, and W7Data2
types have been added.
:TRIGger:MODE (see page 338) The EBURst mode has been added.
:TRIGger:SEQuence:TRIGger (see page 415) The EDGE2,COUNt,NREFind (no re-find) option
has been added.
:VIEW (see page 137) Now, you can now use this command with the
serial decode bus.
:WAVeform:POINts (see page 449) Now, you can set from 2000 to 8,000,000 points
(in 1-2-5 sequence) when the waveform points mode is MAXimum or RAW.
:WAVeform:SOURce (see page 456) Now, you can also use this command with the
serial decode bus.
:WAVeform:TYPE (see page 460) The HRESolution type has been added for
smoothing at slower sweep speeds.
Agilent 6000 Series Oscilloscopes Programmer's Reference 25
1 What's New

Command Differences From 54620/54640 Series Oscilloscopes

The main differences between the version 1.00 programming command set for the 6000 Series oscilloscopes and the 54620/54640 Series oscilloscopes are related to:
:HARDcopy and :DISPlay command subsystem changes for USB printers
and the high resolution color display.
New standards supported by the :TRIGger:TV commands.
Support for 113xA Series probes.
New "RAW" :WAVeform:POINts option for retrieving raw acquisition
record data.
Discontinuance of the common commands for macros.
More detailed descriptions of the new, changed, obsolete, and discontinued commands appear below.
New Commands
Command Description
:ACQuire:RSIGnal (see page 146) Selects the 10 MHz reference signal mode.
:CHANnel<n>:PROBe:ID? (see page 178) Returns the type of probe attached to the
specified oscilloscope channel.
:CHANnel<n>:PROBe:STYPe (see page 180) Sets the channel probe signal type (STYPe) to
differential or single-ended when using the 113xA Series probes, and determines how offset is applied.
:CHANnel<n>:VERNier (see page 185) Specifies whether the channel's vernier (fine
vertical adjustment) setting is ON (1) or OFF (0).
:DIGital<n>:SIZE (see page 191) Specifies the size of digital channels on the
display.
:EXTernal:PROBe:ID (see page 207) Returns the type of probe attached to the
external trigger input.
:EXTernal:PROBe:STYPe (see page 208) Sets the external trigger probe signal type
(STYPe) to differential or single-ended when using the 113xA Series probes, and determines how offset is applied.
:HARDcopy:FILename (see page 227) Sets the output filename for print formats
whose output is a file. Replaces the 5462x/4x :HARDcopy:DESTination (see page 508) command.
:HARDcopy:PDRiver (see page 231) Sets the hardcopy printer driver.
:HARDcopy:IGColors (see page 229) Specifies whether graticule colors are inverted.
26 Agilent 6000 Series Oscilloscopes Programmer's Reference
Changed
Commands
What's New 1
Command Description
:HARDcopy:PALette (see page 230) Sets the hardcopy palette color. Replaces the
5462x/4x :HARDcopy:GRAYscale (see
page 510) command.
:OPERegister:CONDition? (see page 122) Returns the integer value contained in the
“Operation Status Condition Register" on
page 122 (a new register in addition to the
“Operation Status Event Register" on page 124
whose value is returned by the :OPERegister[:EVENt]? (see page 124) query).
:POD<n>:SIZE (see page 289) Specifies the size of digital channels on the
display.
:TIMebase:VERNier (see page 328) Specifies whether the time base control's
vernier (fine horizontal adjustment) setting is ON (1) or OFF (0).
Command Differences From 5462x/4x Oscilloscopes
:ACQuire:COUNt (see page 142) The count can be set to any value from 1 to
65536 (instead of 16383).
:DISPlay:DATA (see page 196) The BMP8bit <format> option has been added
to the query. There is a new <palette> option which can be MONochrome, GRAYscale, or COLor in the query, or just MONochrome in the command.
:DISPlay:SOURce (see page 201) The number of pixel memory locations is 10
(instead of 3).
:HARDcopy:FORMat (see page 228) There is now the BMP8bit format (instead of
TIFF) and the PRINter0 or PRINter1 formats (in place of LASerjet, DESKjet, EPSon, or SEIKo). See the new :HARDcopy:PDRiver (see
page 231) command for setting the hardcopy
printer driver.
*LRN (see page 85)The Learn Device Setup query return format
matches the IEEE 488.2 specification which says that the query result must contain ":SYST:SET " before the binary block data. (This was not the case in the 5462x/4x oscilloscopes.)
:MERGe (see page 119) The number of pixel memory locations is 10
(instead of 3).
Agilent 6000 Series Oscilloscopes Programmer's Reference 27
1 What's New
Command Differences From 5462x/4x Oscilloscopes
*OPT (see page 87) The Option Identification query return format
now has license information (in addition to the I/O module ID information fields which are now always zero).
:OVLRegister (see page 128) The Overload Event Register is now a 16-bit
register (instead of 8-bit) and it contains bits that identify when faults occur on the oscilloscope channels (in addition to the bits that identify when overloads occur).
:PRINt (see page 130) The options are now: COLor (instead of HIRes),
GRAYscale (instead of LORes), PRINter0 (instead of PARallel), BMP8bit (instead of TIFF). (The PCL option is now invalid.)
*RCL (Recall) (see page 88) The number of instrument state locations is 10
(instead of 3 for the 54620 Series oscilloscopes or 4 for the 54640 Series oscilloscopes).
*SAV (Save) (see page 92) The number of instrument state locations is 10
(instead of 3 for the 54620 Series oscilloscopes or 4 for the 54640 Series oscilloscopes).
*TRG (Trigger) (see page 97) The *TRG has the same effect as the :DIGitize
command with no parameters (instead of the
:TRIGger:TV:MODE (see page 427)The modes have been renamed (however, old
:TRIGger:TV:STANdard (see page 430) The P480L60HZ, P720L60HZ, P1080L24HZ,
:VIEW (see page 137) The number of pixel memory locations is 10
:WAVeform:COUNt? (see page 445) The count can be any value from 1 to 65536
:WAVeform:POINts (see page 449) There is a new RAW "number of points" option
:RUN command).
forms of the mode names are still accepted).
P1080L25HZ, I1080L50HZ, and I1080L60HZ standards are supported (in addition to GENeric, NTSC, PALM, PAL, and SECam).
(instead of 3).
(instead of 16383).
for retrieving the raw acquisition record data. Also the maximum number of points that can be retrieved from the normal measurement record is 1000 (instead of 2000).
:WAVeform:PREamble (see page 453) The xincrement format is 64-bit floating point
NR3 (instead of 32-bit), and the yreference format is 32-bit NR1 (instead of 16-bit).
28 Agilent 6000 Series Oscilloscopes Programmer's Reference
Obsolete
Commands
What's New 1
Command Differences From 5462x/4x Oscilloscopes
:WAVeform:XINCrement (see page 463) The x-increment value from the preamble is
returned in 64-bit (instead of 32-bit) floating point NR3 format.
:WAVeform:YREFerence (see page 468) The y-reference value from the preamble is
returned in 32-bit (instead of 16-bit) NR1 format.
Obsolete Command Current Command Equivalent Behavior Differences
Discontinued
Commands
:HARDcopy:DESTination (see
page 508)
:HARDcopy:GRAYscale (see
page 510)
:PRINt? (see page 525):DISPlay:DATA? (see
Command Description
*DMC Define Macro.
*EMC Enable Macro.
*GMC Get Macro Contents.
*LMC Learn Macro.
*PMC Purge Macro.
:HARDcopy:FILename (see
page 227)
:HARDcopy:PALette (see
page 230)
page 196)
The options are now: COLor (instead of HIRes), GRAYscale (instead of LORes), PRINter0 (instead of PARallel), BMP8bit (instead of TIFF). (The DISK and PCL options are now invalid.)
Agilent 6000 Series Oscilloscopes Programmer's Reference 29
1 What's New
30 Agilent 6000 Series Oscilloscopes Programmer's Reference
Loading...
+ 604 hidden pages