Agilent N8201A Performance Downconverter Synthetic Instrument Module, 3 Hz to 26.
Notices © Agilent Technologies, Inc. 2008 Manual Part Number No part of this manual may be reproduced in any form or by any means (including electronic storage and retrieval or translation into a foreign language) without prior agreement and written consent from Agilent Technologies, Inc. as governed by United States and international copyright laws. N8201-90014 Edition Edition, January 15, 2008 Printed in USA Windows® Agilent Technologies, Inc.
Introducing the N8201A Performance Downconverter The Agilent Technologies N8201A performance downconverter down converts a microwave signal to an IF signal providing IF output frequencies of 7.5, 21.4, and 321.4 MHz to offer three different signal bandwidth capabilities. External mixing can be utilized to down convert microwave signals up to 110 GHz. The N8201A is based upon the industry’s most accurate spectrum analyzer, the PSA Series.
Agilent N8201A Performance Downconverter Synthetic Instrument Module, 3 Hz to 26.
Contents Introducing the N8201A Performance Downconverter List of Commands 3 25 1 Using This Document About the User’s and Programmer’s Information Terms Used in This Book 44 44 2 Amplitude / Y Scale Ref Level 46 Attenuation 47 Scale/Div 49 Scale Type 50 Presel Center 51 Presel Adjust 53 3 - 26 GHz 55 External 55 Y Axis Units 56 dBm 57 dBmV 57 dBmA 57 Volts 58 Watts 58 Amps 58 dBmV 59 dBmA 59 dBmV/m 59 dBmA/m 60 dBpT 60 dBG 60 Ref Lvl Offset 62 Int Preamp (Options 1DS and 110 only) Correcti
Delete All Corrections Ext Amp Gain 69 70 Atten Step 71 Max Mixer Lvl 72 3 Auto Couple Auto All 74 FFT & Sweep 76 Auto: Best Dynamic Range Auto: Best Speed 77 Manual: Swept 77 Manual: FFT 78 FFTs/Span 79 76 PhNoise Opt 81 Auto 81 Optimize £(f) for frequencies < 50 kHz Optimize £(f) for frequencies > 50 kHz Optimize LO for Fast Tuning 82 Detector 82 82 84 Avg/VBW Type ADC Dither 85 86 ADC Ranging 88 Auto Ranging 89 Autorange (Best S/N) 89 Bypass (Best £(f)) 89 4 BW/Avg Res BW 92 Video B
Voltage Avg Span/RBW 102 104 5 Det/Demod Detector Auto Manual Normal 111 Average Peak 106 112 113 Sample 114 Negative Peak Quasi Peak EMI Average 115 116 118 EMI Peak 119 MIL Peak 120 RMS (Remote Command Only) 122 6 Display Full Screen Display Line 124 125 Limits 126 Limit 1 or Limit 2 127 Type (Upper Lower) 127 Limit Display 128 Limit Test 128 Margin (On Off) 129 Edit 130 Delete Limit 132 Freq Interp 133 Amptd Interp 134 X Axis Units 135 Limits (Fixed Rel) 135 Delete All Limits 136 Acti
Bottom 140 Title 141 Change Title 141 Clear Title 141 Preferences 142 Graticule (On Off) 142 7 File File Types 144 Catalog 146 Type 146 Screen 148 Sort 148 Dir Up 149 Dir Select 149 Save 150 Save Now 150 Type 152 Format 153 Source 154 Name 155 Dir Up 155 Dir Select 155 Load 156 Load Now 156 Type 157 Sort 157 Destination 158 Dir Up 159 Dir Select 159 Delete 160 Delete Now 160 Type 161 Sort 161 Dir Up 161 Dir Select 161 Copy 162 Copy Now 162 Type 162 8 Agilent N8201A Performance Downconverter Synthetic
Sort 163 Dir From/To 163 Dir Up 163 Dir Select 163 Rename 164 Rename Now 164 Type 165 Sort 165 Name 165 Dir Up 166 Dir Select 166 Create Dir 167 Create Dir Now Name 167 Dir Up 167 Dir Select 168 Delete All 169 Delete All Now 167 169 Query Trace Data (Remote Command Only) 170 Move Data to a File (Remote Command Only) 171 Set Data Byte Order (Remote Command Only) 172 Format Numeric Data (Remote Command Only) 173 8 Frequency / Channel Center Freq Start Freq 176 177 Stop Freq 178 CF Step 178 Freq O
Amptd Ref RF Coupling 184 185 Input Mixer (Option AYZ only) 186 Ext Mix Band (Option AYZ only) 186 18-26.5 GHz (K) 187 26.5-40 GHz (A) 187 33-50 GHz (Q) 187 40-60 GHz (U) 188 50-75 GHz (V) 188 60-90 GHz (E) 188 75-110 GHz (W) 188 90-140 GHz (F) 189 110-170 GHz (D) 189 140-220 GHz (G) 189 170-260 GHz (Y) 189 220-325 GHz (J) 190 User 190 Signal ID (Option AYZ only) 191 Signal ID Mode 192 Mixer Config 193 321.
Off 211 Marker Trace 212 Readout 213 Frequency 213 Period 214 Time 214 Inverse Time 214 Marker Table 216 Marker All Off 217 12 Marker Fctn Select Marker 220 Marker Noise 221 Band/Intvl Power Function Off 223 224 Marker Count Gate Time 225 226 13 Meas Control Restart Measure 228 229 Pause or Resume 230 Trigger a Sweep or Measurement (Remote Command Only) Abort the Sweep or Measurement (Remote Command Only) 231 232 14 Measure (Spectrum Analysis Mode) Command Interactions: MEASure, CONFi
Test Current Results Against all Limits (Remote Command Only) Meas Off 237 238 Channel Power 239 Occupied BW 242 Adjacent Channel Power—ACP Multi-Carrier Power Power Stat CCDF 248 250 Harmonic Distortion Burst Power 244 253 256 Intermod (TOI) 259 Spurious Emissions 260 Spectrum Emission Mask 261 15 Measurement Setup Meas Setup (Channel Power—CHP) Avg Number 271 Avg Mode 272 Integ BW 273 Chan Pwr Span 274 Optimize Ref Level RRC Filter Filter Alpha 270 275 276 277 Meas Setup (Oc
Avg Mode 289 Chan Integ BW 290 Offset/Limits 291 Offset Freq 291 Ref BW 293 Pos Offset Limit 294 Neg Offset Limit 294 Meas Type 296 Total Pwr Ref 296 PSD Ref 296 Optimize Ref Level 297 Method 298 IBW 298 RBW 298 Fast 299 Total Pwr Ref 301 PSD Ref 301 Limit Test 303 RRC Filter 304 Filter Alpha 305 Noise Correction 306 Meas Setup (Multi-Carrier Power—MCP) Avg Number Avg Mode 307 308 309 Carrier Setup 310 Carriers 310 Ref Carrier 310 Ref Carrier Freq 311 Carrier Width 314 Carrier IntegBW 315 O
Lower Offset Limit Carrier Result 319 Optimize Ref Level Method 318 320 321 Power Ref 322 Limit Test 323 RRC Filter 324 Filter Alpha 325 Noise Correction 326 Meas Setup (Power Stat Complementary Cumulative Distribution Function—CCDF) Meas BW Counts 328 329 Meas Interval 330 Optimize Ref Level 331 Meas Setup (Harmonic Distortion) Avg Number 333 Avg Mode 334 Harmonics 335 ST/Harmonic 332 336 Range Table (On/Off) 337 Range Table 338 Range 339 Center Freq 340 Span 340 Res BW 341
Auto Fill Range Table Optimize Ref Level 343 344 Meas Setup (Burst Power) Avg Number 346 Avg Mode 347 Average Type 348 Threshold Lvl 349 Meas Method 350 Burst Width 351 Optimize Ref Level 352 Meas Setup (Intermod (TOI)) Avg Number Avg Mode TOI Span 345 353 354 355 356 Max Mixer Lvl 357 Optimize Ref Level 358 Meas Setup (Spurious Emissions) Avg Number Avg Mode 359 360 361 Range Table 362 Range 363 Start Freq 364 Stop Freq 364 Res BW 365 Video BW 365 Sweep Time 366 Abs Start Limit
Points Meas Type Spur 375 376 378 Ref Level 379 Fast Spurious Meas 380 Meas Setup (Spectrum Emissions Mask—SEM) Avg Number 381 382 Meas Type 383 Total Pwr Ref 383 PSD Ref 383 Ref Channel 384 Chan Span 384 Sweep Time 385 Res BW 385 Offset/Limits 388 Offset 389 Start Freq 390 Stop Freq 390 Sweep Time 391 Res BW 392 Meas BW 393 Abs Start 394 Abs Stop 395 Rel Start 396 Rel Stop 396 16 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 3 Hz to 26.
Fail Mask 397 Optimize Ref Level RRC Filter Filter Alpha 401 402 403 16 MODE Spectrum Analysis 407 Application Mode Number Selection (Remote command only) Remote Command Notes: 408 Application Mode Catalog Query (Remote command only) 408 409 17 Mode Setup (Spectrum Analysis Mode) Radio Std 412 None 412 IS-95A 412 J-STD-008 413 IS-95C 413 GSM/EDGE 414 3GPP W-CDMA 414 cdma2000 MC-1X 414 cdma2000 MC-3X 415 cdma2000 DS 415 NADC 416 PDC 416 Bluetooth™ 417 TETRA 417 FCC Part 15 Subpart F 417 WLAN 418 DV
UWB 421 Radio Std Setup 423 Signal BW 423 Retain Params 424 Enable All Measurements 425 Autorange of Power Setting (Remote command only) 426 Application Mode Number Selection (Remote command only) Remote Command Notes: 427 Application Mode Catalog Query (Remote command only) 427 428 18 Peak Search Next Peak 430 Next Pk Right Next Pk Left 431 432 Min Search 433 Pk-Pk Search Mkr->CF 434 435 Continuous Pk 436 Search Param 437 Peak Excursn 437 Pk Threshold 438 Peak Search 439 18 Agilent
Preset User Preset 443 Mode Preset *RST 444 445 Factory Preset 446 Save User Preset 447 20 Restart 21 Single 22 Span / X Scale Span 454 Span Zoom Full Span 455 456 Zero Span 457 Last Span 458 23 Sweep Sweep Time Sweep 460 462 Auto Sweep Time Gate 464 465 Gate Setup 467 Gate View 467 Polarity 468 Delay 468 Length 469 Gate Source 469 Points 472 24 System Show Errors 474 Verbose SCPI On Off 475 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 3 Hz to 26.
Clear Error Queue 476 Power On/Preset 477 Power On 477 Preset Type 478 Save User Preset 480 Time/Date 481 Time/Date 481 Date Format 481 Set Time 482 Adjust Time Setting (Remote Command Only) Set Date 483 482 Alignments 484 Auto Align 484 Align All Now 485 Frequency Corrections (Remote Command Only) 486 Align Subsys 486 Restore Align Defaults 489 Select Time Corrections (Remote Command Only) 489 Config I/O 491 Reference 492 Freq Ref 492 10 MHz Out 493 Show System 494 Show Hdwr 494 Color Palette 495 Def
Show License 501 Install an Application Mode (Remote command only) Personality 501 502 Security 503 Secure Erase All 503 Secure Erase User 503 Security 504 Managing Security 506 Secure Erase All Function 506 Preliminary Procedure (Non-secure Area) 506 Backing-up Configuration and Option License Keys to a PC (Non-secure Area) Security Clearing Procedure (Secure Area) 507 Re-installation of Firmware Procedure (Non-secure Area) 507 Service 508 Keyboard Lock (Remote Command Only) 508 Remote Message 508 Remot
Trace Mean (Remote Command Only) 522 Normalize 523 Store Ref (1 -> 3) 523 Normalize On/Off 523 Norm Ref Lvl 524 Norm Ref Posn 525 Ref Trace (Trace 3) 525 26 Trig Free Run Video Line 528 529 530 Trigger In 531 Ext Rear (Trigger In) RF Burst (Wideband) Trig Slope 534 Trig Delay 535 532 533 Trig Offset (Remote Command Only) 536 27 Using the STATus System Status System Commands 538 Using the Status Registers 541 What Status Registers Are 541 How to Use the Status Registers 542 Using a Status Re
Instrument State Query 556 Operation Complete 556 Query Instrument Options 557 Power-On Status Clear 557 Recall 558 Reset 558 Save 558 Service Request Enable 559 Read Status Byte Query 559 Trigger 559 Self Test Query 560 Wait-to-Continue 560 STATus Subsystem 561 Operation Register 561 Questionable Register 563 Questionable Calibration Register 564 Questionable Calibration Extended Needed Register 566 Questionable Calibration Extended Failure Register 568 Questionable Frequency Register 569 Questionable Inte
Using an Option Mode: Avoid using RFBurst trigger for single burst signals 591 Using an Option Mode: When making power measurements on multiple bursts or slots, use CALCulate:DATA:COMPress? 592 Programming Command Compatibility Across Modes Command Subsystem 594 Specific Command Differences 595 594 Using the LAN to Control the Instrument 597 The Standard UNIX FTP Command: 597 Using Telnet to Send Commands 598 Using SICL LAN to Control the Instrument 604 Using HP/Agilent VEE Over Socket LAN 609 Common P
1 List of Commands *CAL? “Calibration Query" on page 555 *CLS “Clear Status" on page 555 *ESE, *ESE? “Standard Event Status Enable" on page 555 *ESR? “Standard Event Status Register Query" on page 556 *IDN? “Identification Query" on page 556 *LRN? “Instrument State Query" on page 556 *OPC, *OPC? “Operation Complete" on page 556 *OPT? “Query Instrument Options" on page 557 *PSC, *PSC? “Power-On Status Clear" on page 557 *RCL “Recall" on page 558 *RST “Reset" on page 558 *SAV “Save" on page 558 *SRE, *SRE? “
1 :CALCulate:LLINe[1]|2:DATA:MERGe , , {,,,} “Limits" on page 126 :CALCulate:LLINe[1]|2:DATA? “Limits" on page 126 :CALCulate:LLINe[1]|2:DELete “Delete Limit" on page 132 :CALCulate:LLINe[1]|2:DISPlay OFF|ON|0|1 “Limit Display" on page 128 :CALCulate:LLINe[1]|2:DISPlay? “Limit Display" on page 128 :CALCulate:LLINe[1]|2:FAIL? “Limit Test" on page 128 :CALCulate:LLINe[1]|2:MARGin “Margin (On Off)" on page 129 :CALCulate:LLINe[1]|2:MARGin:STATe OFF|
1 :CALCulate:MARKer[1]|2|3|4:FUNCtion? “Marker Fctn" on page 219 :CALCulate:MARKer[1]|2|3|4:MAXimum “Peak Search" on page 429 :CALCulate:MARKer[1]|2|3|4:MAXimum:LEFT “Next Pk Left" on page 432 :CALCulate:MARKer[1]|2|3|4:MAXimum:NEXT “Next Peak" on page 430 :CALCulate:MARKer[1]|2|3|4:MAXimum:RIGHt “Next Pk Right" on page 431 :CALCulate:MARKer[1]|2|3|4:MINimum “Min Search" on page 433 :CALCulate:MARKer[1]|2|3|4:MODE POSition|DELTa|BAND|SPAN|OFF “Marker Units" on page 203 :CALCulate:MARKer[1]|2|3|4:MODE? “Mar
1 :CALCulate:MARKer[1]|2|3|4:X:POSition:STOP “Delta Pair" on page 207 :CALCulate:MARKer[1]|2|3|4:X:POSition:STOP? “Delta Pair" on page 207 :CALCulate:MARKer[1]|2|3|4:X:READout FREQuency|TIME|ITIMe|PERiod “Readout" on page 213 :CALCulate:MARKer[1]|2|3|4:X:READout? “Readout" on page 213 :CALCulate:MARKer[1]|2|3|4:X:SPAN “Span Pair" on page 209 :CALCulate:MARKer[1]|2|3|4:X:SPAN? “Span Pair" on page 209 :CALCulate:MARKer[1]|2|3|4:X:STARt “Delta Pair" on page 207 :CALCulate:MARKer[1]|2
1 :CALibration:FREQuency[:STATe]? “Frequency Corrections (Remote Command Only)" on page 486 :CALibration:GAIN:ADIGitizer “Align Audio Digitizer Gain" on page 488 :CALibration:GAIN:ADIGitizer? “Align Audio Digitizer Gain" on page 488 :CALibration:GAIN:CSYStem “Align Current SysGain" on page 488 :CALibration:GAIN:CSYStem? “Align Current SysGain" on page 488 :CALibration:IF “Align IF" on page 487 :CALibration:IF? “Align IF" on page 487 :CALibration:RF “Align RF" on page 486 :CALibration:RF? “Align RF" on page
1 :DISPlay:WINDow[1]:TRACe:Y:[SCALe]:RLEVel:OFFSet? “Ref Lvl Offset" on page 62 :DISPlay:WINDow[1]:TRACe:Y:[SCALe]:SPACing LINear|LOGarithmic “Scale Type" on page 50 :DISPlay:WINDow[1]:TRACe:Y:[SCALe]:SPACing? “Scale Type" on page 50 :FORMat:BORDer NORMal|SWAPped “Set Data Byte Order (Remote Command Only)" on page 172 :FORMat:BORDer? “Set Data Byte Order (Remote Command Only)" on page 172 :FORMat[:TRACe][:DATA] ASCii|INTeger,32|REAL,32|REAL,64 “Format Numeric Data (Remote Command Only)" on page 173 :FORMat
1 :MMEMory:LOAD:LIMit LLINE1|LLINE2,<‘file_name’> “Load Now" on page 156 :MMEMory:LOAD:STATe 1,<‘file_name’> “Load Now" on page 156 :MMEMory:LOAD:TRACe
1 :STATus:QUEStionable:CALibration:EXTended:FAILure:NTRansition? “Questionable Calibration Extended Failure Negative Transition" on page 569 :STATus:QUEStionable:CALibration:EXTended:FAILure:PTRansition “Questionable Calibration Extended Failure Positive Transition" on page 569 :STATus:QUEStionable:CALibration:EXTended:FAILure:PTRansition? “Questionable Calibration Extended Failure Positive Transition" on page 569 :STATus:QUEStionable:CALibration:EXTended:FAILure[:EVENt]? “Questionable Calibration
1 :STATus:QUEStionable:FREQuency:ENABle “Questionable Frequency Enable" on page 570 :STATus:QUEStionable:FREQuency:ENABle? “Questionable Frequency Enable" on page 570 :STATus:QUEStionable:FREQuency:NTRansition “Questionable Frequency Negative Transition" on page 570 :STATus:QUEStionable:FREQuency:NTRansition? “Questionable Frequency Negative Transition" on page 570 :STATus:QUEStionable:FREQuency:PTRansition “Questionable Frequency Positive Transition" on page 570 :STATus:QUEStion
1 :STATus:QUEStionable:INTegrity:UNCalibrated:CONDition? “Questionable Integrity Uncalibrated Condition" on page 574 :STATus:QUEStionable:INTegrity:UNCalibrated:ENABle “Questionable Integrity Uncalibrated Enable" on page 574 :STATus:QUEStionable:INTegrity:UNCalibrated:ENABle? “Questionable Integrity Uncalibrated Enable" on page 574 :STATus:QUEStionable:INTegrity:UNCalibrated:NTRansition “Questionable Integrity Uncalibrated Enable" on page 574 :STATus:QUEStionable:INTegrity:UNCalibrated:NTRansition
1 :STATus:QUEStionable:TEMPerature:NTRansition “Questionable Temperature Negative Transition" on page 578 :STATus:QUEStionable:TEMPerature:NTRansition? “Questionable Temperature Negative Transition" on page 578 :STATus:QUEStionable:TEMPerature:PTRansition “Questionable Temperature Positive Transition" on page 578 :STATus:QUEStionable:TEMPerature:PTRansition? “Questionable Temperature Positive Transition" on page 578 :STATus:QUEStionable:TEMPerature[:EVENt]? “Questionable Temperature Event
1 :SYSTem:PRESet:TYPE? “Preset Type" on page 478 :SYSTem:PRESet[:USER]:SAVE “Save User Preset" on page 480 :SYSTem:SECurity:CLEAr “Secure Erase All" on page 503 :SYSTem:SECurity:ENABle ON|OFF “Security" on page 504 :SYSTem:SECurity:ENABle “Security" on page 504 :SYSTem:SECurity:IMMediate “Secure Erase User" on page 503 :SYSTem:TIME ,, “Set Time" on page 482 :SYSTem:TIME:ADJust “Adjust Time Setting (Remote Command Only)" on page 482 :SYSTem:TIME? “Set Time" on page 482 :SYSTe
1 :TRIGger[:SEQuence]:OFFSet
1 [:SENSe]:BANDwidth|BWIDth:VIDeo “Video BW" on page 94 [:SENSe]:BANDwidth|BWIDth:VIDeo:AUTO OFF|ON|0|1 “Video BW" on page 94 [:SENSe]:BANDwidth|BWIDth:VIDeo:AUTO? “Video BW" on page 94 [:SENSe]:BANDwidth|BWIDth:VIDeo:RATio “VBW/RBW" on page 96 [:SENSe]:BANDwidth|BWIDth:VIDeo:RATio:AUTO OFF|ON|0|1 “VBW/RBW" on page 96 [:SENSe]:BANDwidth|BWIDth:VIDeo:RATio:AUTO? “VBW/RBW" on page 96 [:SENSe]:BANDwidth|BWIDth:VIDeo:RATio? “VBW/RBW" on page 96 [:SENSe]:BANDwidth|BWIDth:VIDeo? “Video BW" on pag
1 [:SENSe]:FEED? “Input Port" on page 184 [:SENSe]:FREQuency:CENTer |UP|DOWN “Center Freq" on page 176 [:SENSe]:FREQuency:CENTer:STEP:AUTO OFF|ON|0|1 “CF Step" on page 178 [:SENSe]:FREQuency:CENTer:STEP:AUTO? “CF Step" on page 178 [:SENSe]:FREQuency:CENTer:STEP[:INCRement] “CF Step" on page 178 [:SENSe]:FREQuency:CENTer:STEP[:INCRement]? “CF Step" on page 178 [:SENSe]:FREQuency:CENTer? “Center Freq" on page 176 [:SENSe]:FREQuency:OFFSet “Freq Offset" on page 180 [:SENSe]:FREQuency:
1 [:SENSE]:MIXer:BIAS “Mixer Bias" on page 194 [:SENSE]:MIXer:BIAS:STATe OFF|ON|0|1 “Mixer Bias" on page 194 [:SENSE]:MIXer:BIAS:STATe? “Mixer Bias" on page 194 [:SENSE]:MIXer:BIAS? “Mixer Bias" on page 194 [:SENSe]:MIXer:HARMonic “Harmonic" on page 193 [:SENSe]:MIXer:HARMonic:AUTO OFF|ON|0|1 or “Harmonic" on page 193 [:SENSe]:MIXer:HARMonic:AUTO? “Harmonic" on page 193 [:SENSe]:MIXer:HARMonic? “Harmonic" on page 193 [:SENSe]:POWer[:RF]:ATTenuation “Attenuation" on
1 [:SENSe]:ROSCillator:OUTPut[:STATe] OFF|ON|0|1 “10 MHz Out" on page 493 [:SENSe]:ROSCillator:OUTPut[:STATe]? “10 MHz Out" on page 493 [:SENSe]:ROSCillator:SOURce INTernal|EXTernal “Freq Ref" on page 492 [:SENSe]:ROSCillator:SOURce? “Freq Ref" on page 492 [:SENSe]:SIDentify:[STATe]? “Signal ID (Option AYZ only)" on page 191 [:SENSe]:SIDentify:MODE ISUPpress|ISHift “Signal ID Mode" on page 192 [:SENSe]:SIDentify:MODE? “Signal ID Mode" on page 192 [:SENSe]:SIDentify[:STATe] OFF|ON|0|1 “Signal ID (Option AYZ
1 [:SENSe]:SWEep:TIME:AUTO:RULes NORMal|ACCuracy “Auto Sweep Time" on page 464 [:SENSe]:SWEep:TIME:AUTO:RULes? “Auto Sweep Time" on page 464 [:SENSe]:SWEep:TIME:AUTO? “Auto Sweep Time" on page 464 [:SENSe]:SWEep:TIME? “Sweep Time" on page 460 [:SENSe]:SWEep:TYPE AUTO|FFT|SWEep “FFT & Sweep" on page 76 [:SENSe]:SWEep:TYPE:AUTO:RULes SPEed|DRANge “Auto: Best Speed" on page 77 [:SENSe]:SWEep:TYPE:AUTO:RULes? “Auto: Best Speed" on page 77 [:SENSe]:SWEep:TYPE? “FFT & Sweep" on page 76 42 Agilent N8211A/N8212A
User’s and SCPI Programming Guide 1 Using This Document This book provides the user and programming information for the core Agilent Technologies N8201A performance downconverter functions.
1 Using This Document About the User’s and Programmer’s Information Instrument Functions - provides information about the Spectrum Analyzer Virtual Front Panel and lower-level key functions of your N8201A and their associated programming commands. This information is organized alphabetically. Programming Fundamentals - provides information on SCPI and C programming language basics, and on using LAN.
User’s and SCPI Programming Guide 2 Amplitude / Y Scale Activates the Reference Level function and displays the Amplitude menu keys. These functions control how data on the vertical (Y) axis is displayed and corrected, and control instrument settings that affect the vertical axis.
2 Amplitude / Y Scale Ref Level Adjusts the absolute amplitude represented by the top graticule line on the display (the reference level). Ref in the upper left corner of the display, indicates the current value. The Amplitude, Y Axis Units setting determines the Reference Level units. Key Path: AMPLITUDE / Y Scale Dependencies/Couplings: If you reduce the Attenuation setting, the N8201A may have to lower the Reference Level to maintain the proper level at the top of the screen.
2 Amplitude / Y Scale Attenuation Allows you to adjust the input attenuation. Press Atten Step to set the attenuation step so that attenuation will change in 2 dB or 10 dB increments. The N8201A input attenuator reduces the power level of the input signal delivered to the input mixer. If set manually, the attenuator is recoupled when Attenuation (Auto) is selected. Attenuation is coupled to Reference Level, so adjusting the Reference Level may change the Attenuation.
2 Amplitude / Y Scale Example: POW:ATT 30 POW:ATT? POW:ATT:AUTO ON POW:ATT:AUTO? 48 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Amplitude / Y Scale 2 Scale/Div Sets the units per vertical graticule division on the display. This function is only available when Scale Type (Log) is selected and the vertical scale is power, or Demod View is on and the vertical scale is hertz. When Scale Type (Lin) is selected, Scale/Div is unavailable.
2 Amplitude / Y Scale Scale Type Allows you to choose a linear or logarithmic vertical scale for the display and for remote data readout. The scale type for display and remote data readout may be different from the scale used for averaging processes. For information on the scale used for the averaging process, see “Avg/VBW Type" on page 85. When Scale Type (Log) is selected, the vertical graticule divisions are scaled in logarithmic units.
2 Amplitude / Y Scale Presel Center Adjusts the centering of the preselector filter to optimize the amplitude accuracy at the frequency of the active marker. If no marker is on when Presel Center is pressed, the N8201A turns on the currently selected marker and does a peak search. If a marker is already on, it should be placed on the peak of interest before pressing Presel Center. The microwave preselector is used for frequencies from 2.85/3.05 GHz (depending on frequency band) to 26.8 GHz.
2 Amplitude / Y Scale • the gated sweep function is on (Sweep, Gate On.) Remote Command: [:SENSe]:POWer[:RF]:PCENter Remote Command Notes: If this command is sent in a non-preselected band, or if the active marker is less than 3 GHz, an error message is sent. Example: POW:PCEN 52 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Amplitude / Y Scale 2 Presel Adjust Allows you to manually adjust the preselector filter center frequency to optimize its response on the signal of interest. This function is not available in frequency band 0. It is for signals ≥2.85 GHz in band 1 and higher. It is not available if the preselector is turned off. The key also accesses the menu to choose the desired preselector. For general purpose signal analysis, using Presel Center is recommended.
2 Amplitude / Y Scale Key Path: AMPLITUDE / Y Scale Dependencies/Couplings: This function is not available (grayed out) if: • the preselector is off. (See “Microwave Preselector (Option 123 Only)" on page 197.) • external mixing is selected and Mixer Type is unpreselected. • the frequency range is entirely within band 0 (0 Hz to ~3.05 GHz). • the gated sweep function is on (Sweep, Gate On.) State Saved: Saved in Instrument State Factory Preset: Range: 3 - 26 GHz, 0.
Amplitude / Y Scale 2 [:SENSe]:POWer[:RF]:PADJust:PRESelector MWAVe|MMWave|EXTernal [:SENSe]:POWer[:RF]:PADJust:PRESelector? Example: POW:PADJ:PRES EXT POW:PADJ 100 KHZ 3 - 26 GHz Selects the preselector for the N8201As microwave frequency bands. Key Path: AMPLITUDE / Y Scale, Presel Adjust Dependencies/Couplings: This function is not available (grayed out) if: • the microwave preselector is bypassed (see See “Microwave Preselector (Option 123 Only)" on page 197.) Error 229 is sent.
2 Amplitude / Y Scale Y Axis Units Displays the menu keys that enable you to change the vertical (Y) axis amplitude units. The N8201A retains the entered Y Axis Units separately for both Log and Lin amplitude scale types. For example, if Scale Type has been set to Log, and you set Y Axis Units to dBm, pressing Scale Type (Log) sets the Y Axis Units to dBm. If Scale Type has been set to Lin and you set Y Axis Units to Volts, pressing Scale Type (Lin) sets the Y Axis Units to Volts.
Amplitude / Y Scale 2 Example 2, set the following: Scale Type (Lin) Y Axis Units, Volts Ref Level, 100 mV (10 mV/div) This sets the top line to 100 mV and the bottom line to 0 V, so each vertical division represents 10 mV. Thus, if a point on trace 1 is on the fifth graticule line from the top, it represents 50 mV and will read out remotely as 50. Example: UNIT:POW dBmV UNIT:POW? dBm Sets the amplitude units to dBm.
2 Amplitude / Y Scale Key Path: AMPLITUDE / Y Scale, Y Axis Units Remote Command: See“Y Axis Units" on page 56. Example: UNIT:POW DBMA Volts Sets the amplitude units to volts. Key Path: AMPLITUDE / Y Scale, Y Axis Units Remote Command: See“Y Axis Units" on page 56. Example: UNIT:POW V Watts Sets the amplitude units to watts. Key Path: AMPLITUDE / Y Scale, Y Axis Units Remote Command: See“Y Axis Units" on page 56. Example: UNIT:POW W Amps Sets the amplitude units to amps.
Amplitude / Y Scale 2 Example: UNIT:POW A dBμV Sets the amplitude units to dBμV. Key Path: AMPLITUDE / Y Scale, Y Axis Units Remote Command: See“Y Axis Units" on page 56. Example: UNIT:POW DBUV dBμA Sets the amplitude units to dBμA. Key Path: AMPLITUDE / Y Scale, Y Axis Units Remote Command: See“Y Axis Units" on page 56. Example: UNIT:POW DBUA dBμV/m Sets the amplitude units to dBμV/m. This is a unit specifically applicable to EMI field strength measurements.
2 Amplitude / Y Scale Example: UNIT:POW DBUVM dBμA/m Sets the amplitude units to dBμA/m. This is a unit specifically applicable to EMI field strength measurements. In the absence of a correction factor this unit is treated by the instrument exactly as though it were dBmV. You must load an appropriate correction factor using amplitude corrections for this unit to generate meaningful results.
Amplitude / Y Scale 2 amplitude corrections for this unit to generate meaningful results. Therefore, this key is unavailable unless one of the corrections is turned on (in Amplitude, Corrections menu) and Apply Corrections is set to Yes. Key Path: AMPLITUDE / Y Scale, Y Axis Units Remote Command: See“Y Axis Units" on page 56. Example: UNIT:POW DBG Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
2 Amplitude / Y Scale Ref Lvl Offset Adds an offset value to the displayed reference level. The reference level is the absolute amplitude represented by the top graticule line on the display. Reference-level offsets are entered using the keyboard. Offsets are used when a gain or loss occurs between a device under test and the N8201A input. Thus, the signal level measured by the N8201A may be thought of as the level at the input of an external amplitude conversion device.
Amplitude / Y Scale 2 Int Preamp (Options 1DS and 110 only) Turns the internal preamp on and off. Option 1DS preamp functions over a frequency range of 100 kHz to 3 GHz. Option 110 preamp functions over a frequency range of 100 kHz to 50 GHz. When the preamp is on, an automatic adjustment compensates for the gain of the preamp so that displayed amplitude readings still accurately reflect the value at the N8201A input connector.
2 Amplitude / Y Scale Corrections Accesses the Corrections menu keys that allow you to enable the corrections function and to select which set of correction factors you wish to modify. These frequency and amplitude corrections will be applied to the displayed data to correct for system losses or gains outside the N8201A. Four different sets of correction data can be stored. Key Path: AMPLITUDE / Y Scale, More Remote Command: There is no equivalent remote command for this key.
Amplitude / Y Scale 2 Antenna, Cable, Other, and User Keys Pressing Antenna, Cable, Other, or User accesses the Correction menu for that type of correction data. These four keys display the status of correction sets. If the key indicates On, then amplitude corrections for this type have been enabled. To perform the corrections, both this key and Apply Corrections must indicate Yes. The status is toggled in the correction set menu located under Correction.
2 Amplitude / Y Scale CORR:CSET2? Edit Accesses menu keys that allow you to create and edit an amplitude-correction factor set. It puts the N8201A into a split-screen mode where the correction data is displayed in a table under the trace data. Pressing ESC while in this menu will exit the menu and remove the table from the screen. New points will be applied only after the editor is closed.
Amplitude / Y Scale 2 Point Allows you to create or edit an amplitude-correction factor data point. Up to 200 points may be defined for each set. Enter the point number to be created or edited by using the keyboard, then press Enter. After selecting a point, Frequency becomes active. Key Path: AMPLITUDE / Y Scale, More, Corrections, Antenna (Cable, Other, or User), Edit State Saved: Not part of instrument state, saved in a corrections file. Remote Command: See “Edit" on page 66.
2 Amplitude / Y Scale Delete Point Allows you to delete the amplitude-correction data for the currently selected point. The prompt, “If you are sure, press key again to delete” will appear on the display. Pressing Delete Point again will delete the point and adjust all of the point numbers as appropriate. Key Path: AMPLITUDE / Y Scale, More, Corrections, Antenna (Cable, Other, or User), Edit Remote Command: See “Edit" on page 66.
2 Amplitude / Y Scale Factory Preset: Defaults. Not affected by Factory Preset. Will be set to linear by Restore Factory Remote Command: [:SENSe]:CORRection:CSET[1]|2|3|4:X:SPACing LINear|LOGarithmic Example: CORR:CSET4:X:SPAC LOG Delete All Corrections Allows you to delete all amplitude-correction sets. Key Path: AMPLITUDE / Y Scale, More, Corrections Dependencies/Couplings: If corrections are on, corrections are turned off.
2 Amplitude / Y Scale Ext Amp Gain Compensates for external gain or loss. The function is similar to the Ref Lvl Offset function, this value is considered, along with the maximum mixer level setting, to determine the attenuation required (10 dB of Attenuation is added for every 10 dB of External Amp Gain). The gain is subtracted from the amplitude readout so that the displayed signal level represents the signal level at the input of the external device.
2 Amplitude / Y Scale Atten Step Permits the selection of 2 dB or 10 dB step resolution for input attenuation. Key Path: AMPLITUDE / Y Scale Saved State: Saved in Instrument State Factory Preset: 2 dB Remote Command: [:SENSe]:POWer[:RF]:ATTenuation:STEP[:INCRement] (in dB) [:SENSe]:POWer[:RF]:ATTenuation:STEP[:INCRement]? Example: POW:ATT:STEP 10 Sets the Attenuation to 10 dB. The only valid suffix is dB. If no suffix is sent, dB is assumed. If a value >5 is entered, 10 is used.
2 Amplitude / Y Scale Max Mixer Lvl Enables you to set the relationship between the highest signal that can be displayed (the reference level) and the input attenuation. The relationship applies whenever the Attenuation is set to Auto. The relationship is that the attenuation is given by the reference level minus the maximum mixer level. For example, as the reference level changes, the input attenuator changes to ensure that a signal at the reference level does not exceed the Max Mixer Lvl setting.
User’s and SCPI Programming Guide 3 Auto Couple Coupled functions are functions that are linked to or dependent on other functions. Pressing Auto Couple displays some of the most important coupled N8201A functions. An example of a coupled function is Res BW (resolution bandwidth). When Res BW is set to auto, the Res BW is automatically set based on the span setting. Coupled functions are affected depending on how they are coupled.
3 Auto Couple Auto All When Auto All is pressed, the N8201A automatically couples all instrument settings that have auto and manual choices. In most cases, these auto settings give the most accurate measurements and optimum dynamic range. When a function is coupled, it is in the Auto state. When it is uncoupled it is in the Man state.
Auto Couple 3 COUPle ALL puts all the functions into the auto coupled mode. Example: COUP ALL Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
3 Auto Couple FFT & Sweep Selects the FFT vs. Sweep key functions. FFT “sweeps” should not be used when making EMI measurements. When an EMI detector is selected, Manual:FFT is grayed out. If Manual:FFT is selected first, the EMI detectors are grayed out. Key Path: Auto Couple Remote Command: [:SENSe]:SWEep:TYPE AUTO|FFT|SWEep Changes the sweep type to FFT or swept, or it lets the N8201A automatically choose the type of analysis to use based on current instrument settings.
Auto Couple 3 SWE:TYPE:AUTO:RUL DRAN sets the rules for the auto mode to dynamic range. Auto: Best Speed Selecting Auto: Best Speed tells the N8201A to choose between FFT or swept analysis based on the fastest N8201A speed. While Zero Span is selected, this key is grayed out. The auto-couple settings are kept in memory and are restored whenever leaving Zero Span.
3 Auto Couple Manual: FFT Manually selects FFT analysis, so it cannot change automatically to swept. While Zero Span is selected, this key is grayed out. The status of the FFT & Swept selection is saved when entering zero span and is restored when leaving zero span. Tip: Making Gated FFT Measurements The process of making a spectrum measurement with FFTs is inherently a “gated” process, in that the spectrum is computed from a time record of short duration, much like a gate signal in swept-gated analysis.
Auto Couple 3 FFTs/Span Displays and controls the number of FFT segments used to measure the entire Span. This key is unavailable (grayed out) unless Sweep Type has been set to FFT. If Sweep Type is set to Auto and FFTs are selected, FFTs/Span is still unavailable, and the number of FFTs automatically selected is shown. If Sweep Type is set to Manual:FFT, FFTs/Span becomes available. Press FFTs/Span and an integer can be entered.
3 Auto Couple Range: 1 to 400000 Remote Command: [:SENSe]:SWEep:FFT:SPAN:RATio [:SENSe]:SWEep:FFT:SPAN:RATio? Example: SWE:FFT:SPAN:RAT 20 80 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Auto Couple 3 PhNoise Opt Selects the LO (local oscillator) phase noise behavior for various operating conditions. The currently selected value is displayed below the £(f) indicator on the left side of the screen. It is preceded by # if Auto has been selected (#£(f)). The key labels indicate measurement situations where a specific type of optimization is best.
3 Auto Couple Remote Command: See “PhNoise Opt" on page 81. Example: FREQ:SYNT:AUTO ON Optimize £(f) for frequencies < 50 kHz The LO phase noise is optimized for measuring signals with offsets less than 50 kHz from the carrier, at the expense of phase noise beyond 50 kHz offset. Key Path: Auto Couple, PhNoise Opt Remote Command: See “PhNoise Opt" on page 81.
Auto Couple 3 Remote Command: See “PhNoise Opt" on page 81. Example: FREQ:SYNT 3 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
3 Auto Couple Detector See the section “Detector Auto Manual" on page 106. Key Path: Auto Couple 84 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Auto Couple 3 Avg/VBW Type See the section “Avg/VBW Type" on page 85. Key Path: Auto Couple Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
3 Auto Couple ADC Dither Auto Turns the ADC dither to automatic. It then chooses on or off according to which is most likely to be the best selection, based on the other N8201A settings such as span, resolution BW and sweep type (FFT or swept). On When ADC Dither is On, the linearity of low-level signals is improved. However, the ADC dynamic range is reduced to make room for the dither. As a result, the noise floor of the N8201A is somewhat compromised.
Auto Couple 3 Remote Command: [:SENSe]:ADC:DITHer[:STATe] OFF|ON|AUTO [:SENSe]:ADC:DITHer[:STATe]? Example: ADC:DITH OFF Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
3 Auto Couple ADC Ranging Accesses the keys to set the ADC ranging to provide for the best signal to noise ratio (Bypass), or for the best FFT speed (Autorange). Key Path: Auto Couple State Saved: Saved in Instrument State Factory Preset: Autorange Remote Command: [:SENSe]:ADC:RANGe AUTO|NONE [:SENSe]:ADC:RANGe? Example: ADC:RANG NONE 88 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Auto Couple 3 Auto Ranging Turns the ADC ranging to automatic which provides the best signal to noise ratio. Auto Couple All sets the ADC ranging to Autorange. Autorange is usually preferred over Bypass. Key Path: Auto Couple State Saved: Saved in Instrument State Remote Command: [:SENSe]:ADC:RANGe AUTO Example: ADC:RANG AUTO Autorange (Best S/N) Turns the ADC ranging to automatic which provides the best signal to noise ratio.
3 Auto Couple State Saved: Saved in Instrument State Remote Command: [:SENSe]:ADC:RANGe NONE Example: ADC:RANG NONE 90 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 4 BW/Avg Activates the resolution bandwidth function, and displays the menu keys that control both the bandwidth and averaging functions.
4 BW/Avg Res BW Enables you to select the 3.01 dB resolution bandwidth (RBW) of the N8201A in 10% steps from 1 Hz to 3 MHz, plus bandwidths of 4, 5, 6, or 8 MHz. If an unavailable bandwidth is entered, the closest available bandwidth is selected. Sweep time is coupled to RBW. As the RBW changes, the sweep time (if set to Auto) is changed to maintain amplitude calibration. Video bandwidth (VBW) is coupled to RBW.
BW/Avg 4 Remote Command: [:SENSe]:BANDwidth|BWIDth[:RESolution] [:SENSe]:BANDwidth|BWIDth[:RESolution]? [:SENSe]:BANDwidth|BWIDth[:RESolution]:AUTO OFF|ON|0|1 [:SENSe]:BANDwidth|BWIDth[:RESolution]:AUTO? Example: BAND 1 kHz BAND? BWID:AUTO ON BWID:AUTO? Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
4 BW/Avg Video BW Enables you to change the N8201A post-detection filter from 1 Hz to 8 MHz in approximately 10% steps. In addition, a wide-open video filter bandwidth (VBW) may be chosen by selecting 50 MHz. Video BW (Auto) selects automatic coupling of the Video BW filter to the resolution bandwidth filter using the VBW/RBW ratio set by the VBW/RBW key. Sweep Time is coupled to Video Bandwidth (VBW). As the VBW is changed, the sweep time (when set to Auto) is changed to maintain amplitude calibration.
BW/Avg 4 BAND:VID? BWID:VID:AUTO ON BWID:VID:AUTO? Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
4 BW/Avg VBW/RBW Selects the ratio between the video and resolution bandwidths in a 1, 3, 10 sequence. Video bandwidth wider than resolution bandwidth (VBW/RBW ratio > 1.000), provides the best peak measurements of signals such as wideband radar pulses. VBW narrower than RBW (VBW/RBW ratio < 1.000) reduces the variance of noise-like signals and makes spectral components close to the noise floor easier to view. Pressing Preset or selecting Auto Couple, Auto All sets the ratio to 1.000 X.
BW/Avg 4 [:SENSe]:BANDwidth|BWIDth:VIDeo:RATio:AUTO? Example: BAND:VID:RAT 2 BAND:VID:RAT? BAND:VID:RAT:AUTO 0 BAND:VID:RAT:AUTO? Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
4 BW/Avg Average Initiates a digital averaging routine that averages the trace points in a number of successive sweeps, resulting in trace “smoothing.” You can select the number of sweeps (average number) with the keyboard. Increasing the average number further smooths the trace. To select the type of averaging used, press BW/Avg, Avg/VBW Type. Averaging restarts when any of the following occurs: • a new average number is entered.
BW/Avg 4 When Average is remotely turned on, the N8201A automatically initiates a sweep, even when set to single sweep mode. To avoid program timing problems, this event should be considered when programming. Example: AVER ON AVER:COUN 100 AVER:CLE clears the current average and restarts the averaging process. Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
4 BW/Avg Avg/VBW Type Displays the functions that enable you to automatically or manually choose one of the following averaging scales: log-power averaging (video), power averaging (RMS), or voltage averaging. When you select log-power averaging, the measurement results are the average of the signal level in logarithmic units (decibels).
BW/Avg 4 [:SENSe]:AVERage:TYPE:AUTO? Example: AVER:TYPE RMS Sets Power (RMS) averaging AVER:TYPE SCAL Sets Voltage averaging AVER:TYPE LOG Sets Log-Power (video) averaging Log-Pwr Avg (Video) Selects the logarithmic (decibel) scale for all filtering and averaging processes. This scale is sometimes call “Video” because it is the most common display and analysis scale for the video signal within the N8201A.
4 BW/Avg because the resulting voltage is proportional to the square root of the mean of the square of the voltage. When this type of averaging is selected, PAvg appears on the left side of the display. In the equation for averaging on this scale (below), N is the number of averages accumulated. (In continuous sweep mode, once N has reached the Average Number, N stays at that value.
BW/Avg 4 Key Path: BW/Avg, Avg/VBW Type or Auto Couple, Avg/VBW Type Remote Command: See“Avg/VBW Type" on page 100. Example: AVER:TYPE SCAL Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
4 BW/Avg Span/RBW Selects the ratio between span and resolution bandwidth. A factory preset sets the ratio to 106:1. The ratio can be changed using the keyboard. This key is grayed out when any of the EMI detectors are selected.
User’s and SCPI Programming Guide 5 Det/Demod Displays the menu keys that select the detector.
5 Det/Demod Detector Auto Manual This menu allows you to select a specific type of detector, or choose Auto to let the instrument select the appropriate detector for a particular measurement. Auto The system selects normal detection as the default, but if a condition arises where a different type of detection scheme would be better utilized, the system uses the alternate scheme.
5 Det/Demod The detector in use is indicated on the left side of the display, just below Reference level. The designators are: • Norm - Normal detector • Avg - Average detector • Peak - Peak detector • Samp - Sample detector • NPk - Negative Peak detector • EmiQP - Quasi Peak detector • EmiAv - EMI Average detector • EmiPk - Peak detector with CISPR bandwidths • MILPk - Peak detector with MIL bandwidths If the detector has been manually selected, a “#” appears next to it.
5 Det/Demod [:SENSe]:DETector[:FUNCtion]? The query returns a name that corresponds to the detector mode as shown by the following terms: NORMal Normal AVERage Average POSitive Peak SAMPle Sample NEGative Negative peak QPEak Quasi Peak EAVerage EMI Average EPOSitive EMI Peak MPOSitive MIL Peak RMS RMS (alias) Remote Command Notes: The query returns a name that corresponds to the detector mode. The RMS selection is an alias which selects the Average detector and Power Averaging.
Det/Demod Any Marker type is noise, band or interval? 5 Yes No Any Trace in Average? Gate On? Yes No Yes Gating method is Gated Video? Yes No No Average Type is Log-Pwr Avg? No Yes Average Type is Auto? Gate On? No Yes Yes No Gating method is Gated Video? Yes No Any Traces in Max Hold? Yes No Any Traces in Min Hold? Any Traces in Min Hold? Yes No Yes No Normal Neg Peak Sample Peak Average detectset.
5 Det/Demod Key Path: Det/Demod Factory Preset: On, Normal Remote Command: [:SENSe]:DETector:AUTO OFF|ON|0|1 [:SENSe]:DETector:AUTO? Example: DET:AUTO ON 110 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Det/Demod 5 Normal Displays the peak-detected level in the interval (bucket) being displayed when the signal is CW-like. If the signal is noise-like (within a bucket the signal both rose and fell), the even bucket shows the peak (maximum) within a two-bucket interval, and the odd bucket shows the negative peak (minimum). Gain is increased to compensate for the effects of faster sweep rates, to keep the displayed value of CW signals accurate.
5 Det/Demod Average For each interval (bucket) in the trace, Average detection displays the average of all samples within the interval using one of the following averaging methods: • log (also known as video) • power (also known as RMS) • voltage envelope To explicitly set the averaging method, use the BW/Avg, Avg/VBW Type key. The combination of the average detector and the power method is equivalent to what is sometimes referred to as “RMS detection.
Det/Demod 5 Peak For each interval (bucket) in the trace, Peak detection displays the highest amplitude within the interval. Peak detection is used for CW measurements and some pulsed-RF measurements. For swept analysis, peak detection basically obtains the maximum video signal between the end of the previous bucket and the end of the current one. Gain is increased to compensate for the effects of faster sweep rates, to keep the displayed value accurate.
5 Det/Demod Sample The sample detector displays the instantaneous level of the signal at the center of the interval (bucket) represented by each trace point. Sample detection is primarily used to display noise or noise-like signals. Sample detection is not best for amplitude measurements of CW-like signals for two reasons. First, the peak response to a signal can occur between samples, so unless the Span to RBW ratio is lower than usual, the highest sample can be well below the peak signal amplitude.
Det/Demod 5 Negative Peak For each interval (bucket) in the trace, Negative Peak detection displays the lowest sample within the interval. When Negative Peak is selected, “NPk” appears on the left side of the display. Key Path: Det/Demod, Detector Remote Command: See“Detector Auto Manual" on page 106. Example: DET NEG Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
5 Det/Demod Quasi Peak Selects quasi peak detection. This is a fast-rise, slow-fall detector used in making CISPR compliant EMI measurements. Quasi peak detection displays a weighted amplitude using specific charge, discharge, and meter-movement time constants as described in CISPR Publication 16. Key Path: Det/Demod, Detector Dependencies/Couplings: Whenever the quasi peak detector is selected, the resolution bandwidths available will be the CISPR set described in the tables below.
Det/Demod 5 Remote Command: See“Detector Auto Manual" on page 106. Example: DET QPE Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
5 Det/Demod EMI Average Selects EMI averaging detection. EMI Average detection displays the average value of amplitude envelope. It is defined for EMI measurements by the CISPR standard and uses the VBW filter as a low pass filter, the output of which is sampled during the bucket interval. This functionality is quite different from the Average detector.
5 Det/Demod EMI Peak Selects peak detection. This is the same detection as the regular Peak detector. The difference is the Auto resolution bandwidths that are available as described in Table 2 on page 116 and Table 3 on page 116. Key Path: Det/Demod, Detector Dependencies/Couplings: Whenever the EMI Average detector is selected, the resolution bandwidths available will be the CISPR set listed in Table 2 on page 116 and Table 3 on page 116 and Table 4 on page 120.
5 Det/Demod MIL Peak Selects peak detection. This is the same detection as the regular Peak detector. The difference is the resolution bandwidths that are available, as shown in Table 4 on page 120 and Table 5 on page 120. Table 4 MIL Specifications for Bandwidth vs.
Det/Demod 5 Remote Command: See“Detector Auto Manual" on page 106. Example: DET MPOS Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
5 Det/Demod RMS (Remote Command Only) Selects the Average Detector. If BW/Avg, Avg/VBW Type is set to Auto (or Pwr Avg) this will yield the RMS voltage (average power) for each trace point. (See “Average" on page 112.) Key Path: There is no key selection for this setting, but you can access it by using Average Detector (see “Average" on page 112). Remote Command: See“Detector Auto Manual" on page 106.
User’s and SCPI Programming Guide 6 Display Displays menu keys that enable you to control certain items on the display of the Spectrum Analyzer GUI.
6 Display Full Screen When Full Screen is pressed the measurement window expands horizontally over the entire instrument display. It turns on/off the display of the softkey labels. Pressing any other key that results in a new menu will cancel the full screen function. Key Path: State Saved: Display Not saved in state.
Display 6 Display Line Activates an adjustable horizontal line that is used as a visual reference line. The line has an amplitude value that corresponds to its vertical position relative to the reference level. The value of the display line appears on the left side of the display below the label Dl. The display line can be adjusted using the keyboard. The units of Display Line are determined by the Y-Axis Units setting under Amplitude. Key Path: Display State Saved: Saved in Instrument State.
6 Display Limits Limit lines can be defined to compare the data to your defined limits and indicate a pass or fail condition. Limits accesses menus that allow you to create, modify, and change the properties of limit lines. There are two limit lines in the instrument. Key Path: Display State Saved: Not saved in instrument state. Factory Default: Unaffected by system defaults.
6 Display Remote Command Notes: Up to 200 points total may be defined for each limit. Example: CALC:LLIN1:DATA 1000000000, -20,0,200000000,-30,1 Limit 1 or Limit 2 Selects Limit 1 or Limit 2 for modification. Key Path: Display, Limits State Saved: Not saved in instrument state. Type (Upper Lower) Defines the limit you are editing as either an upper or lower limit. An Upper limit fails if the trace exceeds the limit. A Lower limit fails if the trace falls below the limit.
6 Display Limit Display Turns limit-line display On or Off. Either Limit or Margin, as well as Test, must be turned on to turn on a limit test. Key Path: Display, Limits, Limit 1 Display, Limits, Limit 2 State Saved: Not saved in instrument state. Factory Default: Off (when a limit line is created) Remote Command: :CALCulate:LLINe[1]|2:DISPlay OFF|ON|0|1 :CALCulate:LLINe[1]|2:DISPlay? Example: :CALC:LLIN2:DISP OFF :CALC:LLIN1:DISP? Limit Test Turns the testing of the limit line On or Off.
Display 6 Remote Command: :CALCulate:LLINe[1]|2:STATe OFF|ON|0|1 :CALCulate:LLINe[1]|2:STATe? :CALCulate:LLINe[1]|2:FAIL? Example: :CALC:LLIN:STATE 1 sets limit line 1 test on. :CALC:LLIN:STATE? responds with the limit line test status. :CALC:LLIN:FAIL? Queries the status of the limit-line testing. Returns a "0" if the data passes, and returns a "1" if there is a failure. This query value is valid only if Margin or Test is On. Margin (On Off) Turns margin On or Off.
6 Display :CALCulate:LLINe[1]|2:MARGin :CALCulate:LLINe[1]|2:MARGin? Edit Pressing Edit accesses menus for editing limit lines and for accessing the limit-line table editor. Navigation through the limit-line table is achieved by using the keyboard. Entering data in each field navigates to the next field. New limit segments will only be applied after the editor is closed.
Display 6 Frequency (or Time) Pressing this key allows you to enter a value for a limit point in frequency (or time). Note that this key label changes to Time if X Axis Units has been selected. After entering a value, the limit table is sorted to place the value in the correct order. A maximum of two different points may be entered that have the same frequency. For a new point, Amplitude defaults to 0 dBm and Connected defaults to Yes. Amplitude then becomes active.
6 Display Resolution: 0.1 dBm Step Key Increment: Range: 10 dBm − 140 dBm to 100 dBm Connected To Previous Pt A current point may be connected to the previous point by pressing Yes. No limit testing is performed between disconnected points. Pressing this key when the Connected field is selected toggles the connected value of the current point and increments the Point number to allow entry or editing of the Frequency of the next point.
Display 6 Remote Command: :CALCulate:LLINe[1]|2:DELete Example: :CALC:LLIN:DEL deletes limit line/margin 1 (LLIN defaults to Limit Line 1) Freq Interp This key is grayed out in the time domain (when the N8201A is zero span). Sets the interpolation to linear or logarithmic for the specified limiting points set, allowing you to determine how limit trace values are computed between points in a limit table. The available interpolation modes are linear and logarithmic.
6 Display Factory Preset and *RST: Log Remote Command: :CALCulate:LLINe[1]|2:CONTrol:INTerpolate:TYPE LOGarithmic|LINear :CALCulate:LLINe[1]|2:CONTrol:INTerpolate:TYPE? Example: :CALC:LLIN2:CONT:INT:TYPE LIN sets limit line 2 frequency interpolation to linear. Amptd Interp Allows you to determine how limit trace values are computed between points in a limit table. The available interpolation modes are linear (Lin) and logarithmic (Log).
6 Display X Axis Units Selects how the limit-line segments are defined. Pressing X Axis Units selects whether the limit lines will be entered using frequency (Freq) or sweep time (Time) to define the segments. They can be specified as a table of limit-line segments of amplitude versus frequency, or of amplitude versus time. A time value of zero corresponds to the start of the sweep, which is at the left edge of the graticule.
6 Display lines are specified with time, rather than frequency, the Rel setting only affects the amplitude values. The current amplitude values will be relative to the displayed reference level amplitude, but the time values will always start at the left edge of the graticule. For example, assume you have a frequency limit line. If the limit line is specified as fixed (Fixed) entering a limit line segment with a frequency coordinate of 300 MHz displays the limit line segment at 300 MHz.
Display 6 Example: :CALC:LLIN:ALL:DEL deletes all of the data points for limits lines 1 and 2. Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
6 Display Active Fctn Position Selects the screen position for the Active Function Display. Depending on the type of trace date being viewed, you can move the Active Function Display position for less visual interference with your screen data. Key Path: Display Readback: The selection of the position to display the active function (Top, Center, Bottom) reads back to line 3 of this key. State Saved: Not saved in instrument state, survives power cycle and preset.
Display Key Path: 6 Display, Active Fctn Position Readback: Top reads back to line 3 of this key. State Saved: Not saved in instrument state, survives power cycle and preset. Factory Preset: Factory Default: No effect, persistent variable, survives power cycle and preset. Center Remote Command: :DISPlay:AFUNction:POSition TOP Example: :DISP:AFUN:POS TOP Center Displays the active function in the center-left side of the display.
6 Display Remote Command: :DISPlay:AFUNction:POSition CENTer Example: :DISP:AFUN:POS CENT Bottom Displays the active function in the bottom-left corner of the display. Key Path: Display, Active Fctn Position Readback: State Saved: Bottom reads back to line 3 of this key. Not saved in instrument state, survives power cycle and preset. Factory Preset: Factory Default: No effect, persistent variable, survives power cycle and preset.
Display 6 Title Displays menu keys that enable you to change or clear a title on your display. Key Path: Display Change Title Allows you to write a title across the top of the display. Press Change Title to access the Alpha Editor Menus that contain available characters and symbols. You may also use the numeric keypad to enter numbers. Press Enter or Return to complete the entry. Press ESC to cancel the entry and preserve your existing title.
6 Display Preferences Accesses menu keys which allow you to turn the graticule and annotation on or off. Key Path: Display State Saved: Saved in Instrument State. Factory Preset and *RST: No title Graticule (On Off) Pressing Graticule turns the display graticules On or Off. Key Path: Display Factory Preset and *RST: Factory Default: Terminators: On On Enter 142 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 7 File Displays a menu of functions that enable you to load, save, and manage data on the PC’s internal drive (C:); you can recall, save, copy, delete, or rename files of instrument states, trace data, and screen captures. The menu keys display dialog boxes appropriate for the selected function. The MMEMory command syntax term <‘file_name’> is a specifier having the form: ‘DRIVE:\DIRECTORY\NAME.
7 File File Types You can save the following types of files: State - A file that contains a copy of the state of the analyzer at the time the file is saved. The settings of most analyzer functions are saved in the state files but not traces, limits, and corrections. When a State file is loaded into the analyzer, the analyzer is restored to the same state as when the file was saved. Some settings are not saved in the State files, for example the GPIB address; these settings are called “persistent.
7 File Bitmap: A file that contains an exact bit representation of the screen. Stored in Graphics Interchange Format (GIF) format. Reverse Bitmap: Same as Bitmap, but the black display backgrounds are changed to white and the yellow traces are turned to green to preserve printer black ink. Corrections - A file that contains a copy of the analyzer correction tables at the time the file is saved (CBL, ANT, OTH, AMP).
7 File Catalog Displays directories and files located on the selected drive, depending upon the preferences set under the Type (page 146) and Sort (page 148) keys. Catalog displays menus to navigate the drives and to sort and select the files you wish to view. The internal analyzer “drive” (C:\) is not an actual disk drive, but an area of nonvolatile (flash) memory which is presented as though it were a disk drive.
7 File Type Format Destination Extension State State Trace Trace + state Trace 1, 2, 3, or all traces TRC Comma separated trace values Trace 1, 2, 3, or all traces CSV STA Limit Internal data format LIM Screen Bitmap GIF Reverse bitmap GIF Corrections Internal data format ANT, CBL, OTH, and AMP Measurement Results Comma separated values CSV Key Path: File, Catalog State Saved: Type is not saved in the instrument state Factory Preset: Type survives Factory Preset and *RST,
7 File Limits Displays all limits files (LIM) in the selected directory. Key Path: File, Catalog, Type Screen Displays all screen files (GIF) in the selected directory. To save a screen file, press File, Save, Type, Screen. Then press the front-panel Return key to return to the measurement display. You can then press the front-panel Save key to save the current image. Key Path: File, Catalog, Type Corrections Displays all correction files (ANT, CBL, OTH, and AMP) in the selected directory.
7 File By Extension Sorts and displays the current file catalog, in alphabetical order, by the file extension of the file names (for example: .TRC, .STA). Key Path: File, Catalog, Sort By Size Sorts and displays the current file catalog by the size of the files. Key Path: File, Catalog, Sort Order Changes the order of the display of the current file catalog. Up sorts the files in ascending order (A to Z, 1 to 9), while Down sorts in descending order (Z to A, 9 to 1).
7 File Save Displays menu keys that enable you to save files to the floppy (A:) or internal (C:) drive. The menus allow you to fill in data-entry fields for file name, type, format, source, and path (directory). Some fields may be blank depending on file type. The catalog list box is active and can be used for selecting the directory in which to save the file. Saved files that match the current Type and Format are shown. The Sort Order is always Down, By Date.
File Type Auto-Generated File Name Extension State STATE### .STA Trace TRACE### .TRC or .CSV Screen SCREN### .GIF 7 Never remove the floppy disk during a save operation. To do so could corrupt all data on the floppy disk. Many errors can be generated by a bad Save operation. For this reason, if an ‘Unable to Save file’ message is seen, you should check the error queue (System, Show Errors) for the source of the error.
7 File The file name must have a file extension of .TRC or .CSV. The file extension determines whether a trace is stored (.CSV), or a trace with its state (.TRC), are stored. The <‘file_name’> must include the complete path, for example ‘C:\ MYTRACE.TRC’. Lowercase characters are interpreted as uppercase. These commands will fail if the <‘file_name’> already exists. For the MMEM:STOR:LIM LLINE2,”C:mylimit.lim” command, there is no short form for parameters LLINE1|LLINE2.
7 File Type Format Source Extension Corrections Internal data format ANT, CBL, OTH, and AMP Measurement Results Comma separated values CSV All is not an option in Save, you have to specify the desired file type. Key Path: File, Save State Saved: Type is not saved in the instrument state Factory Preset: Type survives Factory Preset and *RST, but is set to State at power on. Format When Type is set to Trace, Format allows you to choose between Trace + State and CSV formats.
7 File Key Path: File, Save, Format Bitmap When the file type is Screen, this key selects the bitmap Graphics Interchange Format (GIF) file format for your saved data. For more information on file types, refer to “File Types" on page 144. Key Path: File, Save, Format Reverse Bitmap When the file type is Screen, this key selects the inverse bitmap file format (GIF) for your saved data. For more information on file types, refer to “File Types" on page 144.
7 File Trace 3 Selects trace 3 to be saved. Key Path: File, Save, Source All Traces Selects all the traces to be saved. Key Path: File, Save, Source Name Displays the Alpha Editor and enables you to enter a filename. The numeric keypad can also be used while entering file names. Press Enter or Return to complete the name entry. Only capital letters (A-Z) and digits (0-9) may appear in file names (8 characters, maximum).
7 File Load Displays the menu key that enables you to load instrument-data files from the selected drive and directory back into the instrument. This function displays the file list box, which shows the data-entry fields for the file name, type, destination, and path. The catalog list box is active and can be used for selecting the file information in the data-entry fields. Only loadable files that match the current type are shown.
7 File • Complete path • A file extension of TRC • Use all uppercase letters. • Trace labels are: TRACE1|TRACE2|TRACE3 For the MMEM:LOAD:STAT 1 command: • If the firmware revision of the state being loaded is newer than the firmware revision of the instrument, no state is recalled and an error is reported. • If the firmware revision of the state being loaded is the same as the firmware revision of the instrument, all settings of the state will be loaded.
7 File Key Path: File, Load Destination When Type is set to Trace, Destination allows you to direct your data to Trace 1, Trace 2, or Trace 3 for a single-trace file. If the data is for all three traces (Source was All when they were saved), the data will be returned to the original trace registers, regardless of the Destination setting. When Type is set to Limits, Destination allows you to direct your data to Limit 1 or Limit 2. Key Path: File, Load State Saved: Not saved in Instrument State.
File Factory Preset: Trace 1. 7 Not affected by Preset. Power up and Restore Sys Defaults sets Dir Up Moves up one subdirectory level within a directory. If your position is in the top level of the drive already, it moves up to the drive level and the current drive is highlighted (A: or C:). Key Path: File, Load State Saved: Not saved in Instrument State. Factory Preset: Trace file format, is All Traces at power on. Dir Select Displays the highlighted directory.
7 File Delete Displays the Delete menu keys that enable you to delete instrument data files from the selected directory. The catalog list box is active and can be used for selecting file information for the data-entry fields. Only files that match the current type are shown. Placing the cursor on a file name causes it to be loaded into the file name field. Key Path: File Delete Now Executes the delete function.
7 File Type Allows you to select the type of file you want to delete. See “File Types" on page 144 and “Type" on page 146 for more information. Common types of instrument data files include trace data, limit line data, and amplitude correction data. The catalog displays all files, if Type is set to All or files of the currently selected file type. All directories are always displayed. Key Path: File, Delete Sort Allows you to view your saved files according to a selected file attribute.
7 File Copy Displays the functions to copy instrument data files in the selected directory to the directory and file name that you choose. This key also displays a catalog of the files that are currently saved in the selected directory and data-entry fields for the following: file name, type, and path location. Key Path: File Copy Now Executes the copy function, coping data files from one directory to another on one or more mass storage devices, using the currently displayed file settings.
7 File Type Format Extension Trace Trace + state TRC Comma separated trace values CSV Limit Internal data format LIM Screen Bitmap GIF Reverse bitmap GIF Corrections Internal data format ANT, CBL, OTH, and AMP Measurement Results Comma separated values CSV Key Path: File, Copy Sort Allows you to view your saved files according to a selected file attribute. See “Sort" on page 148 for more information.
7 File Rename Allows you to rename a file. The catalog list box is active and can be used for selecting both the path and a file name. Only loadable files that match the current type are shown. Placing the cursor on a file name causes it to be loaded into the file name field. Key Path: File Rename Now Executes the rename function. When the rename is complete, the message XXXXXX file renamed to YYYYYY (where XXXXXX and YYYYYY are the filenames) will appear in the status line on your display.
File 7 Type Enables you to select the type of file you want to rename. See “File Types" on page 144 and “Type" on page 146 for more information. If Type is set to All, the catalog displays all files, otherwise the files of the currently selected file type are displayed. All directories are always displayed.
7 File Dir Up Moves up one subdirectory level within a directory. If your position is in the top level of the drive already, it moves up to the drive level and the current drive is highlighted (A: or C:). Key Path: File, Rename Dir Select Displays the highlighted directory. See “Dir Select" on page 155 for more information. Key Path: File, Rename 166 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
File 7 Create Dir Displays the functions to create a new subdirectory in the currently selected directory. Key Path: File Create Dir Now Executes the create a new directory function. While the directory is being created a popup message is displayed “Creating directory” followed by “Reading directory.” After the successful creation of a directory, the text message “Directory xxxxxx created” (where xxxxxx is the new directory name) appears in the status line.
7 File Dir Select Displays the highlighted directory. See “Dir Select" on page 155 for more information. Key Path: File, Create Dir 168 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
7 File Delete All Deletes all the files on a floppy disk; any information on the disk will be destroyed. Key Type: Branch Key Notes: This key displays the file manager display form which includes data entry fields for the new drive name and path. There is another definition of Format key that defines the format (file type) of you data that you want to save. Remote Command: There is no remote command for this key. Delete All Now Executes the Delete All function.
7 File Query Trace Data (Remote Command Only) This command queries trace data from the specified trace. The data format is set by the command :FORMat [:TRACe][:DATA]. When ASCII format is selected, the data is comma-separated ASCII values. Real or Integer format uses a definite length block of data. The number of trace points returned is set by [:SENSE]:SWE:POIN (from 101 to 8192).
7 File Move Data to a File (Remote Command Only) This command loads a block of data in the format into the instrument memory location <‘file_name’>. The query form of the command returns the contents of the file identified by <‘file_name’>, in the format of a definite length block of data. The query can be used for copying files out of the analyzer over the remote bus.
7 File Set Data Byte Order (Remote Command Only) This command selects the binary data byte order for data transfer. It controls whether binary data is transferred in normal or swapped mode. Normal mode is when the byte sequence begins with the most significant byte (MSB) first, and ends with the least significant byte (LSB) last in the sequence: 1|2|3|4. Swapped mode is when the byte sequence begins with the LSB first, and ends with the MSB last in the sequence: 4|3|2|1.
7 File Format Numeric Data (Remote Command Only) This command changes the format of the data. It specifies the format used for trace data during data transfer across any remote port. REAL and ASCII formats will format trace data in the current amplitude units. The format of state data cannot be changed. It is always in a machine readable format only. One-button measurement functions only support Binary Real 32, Binary Real 64, and ASCII data formats.
7 File Remote Command Notes: Corrected Trace Data Types for :TRACe:DATA? Data Type Result ASCii Amplitude Units INTeger,32 (fastest) Internal Units REAL,32 Amplitude Units REAL,64 Amplitude Units Example: FORM REAL,32 174 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 8 Frequency / Channel Displays the menu of frequency functions. Depending on the Frequency entry mode, either the center frequency or the start and stop frequency values appear below the graticule on the display. In Center/Span mode, the Center Frequency and Span appear, and the Center Freq function is automatically activated. In Start/Stop mode, the Start and Stop frequencies appear, and the Start Freq function is automatically activated.
8 Frequency / Channel Center Freq Activates the function that sets the center of the displayed frequency range to the specified frequency. Key Path: FREQUENCY Annunciation/Annotation: display. Center appears in the lower left corner of the Dependencies/Couplings: Center frequency and span are coupled to each other. State Saved: Saved in Instrument State. Factory Preset: Range: 13.
8 Frequency / Channel Start Freq Sets the frequency at the left side of the graticule and sets the frequency entry mode to Start/Stop. When the Start/Stop Frequency entry mode is activated, the start and stop frequency values are displayed below the graticule in place of center frequency and span. The left and right sides of the graticule correspond to the start and stop frequencies.
8 Frequency / Channel Stop Freq Sets the frequency at the right side of the graticule and sets the frequency entry mode to Start/Stop. When the Start/Stop Frequency entry mode is activated, the start and stop frequency values are displayed below the graticule in place of center frequency and span. The left and right sides of the graticule correspond to the start and stop frequencies. Key Path: FREQUENCY State Saved: Saved in Instrument State Factory Preset: Range: 26.
Frequency / Channel 8 [:SENSe]:FREQuency:CENTer:STEP:AUTO OFF|ON|0|1 [:SENSe]:FREQuency:CENTer:STEP:AUTO? Example: FREQ:CENT:STEP:AUTO ON FREQ:CENT:STEP 500 MHz FREQ:CENT UP increases the current center frequency value by 500 MHz FREQ:CENT:STEP? FREQ:CENT:STEP:AUTO? Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
8 Frequency / Channel Freq Offset Enables you to input a frequency offset value to account for frequency conversions external to the N8201A. This value is added to the display readout of the marker frequency, center frequency, start frequency, stop frequency and all other absolute frequency settings in the N8201A. When a frequency offset is entered, the value appears below the center of the graticule. Offsets may be entered using the keyboard.
Frequency / Channel 8 Signal Track When a marker is placed on a signal and Signal Track is pressed, the marker will remain on the signal while the N8201A retunes the center frequency to the marker frequency. The N8201A will keep the signal at the center of the display, as long as the amplitude of the signal does not change by more than 3 dB from one sweep to another. If no marker is active, pressing Signal Track to On will activate a marker, perform a peak search, and center the marker on the display.
8 Frequency / Channel Example: CALC:MARK1:TRCK ON turns on Signal Track using Marker 1. CALC:MARK1:TRCK?. 182 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 9 Input/Output Displays the keys that control some of the N8201A’s signal inputs and outputs.
9 Input/Output Input Port Brings up a menu of input signal sources, the most common one being the front panel RF Input port. Key Path: Input/Output State Saved: Saved in Instrument State Factory Preset: RF Remote Command: [:SENSe]:FEED RF|AREFerence|EMIXer [:SENSe]:FEED? Example: FEED AREF selects the 50 MHz amplitude reference as the signal input. RF Selects the front panel RF Input port to be the N8201A signal input.
9 Input/Output RF Coupling Specifies alternating current (AC) or direct current (DC) coupling at the N8201A RF input port. Selecting AC coupling switches in a blocking capacitor that blocks any DC voltage present at the N8201A input. This decreases the input frequency range of the N8201A, but prevents damage to the input circuitry of the N8201A if there is a DC voltage present at the RF input. In AC coupling mode, signals less than 20 MHz are not calibrated.
9 Input/Output Input Mixer (Option AYZ only) Selects either the internal mixer(s) or an external mm-wave mixer. When internal mixing is selected you get normal N8201A operation and the rest of the external mixing functions are unavailable. With external input mixer selected you can analyze high frequency signals (higher than the N8201A maximum frequency) by using an appropriate external mixer.
9 Input/Output Example: MIX:BAND W If Harmonic is set to Man, a query will return “USER”. K, E, W, F, D, G, Y, and J are not available if the mixer type is set to Presel. 18-26.5 GHz (K) Selects K band (mixing harmonic –6). Displays the start and stop frequencies for that particular band. Other start/stop frequencies are available as long as they are within the –6 harmonic band. Key Path: Input/Output, Input Mixer, Ext Mix Band Remote Command: Example: MIX:BAND K 26.
9 Input/Output 40-60 GHz (U) Selects U band (mixing harmonic –10). Displays the start and stop frequencies for that particular band. Other start/stop frequencies are available as long as they are within the –10 harmonic band. Key Path: Input/Output, Input Mixer, Ext Mix Band Remote Command: Example: MIX:BAND U 50-75 GHz (V) Selects V band (mixing harmonic –14). Displays the start and stop frequencies for that particular band.
9 Input/Output Remote Command: Example: MIX:BAND W 90-140 GHz (F) Selects F band (mixing harmonic –20). Displays the start and stop frequencies for that particular band. Other start/stop frequencies are available as long as they are within the –20 harmonic band. Key Path: Input/Output, Input Mixer, Ext Mix Band Remote Command: Example: MIX:BAND F 110-170 GHz (D) Selects D band (mixing harmonic –24). Displays the start and stop frequencies for that particular band.
9 Input/Output Key Path: Input/Output, Input Mixer, Ext Mix Band Remote Command: Example: MIX:BAND Y 220-325 GHz (J) Selects J band (mixing harmonic –46). Displays the start and stop frequencies for that particular band. Other start/stop frequencies are available as long as they are within the –46 harmonic band. Key Path: Input/Output, Input Mixer, Ext Mix Band Remote Command: Example: MIX:BAND J User Lets you define the frequency band for your Input Mixer.
9 Input/Output The 650 MHz term in the equations above is approximately 2x IF. This term is for the signal identification algorithm. The 6.666 GHz term is the maximum LO range based on the preselector tune circuitry in the N8201A. Saved State Key Path: Saved in Instrument State Input/Output, External Mixer, Ext Mix Band Remote Command: See“Ext Mix Band (Option AYZ only)" on page 186.
9 Input/Output Factory Preset: Off Remote Command: [:SENSe]:SIDentify[:STATe] OFF|ON|0|1 [:SENSe]:SIDentify:[STATe]? Example: SID 1 Signal ID Mode Displays a menu to select the method of signal identification.
9 Input/Output Image Shift Performs signal identification in a two sweep sequence. Places data from the first sweep in Trace 1, and data from the second (frequency shifted) sweep in Trace 2. Signal responses of Trace 1 and Trace 2 having the same horizontal position are considered to be in the current band and therefore can be analyzed with the amplitude and frequency measurement systems of the N8201A. All other responses are invalid and should be ignored.
9 Input/Output [:SENSe]:MIXer:HARMonic:AUTO OFF|ON|0|1 or [:SENSe]:MIXer:HARMonic:AUTO? [:SENSe]:MIXer:HARMonic [:SENSe]:MIXer:HARMonic? Example: MIX:HARM:AUTO 0 MIX:HARM 8 Mixer Type Selects which type of mixer is in use. Mixer Type (Presel) activates a tuning signal that is routed to the PRESEL OUT connector on the front panel of the N8201A. This signal has a sensitivity of 1.5V/GHz of the LO frequency and drives the tune input of the HP/Agilent 11974 series of preselected mixers.
Input/Output State Saved: Range: 9 Saved in Instrument State –10 to 10 mA Remote Command: [:SENSE]:MIXer:BIAS [:SENSE]:MIXer:BIAS? [:SENSE]:MIXer:BIAS:STATe OFF|ON|0|1 [:SENSE]:MIXer:BIAS:STATe? Example: MIX:BIAS 1 MIX:BIAS? MIX:BIAS:STAT 1 MIX:BIAS:STAT? Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
9 Input/Output 321.4 MHz IF Out Opt Configures the IF path for the default narrow band measurement path (Spectrum Analysis) or for improved 321.4 MHz IF out performance. Diverting the IF using the down converter setting lets you take advantage of this improved frequency response at the output port, but you can no longer use the internal path for making measurements.
9 Input/Output Microwave Preselector (Option 123 Only) Switches the input signal path between the normal preselected mixer and an optional unpreselected high band mixer. The preselected path is the normal path for the N8201A. The first mixer can be overloaded if a large out-of-span signal is present at the input. When the preselector is bypassed, this signal passes through to the mixer causing an overload. The instrument cannot detect this condition, so no overload error message is displayed.
9 Input/Output 198 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 10 Marker -> Accesses menu keys that can copy the current marker value into other instrument parameters (for example, Center Frequency).
10 Marker -> Mkr->CF Sets the center frequency of the N8201A to the frequency of the selected marker. The marker stays at this frequency, so it moves to the center of the display. This function is not available in Zero Span. Key Path: Marker -> Remote Command: :CALCulate:MARKer[1]|2|3|4[:SET]:CENTer Example: CALC:MARK2:CENT sets the CF of the N8201A to the value of marker 2.
Marker -> 10 Mkr->Stop Changes the stop frequency to the frequency of the active marker. The marker stays at this frequency, so it moves to the right of the display. This function is not available in Zero Span. Key Path: Marker -> Remote Command: :CALCulate:MARKer[1]|2|3|4[:SET]:STOP Example: CALC:MARK1:STOP sets the stop frequency to the value (or delta value) of marker 1. MkrΔ->Span Sets the start and stop frequencies to the values of the delta markers.
10 Marker -> Remote Command Notes: Select the delta marker mode with :CALCulate:MARKer[1]|2|3|4:MODE DELTa. Example: CALC:MARK2:DELT:CENT sets the center frequency to the value of the delta marker center frequency of marker 2. Mkr->Ref Lvl Sets the reference level to the amplitude value of the active marker, moving the marked point to the reference level (top line of the graticule).
User’s and SCPI Programming Guide 11 Marker Allows you to access the marker control menu. Normal (POSition) - A single marker that can be moved to any point on the trace. Delta (DELTa) - A fixed reference marker and a moveable marker that you can place at any point on the trace. Delta Pair (BAND) - Both a movable delta and a movable reference marker. You can independently adjust the position of each marker. Span Pair (SPAN) - A moveable reference and a movable delta marker.
11 Marker • Delta, Delta Pair, or Span Pair markers - the display shows the ratio (difference when expressed in dB) between two markers. If the Y-axis units are logarithmic (dBm, dBmV, dBµV) the ratio is express in dB. If the Y-axis units are linear (volts, watts) the ratio is expressed in percent (where 100% is the same as 0 dB difference). Note that the value when the Y-axis units are watts is the square of the value when the Y-axis units are volts.
Marker 11 Example: CALC:MARK:MODE POS selects marker 1 and sets it to Normal. CALC:MARK2:X 20 GHZ selects marker 2 and moves it to 20 GHz. (Marker 2 must first be turned on.) Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
11 Marker Select Marker Selects one of the four possible marker or marker pairs. Once a marker is selected, it can be set to any of the control modes, Normal, Delta, Delta Pair, Span Pair, or Off. Key Path: Marker State Saved: The number of the selected marker is saved in Instrument State. Factory Preset: Marker 1 Remote Command: :CALCulate:MARKer[1]|2|3|4:STATe OFF|ON|0|1 :CALCulate:MARKer[1]|2|3|4:STATe? Sets or queries the state of a marker. Setting a marker to state ON or 1 selects that marker.
Marker 11 Delta Sets the control mode for the selected marker to Delta (see “Marker" on page 203). In Delta mode the display shows the difference between the active (Delta) marker and a reference marker. When Delta mode is selected the reference marker is placed at the current marker position. If the marker is OFF both the active marker and the reference marker are placed at the center of the display. The amplitude and frequency (or time) of the first marker is fixed.
11 Marker the Ref and Position scroll bars.The start marker number is indicated with a number and an R above the marker (for example, 1R) and the delta marker is indicated with a marker number. There are four conditions that can occur when Delta Pair mode is selected: If marker mode is Off, the delta marker and reference marker are placed at the center of the display. If marker mode is Normal, the delta marker and reference marker are placed at the current marker position on the trace.
11 Marker The above commands set the reference (Start), or delta (Stop) marker X locations on the X axis. The markers can be placed on the X axis using the current trace units. Or you can specify their position in display points. Display points are values from 0 to 600 (or the current number of points in the sweep). The marker must already be on.
11 Marker The difference between Span Pair and Delta modes is that in Span Pair mode the reference marker stays on the trace and you can adjust its trace point. Once positioned, the markers stay on the trace points on which they have been placed. Changing the frequency or time of the N8201A does not change the trace point of the markers, that is, they stay at the same horizontal position on the display. You cannot move the markers off the screen.
Marker 11 Example: CALC:MARK3:MODE SPAN selects marker 3 and sets it to Span Pair. CALC:MARK4:X:POS:SPAN 200 sets the spacing between the markers to 200 trace points for marker pair 4. CALC:MARK2:X:POS:CENT 300 sets the midpoint between the markers to the 300th trace point from the left of the display. For a 601 point trace this will be the middle of the display. Off Turns off the selected marker.
11 Marker Marker Trace Selects the trace for the marker or marker pair. You can pick Marker Trace 1, 2, or 3. Key Path: Marker State Saved: The Marker Trace for each marker is saved in instrument state. Factory Preset: Range: Auto on, Trace 1 1 to 3 Remote Command: :CALCulate:MARKer[1]|2|3|4:TRACe 1|2|3 Puts the marker on the specified trace and turns Auto OFF for that marker.
Marker 11 Readout Access a menu that enables you to affect how the x-axis information for the selected marker is displayed in the marker area (top-right of display) and the active function area of the display. It only affects the readout on the display of the horizontal position information (for example, frequency). It does not affect the way this information is sent remotely in response to the CALC:MARK:X? command. Key Path: Marker State Saved: In Instrument State, for each marker.
11 Marker Period Sets the marker readout to Period, displaying the reciprocal of the frequency at the marker position, or the reciprocal of the frequency separation of the two markers in a delta-marker mode. Period readout is not available in zero spans. If the markers are at the same frequency in a delta marker mode, the result will be the reciprocal of 0, which is infinitely large. The display will show a very large number.
Marker 11 Example: :CALC:MARK2:X:READ ITIM Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
11 Marker Marker Table When set to On, the display is split into a measurement window and a marker data display window. For each marker pair, information is displayed in the data display window, which includes the marker number, trace number, marker type, X axis value, and the amplitude of the marker or the delta value, if a delta marker, or the function value, if in a marker function such as Marker Noise or Band/Intvl Power.
Marker 11 Marker All Off Turns off all markers, including markers used for signal track. This key also turns off marker related functions such as Signal Track, Band Interval Power, and Marker Noise. Key Path: Marker Remote Command: :CALCulate:MARKer:AOFF Example: CALC:MARK:AOFF turns off all markers. Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
11 Marker 218 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 12 Marker Fctn Access special marker functions such as frequency counting and noise markers.
12 Marker Fctn Select Marker Selects one of the four possible marker or marker pairs. Once a marker is selected, it can be set to any of the control modes, Normal, Delta, Delta Pair, Span Pair, or Off. Key Path: Marker State Saved: The number of the selected marker is saved in Instrument State. Factory Preset: Marker 1 Remote Command: :CALCulate:MARKer[1]|2|3|4:STATe OFF|ON|0|1 :CALCulate:MARKer[1]|2|3|4:STATe? Sets or queries the state of a marker.
Marker Fctn 12 Marker Noise Activates a noise marker for the selected marker. If the selected marker is off it is turned on and located at the center of the display. Reads out the average noise level, normalized to a 1 Hz noise power bandwidth, around the active marker. The noise marker averages 5% of the trace data values, centered on the location of the marker. The data displayed (if the marker is in Normal mode) is the noise density around the marker.
12 Marker Fctn Remote Command: See “Marker Fctn" on page 219 for the command to select a function. Remote Command Notes: Note that the value when the Y-axis units are watts is the square of the value when the Y-axis units are volts. For example, when the percent ratio with Y-axis units in volts is 20% (0.2), the percent ratio with Y-axis units in watts will be 4% (0.22 = 0.04).
12 Marker Fctn Band/Intvl Power Measures the power in a bandwidth (non-zero span) or time interval (zero span) specified by the user. If no marker is on, this key activates the delta pair marker mode. If the detector mode is set to Auto, the average detector is selected. If the Avg/VBW type is set to Auto, Power Averaging is selected, other choices of detector and Avg/VBW type will usually cause measurement inaccuracy. The active marker pair indicate the edges of the band.
12 Marker Fctn Function Off Turns off marker functions (Band/Intvl Power and Marker Noise). Delta markers will remain on screen. Key Path: Marker Fctn Remote Command: See “Marker Fctn" on page 219 for the command to select a function.Example: CALC:MARK2:FUNC OFF turns the marker 2 function off. 224 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Marker Fctn 12 Marker Count Turns the marker frequency counter on and off for any active marker. If no marker is active before Marker Count is pressed, a marker is activated at the center of the display. An asterisk (*) may appear in the upper-right area of the display along with the message Cntr 1 (the number in the message depends on the active marker). If the marker count function is on and you change the active marker, the new active marker will use marker count.
12 Marker Fctn Example: CALC:MARK2:FCO ON CALC:MARK2:FCO:X? returns the counted frequency. Gate Time Controls the length of time during which the frequency counter measures the signal frequency. For 2 ms and longer gate times, the counter resolution is 0.001 Hz. Longer gate times allow for greater averaging of signals whose frequency is “noisy”, at the expense of throughput. If the gate time is an integer multiple of the length of a power-line cycle (20 ms for 50 Hz power, 16.
User’s and SCPI Programming Guide 13 Meas Control These functions allow you to pause and resume the currently selected measurement and to select between continuous or single measurements. When Measure > Measure Off is selected the Meas Control functions are not available. If no measurement has been selected from the MEASURE menu, these functions are not available.
13 Meas Control Restart This function restarts a previously paused measurement at the beginning. If the current measurement is still in process, it will stop it as soon as possible and restart it from the beginning. Key Path: Front-panel key. It can also be found under Meas Control. Remote Command: :INITiate:RESTart Remote Command Notes: This command is equivalent to sending an :ABORt command followed by an :INITiate[:IMMediate] command.
Meas Control 13 Measure Switches the N8201A between triggering the current measurement/sweep continuously or triggering a single measurement. The front panel Single key also puts the N8201A in single-measurement mode. Key Path: Meas Control State Saved: Save Factory Preset: Continuous Remote Command: Use :INITiate:CONTinuous OFF|ON. See “" on page 459. Remote Command Notes: This command affects sweeping when in the SA mode.
13 Meas Control Pause or Resume This function pauses the currently running measurement. Pressing Pause toggles between pausing and resuming your measurement. The key label toggles between Pause and Resume.
Meas Control 13 Trigger a Sweep or Measurement (Remote Command Only) This command initiates a sweep if in SA mode with no measurement currently selected. The command is ignored if the instrument is in a measurement (selected under the MEASURE key), but the measurement is currently running, (INITiate:CONTinuous ON). If a measurement is selected but it is in the idle state (that is, it is not running, INITiate:CONT OFF), this command triggers the instrument, when trigger conditions are met.
13 Meas Control Abort the Sweep or Measurement (Remote Command Only) Stops any sweep or measurement in progress and resets the sweep or trigger system. A measurement refers to any of the measurements found in the MEASURE menu. If the trigger conditions are met, another sweep is initiated immediately. If :INITiate:CONTinuous is off (single measure), then :INITiate:IMMediate will start a new single measurement.
User’s and SCPI Programming Guide 14 Measure (Spectrum Analysis Mode) In the Spectrum Analysis mode (see the Mode key), this key displays a menu that lets you make transmitter power measurements such as adjacent channel power, occupied bandwidth, and harmonic distortion measurements. If other modes are available and have been selected, the measurements for that particular mode will be displayed.
14 Measure (Spectrum Analysis Mode) Command Interactions: MEASure, CONFigure, FETCh, INITiate and READ 234 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Measure (Spectrum Analysis Mode) Figure 2 14 Measurement Group of Commands Measure Commands: :MEASure:[n]? This is a fast single-command way to make a measurement using the factory default instrument settings. These are the settings and units that conform to the Mode Setup settings (that is, radio standard) that you have currently selected. • Stops the current measurement (if any) and sets up the instrument for the specified measurement using the factory defaults.
14 Measure (Spectrum Analysis Mode) Fetch Commands: :FETCh:[n]? This command puts selected data from the most recent measurement into the output buffer. Use FETCh if you have already made a good measurement and you want to return several types of data (different [n] values, for example, both scalars and trace data) from a single measurement. FETCh saves you the time of re-making the measurement.
Measure (Spectrum Analysis Mode) 14 Current Measurement Query (Remote Command Only) Returns the name of the measurement that is currently running. Remote Command: :CONFigure? Example: CONF? Test Current Results Against all Limits (Remote Command Only) Allows you to check the status of the fail flag. This will return true (non-zero) if the flag is set to FAIL. A false (zero) is returned if the flag is set to TRUE. The fail flag is updated after every sweep.
14 Measure (Spectrum Analysis Mode) Meas Off Accesses the core spectrum analysis measurement functionality. It turns off the current one-button measurement so there are no keys available in the Meas Setup menu. Key Path: MEASURE Saved State: Saved in state Factory Preset: Meas Off is selected. Remote Command: :CONFigure:SANalyzer Example: CONF:SAN 238 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Measure (Spectrum Analysis Mode) 14 Channel Power Channel Power measures the power and power spectral density in the channel bandwidth that you specify. One marker pair on the display indicates the edges of the channel bandwidth. The center frequency, reference level, and channel bandwidth must be set by the user. For more information see“Meas Setup (Channel Power—CHP)" on page 270. You can configure measurement settings by pressing Meas Setup after selecting Channel Power.
14 Measure (Spectrum Analysis Mode) NOTE The displayed trace is the current trace, not the averaged trace. Pressing Meas Setup after Channel Power has been selected will access the channel power measurement setup menu. Pressing Radio Standard after Mode Setup has been selected will access all the Radio Standards available for which this measurement can be applied.
Measure (Spectrum Analysis Mode) 14 Remote Command: Measurement Results Available Command Results Returned :CONFigure:CHPower :INITiate:CHPower Not Applicable :FETCh:CHPower? :MEASure:CHPower? :READ:CHPower? Returns two values that correspond to the Channel Power and Power Spectral Density. :FETCh:CHPower:CHPower? :MEASure:CHPower:CHPower? :READ:CHPower:CHPower? Returns a single value that corresponds to the Channel Power.
14 Measure (Spectrum Analysis Mode) Occupied BW Occupied Bandwidth integrates the power of the displayed spectrum and puts markers at the frequencies between which a selected percentage of the power is contained. The measurement defaults to 99% of the occupied bandwidth power. The power-bandwidth routine first computes the combined power of all signal responses contained in the trace. For 99% occupied power bandwidth, markers are placed at the frequencies on either side of 99% of the power.
14 Measure (Spectrum Analysis Mode) Remote Command Notes: The results for both values are returned in Hz. Example: FETC:OBW? or MEAS:OBW? or READ:OBW? command returns scalar results of occupied bandwidth and transmit frequency error. FETC:OBW:FERR? or MEAS:OBW:FERR? or READ:OBW:FERR? commands will return the single scalar result specified. f1 Figure 4 f2 Occupied Bandwidth Measurement Results Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
14 Measure (Spectrum Analysis Mode) Adjacent Channel Power—ACP Adjacent Channel Power (ACP) is a measure of the power that leaks into adjacent transmit channels. Depending on the radio standard selected from the Mode Setup menu, this measurement can run in several different modes in order to measure different types of signals. For more information see “Meas Setup (Adjacent Channel Power—ACP)" on page 287. ACP measures the power present in adjacent transmit channels.
Measure (Spectrum Analysis Mode) 14 Measurement Results Available (continued) Command n Condition Results Returned not specified, or n=1 Meas Type = Total Power Reference Method = IBW or RBW Returns 28 comma-separated values, in the following order: Center Frequency - relative power (dB) Center Frequency - absolute power (dBm) Center Frequency - relative power (dB) Center Frequency - absolute power (dBm) Negative Offset Frequency (1) - relative power (dB) Negative Offset Frequency (1) - absolute pow
14 Measure (Spectrum Analysis Mode) Measurement Results Available (continued) Command n Condition not Meas Type = Power specified, or Spectral Density n=1 Reference Results Returned Returns 28 comma-separated values, in the following order: Center Frequency - relative power (dB) Center Frequency - absolute power (dBm/Hz) Center Frequency - relative power (dB) Center Frequency - absolute power (dBm/Hz) Negative Offset Frequency (1) relative power (dB) Negative Offset Frequency (1) absolute power (dBm/Hz
Measure (Spectrum Analysis Mode) 14 the main channel power spectral density and relative power spectral density (0 dB) each repeated. Then followed by the absolute and relative spectral density values for each lower and upper offset. Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
14 Measure (Spectrum Analysis Mode) Multi-Carrier Power Multi-Carrier Power is the measure of the power that leaks into adjacent transmit channels when two or more carriers are present. The results reported are identical to the adjacent power measurement, but the setup is different to allow for two or more carriers. For more information see “Meas Setup (Multi-Carrier Power—MCP)" on page 307. The measurement settings may be configured by pressing Meas Setup after Multi-Carrier Power has been selected.
Measure (Spectrum Analysis Mode) 14 Measurement Results Available (continued) Command n Results Returned n=14 Returns 36 comma-separated scalar results, in the following order. • 1 to 24. All carriers absolute and relative values • 25. lower offset A - relative power (dBc) • 26. lower offset A - absolute power (dBm) • 27. upper offset A - relative power (dBc) • 28. upper offset A - absolute power (dBm) • 29. lower offset B - relative power (dBc) • 30. lower offset B - absolute power (dBm) • 31.
14 Measure (Spectrum Analysis Mode) Power Stat CCDF The CCDF measurement is a statistical measurement of a high-level signal or peak power. It shows in both graphical and tabular form for what percentage of the time a signal exceeds its average power, and by how much this average is exceeded. For more information see “Meas Setup (Power Stat Complementary Cumulative Distribution Function—CCDF)" on page 327.
14 Measure (Spectrum Analysis Mode) Pressing Meas Setup after Power Stat CCDF has been selected will access the Power Stat CCDF measurement setup menu. The factory defaults provide a good starting point for this measurement. The settings are adjustable, however, to meet specific requirements. Pressing Radio Standard after Mode Setup has been selected will access all the Radio Standards available for which this measurement can be applied.
14 Measure (Spectrum Analysis Mode) Measurement Results Available (continued) Command n Results Returned n=4 Returns a series of 501 floating point numbers (in percent) that represent the user-definable reference trace. This is the probability that at specific power levels (average power) will occur, as follows: • Probability at 0 dB power • Probability at 0.1 dB power • Probability at 0.2 dB power • … • 501. Probability at 50.
Measure (Spectrum Analysis Mode) 14 Harmonic Distortion The range table state determines which harmonics are to be measured. If Range Table is set to Off, for each harmonic to be measured, the center frequency will be set to the appropriate integer multiple of the fundamental frequency and a sweep taken. The amplitude is calculated by averaging the power in the trace and is displayed in the results table in the results window.
14 Measure (Spectrum Analysis Mode) Measurement Results Available Command n Results Returned :FETCh:HARMonics:AMPLitude:ALL? :MEASure:HARMonics:AMPLitude:ALL? :READ:HARMonics:AMPLitude:ALL? N/A Returns the amplitude values of the first ten harmonics. The first value (for the fundamental) is measured in dBm. The remaining harmonics are measured in dBm from the fundamental. If fewer than ten harmonics are measured, zero is returned for any harmonic not measured.
Measure (Spectrum Analysis Mode) 14 Example: FETC:HARM:AMPL:ALL? MEAS:HARM:AMPL2? returns the amplitude of the second harmonic measured in dBc from the fundamental. READ:HARM:FREQ10 returns the frequency of the tenth harmonic in Hz. Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
14 Measure (Spectrum Analysis Mode) Burst Power The burst power measurement is an accurate method of determining the average power for the specified burst. Burst power measures the average power in zero-span mode for the captured burst. This measurement is primarily for use with time domain modulated signals (Bluetooth™, GSM /Edge, and NADC).
14 Measure (Spectrum Analysis Mode) p m -----⎞⎞ ⎫ ⎧ ⎛ ⎛ 10 ⎪ ⎜ ⎜ 10 ⎟⎟⎟ ⎪ ⎪ ⎜∑ ⎝ ⎠⎠ ⎪ ⎪ ⎝n ⎪ ( Pavg ) = 10 log 10 ⎨ ------------------------------------- ⎬ m – n ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎩ ⎭ where Pavg = average power, n is the start trace point, m= the stop trace point, and p= the trace point amplitude power in dBm. Figure 7 shows an example of the results obtained when measuring a Bluetooth™ signal and with a user-defined burst width.
14 Measure (Spectrum Analysis Mode) Key Path: MEASURE Remote Command: Measurement Results Available Command n Results Returned :CONFigure:BPOWer :INITiate:BPOWer N/A Not Applicable :FETCh:BPOWer[n]? :MEASure:BPOWer[n]? :READ:BPOWer[n]? n=1 (or not specified) Returns 10 scalar results, in the following order. Sample time Power (RMS of carrier power) Power averaged Number of samples, Amplitude threshold (relative) Maximum trace point on the measured part of the burst.
Measure (Spectrum Analysis Mode) 14 Intermod (TOI) The third order intermodulation (TOI) measurement computes and displays the output intercept point (IP3), and places markers upon the trace to indicate the measured signals and third-order products. For more information see “Meas Setup (Intermod (TOI))" on page 353.
14 Measure (Spectrum Analysis Mode) Spurious Emissions The spurious emissions measurement identifies and determines the power level of spurious emissions in certain frequency bands. For more information see “Meas Setup (Spurious Emissions)" on page 359.
Measure (Spectrum Analysis Mode) 14 Spectrum Emission Mask The Spectrum Emission Mask measurement includes the in-band and out-of-band spurious emissions. As it applies to W-CDMA (3GPP), this is the power contained in a specified frequency bandwidth at certain offsets relative to the total carrier power. It may also be expressed as a ratio of power spectral densities between the carrier and the specified offset frequency band.
14 Measure (Spectrum Analysis Mode) Measurement Results Available (continued) Command / Condition n Results Returned :FETCh:SEMask[n]? :MEASure:SEMask[n]? :READ:SEMask[n]? Using Total Power Reference n=1 (or not specified) 21.Relative power on the negative offset B (dBc) … 59.Absolute peak power on the positive offset E (dBm) 60.Peak frequency in the positive offset E (Hz) If offset F is active: 61.Relative power on the negative offset F (dBc) 62.Absolute power on the negative offset F (dBm) 63.
Measure (Spectrum Analysis Mode) 14 Measurement Results Available (continued) Command / Condition Using Power Spectral Density Reference n (Continue d) n=1 (or not specified) Results Returned 17.Absolute power on the positive offset A (dBm/Hz). For WLAN Radio Std., returns –999.0. 18.Relative peak power on the positive offset A (dB) 19.Absolute peak power on the positive offset A (dBm/Hz) 20.Peak frequency in the positive offset A (Hz) 21.Relative power on the negative offset B (dB). For WLAN Radio Std.
14 Measure (Spectrum Analysis Mode) Measurement Results Available (continued) Command / Condition n Results Returned Using Total Power Reference n=5 Total Power Reference Returns 12 comma-separated scalar values (in dBm) of the absolute power of the segment frequencies (14 when offset F is active): 1. Total power reference (dBm) 2. Reserved for the future use, returns –999.0 3. Negative offset frequency (A) 4. Positive offset frequency (A) … 11.Negative offset frequency (E) 12.
Measure (Spectrum Analysis Mode) 14 Measurement Results Available (continued) Command / Condition n Results Returned Using Power Spectral Density Reference n=6 Power Spectral Density Reference Returns 12 comma-separated scalar values (in dBc/Hz) of the power relative to the carrier at the segment frequencies (14 when offset F is active). Returns –999.0 for the offsets in WLAN standard: 1. Reserved for the future use, returns –999.0 2. Reserved for the future use, returns –999.0 3.
14 Measure (Spectrum Analysis Mode) Measurement Results Available (continued) Command / Condition n Results Returned n=9 Returns 12 comma-separated scalar values of frequency (in Hz) that have peak power in each offset (14 when offset F is active): 1. Reserved for the future use, returns –999.0 2. Reserved for the future use, returns –999.0 3. Negative offset frequency (A) 4. Positive offset frequency (A) … 11.Negative offset frequency (E) 12.Positive offset frequency (E) If offset F is active: 13.
Measure (Spectrum Analysis Mode) 14 Measurement Results Available (continued) Command / Condition n Results Returned n=14 Returns the frequency and amplitude delta from the limit of each failed point Example: FETC:SEM? or MEAS:SEM? or READ:SEM? Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
14 Measure (Spectrum Analysis Mode) 268 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 15 Measurement Setup Displays the setup menu for the currently selected measurement. This menu is empty if no measurement is active. This could be because Meas Off is selected in the Measure menu. Key Path: Front-panel key Dependencies/Couplings: Menu Menu choices depend on the currently selected Mode and Remote Command: There is no equivalent remote command.
15 Measurement Setup Meas Setup (Channel Power—CHP) When the channel power measurement has been selected in the Measure key menu of the Spectrum Analysis Mode, this key displays the appropriate measurement setup menu. The Channel Power measurement measures the power and power spectral density in the channel bandwidth that you specify. One marker pair on the display indicates the edges of the channel bandwidth. The center frequency, reference level, and channel bandwidth must be set by the user.
Measurement Setup 15 Avg Number Specifies the number of measurement averages used when calculating the measurement result set Avg Number to On. The average will be displayed at the end of each sweep. Setting Avg Number to Off disables measurement averaging. Key Path: Meas Setup State Saved: Saved in Instrument State.
15 Measurement Setup Avg Mode Selects the type of termination control used for the averaging function to either Exp or Repeat. This determines the averaging action after the specified number of measurements (average count) is reached. EXP (Exponential Averaging mode) When you set Avg Mode to Exp, each successive data acquisition after the average count is reached is exponentially weighted and combined with the existing average.
Measurement Setup 15 Integ BW Specifies the range of integration used in calculating the power in the channel. Note that the integration bandwidth is displayed on the trace as two markers connected by an arrow. Be sure the Span of the instrument is set between 1 and 10 times the integration bandwidth. Key Path: Meas Setup Key Notes: If RRC Filter is on, the actual integration bandwidth used is the displayed integration bandwidth multiplied by (1 + “Filter Alpha”).
15 Measurement Setup Chan Pwr Span Sets the N8201A span for the channel power measurement. When the RRC Filter is set to On, the lower limit for the span is ( 1 + alpha ) × Integration BW . Key Path: Meas Setup State Saved: Saved in Instrument State. Factory Preset: 3 MHz, or as defined by the selected radio standard. Default Terminator: Hz Range: Current integration bandwidth to 10 times the integration bandwidth or span of your N8201A.
Measurement Setup 15 Optimize Ref Level Sets the input attenuator and reference level to optimize the robustness of the measurement, which is its freedom from errors due to input compression and log amp range limitations. There will always be a minimum of 2 dB of attenuation set to protect the N8201A input. Key Path: Meas Setup State Saved: Not saved.
15 Measurement Setup RRC Filter Turns the Root Raised Cosine filter on or off. This filter is the type specified in the TETRA and 3GPP W-CDMA standards. This parameter is only available when either 3GPP W-CDMA or TETRA has been selected as the Radio Std from the Mode Setup menu. If 3GPP W-CDMA is selected, the rolloff value (alpha) for the filter will be initially set to 0.22. T is set to 1/RefBW (default 260 ns). If TETRA is selected, the rolloff will be initially set to 0.35.
Measurement Setup 15 Filter Alpha Inputs the alpha value for the RRC Filter. This parameter is only available when either 3GPP W-CDMA or TETRA has been selected as the Radio Std. from the Mode Setup menu. Key Path: Meas Setup State Saved: Saved in Instrument State. Factory Preset: Range: 0.22 when W-CDMA is selected, 0.35 for TETRA, otherwise Off. 0.01 to 1.0 Remote Command: [:SENSe]:CHPower:FILTer[:RRC]:ALPHA [:SENSe]:CHPower:FILTer[:RRC]:ALPHA? Example: CHP:FILT:ALPH 0.
15 Measurement Setup Meas Setup (Occupied Bandwidth—OBW) When Occupied BW has been selected in the Measure menu of the Spectrum Analysis Mode, this key displays the appropriate measurement setup menu. The Occupied Bandwidth measurement integrates the power of the displayed spectrum and puts markers at the frequencies between which a selected percentage of the power is contained. The measurement defaults to 99% of the occupied bandwidth power.
Measurement Setup 15 Avg Number Specifies the number of measurement averages used when calculating the measurement result. The average is displayed at the end of each sweep. Press Avg Number (Off) to disable measurement averaging. Key Path: Meas Setup State Saved: Saved in Instrument State.
15 Measurement Setup Avg Mode Enables you to select the type of termination control used for the averaging function (Exp or Repeat). This determines the averaging action after the specified number of measurements (average count) is reached. EXP (Exponential Averaging mode) Each successive data acquisition after the average count is reached is exponentially weighted and combined with the existing average.
Measurement Setup 15 Max Hold Enables you to turn maximum hold trace feature On or Off for the measurement. Maximum hold displays and holds the maximum responses of a signal. Key Path: Meas Setup State Saved: Saved in Instrument State. Factory Preset: Off Remote Command: [:SENSe]:OBW:MAXHold OFF|ON|0|1 [:SENSe]:OBW:MAXHold? Example: OBW:MAXH ON OBW:MAXH? Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
15 Measurement Setup Occ BW % Pwr Enables you to change the percentage of signal power used when determining the occupied bandwidth. Key Path: Meas Setup State Saved: Saved in Instrument State. Factory Preset: Range: 99.0% 10.0% through 99.99% Remote Command: [:SENSe]:OBWidth:PERCent [:SENSe]:OBWidth:PERCent? Example: OBW:PERC 98 OBW:PERC? 282 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Measurement Setup 15 OBW Span Enables you to specify the range of integration used in calculating the total power from which the percent occupied bandwidth is then calculated. The N8201A span will be set to the same value as the OBW Span for the measurement. OBW Span should be set to approximately 2 times the expected occupied bandwidth result. If you have an adjacent channel, you should not set the OBW span to 2X your occupied bandwidth.
15 Measurement Setup x dB Enables you to specify the power level used to determine the emission bandwidth as the number of dB down from the highest signal point (P1), within the occupied bandwidth span. This function is an independent calculation from the OBW calculation. The x dB bandwidth result is also called the emissions bandwidth, or EBW. This will set arrow markers (f1 and f2) to your specified dB value below the maximum power and compute the total power between those arrows.
Measurement Setup Range: 15 –100.0 dB through –0.1 dB Remote Command: [:SENSe]:OBW:XDB [:SENSe]:OBW:XDB? Example: OBW:XDB -50dB OBW:XDB? Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
15 Measurement Setup Optimize Ref Level Sets the input attenuator to optimize the robustness of the measurement, which is its freedom from errors due to input compression. There will always be a minimum of 2 dB of attenuation set to protect the N8201A input. Key Path: Meas Setup State Saved: Saved in Instrument State. Remote Command: [:SENSe]:POWer[:RF]:RANGe:AUTO ONCE Example: POW:RANG:AUTO ONCE 286 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Measurement Setup 15 Meas Setup (Adjacent Channel Power—ACP) If the adjacent channel power (ACP) measurement has been selected in the Measure menu of the spectrum analysis mode, this key displays the ACP measurement setup menu. The adjacent channel power measurement measures the power that leaks into adjacent transmit channels. Depending on the radio standard chosen from the Mode Setup menu, this measurement can run in several different modes in order to measure different types of signals.
15 Measurement Setup Avg Number Specifies the number of measurements that will be averaged when calculating the measurement result. The average will be displayed at the end of each sweep.Setting Avg Number to Off disables the measurement averaging. Key Path: Meas Setup State Saved: Saved in Instrument State.
Measurement Setup 15 Avg Mode Selects the type of termination control used for the averaging function as either Exp or Repeat. This determines the averaging action after the specified number of measurements (average count) is reached. EXP (Exponential Averaging mode) When you set Avg Mode to Exp, each successive data acquisition after the average count is reached is exponentially weighted and combined with the existing average.
15 Measurement Setup Chan Integ BW Specifies the range of integration used in calculating the power in the main channel. Key Path: Meas Setup Key Notes: If RRC Filter is on, the actual integration bandwidth used is the displayed integration bandwidth multiplied by (1 + Filter Alpha). State Saved: Saved in Instrument State. Factory Preset: 2.0 MHz or as defined by the selected radio standard. Default Terminator: Hz Range: 300 Hz to 500 MHz.
Measurement Setup 15 Offset/Limits Accesses menu keys that allow you to configure the offsets for the ACP measurement. Key Path: Meas Setup Offset A, B, C, D, E, or F Accesses a menu of keys to setup an offset. Key Path: Meas Setup, Offset Setup State Saved: Saved in Instrument State. Factory Preset: A Remote Command: There is no remote command for this function.
15 Measurement Setup Range: 0 Hz to 500 MHz Remote Command: [:SENSe]:ACPower:OFFSet:LIST[:FREQuency] ,,,,, [:SENSe]:ACPower:OFFSet:LIST[:FREQuency]? [:SENSe]:ACPower:OFFSet:LIST:STATE OFF|ON|0|1, OFF|ON|0|1, OFF|ON|0|1, OFF|ON|0|1, OFF|ON|0|1, OFF|ON|0|1 [:SENSe]:ACPower:OFFSet:LIST:STATE? Remote Command Notes: This command, along with commands [:SENSe]:ACPower:OFFSet:LIST:BANDwidth|BWIDth [:INTegration] and [:SENSe]:ACPower:OFFSet:LIST:STATe,
Measurement Setup 15 Ref BW Sets the reference bandwidth (integration bandwidth) for each offset. Key Path: Meas Setup, Offset Setup State Saved: Saved in Instrument State. Factory Preset: 2 MHz, if no radio standard (None) is selected. If a radio standard is selected, the default value is defined by the selected standard. This command, along with commands [:SENSe]:ACPower:OFFSet:LIST[:FREQuency] and [:SENSe]:ACPower:OFFSet:LIST:STATe are used to set an entire array of values.
15 Measurement Setup Offset State Frequency Integ. BW B OFF 0 Hz 2 MHz C OFF 0 Hz 2 MHz D OFF 0 Hz 2 MHz E OFF 0 Hz 2 MHz F OFF 0 Hz 2 MHz Example: ACP:OFFS:LIST:BAND 50,50,50,50,50,50 ACP:OFFS:LIST:BAND? Pos Offset Limit Enables you to set the upper limit for the upper segment of the specified offset pair. Key Path: Meas Setup, Offset Setup State Saved: Saved in Instrument State. Factory Preset: 0.
Measurement Setup Key Path: Meas Setup, Offset Setup State Saved: Saved in Instrument State. Factory Preset: 0.
15 Measurement Setup Meas Type Specifies the reference for the measurement, either Total Pwr Ref or PSD Ref. Relative values can be displayed referenced to either the total power (Total Pwr Ref) or the power spectral density (PSD Ref) measured in the main channel. Key Path: Meas Setup State Saved: Saved in Instrument State.
Measurement Setup 15 Optimize Ref Level Sets the input attenuator and reference level to optimize the robustness of the measurement, in which it is free from errors due to input compression and log amp range limitations. The input attenuator setting will not necessarily give the optimum dynamic range, nor the optimum accuracy. No single setting can optimize both, and the optimum setting often depends on the signal characteristics.
15 Measurement Setup Method Enables you to set the measurement method. The resolution bandwidth method is most useful for measuring cdmaOne and cdma2000 signals; the integration bandwidth method is preferred for other signals. Key Path: Meas Setup State Saved: Saved in Instrument State. Factory Preset: IBW Remote Command: [:SENSe]:ACPower:METHod IBW|RBW|FAST [:SENSe]:ACPower:METHod? Example: ACP:METH RBW ACP:METH? IBW Sets the measurement control method to IBW.
Measurement Setup 15 Fast Sets the measurement control method to Fast. When Fast method is selected, the 5 point ACLR measurement method is used. The following parameters are configured to allow the measurement to be made. This method is only available for the 3GPP W-CDMA radio standard, this key will be disabled for all other radio standards. The current function values are not saved when fast method is turned on. Most functions are disabled when Fast is selected.
15 Measurement Setup Function Value Full Span Not Applicable Zero Span Not Applicable Last Span Not Applicable Signal Track Not Applicable * This function is not disabled when Fast is selected. † The maximum sweep time available is limited to 27 ms. Key Path: Meas Setup, Method Remote Command: Use [:SENSe]:ACPower:METHod. “Method" on page 298. Example: ACP:METH FAST The following is an example of how to optimize speed.
Measurement Setup 15 Total Pwr Ref Enables you to set the adjacent channel power reference to automatic or manual when Meas Type is set to Total Pwr Ref. When set to automatic, the carrier power result reflects the measured power value in the carrier. When set to manual, the last measured value is captured and held, or may be entered by the user. Relative values are displayed, referenced to the total power measured in the main channel. Key Path: Meas Setup State Saved: Saved in Instrument State.
15 Measurement Setup Remote Command: [:SENSe]:ACPower:CARRier:CPSD [:SENSe]:ACPower:CARRier:CPSD? Remote Command Notes: This function is only available when measurement type is set to PSD Ref, use the command [:SENSe]:ACPower:TYPE PSDRef to select the measurement type. Example: ACP:CARR:CPSD 5 302 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Measurement Setup 15 Limit Test Turns the testing of the limit line on or off. When Limit Test is set to On, each offset is compared to its upper and lower offset limit. In those cases where the power exceeds the limit, a red “F” is placed next to the dBc result to indicate a failure. If there are any failures, the pass/fail indicator area show “FAIL” in red; if there are none, it shows “PASS” in green.
15 Measurement Setup RRC Filter Turns the Root Raised Cosine filter on or off. This filter is the type specified in the NADC and 3GPP W-CDMA standards and is only available when 3GPP W-CDMA, NADC, or Tetra is selected as the Radio Std from the Mode Setup menu. If 3GPP W-CDMA is selected, the rolloff value (alpha) for the filter will be initially set to 0.22. T is set to 1/RefBW (default 260 ns). If NADC is selected, the rolloff will be initially set to 0.35. T is set to 1/RefBW (default 42 ms).
Measurement Setup 15 Filter Alpha Inputs the alpha value for the RRC Filter. This parameter is available when 3GPP W-CDMA, NADC, or TETRA has been selected as the Radio Std. from the Mode Setup menu. Key Path: Meas Setup State Saved: Saved in Instrument State. Factory Preset: otherwise Off. Range: 0.22 when W-CDMA is selected, 0.35 when NADC or TETRA is selected, 0.01 to 1.0 Remote Command: [:SENSe]:ACPower:FILTer[:RRC]:ALPHA [:SENSe]:ACPower:FILTer[:RRC]:ALPHA? Example: ACP:FILT:ALPH 0.
15 Measurement Setup Noise Correction Turns noise correction on or off. When you set Noise Corr to On, a calibration of the noise floor is performed and used to correct for N8201A noise floor contribution to measurement levels, increasing dynamic range. Noise Correction is unavailable if signal tracking is on, or when the radio standard is set to NADC or PDC when the measurement method is set to RBW. Key Path: Meas Setup, State Saved: Saved in Instrument State.
Measurement Setup 15 Meas Setup (Multi-Carrier Power—MCP) If the MCP measurement has been selected in the Measure menu of the Spectrum Analysis mode, this key displays the MCP measurement setup menu. The Multi-Carrier Power measurement is a measure of the power in two or more transmit channels and of the power that leaks into their adjacent transmit channels. The results reported are similar to the adjacent channel power measurement, but the setup is different to allow for two or more carriers present.
15 Measurement Setup Avg Number Enables you to specify the number of measurements that will be averaged when calculating the measurement result. The average will be displayed at the end of each sweep. Setting Avg Number to Off disables the measurement averaging. Key Path: Meas Setup State Saved: Saved in Instrument State.
Measurement Setup 15 Avg Mode Selects the type of termination control used for the averaging function as either Exp or Repeat. This determines the averaging action after the specified number of measurements (average count) is reached. EXP (Exponential Averaging mode) When you set Avg Mode to Exp, each successive data acquisition after the average count is reached is exponentially weighted and combined with the existing average.
15 Measurement Setup Carrier Setup Accesses the Carrier Setup and Configure Carriers menus that allow you to define the various parameters for each carrier. Key Path: Meas Setup Remote Command: There is no equivalent remote command. Carriers Specifies the number of carriers to be measured.
15 Measurement Setup Factory Preset: Auto Range: Auto/Man 1 to 12 Remote Command: [:SENSe]:MCPower:RCARrier:AUTO OFF|ON|0|1 [:SENSe]:MCPower:RCARrier:AUTO? [:SENSe]:MCPower:RCARrier [:SENSe]:MCPower:RCARrier? Example: MCP:RCAR:AUTO ON MCP:RCAR 3 MCP:RCAR? Ref Carrier Freq Determines whether the Ref Carrier Freq is calculated based on the Center frequency (Auto) or the Center frequency is calculated based on the Ref Carrier Freq (Man).
15 Measurement Setup Key Path: Meas Setup, Carrier Setup Dependencies/Couplings: The reference carrier can be re-assigned by implementing changes to carrier power present values. State Saved: Saved in Instrument State. Factory Preset: Auto/Calculated based on current center frequency. Refer to the algorithm above when defining the Ref Carrier Freq(Auto) key.
15 Measurement Setup State Saved: Saved in Instrument State. Factory Preset: Range: 1 2 to 12 Remote Command: There is no equivalent remote command. Carrier Pwr Present Specifies carriers which have power present. 1 Press the Carrier key and select the carrier number you wish to define, using the keyboard. (The carrier number selected is shown on the Carrier key.) 2 Toggle the Carrier Pwr Present key to indicate either Yes or No.
15 Measurement Setup Example: MCP:CARR:LIST:PPR YES,NO,YES,NO,YES MCP:CARR:LIST:PPR? Carrier Width Specifies the width of each carrier including carriers with no power present. There is a corresponding one-to-one relationship between each carrier width value and the specified number of carriers. 1 Press the Carrier key and select the carrier number you wish to define. (The carrier number selected is shown on the Carrier key.) 2 Press the Carrier Width key and enter the width using the keyboard.
Measurement Setup 15 Example: MCP:CARR:LIST:WIDT 5 MHz,10 MHz,4 MHz,15 MHz,5 MHz,10 MHz MCP:CARR:LIST:WIDT? Carrier IntegBW Defines the integration bandwidth used to calculate the power in the carriers. Key Path: Meas Setup, Carrier Setup, Configure Carriers State Saved: Saved in Instrument State. SCPI Status Bits/OPC Dependencies: The integration bandwidth is specified differently depending on the radio standard selected.
15 Measurement Setup Offsets/Limits Displays menu keys that enable you to configure the offsets and limits for the MCP measurement. Key Path: Meas Setup Remote Command: There is no equivalent remote command. Offset A, B, or C Enables you to select the offset the menu keys will affect. Key Path: Meas Setup, Offset/Limits Factory Preset: A Remote Command: There is no equivalent remote command.
Measurement Setup 15 Example: MCP:OFFS:LIST 5000HZ,7.5000HZ,15000HZ MCP:OFFS:LIST? Offset Integ BW Sets the bandwidth over which the power is integrated for the selected offset (refer to “Offset” above). Key Path: Meas Setup, Offset/Limits Key Notes: If RRC Filter is set to On, the actual integration bandwidth used is the displayed integration bandwidth multiplied by (1 + Filter Alpha). State Saved: Saved in Instrument State. Factory Preset: Terminators: 3.84 MHz, 3.84 MHz, 3.
15 Measurement Setup Default Terminator: Range: dB –200 dB to 200 dB Remote Command: :CALCulate:MCPower:OFFSet:LIST:LIMit:POSitive[:UPPer] :DATA ,, :CALCulate:MCPower:OFFSet:LIST:LIMit:POSitive[:UPPer] :DATA? Example: :CALC:MCP:OFFS:LIST:LIM:POS:DATA -50dB,-55dB,-60dB :CALC:MCP:OFFS:LIST:LIM:POS:DATA? Lower Offset Limit Sets the limit for the selected offset (refer to “Offset” above) to the left of the carriers.
Measurement Setup 15 Carrier Result Selects the result you wish to display on the last line of the carrier power results list except when: • the carrier result number £ 4 (the first 4 carrier power results are displayed) • the carrier result number Š 9 (the last 4 carrier power results are displayed) Key Path: Meas Setup Key Notes: State Saved: This key is only available when Meas Control, Measure (Single) is selected. Not saved. Factory Preset: Range: 1 1 to number of carriers.
15 Measurement Setup Optimize Ref Level Sets the input attenuator to optimize the robustness of the measurement, which is its freedom from errors due to input compression. There will always be a minimum of 2 dB of attenuation set to reduce the potential errors due to VSWR. Key Path: Meas Setup State Saved: Not saved. Remote Command: [:SENSe]:POWer[:RF]:RANGe:AUTO ONCE Example: POW:RANG:AUTO ONCE 320 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
15 Measurement Setup Method Enables you to set the measurement method to either the integration bandwidth method (IBW) or the resolution bandwidth method (RBW). The resolution bandwidth method is most useful for measuring cdmaOne and cdma2000 signals; the integration bandwidth method is preferred for other signals. Key Path: Meas Setup Key Notes: available. State Saved: When Method is set to RBW, neither Noise Correction nor RRC Filter are Saved in Instrument State.
15 Measurement Setup Power Ref Enables you to set the multi-carrier power reference to automatic or manual. When set to automatic, the carrier power result reflects the measured power value in the selected reference carrier (Meas Setup, Carrier Setup, Ref Carrier). When set to manual, the result is referenced to the last measured value, or you may specify the reference for the multi-carrier power measurement. Relative values are displayed, referenced to the “Power Reference” value.
Measurement Setup 15 Limit Test Turns the testing of the limit line on or off. When Limit Test is set to On, each offset is compared to its upper and lower offset limit. In those cases where the power exceeds the limit, a red “F” is placed next to the dBc result to indicate a failure. If there are any failures, the pass/fail indicator area show “FAIL” in red; if there are none, it shows “PASS” in green.
15 Measurement Setup RRC Filter Turns the Root Raised Cosine filter on or off for the carriers and all adjacent channels. The RRC filter is the type specified in the 3GPP W-CDMA standards, with rolloff (a) = Filter Alpha parameter (defined below).T is set to 1/Carrier Integ BW (for carriers) or 1/Offset Integ BW (for Offsets). Key Path: Meas Setup Key Notes: This key is not available when Meas Setup, Method (RBW) is selected. State Saved: Saved in Instrument State.
Measurement Setup 15 Filter Alpha Inputs the alpha value for the RRC Filter. This parameter is only available when 3GPP W-CDMA or None has been selected as the radio standard from the Mode Setup menu. Key Path: Meas Setup State Saved: Saved in Instrument State. Factory Preset: Range: 0.22 when W-CDMA is selected, otherwise Off. Off/On Remote Command: [:SENSe]:MCPower:FILTer[:RRC]:ALPHA [:SENSe]:MCPower:FILTer[:RRC]:ALPHA? Example: MCP:FILT:ALPHA .
15 Measurement Setup Noise Correction Turns noise correction on or off. When you set Noise Correction to On, a calibration of the noise floor is performed and used to correct for N8201A noise floor contribution to measurement levels, increasing dynamic range. Key Path: Meas Setup Key Notes: This key is not available when Meas Setup, Method (RBW) is selected or when signal tracking is on. State Saved: Saved in Instrument State.
Measurement Setup 15 Meas Setup (Power Stat Complementary Cumulative Distribution Function—CCDF) When Power Stat CCDF has been selected in the Measure menu of the Spectrum Analysis mode, this key displays the appropriate measurement setup menu for the complementary cumulative distribution function (CCDF). Power Complementary cumulative distribution function (CCDF) curves characterize the higher-level power of the signal. It provides the distribution of peak-to-average power ratios versus probability.
15 Measurement Setup Meas BW Sets the measurement 3 dB bandwidth. Key Path: Meas Setup State Saved: Saved in Instrument State. Factory Preset: Terminators: Range: Defined by the radio standard selected. Hz, kHz, MHz, GHz 10 kHz to 5MHz Remote Command: [:SENSe]:PSTatistic:BANDwidth|BWIDth [:SENSe]:PSTatistic:BANDwidth|BWIDth? Remote Command Notes: The entered value is rounded to the nearest Res BW filter frequency. This command is coupled with the N8201A resolution bandwidth.
Measurement Setup 15 Counts Sets the accumulated number of sampling points for data acquisition. The range is 1 kpoints (kilopoint–1000 points) to 2.000000 Gpoints (Giga point–109 point) with 1 kpoint resolution. Enter a value using the keyboard. Key Path: Meas Setup State Saved: Saved in Instrument State. Factory Preset: Range: 1.00e5 1e3 to 1e9 Remote Command: [:SENSe]:PSTatistic:COUNts [:SENSe]:PSTatistic:COUNts? Example: PST:COUN 1.
15 Measurement Setup Meas Interval Specifies the time interval over which the measurement is made. The minimum setting is 100 ms. The maximum setting depends on the measurement bandwidth setting but never exceeds 600 ms. The resolution is 1 ms. Key Path: Meas Setup State Saved: Saved in Instrument State. Factory Preset: 1.0ms Default Terminator: Range: s 100 ms to 600 ms Remote Command: [:SENSe]:PSTatistic:SWEep:TIME
Measurement Setup 15 Optimize Ref Level Sets the input attenuator to optimize the robustness of the measurement, which is its freedom from errors due to input compression. There will always be a minimum of 2 dB of attenuation set to protect the N8201A input. Key Path: Meas Setup State Saved: Saved in Instrument State. Remote Command: [:SENSe]:POWer[:RF]:RANGe:AUTO ONCE Example: POW:RANG:AUTO ONCE Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
15 Measurement Setup Meas Setup (Harmonic Distortion) When the harmonic distortion measurement has been selected in the Measure key menu of the Spectrum Analysis Mode, this key displays the appropriate measurement setup menu. Key Path: Front-Panel key Dependencies/Couplings: been selected. Saved State: This measurement is not available when external mixing has Not saved. 332 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Measurement Setup 15 Avg Number Specifies the number of measurement averages used when calculating the measurement result. The average will be displayed at the end of each sweep. Key Path: Meas Setup State Saved: Saved in Instrument State.
15 Measurement Setup Avg Mode Selects the type of termination control used for the averaging function to either Exp or Repeat. This determines the averaging action after the specified number of measurements (average count) is reached. EXP (Exponential Averaging mode) When you set Avg Mode to Exp, each successive data acquisition after the average count is reached is exponentially weighted and combined with the existing average.
Measurement Setup 15 Harmonics Harmonics indicates the number of harmonics to measure before computing the total harmonic distortion. The minimum number is 2 (only the fundamental and second harmonic will be measured). The maximum number is 10. Key Path: Meas Setup State Saved: Saved in Instrument State.
15 Measurement Setup ST/Harmonic Sets the sweep time used to measure each harmonic. The value is set to 200 divided by the resolution bandwidth, or 10 ms, whichever is greater when the measurement is started. This sweep time is used only for measuring harmonics. The N8201A sweep time before the measurement was started is used for finding the fundamental. Key Path: Meas Setup State Saved: Saved in Instrument State.
Measurement Setup 15 Range Table (On/Off) Specifies whether the range table is to be used or not. When Range Table is set to Off the harmonics are measured. When Range Table is set to On the first active range is considered to be the fundamental and the subsequent active ranges are used as the harmonics. At least two ranges must be active if Range Table is set to On. Key Path: Meas Setup Factory Preset: Range: Table 6 on page 338.
15 Measurement Setup Range Table Enables you to enter the settings for up to 10 ranges, either using the instrument front panel keys or remotely. Upon entering the range table, the measurement stops, then the N8201A is set to a constantly sweeping state. The N8201A is then set to the current values for range 1 (whether range 1 is on or off).
Measurement Setup Table 6 15 Range Table Default Settings Range Center Freq (GHz) Res BW (kHz) 4 4.000 430.0 5 5.000 510.0 6 6.000 620.0 7 7.000 750.0 8 8.000 820.0 9 9.000 910.0 10 10.00 1000.0 Remote Command: There is no equivalent remote command. Range Selects a range and updates the values on the other Range Table keys so that they reflect the settings for the selected range. If Range is set to On it is used as part of the measurement; when set to Off it is excluded.
15 Measurement Setup Center Freq Used to set the center frequency of the N8201A. Key Path: Meas Setup, Range Table Factory Preset: Range: See Table 6. Frequency range of your N8201A. Remote Command: This parameter can send up to 10 values. The location in the list sent corresponds to the range the value is associated. Missing values are not permitted, for example, if you want to change values 2 and 6, you must send all values up to 6. Subsequent values will remain as they were.
15 Measurement Setup Res BW Sets the resolution bandwidth mode of the N8201A. If the range is zero span and Res BW is set to Auto, the N8201A determines the optimum setting. Res BW set to Man enables you to determine the setting. Key Path: Meas Setup, Range Table Factory Preset: Range: See Table 6. Resolution bandwidth range of your N8201A. Remote Command: This parameter can send up to 10 values. The location in the list sent corresponds to the range the value is associated with.
15 Measurement Setup This parameter can send up to 10 values. The location in the list sent corresponds to the range the value is associated with. Missing values are not permitted, for example, if you want to change values 2 and 6, you must send all values up to 6. Subsequent values will remain as they were. [:SENSe]:HARMonics:RANGe[:LIST]:BWIDth|BANDwidth:VIDeo :AUTO OFF|ON|0|1 selects the mode.
Measurement Setup 15 Auto Fill Range Table Automatically sets up the range table based on the current range center frequency and span. When selected, the current center frequency is taken as the fundamental and the frequency in range one is set to this value. Each of the subsequent range center frequency parameters are set to the appropriate integer multiple of the fundamental frequency. The span for range one is set to that of the current range.
15 Measurement Setup Optimize Ref Level Sets the input attenuator and reference level to optimize the robustness of the measurement, which is its freedom from errors due to input compression and log amp range limitations. There will always be a minimum of 2 dB of attenuation set to reduce the potential errors due to VSWR. Key Path: Meas Setup State Saved: Saved in Instrument State.
Measurement Setup 15 Meas Setup (Burst Power) When Burst Power has been selected in the Measure menu of the Spectrum Analysis Mode, this key displays the appropriate measurement setup menu. The burst power measurement is an accurate method of determining the average power for the specified burst. 1 Select RF Burst Setup. (Trig, RF Burst Setup) 2 Set the trigger level mode to relative. (Trigger Level (Rel) 3 Set the narrow pulse discriminator to off.
15 Measurement Setup Avg Number Specifies the number of measurement averages used when calculating the measurement result. The average is displayed at the end of each sweep. Key Path: Meas Setup State Saved: Saved in Instrument State.
Measurement Setup 15 Avg Mode Selects the type of termination control used for the averaging function to either Exp or Repeat. This determines the averaging action after the specified number of measurements (average count) is reached. EXP (Exponential Averaging mode) When you set Avg Mode to Exp, each successive data acquisition after the average count is reached is exponentially weighted and combined with the existing average.
15 Measurement Setup Average Type Allows you to specify the type of result averaging to be performed. Log Selects averaging that sums the trace data and divides by the number of data points. RMS Selects averaging that converts trace data from dB to power units, then averages the power trace data. This selection requires more time to perform.
Measurement Setup 15 Threshold Lvl Enables you to set the level above which the mean carrier power calculation is based. The threshold level can be described in dB (Rel) or dBm (Abs).
15 Measurement Setup Meas Method Allows you to select the measurement method. Above Threshold Lvl Selects the user defined threshold level or default level (–3.00 dB) as the criteria in making the measurement. Measured Burst Width This measurement method is not available for the following radio standards: IS-95, J-STD-008, cdma2000-SR1, cdma2000-SR3, W-DCMA 3GPP. The measurements described above are those available in SA mode (see Mode key).
Measurement Setup 15 Burst Width Sets the burst width parameter to automatic mode (Auto) or manual mode (Man). Auto The burst width is automatically calculated based on the threshold level. For example, if the threshold level is set to 3 dB, the burst width will be the time between the two 3 dB points. This will update after each sweep, but before any results are calculated. Since the measurement only measures over the burst width, this will force a measurement between the 3 dB points.
15 Measurement Setup Optimize Ref Level Sets the input attenuator and reference level to optimize the robustness of the measurement, which is its freedom from errors due to input compression and log amp range limitations. There will always be a minimum of 2 dB of attenuation set to protect the N8201A input. Key Path: Meas Setup State Saved: Saved in Instrument State.
Measurement Setup 15 Meas Setup (Intermod (TOI)) When Intermod (TOI) measurement has been selected in the Measure menu of the Spectrum Analysis Mode, this key displays the appropriate measurement setup menu for third order intercept (TOI). The TOI measurement computes and displays the output intercept point (IP3), and places markers upon the trace to indicate the measured signals and third-order products.
15 Measurement Setup Avg Number Set Avg Number to On to specify the number of measurement averages used when calculating the measurement result. The average will be displayed at the end of each sweep. Setting Avg Number to Off disables measurement averaging. Key Path: Meas setup State Saved: Saved in Instrument State.
Measurement Setup 15 Avg Mode Press Avg Mode to select the type of termination control used for the averaging function to either Exp or Repeat. This determines the averaging action after the specified number of measurements (average count) is reached. EXP (Exponential Averaging mode)—When you set Avg Mode to Exp, each successive data acquisition after the average count is reached is exponentially weighted and combined with the existing average.
15 Measurement Setup TOI Span Press Span to specify the frequency span in which intermodulation products are measured. Key Path: Meas Setup Key Note: If you modify the value of Span in the base instrument Span menu, the value in the Meas Setup menu will be updated to reflect the new value and the measurement will restart if it is running. Factory Preset: Range: 15 MHz, or as defined by the radio standard selected.
Measurement Setup 15 Max Mixer Lvl Enables you to set the relationship between the highest signal that can be displayed (the reference level) and the input attenuation. The relationship applies whenever the Attenuation is set to Auto. The relationship is that the attenuation is given by reference level minus the max mixer level. For example, as the reference level changes, the input attenuator changes to ensure that a signal at the reference level does not exceed the Max Mixer Lvl setting.
15 Measurement Setup Optimize Ref Level Sets the reference level to place the tones near the top of the display. When input attenuation is set to Auto, pressing Optimize Ref Level sets the input attenuation according to the auto rules described in Max Mixer Lvl, based on this reference level. You may want to trade off N8201A noise and N8201A-induced distortion by manually changing the attenuation setting from this starting point.
Measurement Setup 15 Meas Setup (Spurious Emissions) When the spurious emissions measurement has been selected in the Measure menu of the Spectrum Analysis mode, this key displays the appropriate measurement setup menu. The spurious emissions measurement identifies and determines the power level of spurious emissions in certain frequency bands. Key Path: Front-panel key Remote Command: There is no equivalent remote command.
15 Measurement Setup Avg Number Specifies the number of measurements that will be averaged when calculating the measurement result. The average will be displayed at the end of each sweep. Off disables the measurement averaging. Key Path: Meas Setup State Saved: Saved in Instrument State.
Measurement Setup 15 Avg Mode Selects the type of termination control used for the averaging function (Exp or Repeat). This determines the averaging action after the specified number of measurements (average count) is reached. EXP (Exponential Averaging mode) When you set Avg Mode to Exp, each successive data acquisition after the average count is reached is exponentially weighted and combined with the existing average.
15 Measurement Setup Range Table Enables you to enter the settings for up to 20 ranges, either using the instrument front panel keys or remotely. Upon entering the range table, the measurement stops, then the N8201A is set to a constantly sweeping idle state. The N8201A is then set to the current values for range 1 (whether range 1 is on or off).
Measurement Setup 15 Points = (Man) 601 The table below defines the other parameter’s settings for the measurement. The values for ranges 1 through 5 are based on the W-CDMA (3GPP) BTS Spurious Emission measurement. Table 7 Range Table Default Settings Range Start Freq (GHz) Stop Freq (GHz) Res BW (kHz) 1 1.920 1.980 1200 2 1.894 1.920 510 3 2.100 2.102 100 4 2.175 2.180 100 5 0.800 1.000 4000 6-20 1.5 2.5 Auto Remote Command: There is no equivalent remote command.
15 Measurement Setup Start Freq Used to set the start frequency of the N8201A. Key Path: Meas Setup, Range Table Factory Preset: Range: See Table 7 on page 363. Frequency range of your N8201A. Remote Command: This parameter can receive up to 20 values. The location in the list sent corresponds to the range the value is associated with. Missing values are not permitted, for example, if you want to change values 2 and 6, you must send all values up to 6. Subsequent values will remain as they were.
15 Measurement Setup Res BW Sets the resolution bandwidth of the N8201A. When Auto is selected the N8201A determines the optimum setting, while Man enables you to determine the setting. Key Path: Meas Setup, Range Table Factory Preset: Range: See Table 7 on page 363. Resolution bandwidth range of your N8201A. Remote Command: This parameter can receive up to 20 values. The location in the list sent corresponds to the range the value is associated with.
15 Measurement Setup [:SENSe]:SPURious[:RANGe][:LIST]:BWIDth|BANDwidth:VIDeo :AUTO OFF|ON|0|1 selects the mode. [:SENSe]:SPURious[:RANGe][:LIST]:BWIDth|BANDwidth:VIDeo The query for this parameter will always return 20 values. [:SENSe]:SPURious[:RANGe][:LIST]:BWIDth|BANDwidth:VIDeo :AUTO? [:SENSe]:SPURious[:RANGe][:LIST]:BWIDth|BANDwidth:VIDeo? Sweep Time Sets the sweep time of the N8201A.
15 Measurement Setup Abs Start Limit Sets the absolute start limit to the set value, then sets the absolute stop limit to the same value as the start limit. Any spurs located above the current setting of Peak Excursn and Threshold will be added to the results table. A red “F” will be appended to the amplitude value of the spur if the measured amplitude of the spur is above the limit set with Abs Start Limit.
15 Measurement Setup Dependencies/Couplings: If the limit is set to Auto, Abs Start Limit and Abs Stop Limit are coupled to make a flat limit line. If set to Man, the absolute start and stop limits can take different values to make a sloped limit line. Factory Preset: Range: See Table 7 on page 363.
15 Measurement Setup This parameter can receive up to 20 values. The location in the list sent corresponds to the range the value is associated with. Missing values are not permitted, for example, if you want to change values 2 and 6, you must send all values up to 6. Subsequent values will remain as they were. [:SENSe]:SPURious[:RANGe][:LIST]:PEAK:EXCursion The query for this parameter will always return 20 values.
15 Measurement Setup Range: 0 to 70 dB Remote Command: [:SENSe]:SPURious[:RANGe][:LIST]:ATTenuation [:SENSe]:SPURious[:RANGe][:LIST]:ATTenuation? Remote Command Notes: The query always returns 20 values Example: SPUR:ATT 20,20,20,20,20,20 Detector 1 Allows you to set the detector to be used by the trace which will be used for display purposes only. The detector choices are: Normal - displays the peak of CW-like signals and maximums and minimums of noise-like signals.
Measurement Setup Range: 15 0 to 70 dB Remote Command: [:SENSe]:SPURious[:RANGe][:LIST]:DETector[1]|2 [:FUNCtion] NORMal|AVERage|POSitive|SAMPle|NEGative|QPEak|EAVerage| EPOSitive|MPositive [:SENSe]:SPURious[:RANGe][:LIST]:DET? Example: SPUR:DET QPE Detector 2 Allows you to set the detector to be used by the trace which will be used for display purposes only. The detector choices are: Normal - displays the peak of CW-like signals and maximums and minimums of noise-like signals.
15 Measurement Setup Range: 0 to 70 dB Remote Command: [:SENSe]:SPURious[:RANGe][:LIST]:DETector[1]|2 [:FUNCtion] OFF|NORMal|AVERage|POSitive|SAMPle|NEGative|QPEak|EAVerage |EPOSitive|MPositive [:SENSe]:SPURious[:RANGe][:LIST]:DET2? Example: SPUR:DET2 EAV Normal Displays the peak-detected level in the interval (bucket) being displayed when the signal is CW-like.
Measurement Setup 15 Peak For each interval (bucket) in the trace, Peak detection displays the highest amplitude within the interval. Peak detection is used for CW measurements and some pulsed-RF measurements. For swept analysis, peak detection basically obtains the maximum video signal between the end of the last bucket and the start of the next one. Gain is increased to compensate for the effects of faster sweep rates, to keep the displayed value accurate.
15 Measurement Setup State Saved: Saved in Instrument State. Remote Command: See “Detector 2" on page 371. Quasi Peak Selects quasi peak detection. This is a fast-rise, slow-fall detector used in making CISPR compliant EMI measurements. Quasi peak detection displays a weighted amplitude using specific charge, discharge, and meter-movement time constants as described in CISPR Publication 16. Key Path: Meas Setup, Range Table, Detector 1 or Detector 2 State Saved: Saved in Instrument State.
Measurement Setup Remote Command: 15 See “Detector 2" on page 371. Off Detector 2 is off, there is no second trace. Key Path: Meas Setup, Range Table, Detector 2 State Saved: Saved in Instrument State. Remote Command: See “Detector 2" on page 371. Points Used to set the points mode of the N8201A. Setting to Man allows you to determine the setting, or by selecting Auto the N8201A will determine the number of trace points to ensure the bucket resolution equals RBW/2.
15 Measurement Setup Meas Type Specifies the measurement type (Examine or Full). This parameter is coupled to the average mode. If you select Examine, the measurement sets Avg Mode to Exp. If you select Full, the measurement sets Avg Mode to Rep. The behavior of each measurement type is described below. Single Examine Full Continuous No Spurs Spurs No Spurs Spurs All active ranges are measured. All active ranges are measured and the found spurs are reported. All active ranges are measured.
Measurement Setup Factory Preset: Range: 15 Examine Examine|Full Remote Command: [:SENSe]:SPURious:TYPE EXAMine|FULL [:SENSe]:SPURious:TYPE? Example: SPUR:TYPE FULL Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
15 Measurement Setup Spur Enables you to view any spurs that have been found. The measurement sets the N8201A to the range in which the currently selected spur was found. The range settings changes only if the selected spur is in the range that is different from the current range settings. A marker identifies the currently selected spur on the trace. This key is enabled only when Meas Type is set to Examine, and only upon completion of a measurement.
Measurement Setup 15 Ref Level Sets the reference level of the N8201A. Key Path: Meas Setup Saved State: Ref Level state is saved to Instrument State. Ref Level value is recalculated for each active range the value is not stored in Instrument State. Factory Preset: Range: 0.
15 Measurement Setup Fast Spurious Meas Turns the fast spurious measurement test on or off. Pressing Fast Spurious Meas to On provides a faster method of execution as with fast spurious testing spurs above the limit line are reported. Any spurs reported outside the limit will cause the measurement to fail. See “Abs Start Limit" on page 367 for more information. Key Path: Meas Setup Saved State: Ref Level state is saved to Instrument State.
Measurement Setup 15 Meas Setup (Spectrum Emissions Mask—SEM) When the spectrum emissions mask measurement has been selected in the Measure menu of the Spectrum Analysis Mode, this key displays the appropriate measurement setup menu. Spectrum Emissions Mask (SEM) measurement includes the in-band and out-of-band spurious emissions. As it applies to W-CDMA (3GPP), this is the power contained in a specified frequency bandwidth at certain offsets relative to the total carrier power.
15 Measurement Setup Avg Number Press Avg Number (On) to specify the number of measurement averages used when calculating the measurement result. The average will be displayed at the end of each sweep. Key Path: Meas Setup State Saved: Saved in Instrument State.
Measurement Setup 15 Meas Type Displays a menu where you can select a measurement reference type, Total Pwr Ref or PSD Ref. Key Path: Meas Setup Factory Preset: Total Pwr Ref Remote Command: [:SENSE]:SEMask:TYPE TPRef | PSDRef [:SENSE]:SEMask:TYPE? Example: SEM:TYPE TPRef or SEM:TYPE PSDRef SEM:TYPE? Total Pwr Ref When Total Pwr Ref is selected, the power in the carrier is used as the reference in computing the relative power values for the offsets.
15 Measurement Setup Ref Channel Accesses the menu of keys that enable you to change the reference channel settings. Key Path: Meas Setup Chan Integ BW Specifies the integration bandwidth used in calculating the power in the main channel. Key Path: Meas Setup, Ref Channel Factory Preset: Range: 3.
Measurement Setup 15 SEM:FREQ:SPAN? Sweep Time Specifies the sweep time used in measuring the power in the main channel.
15 Measurement Setup Example: SEM:BAND 4 MHz SEM:BWID 4 MHz SEM:BAND? SEM:BWID? SEM:BAND:AUTO 1 SEM:BWID:AUTO 1 SEM:BAND:AUTO? SEM:BWID:AUTO? Total Pwr Ref or PSD Ref Displays the type of power measurement reference selected using the Meas Type key (see “Meas Type" on page 383). Total Pwr Ref is the power in the carrier that is used as the reference in computing the relative power values for the offsets. When Man is selected, this can be set by the user.
Measurement Setup 15 SEM:CARR:AUTO 1 SEM:CARR:AUTO? Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
15 Measurement Setup Offset/Limits Displays the menus where you can change the parameters for offset frequency settings and pass/fail tests. Refer to the tables below for default settings of particular radio standards of interest. Table 8 Offsets & Limits Defaulted for W-CDMA (3GPP) Base Station Measurements Offset Start Freq (MHz) Stop Freq (MHz) Sweep Res BW Abs Time (kHz) Start (μs) (dBm) Abs Stop (dBm) Abs Couple Rel Start (dBc) Rel Stop (dBc) Rel Fail Meas Couple Mask BW A, On 2.515 2.
15 Measurement Setup Table 10 Offsets & Limits Defaulted for 802.11a, 802.11g, and HiperLAN/2 Radio Standards Offset Start Freq (MHz) Stop Freq (MHz) Sweep Res BW Abs Abs Time (kHz) Start Stop (ms) (dBm) (dBm) Abs Rel Couple Start (dBc) Rel Stop (dBc) C, On 20.0 30.0 100 100 − 12.0 − 24.0 Man − 40.0 Man Rel 1 D, On 30.0 50.0 100 100 − 24.0 − 24.0 Couple − 40.0 − 40.0 Couple Rel 1 E, Off 50.0 100.0 100 100 − 24.0 − 24.0 Couple − 40.0 − 40.0 Couple Rel 1 F, Off 216.
15 Measurement Setup Start Freq Specifies the inner limit (frequency closest to the carrier) for both segments of the specified offset pair. When Start Freq (Off) is selected, the offset pair is not measured. Key Path: Meas Setup, Offset/Limits State Saved: Saved in Instrument State. Factory Preset: Dependent upon Radio Standard and device selected, refer to the default tables for “Offset/Limits" on page 388 for this value.
Measurement Setup State Saved: 15 Saved in Instrument State. Factory Preset: Dependent upon Radio Standard and device selected, refer to the default tables for “Offset/Limits" on page 388 for this value. Default Terminator: Range: Hz 0 Hz to 500 MHz Remote Command: [:SENSe]:SEMask:OFFSet[n]:LIST:FREQuency:STOP ... [] (up to five values) [:SENSe]:SEMask:OFFSet[n]:LIST:FREQuency:STOP? Remote Command Notes: Comma separated list. When offset F is off, this will be 5 values.
15 Measurement Setup [:SENSe]:SEMask:OFFSet[n]:LIST:SWEeptime:AUTO? Remote Command Notes: Comma separated list. When offset F is off, this will be 5 values. When offset F is on, this will be 6 values. n = 1 for BTS and n = 2 for MS. Default is BTS. Example: SEM:OFFS:LIST:SWE:AUTO 4 ms SEM:OFFS:LIST:SWE:AUTO? SEM:OFFS:LIST:SWE 4 ms SEM:OFFS:LIST:SWE? Res BW Specifies the resolution bandwidth used in measuring the offset pair.
Measurement Setup 15 Example: SEM:OFFS:LIST:BAND 40 kHz or SEM:OFFS:LIST:BWID 40 kHz SEM:OFFS:LIST:BAND? or SEM:OFFS:LIST:BWID? SEM:OFFS:LIST:BAND:AUTO 0 or SEM:OFFS:LIST:BWID:AUTO 0 SEM:OFFS:LIST:BAND:AUTO? or SEM:OFFS:LIST:BWID:AUTO? Meas BW Enables you to specify the bandwidth to use when measuring the offset. When using the front panel, only the currently selected offset is affected. All the offsets are affected when using the remote command.
15 Measurement Setup Range: 1 to 1000 Remote Command: [:SENSe]:SEMask:OFFSet[n]:LIST:BANDwidth|BWIDth:IMULti [:SENSe]:SEMask:OFFSet[n]:LIST:BANDwidth|BWIDth:IMULti? [:SENSe]:SEMask:OFFSet[n]:LIST:BANDwidth|BWIDth [:RESolution]:AUTO OFF|ON|0|1 [:SENSe]:SEMask:OFFSet[n]:LIST:BANDwidth|BWIDth [:RESolution]:AUTO? Remote Command Notes: Comma separated list. When offset F is off, this will be 5 values. When offset F is on, this will be 6 values. n = 1 for BTS and n = 2 for MS. Default is BTS.
Measurement Setup 15 Remote Command Notes: Comma separated list. When offset F is off, this will be 5 values. When offset F is on, this will be 6 values. n = 1 for BTS and n = 2 for MS. Default is BTS. Example: SEM:OFFS:LIST:STAR:ABS –20 dBm SEM:OFFS:LIST:STAR:ABS Abs Stop Enables you to enter an absolute level limit at Stop Freq for the currently selected offset ranging from -200.00 to +50.00 dBm with 0.01 dB resolution, and to toggle this function between Couple and Man.
15 Measurement Setup SEM:OFFS:LIST:STOP:ABS:COUP 0 SEM:OFFS:LIST:STOP:ABS:COUP? Rel Start Enables you to enter a relative level limit at Start Freq ranging from –150.00 to +50.00 dBc with 0.01 dB resolution. Key Path: Meas Setup, Offset/Limits State Saved: Saved in Instrument State. Factory Preset: Dependent upon Radio Standard and device selected, refer to the default tables for “Offset/Limits" on page 388 for this value.
Measurement Setup 15 Factory Preset: Dependent upon Radio Standard and device selected, refer to the default tables for “Offset/Limits" on page 388 for this value. Default Terminator: Range: dBc –200 dBc to 50 dBc Remote Command: [:SENSe]:SEMask:OFFSet[n]:LIST:STOP:RCARrier ,[]...
15 Measurement Setup • Abs OR Rel - Fail is shown if one of the absolute spectrum emission mask measurement results is larger than the limit between Abs Start and Abs Stop, inclusive OR one of the relative spectrum emission mask measurement results is larger than the limit for Rel Start and Rel Stop. Key Path: Meas Setup, Offset/Limits State Saved: Saved in Instrument State.
15 Measurement Setup State Saved: Saved in Instrument State. Factory Preset: Dependent upon Radio Standard and device selected, refer to the default tables for “Offset/Limits" on page 388 for this value. Remote Command: Refer to “Fail Mask" on page 397.
15 Measurement Setup Factory Preset: Range: 1 1 to 6 Remote Command: Example: [:SENSe]:SEMask:RESult SENS:SEM:RES 400 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Measurement Setup 15 Optimize Ref Level Sets the input attenuator and reference level to optimize the robustness of the measurement, which is its freedom from errors due to input compression and log amp range limitations. There is always a minimum of 2 dB of attenuation set to protect the N8201A input. Key Path: Meas Setup State Saved: Saved in Instrument State.
15 Measurement Setup RRC Filter Pressing RRC Filter turns the Root Raised Cosine filter on or off. This filter is the type specified in the 3GPP W-CDMA standards. This parameter is only available when 3GPP W-CDMA is selected as the Radio Std from the Mode Setup menu. If 3GPP W-CDMA is selected, the rolloff value (alpha) for the filter will be initially set to 0.22 and T will be 260 ns. The rolloff value can be changed using Filter Alpha. Key Path: Meas Setup State Saved: Saved in Instrument State.
Measurement Setup 15 Filter Alpha Inputs the alpha value for the RRC Filter. This parameter is only available when 3GPP W-CDMA is selected as the Radio Std. from the Mode Setup menu. Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
15 Measurement Setup 404 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 16 MODE Selects the measurement mode of your analyzer. Spectrum Analysis mode is for general purpose measurement use. The instrument comes with the Spectrum Analysis mode. Additional measurement modes can be added to your instrument memory. Refer to the individual measurement personality mode manuals for instructions on how to install the software.
16 MODE Example: INST SA INST? 406 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
MODE 16 Spectrum Analysis Selects the spectrum analysis measurement mode for your analyzer. Key Path: Mode Remote Command: :INSTrument[:SELect] SA Example: INST SA INST? Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
16 MODE Application Mode Number Selection (Remote command only) Select the measurement mode by its mode number. The actual available choices depend upon which applications are installed in your instrument. Dependencies/Couplings: Other modes, besides Spectrum Analysis, must be installed/licensed in your instrument before they appear in the Mode menu. Some modes also require the presence of specific hardware.
16 MODE Application Mode Catalog Query (Remote command only) Returns a comma separated list of strings that contain the names of all the installed applications/modes. These names can only be used with the INST:SELECT command. Remote Command: :INSTrument:CATalog? Example: INST:CAT? Query response:”SA”,”CDMA”,”PNOISE” Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
16 MODE 410 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 17 Mode Setup (Spectrum Analysis Mode) Enables you to change measurement settings common to all measurements in the MEASURE menu. In Spectrum Analysis mode, there are several built-in power measurements. Parameters that you set in the Mode Setup menu affect all of these measurements.
17 Mode Setup (Spectrum Analysis Mode) Radio Std Accesses the available radio standard. Selecting a radio standard modifies spectrum analyzer settings for the measurements activated under the MEASURE menu. Measurements that are not relevant to the selected radio standard are not available (grayed out) and they do not have instrument default settings associated with them.
Mode Setup (Spectrum Analysis Mode) Key Type: 1 of N menu Key Path: Mode Setup, Radio Std 17 Remote Command: Use[:SENSe]:RADio:STANdard[:SELect] See “Radio Std” on page 412. Example: RAD:STAN IS95 J-STD-008 Sets the specific parameters for the selected measurement (located under the “Measure (Spectrum Analysis Mode)" on page 233 key description) appropriate for industry standard J-STD-008.
17 Mode Setup (Spectrum Analysis Mode) GSM/EDGE Sets the specific parameters for the selected measurement (located under the “Measure (Spectrum Analysis Mode)" on page 233 key description) appropriate for industry standard GSM/EDGE. Power Stat CCDF and Burst Power are the only measurements available for this standard. Key Type: 1 of N menu Key Path: Mode Setup, Radio Std Remote Command: Use[:SENSe]:RADio:STANdard[:SELect] See “Radio Std” on page 412.
Mode Setup (Spectrum Analysis Mode) 17 Remote Command: Use[:SENSe]:RADio:STANdard[:SELect] See “Radio Std” on page 412. Example: RAD:STAN C2000MC1 cdma2000 MC-3X Sets the specific parameters for the selected measurement (located under the “Measure (Spectrum Analysis Mode)" on page 233 key description) appropriate for industry standard cdma2000:MC-3X. All measurements except Multi-Carrier Power, Harmonic Distortion, Spurious Emissions and Spectrum Emission Mask are available for this standard.
17 Mode Setup (Spectrum Analysis Mode) NADC Sets the specific parameters for the selected measurement (located under the “Measure (Spectrum Analysis Mode)" on page 233 key description) appropriate for industry standard NADC. Channel Power and Intermod TOI measurements are not available when Device (MS) is selected. All other measurements are available when this radio standard is selected except: Spectrum Emissions Mask, Harmonic Distortion, Spurious Emissions, and Multi-Carrier Power.
Mode Setup (Spectrum Analysis Mode) 17 Bluetooth™ Sets the specific parameters for the selected measurement (located under the “Measure (Spectrum Analysis Mode)" on page 233 key description) appropriate for industry standard Bluetooth™. Power Stat CCDF and Burst Power are the only measurements available for this standard. Key Type: 1 of N menu Key Path: Mode Setup, Radio Std Remote Command: Use[:SENSe]:RADio:STANdard[:SELect] See “Radio Std” on page 412.
17 Mode Setup (Spectrum Analysis Mode) Remote Command: Use[:SENSe]:RADio:STANdard[:SELect] See “Radio Std” on page 412. Example: RAD:STAN FCC15 WLAN Accesses the WLAN radio standards key menu to enable you to select a WLAN standard. Selecting a radio standard modifies spectrum analyzer settings for the SEM measurement activated under the MEASURE menu. 802.
Mode Setup (Spectrum Analysis Mode) 17 802.11g Sets the specific parameters for the selected measurement (located under the “Measure (Spectrum Analysis Mode)" on page 233 key description) appropriate for industry standard 802.11g. This standard is only available for the Spectrum Emission Mask (SEM) measurement. Key Type: 1 of N menu Key Path: Mode Setup, Radio Std, W-LAN Remote Command: Std” on page 412. Example: Use[:SENSe]:RADio:STANdard[:SELect] See “Radio RAD:STAN WL802DOT11G 802.
17 Mode Setup (Spectrum Analysis Mode) DVB-T Accesses the DVB-T key menu to enable you to select a DVB-T mask filtering standard. Selecting a DVB-T filtering standard modifies spectrum analyzer settings for the CHP or CCDF measurement activated under the MEASURE menu. L/SECAM/NICAM Pressing L/SECAM/NICAM selects the filtering masks for the L/SECAM/NICAM analog television system.
Mode Setup (Spectrum Analysis Mode) 17 S-DMB Accesses the S-DMB radio standards key menu to enable you to select a S-DMB standard. Selecting a radio standard modifies spectrum analyzer settings for the Spurious Emissions measurement activated under the MEASURE menu.
17 Mode Setup (Spectrum Analysis Mode) Remote Command: Std” on page 412. Example: Use[:SENSe]:RADio:STANdard[:SELect] See “Radio RAD:STAN UWBINDOOR 422 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Mode Setup (Spectrum Analysis Mode) 17 Radio Std Setup Accesses the key menu for selecting the device, packet type, or signal bandwidth to be measured. Key Path: Mode Setup Remote Command: There is no equivalent remote command. Signal BW Allows you to set the measurement bandwidth when Radio Std (None) is selected. This function is available only when you select None as the standard. Key Path: Mode Setup, Std Setup Factory Preset: 3.
17 Mode Setup (Spectrum Analysis Mode) Retain Params Enables you to retain the base-instrument parameter settings used by individual measurements that are typically lost when switching between measurements. When Retain Params is set to Off, the values of the fully configurable parameters are not saved and recalled during a measurement change.
Mode Setup (Spectrum Analysis Mode) 17 Enable All Measurements Enable All Measurements allows you to access measurements that are disabled. Not all measurements are available for a particular radio standard. When you select a radio standard, the keys are grayed out for the measurements that are not available. These disabled measurements do not have default settings for the standard that you have selected. So you have to configure the settings yourself when you use them.
17 Mode Setup (Spectrum Analysis Mode) Autorange of Power Setting (Remote command only) This command is the remote version of the Optimize Ref Level key. If this function is applicable to the currently selected measurement, this command sets the reference level and attenuator to optimum values based on the signal present at the input.
17 Mode Setup (Spectrum Analysis Mode) Application Mode Number Selection (Remote command only) Select the measurement mode by its mode number. The actual available choices depend upon which applications are installed in your instrument. Dependencies/Couplings: Other modes, besides Spectrum Analysis, must be installed/licensed in your instrument before they appear in the Mode menu. Some modes also require the presence of specific hardware.
17 Mode Setup (Spectrum Analysis Mode) Application Mode Catalog Query (Remote command only) Returns a comma separated list of strings that contain the names of all the installed applications/modes. These names can only be used with the INST:SELECT command. Remote Command: :INSTrument:CATalog? Example: INST:CAT? Query response:”SA”,”CDMA”,”PNOISE” 428 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 18 Peak Search Places a marker on the highest peak and displays the search menu. If Peak Search Type (Param) is set to Excursion & Threshold, the peak found must meet the defined peak excursion and threshold values. (See “Search Param" on page 437.) Peaks that are less than 1% of the current span away from 0 Hz are ignored. For example, if Span is 1 MHz, peaks will not be found between –10 kHz and +10 kHz. If no valid peak is found, an error (No Peak Found) is displayed.
18 Peak Search Next Peak Places the marker on the next highest peak with an amplitude less than the current peak. The peak must meet the defined peak excursion and threshold values. Peaks that are less than 1% of the current span away from 0 Hz are ignored. If no valid peak is found, an error (No Peak Found) is displayed. Press ESC to clear this message before attempting another search. (Also see “Peak Excursn" on page 437 and “Pk Threshold" on page 438 descriptions.
Peak Search 18 Next Pk Right Moves the marker to the next peak to the right of the current marker. The peak must meet the defined peak excursion and threshold limits. Peaks that are less than 1% of the current span away from 0 Hz are ignored. If no valid peak is found, an error “No Peak Found” is displayed. Press ESC to clear this message before attempting another search. (Also see “Peak Excursn" on page 437 and “Pk Threshold" on page 438 descriptions.
18 Peak Search Next Pk Left Moves the marker to the next peak to the left of the current marker. The peak must meet the defined peak excursion and threshold limits. Peaks that are less than 1% of the current span away from 0 Hz are ignored. If no valid peak is found, an error “No Peak Found” is displayed. Press ESC to clear this message before attempting another search. (Also see “Peak Excursn" on page 437 and “Pk Threshold" on page 438 descriptions.
Peak Search 18 Min Search Moves the active marker to the minimum detected amplitude value on the current trace. Key Path: Peak Search State Saved: Not part of saved state. Remote Command: :CALCulate:MARKer[1]|2|3|4:MINimum Example: CALC:MARK:MIN selects marker 1 and moves it to the minimum amplitude value. Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
18 Peak Search Pk-Pk Search Finds and displays the amplitude and frequency (or time, if in zero span) differences between the highest and lowest trace points by setting a reference marker on the peak signal and placing a Δ marker on the minimum signal. Key Path: Peak Search State Saved: Not part of saved state. Remote Command: :CALCulate:MARKer[1]|2|3|4:PTPeak Example: CALC:MARK:PTP CALC:MARK:Y? queries the delta amplitude value for marker 1.
Peak Search 18 Mkr->CF See “Mkr->CF" on page 200 for the command to select this function. Key Path: Peak Search Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
18 Peak Search Continuous Pk When a marker is placed on a signal and Continuous Pk is pressed, the marker will remain on the signal even if the signal frequency changes, as long as the amplitude of the signal does not change by more than 3 dB from one sweep to another. If the signal is lost, an attempt will be made to find it again and maintain the marker on the signal peak. If there are other signals on screen near the same amplitude, one of them may be found instead.
18 Peak Search Search Param Displays the search parameter criteria menu that enables you to adjust the parameters for the peak search functions. These parameters mean that only peaks that rise above the peak threshold by at least the peak excursion, and then drop by at least the peak excursion, are identified as peaks. Key Path: Peak Search Remote Command: There is no remote command for this key.
18 Peak Search Example: :CALC:MARK:PEAK:EXC 30 DB sets the minimum peak excursion requirement to 30 dB. See the full example for the CALC:MARK:PEAK:SEAR:MODE command below. Pk Threshold Specifies the minimum signal level for the N8201A internal peak identification routine to recognize as a peak. To be considered a peak, a signal must rise above the Peak Threshold value by at least the value specified in Peak Excursn, then fall back down by at least the Peak Excursn.
Peak Search 18 Peak Search Sets the mode for Peak Search to either Max or Param and applies to Peak Search only. • Max (Maximum mode) places a marker on the highest peak whenever a Peak Search is performed. • Param (Parameter mode) searches only for peaks that meet the values set with Peak Excursn and Pk Threshold. Key Path: Peak Search, Search Param State Saved: Saved in Instrument State.
18 Peak Search CALC:MARK:STAT ON turns on marker number 1 and puts it on the active trace at mid screen. CALC:MARK:MAX puts marker 1 on the highest peak that is at least 30 dB above the –60 dBm threshold. :CALC:MARK:Y? returns the y-axis (amplitude) value of the marker in current y-axis units. 440 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 19 Preset Presetting the instrument provides a known convenient starting point of the instrument state for making measurements. There are three possible actions when you press the Preset key: • For preset type Mode (default), the green Preset key immediately performs a mode preset. See the descriptions below. Press System, Power On/Preset, Preset Type to select the preset type. • For preset type Factory, the green Preset key immediately performs a factory preset.
19 Preset Recalling any state, including the user preset state, affects the conditions of more parameters than are affected by a factory preset. For example, external preamp gain and input impedance correction are not affected by a factory preset but are affected by a user preset. Key Path: Front-panel key Dependencies/Couplings: Depends on the preset type (user, mode or factory) setting in the System, Power On/Preset keys. SCPI Status Bits/OPC Dependencies: set to 0. Clears all pending OPC bits.
Preset 19 User Preset This key is only available when the preset type is set to User. Press System, Power On/Preset, Preset Type, User. Restores the N8201A to a user defined state that has been saved for all N8201A modes. You defined this state when Save User Preset was pressed. If you have never saved a user preset state, then the factory preset state is stored as the user preset state.
19 Preset Mode Preset This key is only available when the preset type is set to User. Press System, Power On/Preset, Preset Type, User. A mode preset does not change the mode. It resets only the current mode settings to the factory defaults. Key Path: Preset Remote Command: See “Preset" on page 441. 444 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Preset 19 *RST The *RST command always does a mode preset, except that it sets the instrument to do a single sweep/measurement instead of continuous. Example: SYST:PRES:TYPE MODE selects the mode type preset SYST:PRES immediately presets the current N8201A mode Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
19 Preset Factory Preset This key is available only when the preset type is set to User. Press System, Power On/Preset, Preset Type, Factory. A factory preset returns instrument settings to the factory default values. If you are not already in the spectrum analysis mode, it switches to that mode. A factory preset does not reset “persistent” functions such as time/date display style, or auto-alignment state (see “Restore Sys Defaults" on page 498.) Key Path: Preset Remote Command: :SYSTem:PRESet.
Preset 19 Save User Preset This key is only available when the Preset Type is set to User. Press System, Power On/Preset, Preset Type, User. Key Path: Preset (if preset type is set to User) System, Power On/Preset. See “Save User Preset" on page 20. Remote Command: :SYSTem:PRESet[:USER]:SAVE Example: SYST:PRES:TYPE USER SYST:PRES:SAVE Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
19 Preset 448 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 20 Restart This function restarts a previously paused measurement at the beginning. If the measurement is active, it will stop it as soon as possible and restart it from the beginning.If no measurement is active and Sweep (Single) is selected, a new sweep is initiated. When in Average (On) mode, (BW/Avg, Average) the averaging function is restarted (the trace is reset and the average number is reset to zero). Key Path: Front-panel key.
20 Restart 450 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 21 Single If the N8201A is in continuous sweep mode and not in a measurement (Measure, Meas Off), pressing Single changes the sweep control to single sweep, and executes a sweep after the trigger condition is met. If the N8201A is already in single sweep, pressing Single executes a new sweep after the trigger condition is met.
21 Single 452 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 22 Span / X Scale Activates the Span function and displays the menu of span functions.
22 Span / X Scale Span Changes the displayed frequency range symmetrically about the center frequency. Setting the span to 0 Hz puts the N8201A into zero span. Key Path: SPAN X Scale Dependencies/Couplings: Span is coupled to center frequency. The maximum span may be limited by the center frequency setting. State Saved: Saved in Instrument State Factory Preset: Terminators: 26.49 GHz GHz, MHz, kHz, Hz Default Terminator: Range: Hz 10 Hz to 26.
Span / X Scale 22 Span Zoom Turns on signal tracking and activates the span function. Entering a new span value will then change the span while keeping the marker used for signal tracking centered on the screen. Pressing Span Zoom is the same as pressing: Frequency, Signal Track (On), and Span. See “Signal Track" on page 181. Key Path: SPAN X Scale State Saved: Saved in Instrument State Remote Command: No equivalent SCPI command.
22 Span / X Scale Full Span Changes the displayed frequency span to show the full frequency range of the N8201A. When using external mixing, it changes the displayed frequency span to the frequency range specified for the selected external mixing band. Key Path: SPAN X Scale Remote Command: [:SENSe]:FREQuency:SPAN:FULL Example: FREQ:SPAN:FULL 456 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Span / X Scale 22 Zero Span Changes the displayed frequency span to zero Hertz. The horizontal axis changes to time rather than frequency. The input signal that is at the current center frequency is the displayed amplitude. This is a special operation mode that changes several measurement functions and couplings. The instrument behavior is similar to an oscilloscope with a frequency selective detector installed in front of the oscilloscope.
22 Span / X Scale Last Span Changes the displayed frequency span to the previous span setting. If it is pressed immediately after Signal Track or Span Zoom is turned off, then span setting returns to the span that was in effect before these function were turned on. Key Path: SPAN X Scale Remote Command: [:SENSe]:FREQuency:SPAN:PREVious Example: FREQ:SPAN:PREV 458 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 23 Sweep Activates the Sweep Time function and displays the sweep function menu keys.
23 Sweep Sweep Time Selects the length of time in which the N8201A sweeps the displayed frequency span. In swept spans, the sweep time varies from 1 millisecond to 2000 seconds plus time for setup which is not calculated as part of the sweep time. Reducing the sweep time increases the rate of sweeps. In zero span, the sweep time may be set from 1 μs to 6000 s. In FFT spans, the sweep time is not controlled by the user, but is an estimate of the time required to make FFT measurements.
Sweep 23 Example: SWE:TIME 500 ms SWE:TIME:AUTO OFF Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
23 Sweep Sweep Switches the N8201A between continuous-sweep and single-sweep mode. Pressing the front-panel Single key will also put the N8201A in single-sweep mode, then take a sweep. Key Path: Sweep State Saved: Saved in Instrument State Factory Preset: Continuous Remote Command: :INITiate:CONTinuous OFF|ON|0|1 :INITiate:CONTinuous? :INITiate:[IMMediate] Remote Command Notes: This command affects sweep if not in a measurement, and affects trigger when in a measurement.
Sweep 23 Use the :TRIGger[:SEQuence]:SOURce command to select the trigger source. Example: INIT:CONT OFF Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
23 Sweep Auto Sweep Time Switches the N8201A between normal and accuracy sweep states. Provides you the ability to select the rules for the control of sweep time when Sweep Time is set to Auto. Setting Auto Sweep Time to Accy will result in slower sweep times, usually about three times as long, but better amplitude accuracy for CW signals. The instrument specifications only apply when Sweep Time is set to Auto, and Auto Sweep Time is set to Accy.
Sweep 23 Gate Turns the gate function on and off. When set On, the LO (local oscillator) sweeps whenever the gate conditions are satisfied by the signal at the Gate Source selected under Gate Setup. Turning on the Gate turns off Gate View (described below). Some instruments require a hardware upgrade before gating can be used. Because the LO is gated, the N8201A only sweeps while the gate is enabled. A complete sweep may require several gate events.
23 Sweep [:SENSe]:SWEep:EGATe[:STATe]? Example: SWE:EGAT ON SWE:EGAT? 466 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Sweep 23 Gate Setup Accesses menu keys that setup various gate parameters. Some instruments require a hardware upgrade before gating can be used. Key Path: Sweep Gate View Gate View shows you a display of the gate settings referenced to the signal. The first vertical line is gray. It is the reference location for the gate delay and marks the point where the trigger conditions are met. The green line after that shows the end of the Delay period, where the gate is enabled.
23 Sweep Key Path: Sweep, Gate Setup State Saved: Saved in Instrument State Remote Command: [:SENSe]:SWEep:EGATe:VIEW ON|OFF|1|0 [:SENSe]:SWEep:EGATe:VIEW? Example: SWE:EGAT:VIEW ON Polarity Sets the polarity for the gate signal. When Positive (Pos) is selected, a positive-going edge will satisfy the gate condition, after the delay is set with the Delay key. When Negative (Neg) is selected, a negative-going edge will satisfy the gate condition after the delay.
Sweep Resolution: Range: 23 100 ns 0.0 μs to 100 seconds Remote Command: [:SENSe]:SWEep:EGATe:DELay
23 Sweep Remote Command: [:SENSe]:SWEep:EGATe:SOURce EXTernal[1]|EXTernal2|RFBurst where Ext1 selects the Front input and Ext2 selects the Rear input. [:SENSe]:SWEep:EGATe:SOURce? Example: SWE:EGAT:SOUR EXT2 Trigger In Selects the front panel external trigger input connector as the gate source and sets the voltage level at which the gate will trigger. Changes made to the trigger level setting with this key will also change the setting in the Trig menu.
Sweep State Saved: Saved in Instrument State Remote Command: Example: 23 See “Gate Source" on page 469. SWE:EGAT:SOUR RFB Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
23 Sweep Points Sets the number of points per sweep, from 101 to 8192 in non-zero span and 2 to 8192 in zero span. Resolution of setting the sweep time will depend on the number of points selected. If Factory Preset is selected, or the N8201A power is cycled, the number of points per sweep will default to 601. The current value of points is displayed parenthetically, next to the sweep time in the lower-right corner of the display. Changing the number of points has several effects on the N8201A.
User’s and SCPI Programming Guide 24 System Key Path: Front-panel key Remote Command: There is no remote command for this key.
24 System Show Errors Accesses a display of the last 30 errors reported. The most recent error will appear at the top of the list. The first error listed will be the first error removed if the error list is longer than 30 entries. If the same error message occurs several times the error message will be incremented rather than added to the list as a new error message.
24 System Verbose SCPI On Off Adds additional information to the error messages returned by the SYSTem:ERRor? command. It indicates which remote command was executing when the error occurred and what about that command was unacceptable. Key Path: System, Show Errors State Saved: Preset: cycle. Not saved in Instrument State. Off. This parameter retains the setting previously selected, even through a power Couplings and Dependencies: the SCPI interfaces.
24 System Clear Error Queue Clears the front-panel error queue from the Show Errors display. Key Path: System, Show Errors Remote Command: *CLS 476 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
System 24 Power On/Preset Displays keys that enable you to define the instrument power-on state and user preset state. If Power On is set to Preset, and Preset Type is set to Factory, then turning on the N8201A performs a factory preset. The last state of the N8201A (before it was turned off) is recalled if Power On is set to Last. The user preset state is recalled if Power On is set to Preset and Preset Type is set to User.
24 System Example: SYST:PON:TYPE LAST defines the power on type as the last state the N8201A was in before power was turned off. SYST:PON:TYPE? Preset Type Enables you to select what type of preset will be initiated when you press the green Preset key or send the remote command, using SYST:PRES. Choose between Factory, Mode, or User defined presets. Key Path: System, Power On/Preset State Saved: Preset: Survives Preset and power cycle, but is not saved in Instrument State.
System Factory Default: 24 Mode Remote Command: Preset Type Example: SYST:PRES[:USER]:SAVE saves the current state to be used as the preset user state. SYST:PRES:TYPE USER defines the type of preset as the user preset. With user preset selected, and a user state saved, use SYST:PRES to do a user preset. Mode Sets the preset type to “Mode.” When you do a preset, the current mode factory default instrument state will be restored. A mode preset does not change the mode.
24 System Factory Default: Mode Remote Command: “Preset Type” Example: SYST:PRES:TYPE FACT defines the type of preset as the factory preset. With factory preset selected, use SYST:PRES to do a factory preset. Save User Preset Saves the current state of the N8201A into the User Preset state register for recall when the instrument Preset Type is set to User and you perform a preset operation.
24 System Time/Date Displays the Time/Date function menu keys used to set and display the real-time clock. Key Path: System Remote Command: There is no remote command for this key. Time/Date Turns the display of the real-time clock on or off. Key Path: System, Time/Date Annunciation/Annotation: of the screen. State Saved: Current time and date are displayed in the upper-left corner Survives Preset and power cycle, but not saved in Instrument State.
24 System :DISPlay:ANNotation:CLOCk:DATE:FORMat? Example: DISP:ANN:CLOC:DATE:FORM DMY Set Time Enables you to set the time of the real-time clock. Enter the time in 24 hour HHMMSS format. Key Path: System, Time/Date State Saved: Survives Preset and power cycle, but not saved in Instrument State. Range: Hour (HH): 00 to 23. Minute (MM): 00 to 59. Second (SS): 00 to 59. Remote Command: :SYSTem:TIME ,, :SYSTem:TIME? Example: SYST:TIME 12,42,00 Sets the clock to 12:42:00 PM.
24 System Set Date Allows you to set the date of the real-time clock. Enter the date in the YYYYMMDD format. Key Path: System, Time/Date State Saved: Survives Preset and power cycle, but not saved in Instrument State. Not restored by System, Restore Sys Defaults.
24 System Alignments Displays functions that control the automatic alignment of the instrument and load default values for the alignment system. NOTE Most CALibration commands execute in the background, permitting other SCPI commands to be processed concurrently. If a measurement command is sent right after a CALibration command, there can be interaction between background alignments and the measurement. The *WAI command should be issued after any CALibration command and before the measurement command.
System 24 There are 2 very quick alignments, invisible to the user, that are done every few minutes or when certain settings are changed. These still occur, even if AutoAlign is set to Off. These alignments are the Current SysGain and Current IF Flatness methods which can also be forced to occur by user under the Align Subsys menu. Key Path: System, Alignments State Saved: Survives Preset and power cycle, but not saved in Instrument State.
24 System Frequency Corrections (Remote Command Only) Turns the internal frequency corrections on/off. Saved State: Not saved in instrument state Factory Preset: On Remote Command: :CALibration:FREQuency[:STATe] OFF|ON|0|1 :CALibration:FREQuency[:STATe]? Example: CAL:FREQ OFF Align Subsys Accesses the keys to immediately execute an alignment of one of the subsystems (Align RF, Align IF, Align ADC, and Align Current Sys Gain).
System Remote Command Notes: alignment is successful. Example: 24 The query performs the alignment and returns a zero if the CAL:RF? Align IF Initiates an alignment on the IF assembly. Key Path: System, Alignments, Align Subsys Annunciation/Annotation: alignment progress. Displays a series of pop-up message boxes indicating SCPI Status Bits/OPC Dependencies: if Align RF fails.
24 System Align Current IF Flatness Initiates an alignment of the current IF flatness, for the purpose of improving absolute amplitude within FFT Sweeps and improving group delay in some digital demodulation measurements. Key Path: System, Alignments, Align Subsys Annunciation/Annotation: Displays a series of pop-up message boxes explaining what is being aligned (a subset of the Align All Now message boxes).
System 24 Annunciation/Annotation: Displays a series of pop-up message boxes explaining what is being aligned (a subset of the Align All Now message boxes). Remote Command: :CALibration:GAIN:ADIGitizer :CALibration:GAIN:ADIGitizer? Remote Command Notes: alignment is successful.
24 System Remote Command: :CALibration:TCORrections AUTO|ON|OFF Example: CAL:TCOR OFF 490 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
System 24 Config I/O This key and sub key functions do not apply to the N8201A. NOTE This Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
24 System Reference Displays functions that control the external frequency reference. Key Path: System Remote Command: There is no remote command for the system key. Refer to the remote commands in the “Freq Ref" on page 492. These commands enables you to select an external frequency reference source and specify a value. Freq Ref Specifies the frequency reference as being internal or external.
System 24 [:SENSe]:ROSCillator:EXTernal:FREQuency? Example: Before switching to the external reference source, specify the frequency of the external reference that you plan to use. ROSC:EXT:FREQ 20 MHz sets the external reference frequency to 20 MHz, but does not select the external reference. ROSC:SOUR EXT selects the external reference. 10 MHz Out Switches the 10 MHz out signal on the front panel of the N8201A on or off. Key Path: System, Reference State Saved: Not saved in Instrument State.
24 System Show System Displays the number and description of the options installed in your instrument. It also displays the instrument model number, product number, serial number, ethernet address, host ID, firmware revision, revision date, options, and system statistics. Key Path: System Annunciation/Annotation: Text Screen Dependencies/Couplings: Active function is disabled.
System 24 Remote Command: :SYSTem:CONFigure:HARDware OFF|ON|0|1 Example: SYST:CONF:HARD OFF Color Palette Displays the Color Palette menu keys that set the display screen attributes. Key Path: System State Saved: Not saved in Instrument State, survives Preset, and power cycle. Remote Command: There is no remote command for this key. Default Selects the factory default color palette.
24 System Optical Filter Selects a special color scheme to accommodate protective goggles while viewing lasers. Key Path: System, Color Palette Remote Command: There is no remote command for this key. Monochrome Sets the color palette to single-color mode. The monochrome display uses different shades of green for each green value. This is especially useful for driving external monochrome monitors. Key Path: System, Color Palette Remote Command: There is no remote command for this key.
System 24 Diagnostics Access front-panel diagnostic functions. Key Path: System Remote Command: There is no remote command for this key. Front Panel Test Used to test the front-panel keys. It shows a list of all the front-panel keys with counter numbers indicating the number times the key is pressed. Press the ESC key to exit the test mode and return to the menu. Key Path: System, Diagnostics Annunciation/Annotation: Text Screen Dependencies/Couplings: The active function is disabled.
24 System Restore Sys Defaults Resets the system settings, including most “persistent” functions, to their factory defaults. It also does a Factory Preset that resets the GUI to the Spectrum Analysis Mode. It does not reset user data such as saved instrument states. Persistent functions include the time/date display style and auto-alignment state. These are parameters that are unaffected by a power cycle or an instrument preset.
System 24 Not all options can be enabled using this system and there is no way to turn off an option through this system. Once an option has been licensed for a given N8201A, it cannot be transferred to a different N8201A. Key Path: System Remote Command: There is no remote command for this key. Option Activates the alpha editor enabling you to enter the designation for the option to be installed.
24 System :SYSTem:LKEY? <“option”> Remote Command Notes: The query returns a string that contains the license key for a specified application or option that is already installed in the instrument. The license key will also be returned if the application is not currently in memory, but had been installed at some previous time. The license key is unique to a specific option, host ID and serial number. Host ID can be returned by :SYSTem:HID?.
System 24 Remote Command: :SYSTem:LKEY:DELete <‘application option’> Example: SYST:LKEY:DEL “BAC” Show License Displays the number and description of the licenses installed in your instrument. Key Path: System, Licensing Annunciation/Annotation: Text Screen Dependencies/Couplings: The active function is disabled. Remote Command: There is no remote command for this function.
24 System Personality Pressing Personality displays information about the personalities installed and their license status, as shown in the following illustration. Key Path: System Annunciation/Annotation: Text Screen Dependencies/Couplings: The active function is disabled. 502 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
System 24 Security Pressing Security brings up the Security menu. Key Path: System Dependencies/Couplings: The active function is disabled. Remote Command: There is no remote command for this key. Secure Erase All Erases all persistent storage in the instrument. When pressed, the N8201A will display the following message: “This key will delete all data and firmware in the instrument. You will need to reinstall firmware after executing this operation. Press the key again if you wish to proceed.
24 System two presses to select the function. Upon the second press, the instrument displays the following message: “Please Confirm Erase Operation. Press Yes to reformat C: and erase all saved states and traces. Press No to cancel the operation.” Key Path: System, Security Dependencies/Couplings: Requires Option 117 to be installed and licensed. Remote Command: :SYSTem:SECurity:IMMediate Remote Command Notes: This command blocks the parser until the command is completed.
System 24 Remote Command: :SYSTem:SECurity:ENABle ON|OFF :SYSTem:SECurity:ENABle? Remote Command Notes: This command allows the security state to be set and queried from a SCPI port. Note that the command sets security to the “enabled” mode, which will turn on the security mode at the next power-on cycle. When the parameter is OFF, the security mode will be set to off only if the current security mode is “enabled” or “off.” If the security mode is on, this command has no effect.
24 System Managing Security Secure Erase All Function C A U T IO N Secure Erase All will render the instrument inoperable. All instrument settings under System, Config I/O, such as the LAN address or gateway address will be lost. All instrument option License Keys, such as those that enable the optional preamplifier or measurement personalities, will be lost.
24 System Backing-up Configuration and Option License Keys to a PC (Non-secure Area) 1 Load the N8201A Series Firmware Update Program from the following Agilent Web site: http://www.agilent.com/find/psa_firmware. Click on the PSA firmware update. Begin the firmware upgrade procedure. Accept the licensing agreement. When prompted for an instrument IP address, enter the instrument’s IP address. 2 Allow the configuration files to be saved to the default location on the PC.
24 System If a configuration back-up file is not available, obtain the License Key information saved in the “Preliminary Procedure (Non-secure Area)" on page 506. The option numbers listed in the License Key information allow you to determine which options were previously loaded in the instrument and allow you to check the appropriate boxes in the update program. The actual License Keys are needed to enable the options once the firmware is re-installed.
System 24 Example: :SYSTem:MESSage "Instrument currently in use remotely by Tom" Remote Message Turned Off Removes any system message from the Status Bar at the bottom of the instrument display. A message can be displayed using the :SYSTem:MESSage command. Remote Command: :SYSTem:MESSage:OFF Example: SYST:MESS:OFF Power On Elapsed Time (Remote Command Only) Returns the number of seconds that have elapsed since the instrument was turned on for the very first time.
24 System 510 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 25 Trace/View Displays menu keys that enable you to set how trace information is stored and displayed. Each trace is comprised of a series of data points in which x and y axis information is stored. The N8201A updates the information for the active trace with each sweep.
25 Trace/View Send/Query Trace Data (Remote Command Only) This command allows trace data to be sent to the N8201A or queried from the N8201A. The response to the query is a list of the amplitude points that comprise the requested trace in the current Y-axis unit of the N8201A. The X-axis unit is that of the destination trace for send and the source trace for the query. The number of trace points sent or returned is set by [:SENSE]:SWE:POIN (from 101 to 8192).
25 Trace/View If in the middle of a set of Average or Max/Min Hold operations, it can seriously invalidate the result, so you should exercise caution. Similarly, when querying trace data, it is best if the N8201A is not sweeping during the query. Therefore, it is generally advisable to be in Single Sweep, View or Blank when sending trace data to the N8201A or querying trace data from the N8201A. Example: TRAC TRACE1,-1,-2,-3,-4,-5 sends five points to trace 1.
25 Trace/View Trace 1,2, or 3 Determines which trace the menu keys will affect. Key Path: Trace/View State Saved: Saved in Instrument State for all traces Factory Preset: Factory Default: Trace 1 is active Trace 1 is active Remote Command: There is no remote command for this function. 514 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Trace/View 25 Clear Write Erases any data previously stored in the selected trace and continuously displays signals during the sweep of the N8201A. Key Path: Trace/View Remote Command: See “Trace/View" on page 511. Example: TRAC:MODE WRIT Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
25 Trace/View Max Hold Maintains the maximum level for each trace point of the selected trace (1, 2 or 3), and updates each trace point if a new maximum level is detected in successive sweeps. Pressing Restart, changing the vertical scale (Amplitude, Scale Type, Log or Lin) or turning averaging on (BW/Avg, Average (On)) restarts the held trace. Key Path: Trace/View Remote Command: See “Trace/View" on page 511.
Trace/View 25 Min Hold Maintains the minimum level for each trace point of the selected trace (1, 2 or 3), and updates each trace point if a new minimum level is detected in successive sweeps. Pressing Restart, changing the vertical scale (Amplitude, Scale Type, Log or Lin) or turning averaging on (BW/Avg, Average (On)) restarts the held trace. Key Path: Trace/View Remote Command: See “Trace/View" on page 511.
25 Trace/View View Holds and displays the amplitude data of the selected trace. The trace is not updated as the N8201A sweeps. Key Path: Trace/View, Trace Remote Command: See “Trace/View" on page 511. Example: TRAC:MODE VIEW 518 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Trace/View 25 Blank Stores the amplitude data for the selected trace and removes it from the display. The selected trace register is not updated as the N8201A sweeps. Key Path: Trace/View Remote Command: See “Trace/View" on page 511. Example: TRAC:MODE BLAN Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
25 Trace/View Operations This menu allows the user to do simple trace operations. Key Path: Trace/View 1 <-> 2 Exchanges the contents of trace 1 with the contents of trace 2 and puts both in view mode. The action is performed once. It is not available for continuous sweeps. To clear any trace operation, set the trace back to Clear Write, Max Hold, or Min Hold. The X-Axis settings and domain of a trace stay with it when it is copied or exchanged.
Trace/View 25 The X-Axis settings and domain of a trace stay with it when it is copied or exchanged. Key Path: Trace/View, Operations Remote Command: :TRACe:EXCHange: , Example: TRAC:EXCH TRACE2,TRACE3 1 -> 3 Copies the contents of trace 1 into the contents of trace 3 and puts trace 3 in blank mode. The action is performed once. It is not available for continuous sweeps. To clear any trace operation, set the trace back to Clear Write, Max Hold, or Min Hold.
25 Trace/View Trace Addition (Remote Command Only) This command adds the contents of any two traces, and puts the sum in any trace. The action is performed once. It is not available for continuous sweeps. All traces that are modified are set to View. To clear any trace operations, set the trace back to Clear Write, Max Hold, or Min Hold.
25 Trace/View Normalize Displays menu keys that enable you to normalize trace data. Key Path: Trace/View Store Ref (1 −> 3) Copies trace 1 into trace 3. Store Ref (1 −> 3) must be pressed before pressing Normalize (On). This puts trace 3 in view mode. Key Path: Trace/View, Normalize Remote Command: There is no remote command for this function, however the trace copy command can be used for this purpose.
25 Trace/View Notice that the displayed trace is now flat, or normalized. 3 The position of the normalized trace can now be moved to a different position on the display by changing the normalized reference position. This may be useful if the device to be tested has positive gain, such as an amplifier. Now, replace the through line with the DUT and an accurate measurement of the gain or loss can be made.
Trace/View 25 DISP:WIND:TRAC:Y:NRL? Norm Ref Posn Offsets the displayed trace without affecting the instrument gain or attenuation settings. This allows the displayed trace to be moved without decreasing measurement accuracy. The normalized reference position is indicated with a (>) character on the left side of the display and a (<) character on the right side of the display, just inside the graticule. Key Path: Trace/View, Normalize State Saved: Saved in Instrument State.
25 Trace/View Remote Command Notes: Trace 3 is always the reference trace by definition. Remote Command Example: TRAC3:DISP 1 shows the reference trace. 526 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 26 Trig Displays menu keys that enable you to select the trigger mode of a sweep or measurement. When in a trigger mode other than Free Run, the N8201A will begin a sweep only with the proper trigger condition. In FFT measurements, the trigger controls when the data is acquired for FFT conversion; see “Tip: Making Gated FFT Measurements" on page 78.
26 Trig Free Run Sets the trigger to start a new sweep/measurement as soon as the last one has ended (continuous sweep mode) or immediately (single sweep mode). Key Path: Trig Dependencies/Couplings: Free Run triggering. Trigger Slope and Delay adjustments are not available with Remote Command: See “Trig" on page 527 Example: TRIG:SOUR IMM 528 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
26 Trig Video Activates the trigger condition that allows the next sweep to start if the detected RF envelope voltage crosses a level set by the video trigger level. When Video is pressed, a line appears on the display. The N8201A triggers when the input signal exceeds the trigger level at the left edge of the display. You can change the trigger level using the key pad or the scroll keys. The line remains as long as video trigger is the trigger type. Key Path: Trig Dependencies/Couplings: triggering.
26 Trig Line Sets the trigger to start a new sweep or measurement to be synchronized with the next cycle of the line voltage. Key Path: Trig Couplings/Dependencies: source. Remote Command: Line trigger is not available when operating from a dc power See “Trig" on page 527. Example: TRIG:SOUR LINE selects line triggering. 530 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Trig 26 Trigger In Sets the trigger to start a new sweep or measurement whenever the external voltage (connected to EXT TRIGGER INPUT on the front panel) passes through approximately 1.5 volts. Key Path: Trig State Saved: Saved in Instrument State Factory Preset: 1.5 V Remote Command: See “Trig" on page 527. Example: TRIG:SOUR EXT to select front panel external triggering. Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
26 Trig Ext Rear (Trigger In) NOTE This function is not available on the N8201A. 532 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Trig 26 RF Burst (Wideband) Allows the N8201A to be triggered by an RF burst envelope signal. Key Path: Trig Remote Command: See “Trig" on page 527. Example: TRIG:SOUR RFB Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
26 Trig Trig Slope Controls the trigger polarity. Set to positive to trigger on a rising edge. Set to negative to trigger on a falling edge. Key Path: Trig Dependencies/Couplings: State Saved: Not available for Free Run. Saved in Instrument State. Factory Preset: Positive (rising edge) Remote Command: :TRIGger[:SEQuence]:SLOPe POSitive|NEGative :TRIGger[:SEQuence]:SLOPe? Example: TRIG:SLOP NEG 534 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Trig 26 Trig Delay Allows you to control a time delay during which the N8201A will wait to begin a sweep after receiving an external or line trigger signal. You can use negative delay to pre-trigger the instrument. Trigger Delay is not available in Free Run, so turning Free Run on turns off Trigger Delay, but preserves the value of Trigger Delay. Key Path: Trig Dependencies/Couplings: • This function is not available when Trigger is Free Run or Video. • This function is not available when Gate is on.
26 Trig Trig Offset (Remote Command Only) This command sets the trigger offset. Trigger offset refers to the specified time interval before or after the trigger event from which data is to be written to the trace, and then displayed. Ordinarily, the trigger offset value is zero, and trace data is displayed beginning at the trigger event. A negative trigger offset value results in the display of trace data prior to the trigger event.
User’s and SCPI Programming Guide 27 Using the STATus System When you are programming the instrument you may need to monitor instrument status to check for error conditions or monitor changes. You can determine the state of certain instrument events or conditions by programming the status register system. IEEE common commands (those beginning with *) access the higher-level summary registers. To access the information from specific registers, you would use the STATus commands.
27 Using the STATus System Status System Commands The chapter includes: • A description of the status registers and their hierarchy • Instructions on using the registers and commands • Complete descriptions of the commands \ IEEE (*) Commands *CAL? Calibration Query *CLS Clear Status *ESE , *ESE? Standard Event Status Enable *ESR? Standard Event Status Register Query *IDN? Identification Query *OPC Operation Complete Command *OPC? Operation Complete Query *OPT? Option Information Que
Using the STATus System 27 STATus Commands Operation Positive Transition Preset the Status Bytes STATus:PRESet Status Registers STATus:QUEStionable: Questionable Condition Questionable Enable Questionable Event Query Questionable Negative Transition Questionable Positive Transition Calibration Registers STATus:QUEStionable:CALibration: Questionable Calibration Condition Questionable Calibration Enable Questionable Calibration Event Query Questionable Calibration Negative Transition
27 Using the STATus System STATus Commands Questionable Integrity Signal Positive Transition Calibration Integrity Registers STATus:QUEStionable:INTegrity:UNCalibrated: Questionable Calibration Integrity Condition Questionable Calibration Integrity Enable Questionable Calibration Integrity Event Query Questionable Calibration Integrity Negative Transition Questionable Calibration Integrity Positive Transition Power Registers STATus:QUEStionable:POWer: Questionable Power Condition Quest
27 Using the STATus System Using the Status Registers The Section “N8201A Core Status Register System (Page 2 of 2)" on page 547 shows the N8201A instrument status registers and their hierarchy.
27 Using the STATus System Event Enable Register controls which of the bits, being set in the event register, will be summarized as a single output for the register set. Summary bits are then used by the next higher register. The STATus:QUEStionable registers report abnormal operating conditions. The status register hierarchy is: 1 The summary outputs from the six STATus:QUEStionable: detail registers are inputs to the STATus:QUEStionable register.
Using the STATus System 27 • The service request (SRQ) method In the polling method, the instrument has a passive role. It only tells the controller that conditions have changed when the controller asks the right question. In the SRQ method, the instrument takes a more active role. It tells the controller when there has been a condition change without the controller asking. Either method allows you to monitor one or more conditions.
27 Using the STATus System • The transition registers are preset to register if the condition goes from 0 to 1 (false to true, or a positive transition). • This can be changed so the selected condition is detected if the bit goes from 1 to 0 (true to false, or a negative transition). • It can also be set for both types of transitions occurring. • Or it can be set for neither transition.
27 Using the STATus System 4 Enable the controller to respond to service requests. When the condition changes, the instrument sets its RQS bit and the GPIB SRQ line. The controller is informed of the change as soon as it occurs. As a result, the time the controller would otherwise have used to monitor the condition can be used to perform other tasks. Your program determines how the controller responds to the SRQ.
27 Using the STATus System Core Status Register System (Page 1 of 2) 546 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Using the STATus System 27 N8201A Core Status Register System (Page 2 of 2) Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
27 Using the STATus System Status Byte Register The RQS bit is read and reset by a serial poll. The same bit position (MSS) is read, nondestructively by the *STB? command. If you serial poll bit 6 it is read as RQS, but if you send *STB it reads bit 6 as MSS. For more information refer to IEEE 488.2 standards, section 11. 548 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
27 Using the STATus System Bit Description 0, 1 These bits are always set to 0. 2 A 1 in this bit position indicates that the SCPI error queue is not empty which means that it contains at least one error message. 3 A 1 in this bit position indicates that the data questionable summary bit has been set. The data questionable event register can then be read to determine the specific condition that caused this bit to be set.
27 Using the STATus System Send the *SRE command where is the sum of the decimal values of the bits you want to enable plus the decimal value of bit 6. For example, assume that you want to enable bit 7 so that whenever the standard operation status register summary bit is set to 1 it will trigger a service request. Send the command *SRE 192 (because 192 = 128 + 64). You must always add 64 (the numeric value of RQS bit 6) to your numeric sum when you enable any bits for a service request.
Using the STATus System 27 Standard Event Status Register The standard event status register contains the following bits: Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
27 Using the STATus System Bit Description 0 A 1 in this bit position indicates that all pending operations were completed following execution of the *OPC command. 1 This bit is always set to 0. (The instrument does not request control.) 2 A 1 in this bit position indicates that a query error has occurred. Query errors have SCPI error numbers from −499 to −400. 3 A 1 in this bit position indicates that a device dependent error has occurred.
27 Using the STATus System values of the bits you want to enable. For example, to enable bit 7 and bit 4 so that whenever either of those bits is set to 1, the standard event status summary bit of the status byte register will be set to 1, send the command *ESE 144 (128 + 16). The command *ESE? returns the decimal value of the sum of the bits previously enabled with the *ESE command. The standard event status enable register presets to zeros (0).
27 Using the STATus System Questionable Status Register The questionable status register monitors the instrument’s condition to see if anything problematic has happened to it. It is looking for anything that might cause an error or a bad measurement like a hardware problem, an out of calibration situation, or a unusual signal. All the bits are summary bits from lower-level event registers. Bit Condition Operation 3 Power summary The instrument hardware has detected a power unleveled condition.
Using the STATus System 27 Using the STATus System IEEE Commands These commands are specified in IEEE Standard 488.2-1992, IEEE Standard Codes, Formats, Protocols and Common Commands for Use with ANSI/IEEE Std 488.1-1987. New York, NY, 1992. Numeric values for bit patterns can be entered using decimal or hexadecimal representations. (that is, 0 to 32767 is equivalent to #H0 to #H7FFF) See the SCPI Basics information about using bit patterns for variable parameters.
27 Using the STATus System Standard Event Status Register Query *ESR? Queries and clears the standard event status event register. (This is a destructive read.) Key Type: Range: There is no equivalent front-panel key. Integer, 0 to 255 Identification Query *IDN? Returns an instrument identification information. The string will contain the model number, serial number and firmware revision. The response is organized into four fields separated by commas.
Using the STATus System 27 *OPC? Sets bit 0 in the standard event status register to “1” when pending operations have finished. It does not hold off subsequent operations. The *OPC? query stops new commands from being processed until the current processing is complete. Then it returns a “1”, and the program continues. This query can be used to synchronize events of other instruments on the external bus. The instrument does not wait for completion of all processes for these commands.
27 Using the STATus System Recall *RCL Recalls the instrument state from the specified instrument memory register. If the state being loaded has a newer firmware revision than the revision of the instrument, no state is recalled and an error is reported. If the state being loaded has an equal firmware revision than the revision of the instrument, the state will be loaded.
Using the STATus System 27 Remarks: See also commands :MMEMory:LOAD:STATe and :MMEMory:STORe:STATe Example: *SAV 12 Front Panel Access: File, Save, State Service Request Enable *SRE *SRE? Sets the value of the service request enable register. The query returns the value of the register. Key Type: Range: There is no equivalent front-panel key. Integer, 0 to 255 Example: *SRE 22 Read Status Byte Query *STB? Returns the value of the status byte register without erasing its contents.
27 Using the STATus System The instrument must be in the single measurement mode. If INIT:CONT ON, then the command is ignored. Depending upon the measurement and the number of averages, there may be multiple data acquisitions, with multiple trigger events, for one full trigger cycle. Key Type: There is no equivalent front-panel key. Remarks: See also the :INITiate:IMMediate command Front Panel Access: Restart Self Test Query *TST? NO tests are performed. *TST? always returns 0.
27 Using the STATus System STATus Subsystem The STATus subsystem controls the SCPI-defined instrument-status reporting structures. Each status register has a set of five commands used for querying or masking that particular register. Numeric values for bit patterns can be entered using decimal or hexadecimal representations. (that is, 0 to 32767 is equivalent to #H0 to #H7FFF) See “SCPI Language Basics" on page 582 about using bit patterns for variable parameters.
27 Using the STATus System Key Type: There is no equivalent front-panel key. Operation Negative Transition :STATus:OPERation:NTRansition :STATus:OPERation:NTRansition? Determines which bits in the Operation Condition register will set the corresponding bit in the Operation Event register when the condition register bit has a negative transition (1 to 0). The variable is the sum of the decimal values of the bits that you want to enable.
Using the STATus System 27 Questionable Register Questionable Condition :STATus:QUEStionable:CONDition? Returns the decimal value of the sum of the bits in the Questionable Condition register. The data in this register is continuously updated and reflects the current conditions. Key Type: There is no equivalent front-panel key.
27 Using the STATus System Questionable Negative Transition :STATus:QUEStionable:NTRansition :STATus:QUEStionable:NTRansition? Determines which bits in the Questionable Condition register will set the corresponding bit in the Questionable Event register when the condition register bit has a negative transition (1 to 0). The variable is the sum of the decimal values of the bits that you want to enable. Key Type: There is no equivalent front-panel key.
27 Using the STATus System :STATus:QUEStionable:CALibration:ENABle? Determines which bits in the Questionable Calibration Condition Register will set bits in the Questionable Calibration Event register, which also sets the Calibration Summary bit (bit 8) in the Questionable Register. The variable is the sum of the decimal values of the bits you want to enable. Key Type: There is no equivalent front-panel key.
27 Using the STATus System :STATus:QUEStionable:CALibration:PTRansition? Determines which bits in the Questionable Calibration Condition register will set the corresponding bit in the Questionable Calibration Event register when the condition register bit has a positive transition (0 to 1). The variable is the sum of the decimal values of the bits that you want to enable. Key Type: There is no equivalent front-panel key.
27 Using the STATus System Questionable Calibration Extended Needed Event Query :STATus:QUEStionable:CALibration:EXTended:NEEDed[:EVENt]? Returns the decimal value of the sum of the bits in the Questionable Calibration Extended Needed Event register. The register requires that the associated PTR or NTR filters be set before a condition register bit can set a bit in the event register. The data in this register is latched until it is queried. Once queried, the register is cleared.
27 Using the STATus System Questionable Calibration Extended Failure Register Questionable Calibration Extended Failure Condition :STATus:QUEStionable:CALibration:EXTended:FAILure: CONDition? Returns the decimal value of the sum of the bits in the Questionable Calibration Extended Failure Condition register. The data in this register is continuously updated and reflects the current conditions. Key Type: There is no equivalent front-panel key.
Using the STATus System 27 Questionable Calibration Extended Failure Negative Transition :STATus:QUEStionable:CALibration:EXTended:FAILure: NTRansition :STATus:QUEStionable:CALibration:EXTended:FAILure: NTRansition? Determines which bits in the Questionable Calibration Extended Failure Negative Transition register will set the corresponding bit in the Questionable Calibration Event register when the condition register bit has a negative transition (1 to 0).
27 Using the STATus System Questionable Frequency Enable :STATus:QUEStionable:FREQuency:ENABle :STATus:QUEStionable:FREQuency:ENABle? Determines which bits in the Questionable Frequency Condition Register will set bits in the Questionable Frequency Event register, which also sets the Frequency Summary bit (bit 5) in the Questionable Register. The variable is the sum of the decimal values of the bits you want to enable. Key Type: There is no equivalent front-panel key.
Using the STATus System 27 :STATus:QUEStionable:FREQuency:PTRansition? Determines which bits in the Questionable Frequency Condition register will set the corresponding bit in the Questionable Frequency Event register when the condition register bit has a positive transition (0 to 1). The variable is the sum of the decimal values of the bits that you want to enable. Key Type: There is no equivalent front-panel key.
27 Using the STATus System The register requires that the associated PTR or NTR filters be set before a condition register bit can set a bit in the event register. The data in this register is latched until it is queried. Once queried, the register is cleared. Key Type: There is no equivalent front-panel key.
27 Using the STATus System The data in this register is continuously updated and reflects the current conditions. Key Type: There is no equivalent front-panel key.
27 Using the STATus System Questionable Integrity Signal Positive Transition :STATus:QUEStionable:INTegrity:SIGNal:PTRansition :STATus:QUEStionable:INTegrity:SIGNal:PTRansition? Determines which bits in the Questionable Integrity Signal Condition register will set the corresponding bit in the Questionable Integrity Signal Event register when the condition register bit has a positive transition (0 to 1). The variable is the sum of the decimal values of the bits that you want to enable.
Using the STATus System 27 Returns the decimal value of the sum of the bits in the Questionable Integrity Uncalibrated Event register. The register requires that the associated PTR or NTR filters be set before a condition register bit can set a bit in the event register. The data in this register is latched until it is queried. Once queried, the register is cleared. Key Type: There is no equivalent front-panel key.
27 Using the STATus System Questionable Power Register Questionable Power Condition :STATus:QUEStionable:POWer:CONDition? Returns the decimal value of the sum of the bits in the Questionable Power Condition register. The data in this register is continuously updated and reflects the current conditions. Key Type: There is no equivalent front-panel key.
Using the STATus System 27 Determines which bits in the Questionable Power Condition register will set the corresponding bit in the Questionable Power Event register when the condition register bit has a negative transition (1 to 0). The variable is the sum of the decimal values of the bits that you want to enable. Key Type: There is no equivalent front-panel key.
27 Using the STATus System Determines which bits in the Questionable Temperature Condition Register will set bits in the Questionable Temperature Event register, which also sets the Temperature Summary bit (bit 4) in the Questionable Register. The variable is the sum of the decimal values of the bits you want to enable. Key Type: There is no equivalent front-panel key.
Using the STATus System 27 Determines which bits in the Questionable Temperature Condition register will set the corresponding bit in the Questionable Temperature Event register when the condition register bit has a positive transition (0 to 1). The variable is the sum of the decimal values of the bits that you want to enable. Key Type: There is no equivalent front-panel key.
27 Using the STATus System 580 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
User’s and SCPI Programming Guide 28 Programming Fundamentals This chapter contains the following sections.
28 Programming Fundamentals SCPI Language Basics This section is not intended to teach you everything about the SCPI (Standard Commands for Programmable Instruments) programming language. The SCPI Consortium or IEEE can provide that level of detailed information. Topics covered in this chapter include: • “Command Keywords and Syntax" on page 582. • “Creating Valid Commands" on page 582. • “Special Characters in Commands" on page 583. • “Parameters in Commands" on page 584.
Programming Fundamentals Command Syntax Sample Valid Commands [SENSe:]BANDwidth[:RESolution] The following sample commands are all identical. They will all cause the same result. • Sense:Band:Res 1700 • BANDWIDTH:RESOLUTION 1.7e3 • sens:band 1.7KHZ • SENS:band 1.7E3Hz • band 1.7kHz • bandwidth:RES 1.7e3Hz MEASure:SPECtrum[n]? • MEAS:SPEC? • Meas:spec? • meas:spec3? 28 The number 3 in the last meas example causes it to return different results then the commands above it.
28 Programming Fundamentals Special Character Meaning Example [] Keywords in square brackets are optional when composing the command. These implied keywords will be executed even if they are omitted. Command: [SENSe:]BANDwidth[:RESolution] :AUTO The following commands are all valid and have identical effects: • Ex1: bandwidth:auto • Ex2: band:resolution:auto • Ex3: sense:bandwidth:auto <> Angle brackets around a word, or words, indicates they are not to be used literally in the command.
28 Programming Fundamentals • DOWN - decrements the parameter. • MINimum - sets the parameter to the smallest possible value. • MAXimum - sets the parameter to the largest possible value. The numeric value for the function’s MINimum, MAXimum, or DEFault can be queried by adding the keyword to the command in its query form. The keyword must be entered following the question mark. Example query: SENSE:FREQ:CENTER? MAX Variable Parameters Is an integer value with no units.
28 Programming Fundamentals Bit patterns are most often specified as hexadecimal numbers, though octal, binary or decimal numbers may also be used. In the SCPI language these numbers are specified as: • Hexadecimal, #Hdddd or #hdddd where ‘d’ represents a hexadecimal digit 0 to 9 and ‘a’ to ‘f’. So #h14 can be used instead of the decimal number 20. • Octal, #Odddddd or #odddddd where ‘d’ represents an octal digit 0 to 7. So #o24 can be used instead of the decimal number 20.
Programming Fundamentals 28 SCPI Termination and Separator Syntax All binary trace and response data is terminated with , as defined in Section 8.5 of IEEE Standard 488.2-1992, IEEE Standard Codes, Formats, Protocols and Common Commands for Use with ANSI/IEEE Std 488.1-1987. New York, NY, 1992. (Although one intent of SCPI is to be interface independent, is only defined for IEEE 488 operation.) The following are some examples of good and bad commands.
28 Programming Fundamentals Bad Command Good Command :POW and FREQ are within the same :SENSE subsystem, but they are two separate commands, so they should be separated with a semicolon, not a colon. :POW:ATT -5dB;:FREQ:STAR 10MHz :POW:ATT 5dB;:FREQ:STAR 10MHz Attenuation cannot be a negative value. 588 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.
Programming Fundamentals 28 Improving Measurement Speed There are a number of things you can do in your programs to make them run faster: “Turn off the display updates" on page 589. “Use binary data format instead of ASCII" on page 589. “Put ADC Ranging in Bypass for FFT Measurements for N8201A" on page 590.
28 Programming Fundamentals • Read D characters, the resulting integer specifies the number of data bytes sent. • Read the bytes into a real array. For example, suppose the header is #512320. • The first character/digit in the header (5) tells you how many additional digits there are in the header. • The 12320 means 12 thousand, 3 hundred, 20 data bytes follow the header. • Divide this number of bytes by your current data format (bytes/data point), 8 for real,64.
28 Programming Fundamentals Using an Option Mode: Avoid automatic attenuator setting The internal process for automatically setting the value of the attenuator requires measuring an initial burst to identify the proper attenuator setting before the next burst can be measured properly. If you know the amount of attenuation or the signal level needed for your measurement, just set it.
28 Programming Fundamentals Make sure the attenuation is set manually. Do NOT use automatic attenuation as this requires an additional burst to determine the proper attenuation level before the measurement can be made. 3 Create a small loop that will serial poll the instrument for a status byte value of binary 128. Then wait 1 msec (100 ms if the display is left on/enabled) before checking again, to keep the bus traffic down.
Programming Fundamentals 28 You may need to know the sample interval. In the waveform measurement it is equal to the aperture value. Query :WAVeform:APERture? to find the sample interval. (Note: the WAV:APER? command always takes decimation into account.) The sample interval (aperture value) is dependent on the settings for resolution bandwidth, filter type, and decimation. See Table 13 to see how these value relate. The parameters for this GSM example are MEAN,9,197,1730.
28 Programming Fundamentals Programming Command Compatibility Across Modes Command Subsystem When you select different modes you get different sets of available programming commands. That is, only the commands that are appropriate for the current mode are available. Also, some commands have the same syntax in different modes but have different ranges or settings that are only appropriate to the current mode. The following table shows which command subsystems are the same across different modes.
Programming Fundamentals Command Subsystem Same command set is available in Basic mode.
28 Programming Fundamentals Command Spectrum Analysis, Phase Noise and Noise Figure Mode Basic, cdmaOne, cdma2000, 1xEV-DO, W-CDMA, GSM, EDGE, NADC, PDC Modes *ESE default Default is 255 which means that every error/status bit change that has occurred will be returned with a *ESR? query. You must set the value of *ESE to choose only the bits/status that you want returned. Default is 0 which means that none of the error/status bit changes that have occurred will be returned with a *ESR? query.
Programming Fundamentals 28 Using the LAN to Control the Instrument Remember that in any type of programming using LAN you should avoid constantly opening and closing connections. This uses up processing resources, adds to your system overhead, and can cause problems with asynchronous implementation of successive commands. When you are sending the instrument multiple commands: open the connection, send all the commands, and close the connection. • “Using Telnet to Send Commands" on page 598.
28 Programming Fundamentals Table 14 ftp Commands Command Description bye Closes the connection to the host and exits ftp. cd remote_directory Sets the working directory on the host to remote_directory. delete remote_file Deletes remote_file or empty remote_directory. dir [remote_directory] Lists the contents of the specified remote_directory. If remote_directory is unspecified, the contents of the current remote directory are listed.
28 Programming Fundamentals telnet <5023> The initial telnet connection message will be displayed and then a SCPI> prompt. At the SCPI prompt, simply enter the desired SCPI commands. On a PC (with telnet gui that has host/port setting menu): You would type at the dos prompt telnet NOTE Early versions of Windows XP Telnet will initially only send a LF, not a CRLF. So the telnet port 5023 does not work. You can manually correct this situation by sending the escape sequence and then a CRLF.
28 Programming Fundamentals You need to press Enter after typing in each command. After pressing Enter on the last line in the example above, the instrument returns the amplitude level of the marker to your computer and displays it on the next line. For example, after typing (for N8201A) CALC:MARK:MAX? and pressing Enter, the computer could display: +2.50000000000E+010 When you are done, close the telnet connection. Enter the escape character to get the telnet prompt.
28 Programming Fundamentals Options and Parameters telnet operates in line-by-line mode or in character-at-a-time mode. In line-by-line mode, typed text is first echoed on the screen. When the line is completed by pressing Enter, the text line is then sent to host. In character-at-a-time mode, text is echoed to the screen and sent to host as it is typed. In some cases, if your telnet connection is in “line-by-line” mode, there is no local echo.
28 Programming Fundamentals static void doDcas(string host, int port) { // First open the control port TcpClient dcasPort = new TcpClient(); dcasPort.Connect(host,port); NetworkStream dcasStream = dcasPort.GetStream(); // The control port accepts one command only. When you send DCL\n to the control // port, a device clear will automatically happen. dcasStream.Write(Encoding.UTF8.GetBytes("DCL\n"),0,4); } /// /// This program demonstrates how to do a device clear over the raw socket port.
Programming Fundamentals 28 N8201A.Connect("N8201A",5025); NetworkStream ioStream = N8201A.GetStream(); // Next, send the N8201A the query to obtain the port number assigned to this SCPI // channel's control port. We must do this every time we create a new TcpClient to // the N8201A. Byte[] sendBytes = Encoding.UTF8.GetBytes ("SYST:COMM:LAN:SCPI:SOCK:CONT?\n"); ioStream.Write (sendBytes, 0, sendBytes.Length); byte[] reply = new byte[80]; ioStream.Read(reply,0,80); string returndata = Encoding.UTF8.
28 Programming Fundamentals } } } Troubleshooting help: You can verify that you can open a socket connection to your instrument by using telnet: telnet 5025 Characters typed from your keyboard will not be echoed from the instrument and the SCPI prompt will not be given. However, you will be able to send commands and query the instrument. For example, you can type *idn? and the instrument identification string will be returned.
Programming Fundamentals 28 Emulated GPIB Name The GPIB name is the name given to a device used to communicate with the instrument. Your instrument is shipped with gpib7 as its GPIB name. The GPIB name is the same as the remote SICL address. Emulated GPIB Logical Unit The logical unit number is a unique integer assigned to the device to be controlled using SICL LAN. Your instrument is shipped with the logical unit number set to 8. This can’t be change, but you don’t care.
28 Programming Fundamentals The following assumes a LAN connection between your computer and your instrument. This will not work for the GPIB to LAN gateway. 1 Install VISA revision G.02.02 or higher. 2 Run I/O configuration. 3 Select LAN Client from the available interface types. 4 Press Configure. 5 Enter an interface name, such as lan1. 6 Enter a logical unit number, such as 7. 7 Select Okay. 8 Select VISA LAN Client from the available interface types. 9 Press Configure.
Programming Fundamentals 28 After you have the VISA/SICL LAN I/O drivers installed, perform the steps below to set up VEE to control your instrument: 1 On your computer or workstation, select I/O|Instrument Manager. 2 Add a new GPIB device with an address of 7XX, where XX is the GPIB device address from your instrument. Figure 11 Adding Your Instrument as a VEE Device To send SCPI commands to the instrument, select I/O|Instrument Manager, and the GPIB device just added. Select Direct I/O.
28 Programming Fundamentals For example, the following LOAD statement should be added to your AUTOST program for the parameters listed below: instrument IP address 191.108.344.225 instrument GPIB name inst0 logical unit number 7 timeout value (seconds) 30 LOAD statement (all on a single line) LOAD BIN “GPIBS;DEV lan[191.108.344.225]:inst0 TIME 30 ISC 7” Consult your BASIC documentation to learn how to load the SICL driver for BASIC.
Programming Fundamentals 28 OUTPUT 818; "*IDN?" ENTER 818; S$ where 18 is the device address for the instrument. Using HP/Agilent VEE Over Socket LAN (There is a VEE example program provided on the documentation CD-ROM.) (There is a LabView example program provided on the documentation CD-ROM.) To control your instrument via socket LAN using VEE, click on the VEE menu titled "I/O." Then select “To/From Socket” and position the I/O object box on the screen.
28 Programming Fundamentals Figure 12 Sample VEE Screen Common Problems After a Connection is Made This section describes common problems you may encounter when using the instrument on a LAN. It assumes you have been able to connect to the instrument in the past. If this is not so, refer to the previous sections first. Pressing Preset does not affect LAN settings, but pressing System, Restore Sys Defaults will reset to the original factory defaults.
Programming Fundamentals 28 • If a bad connection is revealed, try the following solutions: • Make sure the instrument is turned on. • Check the physical connection to the LAN. • Make sure the internet (IP) Address of the instrument is set up correctly with the webpage. Refer to the user’s guide for more information. • When connecting to your instrument over a closed network (directly through a hub or crossover cable) it may help to set the instrument to its default settings for subnet mask and gateway.
28 Programming Fundamentals • Disable the use of cached copies of web pages to ensure that you always get a new copy of the instrument’s screen image. If all else fails • Contact your network administrator. • If you still cannot solve the problem, contact an Agilent Service Center for repair information. Pinging the Instrument from a Computer or Workstation Verify the communications link between the computer and the instrument remote file server using the ping utility.
Programming Fundamentals 28 If there is no response, try typing in the IP address with the ping command, instead of using the host name. Check that the typed address matches the IP address assigned in the System, Config I/O menu, then check the other addresses in the menu. Check that the host name and IP address are correctly entered in the node names database.
28 Programming Fundamentals EIA/TIA 568B Wiring Information Table 15 Straight-Through Cable (Unshielded-twisted-pair (UTP) cable with RJ-45 connectors) Standard, Straight-Through Wiring (each end) Signal Name RJ-45 Pin # Wire Color Pair # RX+ 1 white/orange 2 RX- 2 orange TX+ 3 white/green TX- 6 green Not Used 4 blue 5 white/blue 7 white/brown 8 brown 3 1 4 Table 16 Cross-Over Cable (Unshielded-twisted-pair (UTP) cable with RJ-45 connectors) Cross-Over Wiring* Connector A Conn
Programming Fundamentals 28 A convenient way to make a cross-over adapter is to use two RJ-45 jacks wired according to Table 16, above. Standard straight-through patch cables can then be used from the instrument to the adapter, and from the adapter to other LAN devices. If you use a special-purpose adapter, you will avoid having a cross-over cable mistaken for a standard, straight-through patch cable.
28 Programming Fundamentals Programming in C Using the VTL The programming examples that are provided are written using the C programming language and the Agilent VTL (VISA transition library). This section includes some basic information about programming in the C language. Note that some of this information may not be relevant to your particular application. (For example, if you are not using VXI instruments, the VXI references will not be relevant).
Programming Fundamentals 28 viClose This function must be used to close each session. When you close a device session, all data structures that had been allocated for the session will be de-allocated. When you close the default manager session, all sessions opened using the default manager session will be closed. Linking to VTL Libraries Your application must link to one of the VTL import libraries: 32-bit Version: C:\VXIPNP\WIN95\LIB\MSC\VISA32.LIB for Microsoft compilers C:\VXIPNP\WIN95\LIB\BC\VISA32.
28 Programming Fundamentals 6 Click on the Add button and type in the following: C:\VXIPNP\WIN95\LIB\MSC For Borland C++ version 4.0 compilers: • You may wish to add the include file and library file search paths. They are set under the Options | Project menu selection.
Programming Fundamentals 28 /*Initialize device */ viPrintf (vi, "*RST\n"); /*Send an *IDN? string to the device */ printf (vi, "*IDN?\n"); /*Read results */ viScanf (vi, "%t", &buf); /*Print results */ printf ("Instrument identification string: %s\n", buf); /* Close sessions */ viClose (vi); viClose (defaultRM); } Including the VISA Declarations File For C and C++ programs, you must include the visa.h header file at the beginning of every file that contains VTL function calls: #include "visa.
28 Programming Fundamentals NOTE All devices that you will be using need to be connected and in working condition prior to the first VTL function call (viOpenDefaultRM). The system is configured only on the first viOpenDefaultRM per process. Therefore, if viOpenDefaultRM is called without devices connected and then called again when devices are connected, the devices will not be recognized. You must close ALL resource manager sessions and reopen with all devices connected and in working condition.
Programming Fundamentals 28 ViSession defaultRM, dmm, scanner; . . viOpenDefaultRM(&defaultRM); viOpen (defaultRM, "GPIB0::22::INSTR", VI_NULL, VI_NULL, &dmm); viOpen (defaultRM, "GPIB-VXI0::24::INSTR", VI_NULL, VI_NULL, &scanner); . . viClose (scanner); viClose (dmm); viClose(defaultRM); The above function first opens a session with the default resource manager. The session returned from the resource manager and a device address is then used to open a session with the GPIB device at address 22.
28 Programming Fundamentals secondary address This optional parameter is the secondary address of the GPIB device. If no secondary address is specified, none is assumed. INSTR This is an optional parameter that indicates that you are communicating with a resource that is of type INSTR, meaning instrument. If you want to be compatible with future releases of VTL and VISA, you must include the INSTR parameter in the syntax.