Anritsu MS2711D Programming Manual

Page 1
Fast.Accurate, Repeatable, Portable Spectrum Analysis
Spectrum Master
MS2711D
MS2712
MS2712
SiteMaster
SpectrumMaster
CellMaster
MS2711D
Spectrum Master
S331D
Site Master
SiteMaster
SpectrumMaster
MT8212A
Cell Master
CellMaster
Programming Manual
Page 2

WARRANTY

The Anritsu product(s) listed on the title page is (are) warranted against defects in materi als and workmanship for one year from the date of shipment. Anritsu’s obligation covers repairing or replacing products which prove to be defective during the warranty period. Buyers shall prepay transportation charges for equipment re
­turned to Anritsu for warranty repairs. Obligation is limited to the original purchaser. Anritsu is not liable for consequential damages.
LIMITATION OF WARRANTY
The foregoing warranty does not apply to Anritsu connectors that have failed due to nor mal wear. Also, the warranty does not apply to defects resulting from improper or inade
-
­quate maintenance by the Buyer, unauthorized modification or misuse, or operation outside the environmental specifications of the product. No other warranty is expressed or implied, and the remedies provided herein are the Buyer’s sole and exclusive remedies.
TRADEMARK ACKNOWLEDGEMENTS
Spectrum Master is a trademark of Anritsu Company.
NOTICE
Anritsu Company has prepared this manual for use by Anritsu Company personnel and customers as a guide for the proper installation, operation, and maintenance of Anritsu Company equipment and computer programs. The drawings, specifications, and informa­tion contained herein are the property of Anritsu Company, and any unauthorized use or disclosure of these drawings, specifications, and information is prohibited; they shall not be reproduced, copied, or used in whole or in part as the basis for manufacture or sale of the equipment or software programs without the prior written consent of Anritsu Com­pany.
-
UPDATES
Updates to this manual, if any, may be downloaded from the Anritsu internet site at: www.us.anritsu.com.
October 2004 10580-00098 Copyright ã 2004 Anritsu Co. Revision: C
Page 3

Table of Contents

Programming Overview . . . . . . . . . . . . . . . . . . . . . . . . . ............1
Control Byte Summary. . . . . . . . . . . . . . . . . . . . . . ................3
Control Byte Descriptions . . . . . . . . . . . . . . . . . . . . ................7
Setup System – Control Byte #1 (01h) ....................................7
Select Measurement Mode – Control Byte #3 (03h) .............................7
Read Time/Date – Control Byte #7 (07h)...................................7
Set Time/Date – Control Byte #8 (08h)....................................8
Set Reference Number – Control Byte #9 (09h) ...............................8
Serial Port Echo On/Off – Control Byte #10 (0Ah) .............................8
Watch-Dog Timer On/Off – Control Byte #12 (0Ch) ............................9
Store Sweep Trace – Control Byte #16 (10h).................................9
Recall Sweep Trace – Control Byte #17 (11h) ...............................10
Save System Setup – Control Byte #18 (12h) ................................14
Recall System Setup – Control Byte #19 (13h) ...............................14
Query System Status – Control Byte #20 (14h) ...............................15
Trigger Self-Test – Control Byte #21 (15h) .................................19
Read Fail Counter – Control Byte #22 (16h) ................................19
Clear Fail Counters - Control Byte #23 (17h) ................................20
Query Trace Names – Control Byte #24 (18h) ...............................20
Delete Sweep Trace – Control Byte #25 (19h) ...............................20
Upload SPA Sweep Trace – Control Byte #26 (1Ah) ............................20
Query Sweep Memory – Control Byte #27 (1Bh)..............................24
Query System Status – Control Byte #29 (1Dh) ..............................24
Select Printer Type – Control Byte #30 (1Eh)................................31
Recall Sweep Trace – Control Byte #33 (21h) ...............................32
Set A/B Trace – Control Byte #34 (22h) ..................................39
Set Spectrum Analyzer A/B Trace – Control Byte #35 (23h) .......................39
Upload Sweep Trace – Control Byte #36 (24h) ..............................40
Get Options – Control Byte #37 (25h) ...................................45
Query Power Level – Control Byte #39 (27h) (Option 29 only) ......................45
Set Power Meter Units – Control Byte #40 (28h) (Option 29 only) ....................46
Power Meter Relative Mode On/Off – Control Byte #41 (29h) (Option 29 only) .............46
Power Meter Offset Mode On/Off – Control Byte #42 (2Ah) (Option 29 only) ..............46
Power Meter Zero Mode On/Off – Control Byte #43 (2Bh) (Option 29 only) ...............46
Power Meter RMS Averaging On/Off – Control Byte #44 (2Ch) (Option 29 only) ............47
Power Meter Center Freq and Span Setup – Control Byte #45 (2Dh) (Option 29 only) ..........47
Trigger Sweep – Control Byte #48 (30h) ..................................47
Spectrum Master PM i
Page 4
Sweep Data Echo On/Off - Control Byte #49 (31h).............................48
Check Battery Status – Control Byte #50 (32h) ...............................48
Set SPA Minimum Sweep Time - Control Byte #53 (35h) .........................49
Set Trigger Position - Control Byte #54 (36h) ...............................49
Set Video Trigger Level - Control Byte #55 (37h) .............................49
Automatically Save Runtime Setup – Control Byte #64 (40h) .......................50
Download Saved Setup – Control Byte #65 (41h) .............................50
Upload Setup – Control Byte #66 (42h) ...................................60
Query Saved Setups – Control Byte #68 (44h) ...............................70
Enter Remote Mode – Control Byte #69 (45h) ...............................71
Enter Remote Mode Immediately – Control Byte #70 (46h) ........................71
Write Protect Setup – Control Byte #71 (47h) ...............................72
Clear Setup Memory Location – Control Byte #72 (48h) ..........................72
Write Antenna – Control Byte #82 (52h) ..................................73
Recall Antenna – Control Byte #83 (53h) .................................73
Set Field Strength Measurement – Control Byte #84 (54h) .........................74
Set Channel Power – Control Byte #85 (55h) ................................74
Read Channel Power – Control Byte #86 (56h) ...............................75
Set Adjacent Channel Power Ratio (ACPR) – Control Byte #87 (57h) ...................75
Read Adjacent Channel Power Ratio (ACPR) – Control Byte #88 (58h)..................76
Read Signal Standard Name – Control Byte #89 (59h) ...........................76
Measure OCC BW % of Power – Control Byte #96 (60h) .........................76
Measure OCC BW dB Down – Control Byte #97 (61h) ..........................77
Set Bias Tee Function - Control Byte #98 (62h) (Option 10 only) .....................77
Set Spectrum Analyzer Start/Stop Frequency – Control Byte #99 (63h) ..................78
Set Spectrum Analyzer Center Freq./Span – Control Byte #100 (64h) ...................78
Set Spectrum Analyzer Scale – Control Byte #101 (65h) ..........................78
Set Spectrum Analyzer Marker – Control Byte #102 (66h) .........................79
Set Spectrum Analyzer Single Limit – Control Byte #103 (67h) ......................79
Set Spectrum Analyzer Peak Hold – Control Byte #105 (69h) .......................80
Set Spectrum Analyzer Resolution Bandwidth – Control Byte #106 (6Ah) ................80
Set Spectrum Analyzer Video Bandwidth – Control Byte #107 (6Bh) ...................80
Set Spectrum Analyzer Sweep Mode – Control Byte #108 (6Ch) .....................81
Set Spectrum Analyzer Marker to Peak – Control Byte #109 (6Dh) ....................81
Set Spectrum Analyzer Marker to Center – Control Byte #110 (6Eh) ...................81
Set Spectrum Analyzer Attenuation – Control Byte #111 (6Fh) ......................81
Set Spectrum Analyzer Multiple Limit – Control Byte #113 (71h) ....................82
Set Return Spectrum Analyzer Sweep Time – Control Byte #114 (72h) ..................83
Set Reference Level Offset – Control Byte #115 (73h) ...........................83
Set Spectrum Analyzer Impedance - Control Byte #116 (74h) .......................84
ii Spectrum Master PM
Page 5
Read Marker Value – Control Byte #117 (75h) ...............................84
Set Sweep Averaging – Control Byte #118 (76h) ..............................85
Normalize Spectrum Analyzer - Control Byte #130 (82h) .........................85
Set Spectrum Analyzer Normalization Status - Control Byte #131 (83h) .................85
Set / Reset Spectrum Analyzer External Reference – Control Byte #133 (85h) ..............85
Check Spectrum Analyzer External Reference – Control Byte #134 (86h).................86
Set Spectrum Analyzer Preamp State (On/Off/Auto) – Control Byte #136 (88h) .............86
Set Spectrum Analyzer Units – Control Byte #140 (8Ch) .........................86
Set Spectrum Analyzer Resolution Bandwidth – Control Byte #141 (8Dh) ................87
Set Spectrum Analyzer Video Bandwidth – Control Byte #142 (8Eh) ...................87
Set Spectrum Analyzer Attenuation – Control Byte #143 (8Fh) ......................88
Set AM/FM Demodulation – Control Byte #145 (91h) ...........................88
Set Baud Rate – Control Byte #197 (C5h) .................................89
Set Language – Control Byte #198 (C6h) ..................................89
Query Time – Control Byte #208 (D0h) ..................................89
Read ASCII Serial Number – Control Byte #225 (E1h) ..........................90
Exit Remote Mode – Control Byte #255 (FFh) ...............................90
Select Spectrum Analyzer/Power Meter Signal Standard - Control Word (A103h) ............90
Select Spectrum Analyzer/Power Meter Channel - Control Word (A104h) ................90
Read External Module Name – Control Word (A201h) (Option 6 only) ..................91
Read External Module Serial Number – Control Word (A202h) (Option 6 only) .............91
Read External Module Frequency Range – Control Word (A203h) (Option 6 only) ............91
Read Module Fail Counter – Control Word (A204h) (Option 6 only) ...................92
Clear Module Fail Counter – Control Word (A205h) (Option 6 only) ...................92
Perform Transmission Mode Calibration – Control Word (A301h) (Option 21 only) ...........92
Turn OFF Transmission Mode Calibration – Control Word (A302h) (Option 21 only) ..........93
Remote Self Test – Control Word (AA15h).................................93
Trigger Sweep – Control Word (AA30h) ..................................95
Programming Examples . . . . . . . . . . . . . . . .....................96
Examples in C ................................................96
Example in Visual Basic ..........................................105
Parameter Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ......107
Spectrum Analyzer Signal Standards . . . . . . . . . . . . . . . . . ...........108
Spectrum Master PM iii
Page 6
Programming Overview
NOTE: This programming manual is written exclusively for the Anritsu Spectrum Master MS2711D. For information on firmware upgrades, contact your local Anritsu Service Center. Commands listed in this manual are not all backward-compatible with earlier Anritsu models.
General Description
The Spectrum Master must first be set into “remote” mode for communication with a computer. Remote mode differs from normal repetitive sweep and single-sweep modes. During remote mode, the Spectrum Master suspends normal operations and attends to the serial port. The front panel display indicates when the Spectrum Master is in remote mode.
Once in remote mode, a series of control bytes and associated data are sent to the Spectrum Master to perform various func tions and activities. The serial port supports virtually all features accessible from the keypad with the exception of the printer. The printer requires connection to the same 9-pin connector on the Spectrum Master rear panel used for remote com munication.
To complete the communication session, send the control byte to exit remote mode and the Spectrum Master will resume nor mal operations. You may also exit the remote mode by pressing the ESCAPE/CLEAR key on the Spectrum Master front panel.
-
Interface Cable Installation
The Spectrum Master is a DTE-type serial device. Communication between the Spectrum Master and a PC is accomplished over a null modem serial cable provided with the Spectrum Master (Anritsu part number 800-441). Connect the cable to the Serial Interface connector on the Spectrum Master test connector panel and to the appropriate COM port connector on the PC.
Serial Communication Parameters
The Spectrum Master begins communication at 9600 bps when first powered on. It uses no parity bits, 8 data bits, and 1 stop bit (N-8-1). No hardware handshaking is used. The Set Baud Rate Control Byte #197 (C5h) serial command can be used to change the baud rate to 19,200, 38,400, 56,000 or 115,200. An invalid setting returns the rate to 9600.
Communications Error Checking
Since there is no hardware handshaking, byte level error handling must be done by the controlling program. Use the expected number of response bytes (listed in the control byte description section of this manual) when waiting for feedback from the Spectrum Master. For data streams going to the Spectrum Master, the “watch dog timer” protects against interrupted trans missions by aborting a control byte sequence if the inter-byte time limit is exceeded.
-
-
-
Parameter Validation
The Spectrum Master validates input parameters for each control byte sequence. If the input parameters are out of range or invalid, the Spectrum Master notifies the computer by sending Parameter Error Byte #224 (E0h). The Spectrum Master dis cards the received data and waits for the next control byte.
-
Entering Remote Mode
Send the Enter Remote Mode Byte #69 (45h) to the Spectrum Master to enter remote mode at the end of the current sweep. Send the Enter Remote Mode Immediately byte #70 (46h) to enter remote mode in the middle of a sweep.
The Spectrum Master serial port buffer is one byte wide. No internal buffer exists, so waiting for the response from the unit is essential. If the Spectrum Master is not in remote mode, sending a second byte overwrites the original byte commanding it to enter remote mode. If control byte #69 is sent, the Spectrum Master will enter remote mode at the end of the current sweep. If control byte #70 is sent, the unit will enter remote mode as soon as it receives the byte. This means that data stored for the
Spectrum Master PM 1
Page 7
current sweep may be incomplete. Once a response string is received from the Spectrum Master, the unit is ready to accept additional control bytes.
Exiting Remote Mode
To exit remote mode, send the Exit Remote Control byte #255 (FFh) to the Spectrum Master. The Spectrum Master sends a response byte of 255 (FFh) then exits remote mode. Remote mode can also be exited by pressing the ESCAPE/CLEAR front panel key.
Remote Mode Changes to Spectrum Master Operating Parameters
System parameters changed during remote mode remain changed for normal operation after the unit exits remote mode. However, the changes are not automatically written to the non-volatile EEPROM. Turning off the Spectrum Master power erases the changed settings.
To retain the changes, the setup must be saved to one of the setup memory locations. Use either the run-time setup location 0, (which holds the power-on defaults) or one of the nine other setup locations. Control byte #64 (40h) sets the auto-save flag which commands the Spectrum Master to automatically save the changes to the run-time setup location upon exiting remote mode. See the Spectrum Master User’s Guide or information in this manual on control byte #18 (12h) for further details.
Write Cycle Limitation of EEPROM
The EEPROM, used to store calibrations, setups and traces has a guaranteed lifetime of at least 100,000 write cycles and an unlimited number of read cycles. The write cycle limitation is for a specific location. For example, setup #1 can be stored 100,000 times and setup #2 can be stored 100,000 times, etc. Because of this, the Spectrum Master does not automatically store the changed system parameters to the EEPROM. Be aware of the EEPROM write cycle limitation when programming the Spectrum Master and keep the number of write cycles to a minimum.
Documentation Conventions
Throughout this manual, the following conventions will be observed:
Numeric Representation
Hexadecimal numbers are represented with the suffix h. For example, the decimal number 255 is represented in hexadecimal as FFh.
Binary numbers are represented with the suffix b. For example, the decimal number 2 is represented in binary as 10b. Decimal numbers are represented with the prefix # when referring to a control byte (command byte) and without a prefix or
suffix in all other cases.
Bit Positions
When enumerating bits in a byte, bit 0 will always be the least significant bit (LSB).
Mode References
The term “SPA” in reference to a command denotes Spectrum Analyzer mode. All other modes are referenced individually.
2 Spectrum Master PM
Page 8
Control Byte Summary
Control
Byte #
1 (01h) Setup System Sets system status flags and switches Yes
3 (03h) Select Measurement Mode Sets current Spectrum Master measurement mode Yes
7 (07h) Read Time/Date Reads the current time and date from the real time clock —-
8 (08h) Set Time/Date Sets time and date of the Spectrum Master Yes
9 (09h) Set Reference Number Sets reference number (trace name) for a sweep trace Yes
10 (0Ah) Serial Port Echo On/Off
12 (0Ch) Watch-dog Timer On/Off Enables or disables the watch-dog timer —-
16 (10h) Store Sweep Trace Saves current trace data to EEPROM —-
17 (11h) Recall Sweep Trace Spectrum Master sends the sweep data associated with a trace (obsolete) Yes
18 (12h) Save System Setup Saves system setup parameters to EEPROM Yes
19 (13h) Recall System Setup Recalls system setup parameters from EEPROM Yes
20 (14h) Query System Status Gets the current system settings (obsolete) —-
21 (15h) Trigger Self-Test Triggers a self test —-
22 (16h) Read Fail Counters Returns the values of the lock-fail counters —-
23 (17h) Clear Fail Counters Resets the Lock Fail counters —-
24 (18h) Query Trace Names Returns list of all saved traces —-
25 (19h) Delete Sweep Trace Deletes single or all stored sweep traces Yes
26 (1Ah) Upload SPA Sweep Trace Uploads a spectrum analyzer sweep trace to Spectrum Master (obsolete) Yes
27 (1Bh) Query Sweep Memory
29 (1Dh) Query System Status Queries the Spectrum Master for current system settings Yes
30 (1Eh) Select Printer Type Selects printer type Yes
33 (21h) Recall Sweep Trace Queries the Spectrum Master for sweep trace data Yes
34 (22h) Set A/B Trace Defines traces "A" and "B" Yes
35 (23h) Set SPA A/B Trace Defines traces “A” and “B” for SPA mode Yes
36 (24h) Upload Sweep Trace Uploads a sweep trace to the Spectrum Master Yes
37 (25h) Get Options Returns an ASCII string listing installed options —-
39 (27h) Query Power Level Returns power level at RF In in Power Meter mode —-
40 (28h) Set Power Meter Units Sets Power Meter displaying unit Yes
41 (29h)
42 (2Ah)
43 (2Bh)
44 (2Ch)
Set Power Meter Relative Mode
Set Power Meter Offset Mode
Set Power Meter Zero Mode
Power Meter RMS Averaging On/Off
Name Description
Allows synchronization of the Spectrum Master and request from computer for sweep trace
Queries Spectrum Master for percentage of memory that is available for trace storage
Enables or disables Power Meter Relative Mode Yes
Enables or disables Power Meter offset Yes
Enables or disables Power Meter zeroing mode Yes
Sets Power Meter RMS Averaging. Yes
Watchdog
Timer
Yes
—-
Spectrum Master PM 3
Page 9
Control
Byte #
45 (2Dh)
48 (30h) Trigger Sweep Starts the next sweep —-
49 (31h) Sweep Data Echo On/Off Sets the sweep data echo mode On/Off Yes
50 (32h) Check Battery Status Returns smart battery status —-
53 (35h)
54 (36h) Set Trigger Position Sets the trigger position for the SPA when the span is 0 Yes
55 (37h) Set Video Trigger Level Sets the trigger level for the SPA in video trigger mode Yes
64 (40h) Auto Save Runtime Setup Automatically save the runtime setup when exiting remote mode Yes
65 (41h) Download Saved Setup Returns parameters associated with the saved setup Yes
66 (42h) Upload Setup
68 (44h) Query Saved Setups Returns a list of saved setups Yes
69 (45h) Enter Remote Mode
70 (46h)
71 (47h) Write Protect Setup Sets a stored setup memory location to read-only Yes
72 (48h)
82 (52h) Write Antenna Writes custom antenna data to the Spectrum Master via the serial port Yes
83 (53h) Recall Antenna Recalls custom antenna data from the Spectrum Master via the serial port Yes
84 (54h)
85 (55h) Set Channel Power Sets the Channel Power measurement state and the setup parameters Yes
86 (56h) Read Channel Power Reads the current channel power or the channel power of a stored trace Yes
87 (57h) Set ACPR Sets the ACPR measurement state and parameters Yes
88 (58h) Read ACPR
89 (59h)
96 (60h)
97 (61h)
98 (62h) Set Bias Tee Function Set the Bias Tee function On/Off (Option 10 only) Yes
99 (63h)
100 (64h)
101 (65h)
Power Meter Center Frequency and Span
Set SPA Minimum Sweep Time
Enter Remote Mode Immediately
Clear Setup Memory Location
Set Field Strength Measurement
Read Signal Standard Name
Measure OCC BW % of Power
Measure OCC BW dB Down
Set Spectrum Analyzer Start/Stop Frequency
Set Spectrum Analyzer Center Freq./Span
Set Spectrum Analyzer Scale
Name Description
Sets the center frequency and span frequency for the Power Meter mode Yes
Sets the min sweep time for the SPA Yes
Receives parameters defining a setup and saves them in the memory location associated with the specified setup number.
Enters remote mode at the end of the sweep and returns model number and firmware version
Enters remote mode immediately and returns model number and firmware version
Clears a setup memory location to <EMPTY> Yes
Sets the field strength measurement state and the antenna index Yes
Reads the current adjacent channel power or the adjacent channel power of a stored trace
Returns the signal standard name in English Yes
Measures OCC BW with % of Power method Yes
Measures OCC BW with dB down method Yes
Sets the Spectrum Analyzer Start and Stop frequencies Yes
Sets the Spectrum Analyzer center frequency and frequency span Yes
Sets the Spectrum Analyzer reference level and scale value Yes
Watchdog
Timer
Yes
—-
—-
Yes
4 Spectrum Master PM
Page 10
Control
Byte #
102 (66h)
103 (67h)
105 (69h)
106 (6Ah)
107 (6Bh)
108 (6Ch)
109 (6Dh)
110 (6Eh)
111 (6Fh)
113 (71h)
114 (72h)
115 (73h) Set Reference Level Offset Sets the value of the reference level offset Yes
116 (74h)
117 (75h) Read Marker Value
118 (76h) Set Sweep Averaging Sets the number of sweeps to average Yes
130 (82h) Normalize SPA Performs Normalization of SPA graph —-
131 (83h) Set Normalization Status Turns Normalization on or off Yes
133 (85h)
134 (86h)
136 (88h) Set SPA Preamp State Sets the state of the SPA preamp Yes
140 (8Ch) Set SPA Units Sets the scale type (logarithmic or linear) and the units Yes
141 (8Dh)
142 (8Eh) Set SPA Video Bandwidth Sets the video BW frequency for the Spectrum Analyzer Yes
143 (8Fh) Set SPA Attenuation Sets the attenuation for the Spectrum Analyzer Yes
145 (91h) Set AM/FM Demod Sets the AM/FM/SSB Demodulation state Yes
197 (C5h) Set Baud Rate Sets the serial communication baud rate for this session Yes
198 (C6h) Set Language Sets the Spectrum Master display language Yes
208 (D0h) Query Time Queries the Spectrum Master for the current time in ASCII format —-
225 (E1h) Read ASCII Serial Number Returns the ASCII Serial Number as four bytes Yes
Set Spectrum Analyzer Marker
Set Spectrum Analyzer Single Limit
Set Spectrum Analyzer Peak Hold
Set Spectrum Analyzer Resolution Bandwidth Freq
Set Spectrum Analyzer Video Bandwidth Freq
Set Spectrum Analyzer Sweep Mode
Set Spectrum Analyzer Marker to Peak
Set Spectrum Analyzer Marker to Center
Set Spectrum Analyzer Attenuation
Set Spectrum Analyzer Multiple Limit
Set Return Spectrum Analyzer Sweep Time
Set Spectrum Analyzer Impedance
Set/Reset SPA External Reference
Check External SPA Reference
Set SPA Resolution Bandwidth
Name Description
Sets position and on/off status of a Spectrum Analyzer marker Yes
Sets position and on/off status of Spectrum Analyzer single limit line Yes
Enables or disables the Spectrum Analyzer Max and Min Hold features Yes
Sets the Spectrum Analyzer resolution BW frequency (obsolete) Yes
Sets the Spectrum Analyzer video BW frequency (obsolete) Yes
Sets the Spectrum Analyzer sweep mode Yes
Sets specified marker to peak value of the sweep Yes
Sets the center frequency equal to the frequency of the specified marker Yes
Sets the attenuation for the Spectrum Master Spectrum Analyzer mode (obsolete)
Sets the position and On/Off Status of a limit segment for the SPA mode Yes
If this is enabled, the duration of the current sweep (in milliseconds) will be returned as 4 bytes via the serial port at the end of the sweep
Sets the impedance and loss (if necessary) for the RF In port Yes
Returns the frequency location of the specified marker, and the value at that location
Sets the external reference frequency for the spectrum analyzer Yes
Returns the state of the SPA external reference —-
Sets the resolution BW frequency for the Spectrum Analyzer Yes
Watchdog
Timer
Yes
Yes
Yes
Spectrum Master PM 5
Page 11
Control
Byte #
255 (FFh) Exit Remote Mode Ends serial communications —-
A103h
A104h
A201h
A202h
A203h
A204h Read Module Fail Counter Returns the value of the module lock fail counter (Option 6 only) —-
A205h Clear Module Fail Counter Sets the module lock fail counter to 0 (Option 6 only) —-
A301h
A302h
AA15h Remote Self Test Trigger the equivalent of a “key press” selftest —-
AA30h Trigger Sweep Causes the Spectrum Master to perform a sweep if it is in single sweep mode —-
Select SPA/Power Meter Signal Standard
Select SPA/Power Meter Channel
Read External Module Name
Read External Module Serial Number
Read External Module Frequency Range
Perform Transmission Mode Calibration
Turn OFF Transmission Mode Calibration
Name Description
Selects a Signal Standard Yes
Selects a channel within the range of the currently selected signal standard Yes
Returns the name of the attached external block converter module (Option 6 only)
Returns the serial number of the attached external block converter module (Option 6 only)
Returns the frequency range of the attached external block converter module (Option 6 only)
Perform Transmission Mode Calibration (Option 21 only) —-
Turn OFF Transmission Mode Calibration (Option 21 only) —-
Watchdog
—-
—-
—-
Timer
NOTES: Power Meter commands are available with Option 29 only. External frequency converter mod­ule commands are availble with Option 6 only. Transmission Mode commands are available with Option 21 only.
6 Spectrum Master PM
Page 12
Control Byte Descriptions
Setup System – Control Byte #1 (01h)
Description: Sets system status flags and switches. The current value of the flags can be obtained by executing command #29, Query System Setup, and parsing the values from the appropriate bytes. The Spectrum Master acts on the entire byte, so the state of each of the bits must be defined every time the command is issued. See control byte #29 (1Dh) response bytes 275 and 276 for the current Spectrum Master configuration.
Bytes to Follow: 1 byte
1) Status Byte 1 bit 0: RBW Coupling (to span) (1b = auto 0b = manual) bit 1: VBW Coupling (to RBW) (1b = auto 0b = manual) bit 2: LCD Back Light On/Off (1b = On, 0b = Off) bit 3-4 = Logarithmic Amplitude units (00b = dBm 01b = dBV 10b = dBmV 11b = dBuV) bits 5-6 = Detection algorithm (00b = positive peak 01b = RMS averaging 10b = negative peak
11b = sample detection) bit 7 = Attenuation Coupling (to ref level) (1b = auto 0b = manual)
Spectrum Master Returns:1 byte
1) 255 (FFh) Operation Complete Byte 238 (EEh) Time-out Error
Select Measurement Mode – Control Byte #3 (03h)
Description: Sets the measurement mode of the Spectrum Master. The response byte will not be sent until the mode change is complete.
See control byte #29 (1Dh) response byte 3 for the current Spectrum Master measurement mode.
Bytes to Follow: 1 byte
1) Measurement Mode 30h: Spectrum Analyzer Mode 21h: Transmission Mode (Option 21 only) 40h: Power Meter Mode (Option 29 only)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error : Invalid measurement mode 238 (EEh) Time-out Error
Read Time/Date – Control Byte #7 (07h)
Description: Reads the current time and date from the real time clock.
This Time/Date is stamped into all stored sweeps (for users' reference). The real time clock time and date can be set using control byte #8.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 7 bytes
1) Hour
2) Minute
3) Month
4) Day
Spectrum Master PM 7
Page 13
5) Year (higher byte)
6) Year (lower byte)
7) Daylight Saving (01h=On, 00h=Off)
Set Time/Date – Control Byte #8 (08h)
Description: Sets the current time and date.
This Time/Date is stamped into all stored sweeps (for users’ reference).
The Spectrum Master stores bytes as ASCII text. Recommended time form is “hh:mm:ss” (hour:minute:sec). Recommended date format is “mm/dd/yyyy” (month/day/year).
The current time setting can be found by using control byte #33 to recall trace 0 and examining response bytes 31-38.
The current date setting can be found by using control byte #33 to recall trace 0 and examining response bytes 21-30.
Bytes to Follow: 7 bytes
1) Hour
2) Minute
3) Month
4) Day
5) Year (higher byte)
6) Year (lower byte)
7) Daylight Saving (01h=On, 00h=Off)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 238 (EEh) Time-out Error
Set Reference Number – Control Byte #9 (09h)
Description: Stores a Reference Number with the sweep trace.
The reference number is also known as the trace name. It is any combination of 16 letters, numbers and the characters “-“, “,”, “.” and “+”. This command stores a trace name with the sweep trace.
The current reference number is found by recalling trace 0 and examining response bytes 39 to 54.
Bytes to Follow: 16 bytes (ASCII text string)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 238 (EEh) Time-out Error
Serial Port Echo On/Off – Control Byte #10 (0Ah)
Description: Sets the serial port echo mode On/Off.
Serial Port Echo Mode uses the single sweep mode (see control byte #108 (6Ch)). At the end of each sweep cycle, the Spectrum Master sends a Sweep Complete Byte #192 (C0h) to the serial port.
This mode activates once the Spectrum Master exits from the remote mode. Serial Port Echo status can’t be saved to or recalled from saved setups. Cycling power resets the Serial port echo status to Off.
The Serial Port Echo Mode allows run-time handshaking between the Spectrum Master and computer by doing the following:
8 Spectrum Master PM
Page 14
1) Enter remote mode. Set Serial Port Echo Mode On. Exit remote mode.
2) The Spectrum Master sweeps once and then sends the Sweep Complete Byte.
3) After you receive it. Enter remote mode. Recall sweep 0 (last sweep trace in RAM).
4) Exit remote mode. Send Sweep Triggering Byte #48 (30h) and wait for the next sweep cycle.
5) Repeat steps 2-4
Bytes to Follow: 1 byte
1) Serial Port Echo Status 00h = Off 01h=On
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error : Invalid serial port echo status 238 (EEh) Time-out Error
Watch-Dog Timer On/Off – Control Byte #12 (0Ch)
Description: Enables or disables the Watch-dog timer. Default is Disabled.
The Spectrum Master incorporates a watch-dog timer for higher reliability in serial communication. In selected control bytes (see Control Byte Summary), the Spectrum Master checks for the time interval between each byte received from the computer. If the time interval exceeds the set time limit (0.5 sec), the Spectrum Master notifies the computer by sending Time-out Byte #238 (EEh). The Spectrum Master discards the data it just received and then waits for the next control byte sequence.
Bytes to Follow: 1 byte
1) Watch-dog timer On/Off 00h = Off 01h=On
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error : Invalid watch-dog timer status
Store Sweep Trace – Control Byte #16 (10h)
Description: Saves current trace to the next available memory location. Trace name can be set using control byte #9, “Set Reference Number” before executing this command.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 5 bytes
1-4) Time/Date Stamp (In long integer format)
5) Operation result: 255 (FFh) Operation Complete Byte
224 (E0h) Out of memory (Memory full) 238 (EEh) Time-out Error
Spectrum Master PM 9
Page 15
Recall Sweep Trace – Control Byte #17 (11h)
NOTE: This command exists for backward compatibility with MS2711B models. To access the new fea
­tures, use Control Byte #33 (21h). This command cannot be used with a frequency converter module (Option 6 required) attached.
Description: Queries the Spectrum Master for sweep trace data.
Note: Before you can recall a sweep stored in non-volatile memory (trace numbers 1-200) you must build a trace table in the
Spectrum Master’s RAM. Use Control Byte #24 to build the trace table. Since the trace table exists in RAM, Control Byte #24 must be executed every time the Spectrum Master’s power is cycled.
Bytes to Follow: 1 byte
0 = Last sweep trace before entering remote mode (sweep trace in RAM) 1- 200 = Specific saved sweep number (stored sweeps in Flash memory)
Spectrum Master Returns: 1950 bytes
1-2) # of following bytes (1948 for a valid sweep) 3-4) Model ID (16h for the MS2711D) 5-11) Model Number (7 bytes in ASCII) 12-15) Software Version (4 bytes in ASCII)
16) Measurement Mode
1
17-20) Time/Date (long integer format) 21-30) Date in String Format (mm/dd/yyyy) 31-38) Time in String Format (hh:mm:ss) 39-54) Reference Number/Trace Name (16 bytes in ASCII) 55-56) # data points (400)
57) Start Frequency (in Hz) (highest byte)
58) Start Frequency (in Hz)
59) Start Frequency (in Hz)
60) Start Frequency (in Hz) (lowest byte)
61) Stop Frequency (in Hz) (highest byte)
62) Stop Frequency (in Hz)
63) Stop Frequency (in Hz)
64) Stop Frequency (in Hz) (lowest byte)
65) Center Frequency (in Hz) (highest byte)
66) Center Frequency (in Hz)
67) Center Frequency (in Hz)
68) Center Frequency (in Hz) (lowest byte)
69) Frequency Span (in Hz) (highest byte)
70) Frequency Span (in Hz)
71) Frequency Span (in Hz)
72) Frequency Span (in Hz) (lowest byte)
73) Minimum Frequency Step Size (in Hz) (highest byte)
74) Minimum Frequency Step Size (in Hz)
75) Minimum Frequency Step Size (in Hz)
76) Minimum Frequency Step Size (in Hz) (lowest byte)
77) Ref Level
2
(highest byte)
78) Ref Level
79) Ref Level
1 See Control Byte #3 for available measurement modes.
2 “value” sent as (value in dBm * 1,000) + 270,000
10 Spectrum Master PM
Page 16
80) Ref Level (lowest byte)
81) Scale per div
3
(highest byte)
82) Scale per div
83) Scale per div
84) Scale per div (lowest byte)
85) Frequency Marker 1
4
(higher byte)
86) Frequency Marker 1 (lower byte)
87) Frequency Marker 2 (higher byte)
88) Frequency Marker 2 (lower byte)
89) Frequency Marker 3 (higher byte)
90) Frequency Marker 3 (lower byte)
91) Frequency Marker 4 (higher byte)
92) Frequency Marker 4 (lower byte)
93) Frequency Marker 5 (higher byte)
94) Frequency Marker 5 (lower byte)
95) Frequency Marker 6 (higher byte)
96) Frequency Marker 6 (lower byte)
97) Single Limit
5
(highest byte)
98) Single Limit
99) Single Limit
100) Single Limit (lowest byte)
101) Multiple Upper Limit 1 Start X (Frequency in Hz) (highest byte)
102) Multiple Upper Limit 1 Start X (Frequency in Hz)
103) Multiple Upper Limit 1 Start X (Frequency in Hz)
104) Multiple Upper Limit 1 Start X (Frequency in Hz) (lowest byte)
105) Multiple Upper Limit 1 Start Y (Power Level
6
) (highest byte)
106) Multiple Upper Limit 1 Start Y (Power Level)
107) Multiple Upper Limit 1 Start Y (Power Level)
108) Multiple Upper Limit 1 Start Y (Power Level) (lowest byte)
109) Multiple Upper Limit 1 End X (Frequency in Hz) (highest byte)
110) Multiple Upper Limit 1 End X (Frequency in Hz)
111) Multiple Upper Limit 1 End X (Frequency in Hz)
112) Multiple Upper Limit 1 End X (Frequency in Hz) (lowest byte)
113) Multiple Upper Limit 1 End Y (Power Level
7
) (highest byte)
114) Multiple Upper Limit 1 End Y (Power Level)
115) Multiple Upper Limit 1 End Y (Power Level)
116) Multiple Upper Limit 1 End Y (Power Level) (lowest byte) 117-260) Multiple Upper Limits 2-5, Multiple Lower Limits 1-5 (see bytes 101-116 for format)
261) RBW Setting (Frequency in Hz) (highest byte)
262) RBW Setting (Frequency in Hz)
263) RBW Setting (Frequency in Hz)
264) RBW Setting (Frequency in Hz) (lowest byte)
265) VBW Setting (Frequency in Hz) (highest byte)
266) VBW Setting (Frequency in Hz)
3 “value” sent as (value * 1,000)
4 Display/Data Point
To convert from “point” to frequency: ((span / (#data points-1)) * point) + start frequency where span is stored in bytes 69-72 and #data points is stored in bytes 55-56
5 “value” sent as (value in dBm * 1,000) + 270,000
6 “value” sent as (value in dBm * 1,000) + 270,000
7 “value” sent as (value in dBm * 1,000) + 270,000
Spectrum Master PM 11
Page 17
267) VBW Setting (Frequency in Hz)
268) VBW Setting (Frequency in Hz) (lowest byte)
269) OCC BW Method (00h = % of power, 01h = dB down)
270) OCC BW % Value (0-99) (highest byte)
271) OCC BW % Value (0-99)
272) OCC BW % Value (0-99)
273) OCC BW % Value (0-99) (lowest byte)
274) OCC BW dBc (0–120) (highest byte)
275) OCC BW dBc (0–120)
276) OCC BW dBc (0–120)
277) OCC BW dBc (0–120) (lowest byte)
278) Attentuation
8
(highest byte)
279) Attentuation
280) Attentuation
281) Attentuation (lowest byte) 282-297) Antenna Name (16 bytes in ASCII)
298) Reference Level Offset
9
(highest byte)
299) Reference Level Offset
300) Reference Level Offset
301) Reference Level Offset (lowest byte)
302) Impedance
10
303) Impedance Loss11(highest byte)
304) Impedance Loss
305) Impedance Loss
306) Impedance Loss (lowest byte)
307) N/A
308) N/A
309) N/A
310) N/A
311) N/A
312) N/A
313) N/A
314) N/A
315) Status Byte 1: (0b = Off, 1b = On) (LSB) bit 0 : Marker 1 On/Off
bit 1 : Marker 2 On/Off bit 2 : Marker 3 On/Off bit 3 : Marker 4 On/Off bit 4 : Marker 5 On/Off bit 5 : Marker 6 On/Off bits 6-7 : Not Used
316) Status Byte 2: (0b = Off, 1b = On) (LSB) bit 0 : Marker 2 Delta On/Off
bit 1 : Marker 3 Delta On/Off bit 2 : Marker 4 Delta On/Off bits 3-7: Not Used
317) Status Byte 3: (0b = Off, 1b = On) (LSB) bit 0 : Antenna Factor Correction On/Off
8 “value” sent as (value * 1,000)
9 “value” sent as (value in dBm * 1,000) + 270,000
10 Impedance adapters:
00h=50W 0Ah=75W, adapter 12N50-75B 0Ch=75W, other adapter offset
11 “value” sent as (value * 1,000)
12 Spectrum Master PM
Page 18
bits 1-2 : Detection alg (00b = pos. peak 10b = neg. peak 11b = RMS averaging) bits 3-4 : Logarithmic Amplitude Units (00b = dBm 01b = dBV 10b = dBmV 11b = dBuV) bit 5 : Channel Power On/Off bit 6 : Adjacent Channel Power On/Off bit 7 : Occupied Bandwidth On/Off
318) Status Byte 4: (0b = Off/LOWER limit, 1b = On/UPPER limit) (LSB) bit 0 : Limit Type (0b = Single, 1b = Multiple)
bit 1 : Not Used bit 2 : Single Limit On/Off bit 3 : Single Limit Level UPPER/ LOWER bit 4 : Multiple Limit Upper Segment 1 Status On/Off bit 5 : Multiple Limit Upper Segment 1 Limit Level UPPER / LOWER bit 6 : Multiple Limit Upper Segment 2 Status On/Off bit 7 : Multiple Limit Upper Segment 2 Limit Level UPPER / LOWER
319) Status Byte 5: (0b = Off/LOWER limit, 1b = On/UPPER limit) (LSB) bit 0 : Multiple Limit Upper Segment 3 Status On/Off
bit 1 : Multiple Limit Upper Segment 3 Limit Level UPPER / LOWER bit 2 : Multiple Limit Upper Segment 4 Status On/Off bit 3 : Multiple Limit Upper Segment 4 Limit Level UPPER / LOWER bit 4 : Multiple Limit Upper Segment 5 Status On/Off bit 5 : Multiple Limit Upper Segment 5 Limit Level UPPER / LOWER bit 6 : Multiple Limit Lower Segment 1 Status On/Off bit 7 : Multiple Limit Lower Segment 1 Limit Level UPPER / LOWER
320) Status Byte 6: (0b = Off/LOWER limit, 1b = On/UPPER limit) (LSB) bit 0 : Multiple Limit Lower Segment 2 Status On/Off
bit 1 : Multiple Limit Lower Segment 2 Limit Level UPPER / LOWER bit 2 : Multiple Limit Lower Segment 3 Status On/Off bit 3 : Multiple Limit Lower Segment 3 Limit Level UPPER / LOWER bit 4 : Multiple Limit Lower Segment 4 Status On/Off bit 5 : Multiple Limit Lower Segment 4 Limit Level UPPER / LOWER bit 6 : Multiple Limit Lower Segment 5 Status On/Off bit 7 : Multiple Limit Lower Segment 5 Limit Level UPPER / LOWER
321) Status Byte 7 (LSB) bits 0-6 : Number of Sweeps to Average (1-25, 1 implies averaging Off)
bit 7 : Reserved
322) Status Byte 8: (0b = Off, 1b = On (LSB) bit 0 : Preamp On/Off
bit 1 : Normalization On/Off bit 2 : Bias Tee On/Off bit 3 : Scale Type (0b = Log, 1b = Linear) bit 4 : Linear Units (0b = Watts, 1b = Volts) bits 5-7 : Date Format (000b = MMDDYYYY, 001b = DDMMYYYY, 010b = YYYYMMDD)
323) N/A
324) N/A
325-350) Not Used 351-1950) Sweep Data (400 points * 4 bytes/point = 1600 bytes)
4 bytes for each data point
1. dBm
2
(highest byte)
2. dBm
3. dBm
4. dBm (lowest byte)
Spectrum Master Returns (For invalid sweeps/empty stored sweep locations): 11 bytes
1-2) Number of following bytes (9 bytes for invalid sweep recall) 3-4) Model # (unsigned integer, 16h for Spectrum Master MS2711D) 5-11) Extended Model # (7 bytes in ASCII)
Spectrum Master Returns (Invalid sweep location): 1 byte
1) 224 (E0) Parameter Error: Invalid sweep location
Spectrum Master PM 13
Page 19
Save System Setup – Control Byte #18 (12h)
Description: Saves current system setup parameters to a specific setup store location.
The Spectrum Master saves all parameters described in Query System Status - control byte #29 (1Dh), (except Serial Port Echo Status) to the specified store location. Store location 0 is the run-time setup of the Spectrum Master. It holds the power-on defaults of the Spectrum Master.
Bytes to Follow: 1 byte
1) Location to save system setup parameters: 0 – 10 for Spectrum Analyzer and Transmission Measurement (Option 21) Modes 0 – 5 for Power Meter Mode (Option 29 only)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error : Invalid store location 238 (EEh) Time-out Error
Recall System Setup – Control Byte #19 (13h)
Description: Recalls system setup parameters from a specific store location. Storage locations depend on the measurement mode of the current setup.
The Spectrum Master recalls all parameters described in Query System Status - control byte #29 (1Dh), (except Serial Port Echo Status) from the specified store location. The recalled setup does not automatically become the power-on runtime setup when exiting remote.
You may want to save the recalled setup as the run-time setup by saving it to setup location 0 (which holds the power-on runtime setup). See control byte #18 (12h) for details.
Bytes to Follow: 1 byte
1) Location from which to recall system setup parameters: 0 = Run time setup for all measurement modes
1 - 10 = Saved setups for Spectrum Analyzer and Transmission Measurement (Option 21) Modes 1 - 5 = Saved setups for Power Meter mode (Option 29 only) 254 = Default setup, current mode 255 = Default setup, all modes
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error : Invalid store location or no saved setup 227 (E3h) Frequency Mismatch Error 238 (EEh) Time-out Error
14 Spectrum Master PM
Page 20
Query System Status – Control Byte #20 (14h)
NOTE: This command exists for backward compatibility with the MS2711B. To access the new features use Control Byte #29 (1Dh). This command cannot be used with a frequency converter module (Option 6 required) attached.
Description: Queries the Spectrum Master for current system settings.
The current state of the Spectrum Master represents the state after the last successful remote control operation. For example, change the start frequency to another valid frequency while in remote mode, then execute control byte #29. The new start frequency will be returned in bytes 4-7, even though no sweep has been performed with that frequency.
Bytes to Follow: 0 bytes
Spectrum Master Returns:310 bytes
1) Measurement Mode 2-3) Number of Data Points (400)
4) Start Frequency (in Hz) (highest byte)
5) Start Frequency (in Hz)
6) Start Frequency (in Hz)
7) Start Frequency (in Hz) (lowest byte)
8) Stop Frequency (in Hz) (highest byte)
9) Stop Frequency (in Hz)
10) Stop Frequency (in Hz)
11) Stop Frequency (in Hz) (lowest byte)
12) Center Frequency (in Hz) (highest byte)
13) Center Frequency (in Hz)
14) Center Frequency (in Hz)
15) Center Frequency (in Hz) (lowest byte)
16) Frequency Span (in Hz) (highest byte)
17) Frequency Span (in Hz)
18) Frequency Span (in Hz)
19) Frequency Span (in Hz) (lowest byte)
20) Minimum Frequency Step Size (in Hz) (highest byte)
21) Minimum Frequency Step Size (in Hz)
22) Minimum Frequency Step Size (in Hz)
23) Minimum Frequency Step Size (in Hz) (lowest byte)
24) Ref Level
13
(highest byte)
25) Ref Level
26) Ref Level
27) Ref Level (lowest byte)
28) Scale per div
29) Scale per div
30) Scale per div
31) Scale per div (lowest byte)
32) Marker 1
15
(higher byte)
33) Marker 1 (lower byte)
12
14
(highest byte)
12 See Control Byte #3 for available measurement modes.
13 “value” sent as (value in dBm * 1,000) + 270,000
14 “value” sent as (value * 1,000)
15 Display/Data Point. To convert from “point” to frequency: (span / (#data points-1)) * point + start frequency
where span is stored in bytes 16-19 and #data points is stored in bytes 2-3.
Spectrum Master PM 15
Page 21
34) Marker 2 (higher byte)
35) Marker 2 (lower byte)
36) Marker 3 (higher byte)
37) Marker 3 (lower byte)
38) Marker 4 (higher byte)
39) Marker 4 (lower byte)
40) Marker 5 (higher byte)
41) Marker 5 (lower byte)
42) Marker 6 (higher byte)
43) Marker 6 (lower byte)
44) Spectrum Analyzer Single Limit
16
(highest byte)
45) Spectrum Analyzer Single Limit
46) Spectrum Analyzer Single Limit
47) Spectrum Analyzer Single Limit (lowest byte)
48) Multiple Upper Limit 1 Start X (Frequency in Hz) (highest byte)
49) Multiple Upper Limit 1 Start X (Frequency in Hz)
50) Multiple Upper Limit 1 Start X (Frequency in Hz)
51) Multiple Upper Limit 1 Start X (Frequency in Hz) (lowest byte)
52) Multiple Upper Limit 1 Start Y (Power Level
17
) (highest byte)
53) Multiple Upper Limit 1 Start Y (Power Level)
54) Multiple Upper Limit 1 Start Y (Power Level)
55) Multiple Upper Limit 1 Start Y (Power Level) (lowest byte)
56) Multiple Upper Limit 1 End X (Frequency in Hz) (highest byte)
57) Multiple Upper Limit 1 End X (Frequency in Hz)
58) Multiple Upper Limit 1 End X (Frequency in Hz)
59) Multiple Upper Limit 1 End X (Frequency in Hz) (lowest byte)
60) Multiple Upper Limit 1 End Y (Power Level) (highest byte)
61) Multiple Upper Limit 1 End Y (Power Level)
62) Multiple Upper Limit 1 End Y (Power Level)
63) Multiple Upper Limit 1 End Y (Power Level) (lowest byte)
64-207) Multiple Upper Limits 2-5, Multiple Lower Limits 1-5 (see bytes 48-63 for format)
208) RBW Setting
18
(highest byte)
209) RBW Setting
210) RBW Setting
211) RBW Setting (lowest byte)
212) VBW Setting
19
(highest byte)
213) VBW Setting
214) VBW Setting
215) VBW Setting (lowest byte)
216) OCC BW Method (00h = % of power, 01h = dB down)
217) OCC BW % Value (0-99) (highest byte)
218) OCC BW % Value (0-99)
219) OCC BW % Value (0-99)
220) OCC BW % Value (0-99) (lowest byte)
221) OCC BW dBc (0-120) (highest byte)
222) OCC BW dBc (0-120)
223) OCC BW dBc (0-120)
16 “value” sent as (value in dBm * 1,000) + 270,000
17 “value” sent as (value in dBm * 1,000) + 270,000
18 RBW: 00h = 10 kHz, 01h = 30 kHz, 02h = 100 kHz, 03h=1MHz
19 VBW: 00h = 100 Hz, 01h = 300 Hz, 02h = 1 kHz, 03h = 3 kHz, 04h = 10 kHz, 05h = 30 kHz, 06h = 100 kHz, 07h = 300
kHz
16 Spectrum Master PM
Page 22
224) OCC BW dBc (0-120) (lowest byte)
225) Attentuation
20
(highest byte)
226) Attentuation
227) Attentuation
228) Attentuation (lowest byte)
229) Antenna Index (0-14) 230-245) Antenna Name (16 bytes in ASCII)
246) AM/FM Demod Type (00h = FM-Wide Band, 01h = FM-Narrow Band, 02h = AM, 03h = SSB/CW)
247) AM/FM Demod Volume (00h = min, FFh = max)
248) Reference Level Offset
21
(highest byte)
249) Reference Level Offset
250) Reference Level Offset
251) Reference Level Offset (lowest byte)
252) Impedance
22
253) Impedance Loss23(highest byte)
254) Impedance Loss
255) Impedance Loss
256) Impedance Loss (lowest byte)
257) N/A
258) N/A
259) N/A
260) N/A
261) N/A
262) N/A
263) N/A
264) N/A
265) Status Byte 1: (0b = Off, 1b = On) (LSB) bit 0 : Marker 1 On/Off
bit 1 : Marker 2 On/Off bit 2 : Marker 3 On/Off bit 3 : Marker 4 On/Off bit 4 : Marker 5 On/Off bit 5 : Marker 6 On/Off bits 6-7 : Not Used
266) Status Byte 2: (0b = Off, 1b = On) (LSB) bit 0 : Not Used
bit 1 : Marker 2 Delta On/Off bit 2 : Marker 3 Delta On/Off bit 3 : Marker 4 Delta On/Off bits 4-7: Not Used
267) Status Byte 3: (0b = Off, 1b = On) (LSB) bit 0 : Antenna Factors Correction On/Off
bit 1 : AM/FM Demod Status On/Off bit 2 : SPA Cal Status On/Off bit 3-4 : Logarithmic Amplitude Units (00b = dBm 01b = dBV 10b = dBmV 11b = dBuV) bit 5-6 : Detection Alg (00b = positive peak 10b = negative peak,
11b = RMS averaging)
bit 7 : LCD Back Light On/Off
268) Status Byte 4: (0b = Off, 1b = On) (LSB) bit 0 : Limit Type (0b = Single, 1b = Multiple)
bit 1 : Single Limit Beep On/Off
20 Attenuation: 00h = 0 dB, 01h = 10 dB, 02h = 20 dB, 03h = 30 dB, 04h = 40 dB, 05h = 50 dB
21 “value” sent as (value in dBm * 1,000) + 270,000
22 Impedance Adapter: 00h = 50 W,0Ah=75W, adapter 12N50-75B, 0Ch = 75 W, other adapter offset
23 “value” sent as (value in dBm * 1,000) + 270,000
Spectrum Master PM 17
Page 23
bit 2 : Single Limit Status On/Off bit 3 : Single Limit Level (0b = LOWER, 1b = UPPER) bit 4 : Multiple Limit Upper Segment 1 Status On/Off bit 5 : Multiple Limit Upper Segment 1 Limit Level UPPER / LOWER bit 6 : Multiple Limit Upper Segment 2 Status On/Off bit 7 : Multiple Limit Upper Segment 2 Limit Level UPPER / LOWER
269) Status Byte 5: (0b = Off/LOWER limit, 1b = On/UPPER limit) (LSB) bit 0 : Multiple Limit Upper Segment 3 Status On/Off
bit 1 : Multiple Limit Upper Segment 3 Limit Level UPPER / LOWER bit 2 : Multiple Limit Upper Segment 4 Status On/Off bit 3 : Multiple Limit Upper Segment 4 Limit Level UPPER / LOWER bit 4 : Multiple Limit Upper Segment 5 Status On/Off bit 5 : Multiple Limit Upper Segment 5 Limit Level UPPER / LOWER bit 6 : Multiple Limit Lower Segment 1 Status On/Off bit 7 : Multiple Limit Lower Segment 1 Limit Type UPPER / LOWER
270) Status Byte 6: (0b = Off/LOWER limit, 1b = On/UPPER limit) (LSB) bit 0 : Multiple Limit Lower Segment 2 Status On/Off
bit 1 : Multiple Limit Lower Segment 2 Limit Level UPPER / LOWER bit 2 : Multiple Limit Lower Segment 3 Status On/Off bit 3 : Multiple Limit Lower Segment 3 Limit Level UPPER / LOWER bit 4 : Multiple Limit Lower Segment 4 Status On/Off bit 5 : Multiple Limit Lower Segment 4 Limit Level UPPER / LOWER bit 6 : Multiple Limit Lower Segment 5 Status On/Off bit 7 : Multiple Limit Lower Segment 5 Limit Level UPPER / LOWER
271) Status Byte 7: (0b = Off , 1b = On) (LSB) bit 0 : Serial Port Echo Status On/Off
bit 1 : Return Sweep Time On/Off bit 2 : RBW Coupling (to span) (1b = auto, 0b = manual) bit 3 : VBW Coupling (to RBW) (1b = auto, 0b = manual) bit 4 : Attenuation Coupling (to ref. Level) (1b = auto, 0b = manual) bit 5 : Channel Power On/Off bit 6 : Adjacent Channel Power On/Off bit 7 : Occupied Bandwidth On/Off
272) Printer Type (see control byte #30)
273) Trace A/B Status (LSB) bit 0-1 : Trace A (00b = A only 01b=A–B 10b=A+B)
bit 2 : Trace B On/Off (0b = Off, 1b = On) bits 3-7 : Not Used
274) Trace B Trace ID (0 = previous A data, 1-200 = saved trace id, 255 = none)
275) Status Byte 8: (LSB) bits 0-6 : Number of Sweeps to Average (1-25, 1 implies averaging Off)
bit 7 : Reserved
276) Status Byte 9: (0b = Off , 1b = On) (LSB) bit 0 : Preamp Hardware Installed (1b = Yes, 0b = No)
bit 1 : Preamp On/Off bit 2 : N/A bit 3 : Dynamic Attenuation On/Off bit 4 : Normalization On/Off bit 5 : Bias Tee On/Off bit 6 : Scale Type (0b = Log, 1b = Linear) bit 7 : Linear Units (0b = Watts, 1b = Volts)
277) N/A
278) N/A
279) N/A
280) N/A
281) N/A
282) N/A
283) N/A
284) N/A
285) N/A
286) N/A
10
10
18 Spectrum Master PM
Page 24
287) N/A
288) N/A
289) N/A
290) RTC Battery Voltage
291) RTC Battery Voltage (lower byte)
292) Motherboard PCB ID
24
(higher byte)
25
(higher byte)
293) Motherboard PCB ID (lower byte)
294) N/A
295) N/A 296-310) Not Used
Trigger Self-Test – Control Byte #21 (15h)
Description: Triggers a self test on the Spectrum Master.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 8 bytes
1) Self-test report: (0b = Fail, 1b = Pass) (LSB) bit 0 : Battery
bit 1 : Temperature bit 2 : EEPROM read/write bit 3 : RTC Battery bits 4- 7 : Not Used
2) Self-test report: (0b = Fail, 1b = Pass) (LSB) bit 0 : Spectrum Analyzer Lock
3) Battery Voltage (higher byte)
4) Battery Voltage (lower byte)
5) Temperature (higher byte)
6) Temperature (lower byte)
7) Spectrum Analyzer Lock Fail Counter (higher byte)
8) Spectrum Analyzer Lock Fail Counter (lower byte)
bits 1–7 : Not Used
Notes:
Battery Voltage in 1/10th of a Volt (e.g., 124 = 12.4 Volts)
Temperature in 1/10th of degree Celsius (e.g., 362 = 36.2°C) or degree Fahrenheit (e.g., 934 = 93.4°F), depending on the current measurement unit (Metric or English) selected.
Read Fail Counter – Control Byte #22 (16h)
Description: Reads the Fail Counter. Values are integer numbers of failures.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 6 bytes
1) Value of SA Lock Fail Counter (higher byte)
2) Value of SA Lock Fail Counter (lower byte)
3) Reserved
4) Reserved
24 “value” sent as (value in Volts * 10)
25 “value” sent as (value in Volts * 1000)
Spectrum Master PM 19
Page 25
5) Value of SA Fatal Error Counter (higher byte)
6) Value of SA Fatal Error Counter (lower byte)
Clear Fail Counters - Control Byte #23 (17h)
Description: Resets the Lock Fail Counter and Integrator Fail Counter and spectrum analyzer Fatal Error Counter.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
Query Trace Names – Control Byte #24 (18h)
Description: Returns a list of all saved traces.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 3 + (41 x number of saved traces) bytes
1-2) # of saved traces For each trace:
1-2) Trace Index
3) Measurement Mode (refer to Control Byte #3) 4-21) Date/Time in string format (“MM/DD/YYYYHH:MM:SS”) 22-25) Date/Time as Unsigned Long Integer (Seconds Since January 1, 1970) 26-41) Trace Name (16 bytes)
255 (FFh) Operation Complete Byte
Delete Sweep Trace – Control Byte #25 (19h)
Description: Delete single trace or all stored sweep traces in Spectrum Master.
Bytes to Follow: 1 byte
1) 0 - Delete all traces X - Delete single trace #X
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
Upload SPA Sweep Trace – Control Byte #26 (1Ah)
NOTE: This command exists for backward compatibility with the MS2711B. To access the new features use Control Byte #36 (24h). This command cannot be used with a frequency converter module (Option 6 required) attached.
Description: Uploads a spectrum analyzer sweep trace to Spectrum Master.
For data formats, refer to the footnotes listed beside the return bytes.
Bytes to Follow: 1930 bytes
20 Spectrum Master PM
Page 26
1-2) # of following bytes (1928)
3) Measurement Mode
26
4-7) Time/Date (long integer format) 8-17) Date in String Format (mm/dd/yyyy) 18-25) Time in String Format (hh:mm:ss) 26-41) Reference Number/Trace Name (16 bytes in ASCII) 42-43) # of data points (400)
44) Start Frequency (in Hz) (highest byte)
45) Start Frequency (in Hz)
46) Start Frequency (in Hz)
47) Start Frequency (in Hz) (lowest byte)
48) Stop Frequency (in Hz) (highest byte)
49) Stop Frequency (in Hz)
50) Stop Frequency (in Hz)
51) Stop Frequency (in Hz) (lowest byte)
52) Center Frequency (in Hz) (highest byte)
53) Center Frequency (in Hz)
54) Center Frequency (in Hz)
55) Center Frequency (in Hz) (lowest byte)
56) Frequency Span (in Hz) (highest byte)
57) Frequency Span (in Hz)
58) Frequency Span (in Hz)
59) Frequency Span (in Hz) (lowest byte)
60) Ref Level
27
(highest byte)
61) Ref Level
62) Ref Level
63) Ref Level (lowest byte)
64) Scale per div
28
(highest byte)
65) Scale per div
66) Scale per div
67) Scale per div (lowest byte)
68) Marker 1
29
(higher byte)
69) Marker 1 (lower byte)
70) Marker 2 (higher byte)
71) Marker 2 (lower byte)
72) Marker 3 (higher byte)
73) Marker 3 (lower byte)
74) Marker 4 (higher byte)
75) Marker 4 (lower byte)
76) Marker 5 (higher byte)
77) Marker 5 (lower byte)
78) Marker 6 (higher byte)
79) Marker 6 (lower byte)
80) Single Limit
30
(highest byte)
81) Single Limit
26 See Control Byte #3 for available measurement modes.
27 “value” sent as (value in dBm * 1,000) +270,000
28 “value” sent as (value * 1,000)
29 Display/Data Point
To convert from “point” to frequency: (span / #data points) * point + start frequency where span is stored in bytes 69-72 and #data points is stored in bytes 55-56
30 “value” sent as (value in dBm * 1,000) +270,000
Spectrum Master PM 21
Page 27
82) Single Limit
83) Single Limit (lowest byte)
84) Multiple Upper Limit 1 Start X (Frequency in Hz) (highest byte)
85) Multiple Upper Limit 1 Start X (Frequency in Hz)
86) Multiple Upper Limit 1 Start X (Frequency in Hz)
87) Multiple Upper Limit 1 Start X (Frequency in Hz) (lowest byte)
88) Multiple Upper Limit 1 Start Y (Power Level
31
) (highest byte)
89) Multiple Upper Limit 1 Start Y (Power Level)
90) Multiple Upper Limit 1 Start Y (Power Level)
91) Multiple Upper Limit 1 Start Y (Power Level) (lowest byte)
92) Multiple Upper Limit 1 End X (Frequency in Hz) (highest byte)
93) Multiple Upper Limit 1 End X (Frequency in Hz)
94) Multiple Upper Limit 1 End X (Frequency in Hz)
95) Multiple Upper Limit 1 End X (Frequency in Hz) (lowest byte)
96) Multiple Upper Limit 1 End Y (Power Level) (highest byte)
97) Multiple Upper Limit 1 End Y (Power Level)
98) Multiple Upper Limit 1 End Y (Power Level)
99) Multiple Upper Limit 1 End Y (Power Level) (lowest byte)
100-243) Multiple Upper Limits 2-5, Multiple Lower Limits 1-5 (see bytes 80-95 for format)
244) RBW Setting
32
(highest byte)
245) RBW Setting
246) RBW Setting
247) RBW Setting (lowest byte)
248) VBW Setting
33
(highest byte)
249) VBW Setting
250) VBW Setting
251) VBW Setting (lowest byte)
252) OCC BW Method (00h = % of power, 01h = dB down)
253) OCC BW % Value (0-99) (highest byte)
254) OCC BW % Value (0-99)
255) OCC BW % Value (0-99)
256) OCC BW % Value (0-99) (lowest byte)
257) OCC BW dBc (0-120) (highest byte)
258) OCC BW dBc (0-120)
259) OCC BW dBc (0-120)
260) OCC BW dBc (0-120) (lowest byte)
261) Attentuation
34
(highest byte)
262) Attentuation
263) Attentuation
264) Attentuation (lowest byte)
265-280) Antenna Name (16 bytes in ASCII)
281) Reference Level Offset
35
(highest byte)
282) Reference Level Offset
283) Reference Level Offset
284) Reference Level Offset (lowest byte)
31 “value” sent as (value in dBm * 1,000) +270,000
32 RBW: Valid frequencies (in Hz) are 10,000, 30,000, 100,000, 1,000000
33 VBW: Valid frequencies (in Hz) are 100, 300, 1,000, 3,000, 10,000, 30,000, 100,000, 300,000
34 “value” sent as (value * 1,000)
35 “value” sent as (value in dBm * 1,000) +270,000
22 Spectrum Master PM
Page 28
285) Impedance
36
286) Impedance Loss37(highest byte)
287) Impedance Loss
288) Impedance Loss
289) Impedance Loss (lowest byte)
290) N/A
291) N/A
292) N/A
293) N/A
294) N/A
295) N/A
296) N/A
297) N/A
298) Status Byte 1: (0b = Off, 1b = On) (LSB) bit 0 : Marker 1 On/Off
bit 1 : Marker 2 On/Off bit 2 : Marker 3 On/Off bit 3 : Marker 4 On/Off bit 4 : Marker 5 On/Off bit 5 : Marker 6 On/Off bits 6-7: Not Used
299) Status Byte 2: (0b = Off, 1b = On) (LSB) bit 0 : Marker 2 Delta On/Off
bit 1 : Marker 3 Delta On/Off bit 2 : Marker 4 Delta On/Off bits 3-7: Not Used
300) Status Byte 3: (0b = Off, 1b = On) (LSB) bit 0 : Antenna Factor Correction On/Off
bits 1-2 : Detection Alg (00b = pos. peak 10b= neg. peak 11b = RMS averaging) bits 3-4 : Amplitude Units (00b = dBm 01b = dBV 10b = dBmV 11b = dBuV) bit 5 : Channel Power On/Off bit 6 : ACPR On/Off bit 7 : Occupied BW On/Off
301) Status Byte 4: (0b = Off/LOWER limit, 1b = On/UPPER limit) (LSB) bit 0 : Limit Type (0b = Single, 1b = Multiple)
bit 1 : Single Limit On/Off bit 2 : Single Limit Level (0b = LOWER, 1b = UPPER) bit 3 : Not Used bit 4 : Multiple Limit Upper Segment 1 Status On/Off bit 5 : Multiple Limit Upper Segment 1 Limit Level UPPER / LOWER bit 6 : Multiple Limit Upper Segment 2 Status On/Off bit 7 : Multiple Limit Upper Segment 2 Limit Level UPPER / LOWER
302) Status Byte 5: (0b = Off/LOWER limit, 1b =On/UPPER limit) (LSB) bit 0 : Multiple Limit Upper Segment 3 Status On/Off
bit 1 : Multiple Limit Upper Segment 3 Limit Level UPPER / LOWER bit 2 : Multiple Limit Upper Segment 4 Status On/Off bit 3 : Multiple Limit Upper Segment 4 Limit Level UPPER / LOWER bit 4 : Multiple Limit Upper Segment 5 Status On/Off bit 5 : Multiple Limit Lower Segment 5 Limit Level UPPER / LOWER bit 6 : Multiple Limit Lower Segment 1 Status On/Off bit 7 : Multiple Limit Lower Segment 1 Limit Level UPPER / LOWER
303) Status Byte 6: (0b = Off/LOWER limit, 1b =On/UPPER limit) (LSB) bit 0 : Multiple Limit Lower Segment 2 Status On/Off
bit 1 : Multiple Limit Lower Segment 2 Limit Level UPPER / LOWER bit 2 : Multiple Limit Lower Segment 3 Status On/Off bit 3 : Multiple Limit Lower Segment 3 Limit Level UPPER / LOWER bit 4 : Multiple Limit Lower Segment 4 Status On/Off
36 Impedance Adapter: 00h = 50W,0Ah=75W, adapter 12N50-75B, 0Ch = 75W, other adapter offset
37 “value” sent as (value * 1,000)
Spectrum Master PM 23
Page 29
bit 5 : Multiple Limit Lower Segment 4 Limit Level UPPER / LOWER bit 6 : Multiple Limit Lower Segment 5 Status On/Off bit 7 : Multiple Limit Lower Segment 5 Limit Level UPPER / LOWER
304) Status Byte 7: (LSB) bits 0-6 : Number of Sweeps to Average
305) Status Byte 8: (0b = Off, 1b =On) (LSB) bit 0 : Preamp On/Off
306) N/A
307) N/A
308-330) Not Used 331-1930) Sweep Data (400 points * 4 bytes/point = 1600 bytes)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
bit 7 : Reserved
bit 1 : Normalization On/Off bit 2 : Bias Tee On/Off bit 3 : Scale Type (0b = Linear, 1b = Log) bit 4 : Linear Units (0b = Watts, 1b = Volts) bits 5-7 : Date Format (000b = MMDDYYYY, 001b = DDMMYYYY, 010b = YYYYMMDD
4 bytes for each data point
224 (E0h) Parameter Error: Not enough bytes transferred 225 (E1h) Memory Error: Not enough memory to store data 238 (EEh) Time-out Error
38
1. dBm
2. dBm
3. dBm
4. dBm (lowest byte) Sweep Data
(highest byte)
Query Sweep Memory – Control Byte #27 (1Bh)
Description: Queries Spectrum Master for percentage of memory that is available for trace storage.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 1 byte
1) % of memory currently available (0 to 100)
Query System Status – Control Byte #29 (1Dh)
NOTE: This command is new to the MS2711D. Use it instead of Control Byte #20 to access new fea tures.
Description: Queries the Spectrum Master for current system settings. Unlike Control Byte #20, this command returns only data that is valid for the active mode, plus system settings, such as the defined printer.
The current state of the Spectrum Master represents the state after the last successful remote control operation. For example, change the start frequency to another valid frequency while in remote mode, then execute control byte #29. The new start frequency will be returned in the defined bytes, even though no sweep has been performed with that frequency.
Bytes to Follow: 0 bytes
Spectrum Master Returns:
-
38 Value sent as (Value in dBm * 1000 ) + 270,000
24 Spectrum Master PM
Page 30
For All Modes:
1) Number of Following Bytes (higher byte)
2) Number of Following Bytes (lower byte)
3) Measurement Mode
4) Printer Type
40
39
5) Current Language (00h = English, 01h = French, 02h = German, 03h = Spanish, 04h = Chinese, 05h = Japanese)
6) LCD Contrast Value (0-255)
7) Date Format (00h = MM/DD/YYYY, 01h = DD/MM/YYYY, 02h = YYYY/MM/DD)
8) RTC battery
9) RTC battery (lower byte)
10) PC Board Revision
41
(higher byte)
42
(higher byte)
11) PC Board Revision (lower byte)
12-25) Not Used
For Spectrum Analyzer Mode/Transmission Mode (Option 21):
26) Spectrum Analyzer Mode Data Points (higher byte)
27) Spectrum Analyzer Mode Data Points (lower byte)
28) Spectrum Analyzer Start Frequency
43
(highest byte)
29) Spectrum Analyzer Start Frequency
30) Spectrum Analyzer Start Frequency
31) Spectrum Analyzer Start Frequency (lowest byte)
32) Spectrum Analyzer Stop Frequency
44
(highest byte)
33) Spectrum Analyzer Stop Frequency
34) Spectrum Analyzer Stop Frequency
35) Spectrum Analyzer Stop Frequency (lowest byte)
36) Spectrum Analyzer Center Frequency
45
(highest byte)
37) Spectrum Analyzer Center Frequency
38) Spectrum Analyzer Center Frequency
39) Spectrum Analyzer Center Frequency (lowest byte)
40) Spectrum Analyzer Frequency Span
46
(highest byte)
41) Spectrum Analyzer Frequency Span
42) Spectrum Analyzer Frequency Span
43) Spectrum Analyzer Frequency Span (lowest byte)
44) Spectrum Analyzer Minimum Frequency Step Size (highest byte)
45) Spectrum Analyzer Minimum Frequency Step Size
46) Spectrum Analyzer Minimum Frequency Step Size
47) Spectrum Analyzer Minimum Frequency Step Size (lowest byte)
48) Ref Level (highest byte)
47
49) Ref Level
39 Refer to Control Byte #3 “Select Measurement Mode” for valid measurement modes.
40 See Control Byte #30 for supported printers.
41 Value sent as Volts * 10. For example, 2.7V=27.
42 This value is for internal use only.
43 Scaled by Frequency Scale Factor (bytes 321-322)
44 Scaled by Frequency Scale Factor (bytes 321-322)
45 Scaled by Frequency Scale Factor (bytes 321-322)
46 Scaled by Frequency Scale Factor (bytes 321-322)
47 Value sent as (value in dBm * 1000) + 270,000)
Spectrum Master PM 25
Page 31
50) Ref Level
51) Ref Level (lowest byte)
52) Scale per div (highest byte)
48
53) Scale per div
54) Scale per div
55) Scale per div (lowest byte)
56) Spectrum Analyzer Frequency Marker 1 (higher byte)
49
57) Spectrum Analyzer Frequency Marker 1 (lower byte)
58) Spectrum Analyzer Frequency Marker 2 (higher byte)
59) Spectrum Analyzer Frequency Marker 2 (lower byte)
60) Spectrum Analyzer Frequency Marker 3 (higher byte)
61) Spectrum Analyzer Frequency Marker 3 (lower byte)
62) Spectrum Analyzer Frequency Marker 4 (higher byte)
63) Spectrum Analyzer Frequency Marker 4 (lower byte)
64) Spectrum Analyzer Frequency Marker 5 (higher byte)
65) Spectrum Analyzer Frequency Marker 5 (lower byte)
66) Spectrum Analyzer Frequency Marker 6 (higher byte)
67) Spectrum Analyzer Frequency Marker 6 (lower byte)
68) Spectrum Analyzer Single Limit (highest byte)
50
69) Spectrum Analyzer Single Limit
70) Spectrum Analyzer Single Limit
71) Spectrum Analyzer Single Limit (lowest byte)
72) SPA Multiple Upper Limit 1 Start X
51
(highest byte)
73) SPA Multiple Upper Limit 1 Start X
74) SPA Multiple Upper Limit 1 Start X
75) SPA Multiple Upper Limit 1 Start X (lowest byte)
76) SPA Multiple Upper Limit 1 Start Y (Power Level) (highest byte)
52
77) SPA Multiple Upper Limit 1 Start Y (Power Level)
78) SPA Multiple Upper Limit 1 Start Y (Power Level)
79) SPA Multiple Upper Limit 1 Start Y (Power Level) (lowest byte)
80) SPA Multiple Upper Limit 1 End X
53
(highest byte)
81) SPA Multiple Upper Limit 1 End X
82) SPA Multiple Upper Limit 1 End X
83) SPA Multiple Upper Limit 1 End X (lowest byte)
84) SPA Multiple Upper Limit 1 End Y (Power Level) (highest byte)
54
85) SPA Multiple Upper Limit 1 End Y (Power Level)
86) SPA Multiple Upper Limit 1 End Y (Power Level)
87) SPA Multiple Upper Limit 1 End Y (Power Level) (lowest byte) 88-231) SPA Multiple Upper Limits 2-5, SA Multiple Lower Limits 1-5 (see bytes 72-87 for format)
232) RBW Setting (highest byte)
55
233) RBW Setting
234) RBW Setting
48 Value sent as (value * 1000)
49 Value sent as data point on the display. Equivalent frequency = (point * span/(#data points–1))+start frequency.
50 Value sent as ( value in dBm * 1000 ) + 270000
51 Scaled by Frequency Scale Factor (bytes 321-322)
52 Value sent as ( value in dBm * 1000 ) + 270000
53 Scaled by Frequency Scale Factor (bytes 321-322)
54 Value sent as ( value in dBm * 1000 ) + 270000
55 RBW frequency sent in Hz.
26 Spectrum Master PM
Page 32
235) RBW Setting (lowest byte)
236) VBW Setting (highest byte)
56
237) VBW Setting
238) VBW Setting
239) VBW Setting (lowest byte)
240) OCC BW Method
241) OCC BW % Value (highest byte)
57
58
242) OCC BW % Value
243) OCC BW % Value
244) OCC BW % Value (lowest byte)
245) OCC BW dBc (highest byte)
59
246) OCC BW dBc
247) OCC BW dBc
248) OCC BW dBc (lowest byte)
249) Attenuation (highest byte)
250) Attenuation
251) Attenuation
252) Attenuation (lowest byte)
253) Antenna Index(0-14)
254-269) Antenna Name (16 bytes in ASCII)
270) Status Byte 1: ( 0b = Off , 1b = On)
(LSB) bit 0 : Spectrum Analyzer Mode Marker 1 On/Off
bit 1 : Spectrum Analyzer Mode Marker 2 On/Off bit 2 : Spectrum Analyzer Mode Marker 3 On/Off bit 3 : Spectrum Analyzer Mode Marker 4 On/Off bit 4 : Spectrum Analyzer Mode Marker 5 On/Off bit 5 : Spectrum Analyzer Mode Marker 6 On/Off bits6-7:NotUsed
271) Status Byte 2: (0b = Off, 1b = On)
(LSB) bit 0 : Not Used
bit 1 : Spectrum Analyzer Mode Marker 2 Delta On/Off bit 2 : Spectrum Analyzer Mode Marker 3 Delta On/Off bit 3 : Spectrum Analyzer Mode Marker 4 Delta On/Off bit 4 : Pre Amp Mode (0b = Manual, 1b = Auto) bit 5 : Pre Amp Status On/Off bit 6 : Dynamic Attenuation On/Off bit 7: Normalization On/Off
272) Status Byte 3: (0b = Off/Beep if data is BELOW line , 1b = On/Beep if data is ABOVE line)
(LSB) bit 0 : SPA Limit Type (0b = Single, 1b = Multiple)
bit 1 : SPA Single Limit Beep On/Off bit 2 : SPA Single Limit Status On/Off bit 3 : SPA Single Limit Beep Level ABOVE/BELOW bit 4 : SPA Multiple Limit Upper Segment 1 Status On/Off bit 5 : SPA Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW
60
bit 6 : SPA Multiple Limit Upper Segment 2 Status On/Off bit 7 : SPA Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
273) Status Byte 4 : (0b = Off/Beep if data is BELOW line , 1b = On/Beep if data is ABOVE line)
56 VBW frequency sent in Hz.
57 00h=%ofpower, 01h = dB down
58 0 – 99%
59 0 – 120 dBc
60 Beep level is always 1b for upper segmented limit line
Spectrum Master PM 27
Page 33
(LSB) bit 0 : SPA Multiple Limit Upper Segment 3 Status On/Off
bit 1 : SPA Multiple Limit Upper Segment 3 Beep Level ABOVE/BELOW bit 2 : SPA Multiple Limit Upper Segment 4 Status On/Off bit 3 : SPA Multiple Limit Upper Segment 4 Beep Level ABOVE/BELOW bit 4 : SPA Multiple Limit Upper Segment 5 Status On/Off bit 5 : SPA Multiple Limit Upper Segment 5 Beep Level ABOVE/BELOW bit 6 : SPA Multiple Limit Lower Segment 1 Status On/Off bit 7 : SPA Multiple Limit Lower Segment 1 Beep Level ABOVE/BELOW
61
274) Status Byte 5 : (0b = Off/Beep if data is BELOW line , 1b = On/Beep if data is ABOVE line) (LSB) bit 0 : SPA Multiple Limit Lower Segment 2 Status On/Off
bit 1 : SPA Multiple Limit Lower Segment 2 Beep Level ABOVE/BELOW bit 2 : SPA Multiple Limit Lower Segment 3 Status On/Off bit 3 : SPA Multiple Limit Lower Segment 3 Beep Level ABOVE/BELOW bit 4 : SPA Multiple Limit Lower Segment 4 Status On/Off bit 5 : SPA Multiple Limit Lower Segment 4 Beep Level ABOVE/BELOW bit 6 : SPA Multiple Limit Lower Segment 5 Status On/Off bit 7 : SPA Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
275) Status Byte 6: (0b = Off, 1b = On) (LSB) bit 0 : Antenna Factors Correction On/Off
bit 1 : Bias Tee On/Off (Option 10) bit 2 : SPA Cal Status On/Off bits 3-4 : Amplitude Units (Log) - 00b = dBm 01b = dBV 10b = dBmV 11b = dBuV
(Linear) – 00b = Watts 01b = Volts
bits 5-6 : Detection Alg (00b = pos. peak 01b = RMS Averaging 10b = neg. peak
11b = Sampling Mode)
bit 7: Units Type (0b = Log 1b = Linear)
276) Status Byte 7: (0b = Off, 1b = On) (LSB) bit 0: Serial Port Echo Status On/Off
bit 1: Return Sweep Time On/Off bit 2: RBW Coupling (1b = Auto, 0b = Manual) bit 3: VBW Coupling (1b = Auto, 0b = Manual) bit 4: Attenuation Coupling (1b = Auto, 0b = Manual) bit 5: Channel Power On/Off bit 6: Adjacent Channel Power On/Off bit 7: Occupied BW Measurement On/Off
277) Reference Level Offset
62
(highest byte)
278) Reference Level Offset
279) Reference Level Offset
280) Reference Level Offset (lowest byte)
281) External Reference Frequency
63
282) Signal Standard64(higher byte)
283) Signal Standard (lower byte)
284) Channel Selection
285) Channel Selection (lower byte)
286) Trigger Type
287) Interference Analysis Frequency (highest byte)
66
65
(higher byte)
67
288) Interference Analysis Frequency
61 Beep level is always 0b for lower segmented limit line
62 Value sent as (value in dBm * 1000) + 270,000
63 1 byte in MHz (i.e. 20 = 20 MHz)
64 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
65 “No Channel” is sent as FFFEh
66 Trigger Type – 00h = Single, 01h = Free Run, 02h = Video, 03h = External
67 Scaled by Frequency Scale Factor (bytes 321-322)
28 Spectrum Master PM
Page 34
289) Interference Analysis Frequency
290) Interference Analysis Frequency (lowest byte)
291) Trigger Position (0 – 100%)
292) Min Sweep Time (in ms) (highest byte)
293) Min Sweep Time (in ms)
294) Min Sweep Time (in ms)
295) Min Sweep Time (in ms) (lowest byte)
296) Video Trigger Level
68
(highest byte)
297) Video Trigger Level
298) Video Trigger Level
299) Video Trigger Level (lowest byte)
300) Status Byte 8 (LSB) bit 0: Input Power Status (1b = Input Power Too High, 0b = Input Power Ok)
bits 1-7: Not Used
301) Status Byte 9 (LSB) bits 0-6: Number of sweeps to average (1-25, 1 implies averaging OFF)
bit 7: Not Used
302) Status Byte 10: (0b = Off, 1b = On)
(LSB) bits 0-1: Trace Math Operation (00b = A only, 01b = A-B, 10b = A+B)
bit 2: Max Hold On/Off bit 3: Min Hold On/Off bits 4-7: Not Used
303) Impedance (00h = 50W,0Ah=75W Anritsu Adapter, 0Ch = 75W Other Adapter)
304) Impedance Loss
305) Impedance Loss (lower byte)
306) AM/FM Demod Type
69
(higher byte)
70
307) AM/FM Demod Status (01h = On, 00h = Off)
308) AM/FM Demod Volume (0 to 100)
309) AM/FM Demod Frequency (highest byte)
71
310) AM/FM Demod Frequency
311) AM/FM Demod Frequency
312) AM/FM Demod Frequency (lowest byte)
313) AM/FM Demod Time (in ms) (highest byte)
314) AM/FM Demod Time (in ms)
315) AM/FM Demod Time (in ms)
316) AM/FM Demod Time (in ms) (lowest byte)
317) SSB BFO Offset
72
(highest byte)
318) SSB BFO Offset
319) SSB BFO Offset
320) SSB BFO Offset (lowest byte)
321) Frequency Scale Factor
322) Frequency Scale Factor (lower byte)
323) Frequency Range Minimum
73
(higher byte)
74
(highest byte)
324) Frequency Range Minimum
68 Value sent as ( value in dBm * 1000 ) + 270,000
69 Value sent as (value in dB * 1000), valid values are 0 to 20 dB
70 AM/FM Demod Type: 00h = FM-Wide Band, 01h = FM-Narrow Band, 02h = AM, 03h = SSB Lower, 04h = SSB Upper
71 Scaled by Frequency Scale Factor (bytes 321-322)
72 Value sent as ((value in Hz) – 10,000)
73 In number of Hz
74 Scaled by Frequency Scale Factor (bytes 321-322)
Spectrum Master PM 29
Page 35
325) Frequency Range Minimum
326) Frequency Range Minimum (lowest byte)
327) Frequency Range Maximum
75
(highest byte)
328) Frequency Range Maximum
329) Frequency Range Maximum
330) Frequency Range Maximum (lowest byte)
331) Marker Type (00h = Regular Marker, 01h = Noise Marker) 332-400) Not Used
For Power Meter Mode (Option 29 only):
26) Power Meter Start Freq
76
(highest byte)
27) Power Meter Start Freq
28) Power Meter Start Freq
29) Power Meter Start Freq
77
(lowest byte)
30) Power Meter Stop Freq (highest byte)
31) Power Meter Stop Freq
32) Power Meter Stop Freq
33) Power Meter Stop Freq (lowest byte)
34) Power Meter Center Freq
78
(highest byte)
35) Power Meter Center Freq
36) Power Meter Center Freq
37) Power Meter Center Freq (lowest byte)
38) Power Meter Span (highest byte)
79
39) Power Meter Span
40) Power Meter Span
41) Power Meter Span (lowest byte)
42) Signal Standard
43) Signal Standard (lower byte)
44) Channel Selection
80
(higher byte)
81
(higher byte)
45) Channel Selection (lower byte)
46) Power Meter Offset (highest byte)
47) Power Meter Offset
48) Power Meter Offset
49) Power Meter Offset (lowest byte)
50) Power Meter Relative (highest byte)
82
51) Power Meter Relative
52) Power Meter Relative
53) Power Meter Relative (lowest byte)
54) Power Meter Status (00h = Off, 01h = On)
55) Power Meter Unit (00h = Watts, 01h = dBm)
56) Power Meter Relative Status (00h = Off, 01h = On)
57) Power Meter Offset Status (00h = Off, 01h = On)
75 Scaled by Frequency Scale Factor (bytes 321-322)
76 Scaled by Frequency Scale Factor (bytes 59-60)
77 Scaled by Frequency Scale Factor (bytes 59-60)
78 Scaled by Frequency Scale Factor (bytes 59-60)
79 Scaled by Frequency Scale Factor (bytes 59-60)
80 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
81 “No Channel” is sent as FFFEh
82 Value as ((value in dBm * 1000) + 100)
30 Spectrum Master PM
Page 36
58) Power Meter RMS Averaging Level (00h = Off, 01h = Low, 02h = Medium, 03h = High)
59) Frequency Scale Factor
60) Frequency Scale Factor (lower byte)
61) Frequency Range Minimum
83
(higher byte)
84
(highest byte)
62) Frequency Range Minimum
63) Frequency Range Minimum
64) Frequency Range Minimum (lowest byte)
65) Frequency Range Maximum
85
(highest byte)
66) Frequency Range Maximum
67) Frequency Range Maximum
68) Frequency Range Maximum (lowest byte)
69-120) Not Used
Select Printer Type – Control Byte #30 (1Eh)
Description: Select Printer Type.
Bytes to Follow: 1 byte
1) Printer ID 0 – Epson Stylus Models 1 – Epson LQ Models 2 – Citizen PN Models 3 – NEC Superscript Models 4 – NEC Silentwriter Models 5 – Seiko DPU 411, 414 Models 6 – Canon BJC 50 7 – Canon BJC 80 8 – Canon BJC 250 9 – Canon BJC 4400 10 – HP DJ 300 Series 11 – HP DJ 400 Series 12 – HP DJ 500 Series 13 – HP DJ 600 Series 14 – HP DJ 800 Series 15 – HP DJ 1120 16 – HP LJ 6L, 6P, 4000 17 – Epson Esc/P Compatible 18 – Epson Esc/P2 Compatible 19 – Epson Esc/P Raster Compatible 20 – HP PCL3 Compatible
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
83 In number of Hz
84 Scaled by Frequency Scale Factor
85 Scaled by Frequency Scale Factor
Spectrum Master PM 31
Page 37
Recall Sweep Trace – Control Byte #33 (21h)
NOTE: This command is new to the MS2711D. Use it instead of Control Byte #17 to access new fea tures.
Description: Queries the Spectrum Master for sweep trace data.
NOTE: Before you can recall a sweep stored in non-volatile memory (trace numbers 1-200) you must build a trace table in the Spectrum Master’s RAM. Use Control Byte #24 to build the trace table. Since the trace table exists in RAM, Control Byte #24 must be executed every time the Spectrum Master’s power is cycled.
Bytes to Follow: 1 byte
0 = Last sweep trace before entering remote mode (sweep trace in RAM) 1- 200 = Specific saved sweep number (stored sweeps in Flash memory)
Spectrum Master Returns:
1-2) # of following bytes (total length - 2)
3) Current Instrument Date Format
86
4) Not Used 5-11) Model Number (7 bytes in ASCII) 12-15) Software Version (4 bytes ASCII)
16) Measurement Mode
87
17-20) Time/Date (in Long Integer88) 21-30) Date in String Format (mm/dd/yyyy) 31-38) Time in String Format (hh:mm:ss) 39-54) Reference number stamp (16 bytes in ASCII) 55-56) # data points (401)
For Spectrum Analyzer Mode/Transmission Mode (Option 21):
57) Start Frequency
89
(highest byte)
58) Start Frequency
59) Start Frequency
60) Start Frequency (lowest byte)
61) Stop Frequency
90
(highest byte)
62) Stop Frequency
63) Stop Frequency
64) Stop Frequency (lowest byte)
65) Center Frequency
91
(highest byte)
66) Center Frequency
67) Center Frequency
68) Center Frequency (lowest byte)
-
86 00h = MM/DD/YYYY, 01h = DD/MM/YYYY, 02h = YYYY/MM/DD
87 Refer to Control Byte #3 “Select Measurement Mode” for detailed value.
88 Time/Date long integer representation is in seconds since January 1, 1970
89 Scaled by Frequency Scale Factor (bytes 335-336)
90 Scaled by Frequency Scale Factor (bytes 335-336)
91 Scaled by Frequency Scale Factor (bytes 335-336)
32 Spectrum Master PM
Page 38
69) Frequency Span (highest byte)
92
70) Frequency Span
71) Frequency Span
72) Frequency Span (lowest byte)
73) Minimum Frequency Step Size (highest byte)
74) Minimum Frequency Step Size
75) Minimum Frequency Step Size
76) Minimum Frequency Step Size (lowest byte)
77) Ref Level
93
(highest byte)
78) Ref Level
79) Ref Level
80) Ref Level (lowest byte)
81) Scale per div
94
(highest byte)
82) Scale per div
83) Scale per div
84) Scale per div (lowest byte)
85) Frequency Marker 1
95
(higher byte)
86) Frequency Marker 1 (lower byte)
87) Frequency Marker 2 (higher byte)
88) Frequency Marker 2 (lower byte)
89) Frequency Marker 3 (higher byte)
90) Frequency Marker 3 (lower byte)
91) Frequency Marker 4 (higher byte)
92) Frequency Marker 4 (lower byte)
93) Frequency Marker 5 (higher byte)
94) Frequency Marker 5 (lower byte)
95) Frequency Marker 6 (higher byte)
96) Frequency Marker 6 (lower byte)
97) Single Limit
96
(highest byte)
98) Single Limit
99) Single Limit
100) Single Limit (lowest byte)
101) Multiple Upper Limit 1 Start X
97
(highest byte)
102) Multiple Upper Limit 1 Start X
103) Multiple Upper Limit 1 Start X
104) Multiple Upper Limit 1 Start X (lowest byte)
105) Multiple Upper Limit 1 Start Y (Power Level
98
) (highest byte)
106) Multiple Upper Limit 1 Start Y (Power Level)
107) Multiple Upper Limit 1 Start Y (Power Level)
108) Multiple Upper Limit 1 Start Y (Power Level) (lowest byte)
109) Multiple Upper Limit 1 End X
99
(highest byte)
110) Multiple Upper Limit 1 End X
92 Scaled by Frequency Scale Factor (bytes 321-322)
93 Value sent as ( Value in dBm * 1000 ) + 270,000
94 Value sent as ( Value * 1000 )
95 Value sent as data point on display. Freq = ( Point * Span / ( Total Data Points–1))+Start Freq
96 Value sent as ( Value in dBm * 1000 ) + 270,000
97 Scaled by Frequency Scale Factor (bytes 335-336)
98 Value sent as ( value in dBm * 1000 ) + 270,000
99 Scaled by Frequency Scale Factor (bytes 335-336)
Spectrum Master PM 33
Page 39
111) Multiple Upper Limit 1 End X
112) Multiple Upper Limit 1 End X (lowest byte)
113) Multiple Upper Limit 1 End Y (Power Level) (highest byte)
114) Multiple Upper Limit 1 End Y (Power Level)
115) Multiple Upper Limit 1 End Y (Power Level)
116) Multiple Upper Limit 1 End Y (Power Level) (lowest byte) 117-260) Multiple Upper Limits 2-5, Multiple Lower Limits 1-5 (see bytes 101-116 for format)
261) RBW Setting (Frequency in Hz) (highest byte)
262) RBW Setting (Frequency in Hz)
263) RBW Setting (Frequency in Hz)
264) RBW Setting (Frequency in Hz) (lowest byte)
265) VBW Setting (Frequency in Hz) (highest byte)
266) VBW Setting (Frequency in Hz)
267) VBW Setting (Frequency in Hz)
268) VBW Setting (Frequency in Hz) (lowest byte)
269) OCC BW Method (0b = % of power, 1b = dB down)
270) OCC BW % Value
271) OCC BW dBc
272) Attenuation
100
101
102
(highest byte)
273) Attenuation
274) Attenuation
275) Attenuation (lowest byte) 276-291)Antenna Name(16 bytes in ASCII)
292) Status Byte 1: ( 0b = Off , 1b = On) (LSB) bit 0 : Marker 1 On/Off
bit 1 : Marker 2 On/Off bit 2 : Marker 3 On/Off bit 3 : Marker 4 On/Off bit 4 : Marker 5 On/Off bit 5 : Marker 6 On/Off bits 6-7: Not Used
293) Status Byte 2: ( 0b = Off , 1b = On) (LSB) bit 0 : Not Used
bit 1 : Marker 2 Delta On/Off bit 2 : Marker 3 Delta On/Off bit 3 : Marker 4 Delta On/Off bit 4 : Pre Amp Mode (0b = Manual, 1b = Auto) bit 5 : Pre Amp Status On/Off bit 6 : Dynamic Attenuation On/Off bit 7 : Normalization On/Off
294) Status Byte 3: (0b = Off, 1b = On) (LSB) bit 0 : Antenna Factor Correction On/Off
bits 1-2 : Detection alg (00b = pos. peak 01b = RMS average 10b = neg. peak
11b = sampling mode)
bits 3-4 : Amplitude Units (Log) - (00b = dBm 01b = dBV 10b = dBmV 11b = dBuV)
(Linear) – (00b = Watts 01b = Volts) bit 5 : Channel Power On/Off bit 6 : Adjacent Channel Power On/Off bit 7 : Units Type (0b = Log 1b = Linear)
295) Status Byte 4
103
(0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB) bit 0 : Limit Type (0b = Single, 1b = Multiple)
bit 1 : Not Used
100 % value is 0-99
101 dBc value 0 – 120 dBc
102 Value sent as ( value in dB * 1000 )
103 For bits 2, 1 and 0 (“X” is “don’t care): 0X0=no limit, 1X0=single limit, 0X1=multiple limit, 1X1=multiple limit.
34 Spectrum Master PM
Page 40
bit 2 : Single Limit On/Off bit 3 : Single Limit Beep Level ABOVE/BELOW bit 4 : Multiple Limit Upper Segment 1 Status On/Off bit 5 : Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW
104
bit 6 : Multiple Limit Upper Segment 2 Status On/Off bit 7 : Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
296) Status Byte5(0b=Off/Beep if data is below line, 1b = On/Beep if data is above line) (LSB) bit 0 : Multiple Limit Upper Segment 3 Status On/Off
bit 1 : Multiple Limit Upper Segment 3 Beep Level ABOVE/BELOW bit 2 : Multiple Limit Upper Segment 4 Status On/Off bit 3 : Multiple Limit Upper Segment 4 Beep Level ABOVE/BELOW bit 4 : Multiple Limit Upper Segment 5 Status On/Off bit 5 : Multiple Limit Upper Segment 5 Beep Level ABOVE/BELOW bit 6 : Multiple Limit Lower Segment 1 Status On/Off bit 7 : Multiple Limit Lower Segment 1 Beep Level ABOVE/BELOW
105
297) Status Byte 6 (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line) (LSB) bit 0 : Multiple Limit Lower Segment 2 Status On/Off
bit 1 : Multiple Limit Lower Segment 2 Beep Level ABOVE/BELOW bit 2 : Multiple Limit Lower Segment 3 Status On/Off bit 3 : Multiple Limit Lower Segment 3 Beep Level ABOVE/BELOW bit 4 : Multiple Limit Lower Segment 4 Status On/Off bit 5 : Multiple Limit Lower Segment 4 Beep Level ABOVE/BELOW bit 6 : Multiple Limit Lower Segment 5 Status On/Off bit 7 : Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
298) Status Byte 7 (LSB) bits 0-6: Number of sweeps to average (1-25, 1 implies averaging OFF)
bit 7: Not Used
299) Reference Level Offset
106
(highest byte)
300) Reference Level Offset
301) Reference Level Offset
302) Reference Level Offset (lowest byte)
303) External Reference Frequency
304) Signal Standard
305) Signal Standard (lower byte)
306) Channel Selection
108
(higher byte)
109
(higher byte)
307) Channel Selection (lower byte)
308) Interference Analysis Cellular Standard
107
110
309) Interference Analysis Estimated Bandwidth (highest byte)
310) Interference Analysis Estimated Bandwidth
311) Interference Analysis Estimated Bandwidth
312) Interference Analysis Estimated Bandwidth (lowest byte)
313) Interference Analysis Frequency
111
(highest byte)
314) Interference Analysis Frequency
315) Interference Analysis Frequency
316) Interference Analysis Frequency (lowest byte)
104 Upper limits always trigger an error beep if data is ABOVE the limit segment, for example, this bit is always 1b.
105 LOWER limits always trigger an error beep if data is BELOW the limit segment, for example, this bit is always 0b.
106 Value sent as ( value in dBm * 1000 ) + 270,000
107 1 byte in MHz (i.e. 20 = 20 MHz)
108 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
109 “No Channel” is sent as FFFEh
110 4 Standards – 00h = 1250 KHZ CDMA, 01h = GSM, 02h = TDMA, 03h = AMPS, 04h = Unknown FFh = Interference
Analysis Measurement OFF
111 Scaled by Frequency Scale Factor (bytes 335-336)
Spectrum Master PM 35
Page 41
317-320) Reserved
321) Trigger Type
112
322) Trigger Position (0 – 100%)
323) Min Sweep Time (in ms) (highest byte)
324) Min Sweep Time (in ms)
325) Min Sweep Time (in ms)
326) Min Sweep Time (in ms) (lowest byte)
327) Video Trigger Level
113
(highest byte)
328) Video Trigger Level
329) Video Trigger Level
330) Video Trigger Level (lowest byte)
331) Status Byte 8 (0b = Off, 1b = On) (LSB) bits 0-1: Trace Math Operation (00b = A only, 01b = A-B, 10b = A+B)
bit 2: Max Hold On/Off bit 3: Min Hold On/Off bit 4: Transmission Calibration On/Off (Option 21 only) bit 5: Bias Tee On/Off (Option 10 only) bit 6: Occupied BW Measurement On/Off bit 7: Not Used
332) Impedance (00h = 50W,0Ah=75W Anritsu Adapter, 0Ch = 75W Other Adapter)
333) Impedance Loss
334) Impedance Loss (lower byte)
335) Frequency Scale Factor
336) Frequency Scale Factor (lower byte)
337) Frequency Range Minimum
114
(higher byte)
115
(higher byte)
116
(highest byte)
338) Frequency Range Minimum
339) Frequency Range Minimum
340) Frequency Range Minimum (lowest byte)
341) Frequency Range Maximum
117
(highest byte)
342) Frequency Range Maximum
343) Frequency Range Maximum
344) Frequency Range Maximum (lowest byte)
345) Linked Trace Number (1-200)
346) Status Byte 9 (0b = Off, 1b = On) (LSB) bit 0: C/I Measurement On/Off
bits 1-3: C/I Carrier Trace/Signal Type bits 4-7: Not Used
347) C/I Calculated Power
119
(Carrier or Interference – NB FHSS
118
120
) (highest byte)
348) C/I Calculated Power (Carrier or Interference – NB FHSS)
349) C/I Calculated Power (Carrier or Interference – NB FHSS)
350) C/I Calculated Power (Carrier or Interference – NB FHSS) (lowest byte)
112 Trigger Type – 00h = Single, 01h = Free Run, 02h = Video, 03h = External
113 Value sent as ( value in dBm * 1000 ) + 270,000
114 Value sent as (value in dB * 1000), valid values are 0 to 20 dB
115 In number of Hz
116 Scaled by Frequency Scale Factor
117 Scaled by Frequency Scale Factor
118 000b = Carrier – NB FHSS, 001b = Carrier – WB FHSS, 010b = Carrier – Broadband, 111b = Interference
119 Value sent as ( value in dBm * 1000 ) + 270,000
120 If Status Byte 9, bytes 1-3 equal 111b, then signal will be calculated power for the Interference – NB FHSS trace.
Otherwise, these bytes represent the calculated Carrier power.
36 Spectrum Master PM
Page 42
351) C/I Calculated Power
121
(Interference – WB FHSS
352) C/I Calculated Power (Interference – WB FHSS)
353) C/I Calculated Power (Interference – WB FHSS)
354) C/I Calculated Power (Interference – WB FHSS) (lowest byte)
355) C/I Calculated Power
123
(Interference – Broadband
356) C/I Calculated Power (Interference – Broadband)
357) C/I Calculated Power (Interference – Broadband)
358) C/I Calculated Power (Interference – Broadband) (lowest byte)
359) Occupied Bandwidth Power (highest byte)
125
360) Occupied Bandwidth Power
361) Occupied Bandwidth Power
362) Occupied Bandwidth Power (lowest byte)
363) Marker Type (00h = Regular Marker, 01h = Noise Marker) 364-431) Not Used 432-2035) Sweep Data (401 points * 4 bytes/point= 1604 bytes)
4 bytes for each data point
1. dBm
126
(highest byte)
2. dBm
3. dBm
4. dBm (lowest byte)
For Power Meter Mode (Option 29 only):
57) Power Meter Mode (00h = Off, 01h = On)
58) Power Meter Unit (00h = dBm, 01h = Watts)
59) Start Frequency
127
(highest byte)
60) Start Frequency
61) Start Frequency
62) Start Frequency (lowest byte)
63) Stop Frequency
128
(highest byte)
64) Stop Frequency
65) Stop Frequency
66) Stop Frequency (lowest byte)
67) Center Frequency
129
(highest byte)
68) Center Frequency
69) Center Frequency
70) Center Frequency (lowest byte)
71) Frequency Span (highest byte)
130
72) Frequency Span
122
) (highest byte)
124
) (highest byte)
121 Value sent as ( value in dBm * 1000 ) + 270,000
122 If Status Byte 9, bytes 1-3 equal 111b, then signal will be calculated power for the Interference – WB FHSS trace.
Otherwise, these bytes should be ignored.
123 Value sent as ( value in dBm * 1000 ) + 270,000
124 If Status Byte 9, bytes 1-3 equal 111b, then signal will be calculated power for the Interference – Broadband trace.
Otherwise, these bytes should be ignored.
125 If Method is % of power then the value is db Down * 1000. If the method is db down, then the value is %
126 Value sent as ( value in dBm * 1000 ) + 270,000
127 Scaled by Frequency Scale Factor (bytes 96-97)
128 Scaled by Frequency Scale Factor (bytes 96-97)
129 Scaled by Frequency Scale Factor (bytes 96-97)
130 Scaled by Frequency Scale Factor (bytes 96-97)
Spectrum Master PM 37
Page 43
73) Frequency Span
74) Frequency Span (lowest byte)
75) Power Offset Status (00h = Off, 01h = On)
76) Power Offset
131
(highest byte)
77) Power Offset
78) Power Offset
79) Power Offset (lowest byte)
80) Power Relative Status (00h = Off, 01h = On
81) Power Relative Value
132
(highest byte)
82) Power Relative Value
83) Power Relative Value
84) Power Relative Value (lowest byte)
85) RMS Averaging Level (00h = Off, 01h = Low, 02h = Medium, 03h = High)
86) Power Zero Status (00h = Off, 01h = On)
87) External Reference Status (00h = Off, 01h = On)
88) External Reference Frequency (in Hz) (highest byte)
89) External Reference Frequency (in Hz)
90) External Reference Frequency (in Hz)
91) External Reference Frequency (in Hz) (lowest byte)
92) Signal Standard
93) Signal Standard (lowest byte)
94) Channel Selection
95) Channel Selection (lowest byte)
96) Frequency Scale Factor
97) Frequency Scale Factor (lower byte)
98) Frequency Range Minimum
133
(highest byte)
134
(highest byte)
135
(higher byte)
136
(highest byte)
99) Frequency Range Minimum
100) Frequency Range Minimum
101) Frequency Range Minimum (lowest byte)
102) Frequency Range Maximum
137
(highest byte)
103) Frequency Range Maximum
104) Frequency Range Maximum
105) Frequency Range Maximum (lowest byte)
106 – 150) Not Used
151) Power Meter Reading
138
(highest byte)
152) Power Meter Reading
153) Power Meter Reading
154) Power Meter Reading (lowest byte)
Spectrum Master Returns (For invalid sweeps/empty stored sweep locations): 11 bytes
1-2) Number of following bytes (9 bytes for invalid sweep recall)
131 Value sent as ( value in dB * 1000 ), valid values are 0 to 60 dB
132 Value sent as ( value in dBm * 1000 )
133 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
134 “No Channel” is sent as FFFEh
135 In number of Hz
136 Scaled by Frequency Scale Factor
137 Scaled by Frequency Scale Factor
138 Power sent as (power in dBm * 1000). Use two’s-complement method to decode negative power levels.
38 Spectrum Master PM
Page 44
3) Current Instrument Date Format
4) Model # (unsigned integer, 16h for Spectrum Master model MS2711D) 5-11) Extended Model # (7 bytes in ASCII)
Spectrum Master Returns (Invalid sweep location): 1 byte
1) 224 (E0) Parameter Error: Invalid sweep location
139
Set A/B Trace – Control Byte #34 (22h)
NOTE: This command is included for compatibility with the MS2711B. To access the new features, use Control Byte #35.
Description: Defines traces "A" and "B".
Trace A is always the currently measured data (with or without trace math). It is always visible.
Trace B is always stored data and may come from a saved sweep or a previous "A" trace. There is no default for trace B. Trace B can be ON (visible) or OFF.
Bytes to Follow: 3 bytes
1) "A" trace display (00h = A only, 01h = A-B, 02h = A+B)
2) "B" trace status (00h = OFF, 01h = ON)
3) "B" trace number 0 = save current "A" data into "B" buffer, use that as "B" 1-200 = trace number 255 = no "B" trace defined
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Incorrect "A" or "B" trace, "B" trace requested to be used in calculations or
238 (EEh) Time-out Error
displayed, but no trace or invalid trace specified.
Set Spectrum Analyzer A/B Trace – Control Byte #35 (23h)
NOTE: This command is new to the MS2711D. Use it instead of Control Byte #34 to access the new features.
Description: Defines traces “A” and “B” for Spectrum Analyzer mode.
Trace A is always the currently measured data (with or without trace math). It is always visible.
Trace B is always stored data and may come from a saved sweep or a previous “A” trace. There is no default for trace B. Trace B can be ON (visible) or OFF.
Bytes to Follow: 3 bytes
1) “A” trace display (00h = A only, 01h = A-B, 02h = A+B)
2) “B” trace status (00h = Off, 01h = On)
3) “B” trace number
139 00h = MM/DD/YYYY, 01h = DD/MM/YYYY, 02h = YYYY/MM/DD
0 = save current “A” data into “B” buffer, use that as “B”
Spectrum Master PM 39
Page 45
1-200 = trace number 255 = no “B” trace defined
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Not enough bytes transferred, “B” trace requested to be used in calculations
or displayed, but no trace or invalid trace specified
238 (EEh) Time-out Error
Upload Sweep Trace – Control Byte #36 (24h)
This command is new to the MS2711D. Use it, instead of Control Byte #26 to access the new features.
Description: Uploads a sweep trace to the Spectrum Master.
Bytes to Follow:
For All Modes:
1-2) # of following bytes
3) Measurement Mode
140
4-7) Time/Date (in Long Integer) 8-17) Date in String Format (MM/DD/YYYY) 18-25) Time in String Format (HH:MM:SS) 26-41) Reference number stamp (16 ASCII bytes) 42-43) # of data points (401)
For Spectrum Analyzer Mode:
44) Start Frequency
141
(highest byte)
45) Start Frequency
46) Start Frequency
47) Start Frequency (lowest byte)
48) Stop Frequency
142
(highest byte)
49) Stop Frequency
50) Stop Frequency
51) Stop Frequency (lowest byte)
52) Center Frequency
143
(highest byte)
53) Center Frequency
54) Center Frequency
55) Center Frequency (lowest byte)
56) Frequency Span (highest byte)
144
57) Frequency Span
58) Frequency Span
59) Frequency Span (lowest byte)
60) Ref Level
145
(highest byte)
140 See Control Byte #3 “Set Measurement Mode” for available measurement modes.
141 Scaled by Frequency Scale Factor (bytes 318-319)
142 Scaled by Frequency Scale Factor (bytes 318-319)
143 Scaled by Frequency Scale Factor (bytes 318-319)
144 Scaled by Frequency Scale Factor (bytes 318-319)
145 Value sent as (value in dBm * 1000) + 270,000
40 Spectrum Master PM
Page 46
61) Ref Level
62) Ref Level
63) Ref Level (lowest byte)
64) Scale per div
146
(highest byte)
65) Scale per div
66) Scale per div
67) Scale per div (lowest byte)
68) Marker 1
147
(higher byte)
69) Marker 1 (lower byte)
70) Marker 2 (higher byte)
71) Marker 2 (lower byte)
72) Marker 3 (higher byte)
73) Marker 3 (lower byte)
74) Marker 4 (higher byte)
75) Marker 4 (lower byte)
76) Marker 5 (higher byte)
77) Marker 5 (lower byte)
78) Marker 6 (higher byte)
79) Marker 6 (lower byte)
80) Single Limit
148
(highest byte)
81) Single Limit
82) Single Limit
83) Single Limit (lowest byte)
84) Multiple Upper Limit 1 Start X
149
(highest byte)
85) Multiple Upper Limit 1 Start X
86) Multiple Upper Limit 1 Start X
87) Multiple Upper Limit 1 Start X (lowest byte)
88) Multiple Upper Limit 1 Start Y (Power Level) (highest byte)
89) Multiple Upper Limit 1 Start Y (Power Level)
90) Multiple Upper Limit 1 Start Y (Power Level)
91) Multiple Upper Limit 1 Start Y (Power Level) (lowest byte)
92) Multiple Upper Limit 1 End X
150
(highest byte)
93) Multiple Upper Limit 1 End X
94) Multiple Upper Limit 1 End X
95) Multiple Upper Limit 1 End X (lowest byte)
96) Multiple Upper Limit 1 End Y (Power Level) (highest byte)
97) Multiple Upper Limit 1 End Y (Power Level)
98) Multiple Upper Limit 1 End Y (Power Level)
99) Multiple Upper Limit 1 End Y (Power Level) (lowest byte) 100-243) Multiple Upper Limits 2-5, Multiple Lower Limits 1-5 (see bytes 84-99 for format)
244) RBW Setting
151
(highest byte)
245) RBW Setting
246) RBW Setting
247) RBW Setting (lowest byte)
146 Value sent as (value * 1000)
147 Marker values are sent as # of data point on display.
148 All amplitude values are sent as (value in dBm * 1000) + 270,000
149 Scaled by Frequency Scale Factor (bytes 318-319)
150 Scaled by Frequency Scale Factor (bytes 318-319)
151 Valid frequencies (in Hz) are 100, 300, 1,000, 3,000, 10,000, 30,000, 100,000, 300,000, 1,000,000
Spectrum Master PM 41
Page 47
248) VBW Setting
152
(highest byte)
249) VBW Setting
250) VBW Setting
251) VBW Setting (lowest byte)
252) OCC BW Method (00h = % of power, 01h = dB down)
253) OCC BW % Value (0-99)
254) OCC BW dBc (0-120)
255) Attenuation
153
(highest byte)
256) Attenuation
257) Attenuation
258) Attenuation (lowest byte)
259-274) Antenna Name (16 bytes in ASCII)
275) Status Byte 1: (0b = Off, 1b = On) (LSB) bit 0 : Marker 1 On/Off
bit 1 : Marker 2 On/Off bit 2 : Marker 3 On/Off bit 3 : Marker 4 On/Off
bit 4 : Marker 5 On/Off bit 5 : Marker 6 On/Off bits 6-7: Not Used
276) Status Byte 2: (0b = Off, 1b = On) (LSB) bit 0 : Not Used
bit 1 : Marker 2 Delta On/Off bit 2 : Marker 3 Delta On/Off
bit 3 : Marker 4 Delta On/Off bit 4 : Pre Amp Mode (0b = Manual, 1b = Auto)
bit 5 : Pre Amp Status On/Off bit 6 : Dynamic Attenuation On/Off bit 7 : Normalization On/Off
277) Status Byte 3: (0b = Off, 1b = On) (LSB) bit 0 : Antenna Factor Correction On/Off
bits 1-2 : Detection alg (00b = pos. peak 01b = RMS Averaging 10b= neg. peak,
11 = Sampling Mode)
bits 3-4 : Amplitude Units (log) (00b = dBm 01b = dBV 10b = dBmV
11b = dBuV) (Linear) – (00b = Watts 01b = Volts) bit 5: Channel Power On/Off bit 6: Adjacent Channel Power Ratio On/Off
bit 7 : Units Type (0b = Log 1b = Linear)
278) Status Byte 4 (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line) (LSB) bit 0 : Limit Type (0b = Single, 1b = Multiple)
bit 1 : Single Limit On/Off bit 2 : Single Limit Beep Level (0b = beep when data is below line 1b = above) bit 3 : Not Used bit 4 : Multiple Limit Upper Segment 1 Status On/Off bit 5 : Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW bit 6 : Multiple Limit Upper Segment 2 Status On/Off bit 7 : Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
279) Status Byte 5 (0b = Off/Beep if data is BELOW line, 1b =On/Beep if data is ABOVE line) (LSB) bit 0 : Multiple Limit Upper Segment 3 Status On/Off
bit 1 : Multiple Limit Upper Segment 3 Beep Level ABOVE/BELOW bit 2 : Multiple Limit Upper Segment 4 Status On/Off bit 3 : Multiple Limit Upper Segment 4 Beep Level ABOVE/BELOW bit 4 : Multiple Limit Upper Segment 5 Status On/Off bit 5 : Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
152 Valid frequencies (in Hz) are 100, 300, 1,000, 3,000, 10,000, 30,000, 100,000, 300,000
153 Value sent as (value * 1000)
42 Spectrum Master PM
Page 48
bit 6 : Multiple Limit Lower Segment 1 Status On/Off bit 7 : Multiple Limit Lower Segment 1 Beep Level ABOVE/BELOW
280) Status Byte 6 (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line) (LSB) bit 0 : Multiple Limit Lower Segment 2 Status On/Off
bit 1 : Multiple Limit Lower Segment 2 Beep Level ABOVE/BELOW bit 2 : Multiple Limit Lower Segment 3 Status On/Off bit 3 : Multiple Limit Lower Segment 3 Beep Level ABOVE/BELOW bit 4 : Multiple Limit Lower Segment 4 Status On/Off bit 5 : Multiple Limit Lower Segment 4 Beep Level ABOVE/BELOW bit 6 : Multiple Limit Lower Segment 5 Status On/Off bit 7 : Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
281) Status Byte 7 (LSB) bits 0-6: Number of Sweeps to Average (1-25, 1 implies averaging OFF)
bit 7 : Not Used
282) Reference Level Offset
154
(highest byte)
283) Reference Level Offset
284) Reference Level Offset
285) Reference Level Offset (lowest byte)
286) External Reference Frequency
287) Signal Standard
288) Signal Standard (lower byte)
289) Channel Selection
156
(higher byte)
157
(higher byte)
290) Channel Selection (lower byte)
291) Interference Analysis Cellular Standard
155
158
292) Interference Analysis Estimated Bandwidth (highest byte)
293) Interference Analysis Estimated Bandwidth
294) Interference Analysis Estimated Bandwidth
295) Interference Analysis Estimated Bandwidth (lowest byte)
296) Interference Analysis Frequency
159
(highest byte)
297) Interference Analysis Frequency
298) Interference Analysis Frequency
299) Interference Analysis Frequency (lowest byte)
300-303) Reserved
304) Trigger Type
160
305) Trigger Position (0 – 100%)
306) Min Sweep Time (in ms) (highest byte)
307) Min Sweep Time (in ms)
308) Min Sweep Time (in ms)
309) Min Sweep Time (in ms) (lowest byte)
310) Video Trigger Level
161
(highest byte)
311) Video Trigger Level
312) Video Trigger Level
313) Video Trigger Level (lowest byte)
154 Value sent as (Value in dBm * 1000 ) + 270,000
155 byte in MHz (i.e. 20 = 20MHz)
156 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh.
157 “No Channel” is sent as FFFEh.
158 4 Standards – 00h = 1250KHZ CDMA, 01h = GSM, 02h = TDMA, 03h = AMPS, 04h = Unknown FFh = Interference
Analysis Measurement OFF
159 Scaled by Frequency Scale Factor (bytes 318-319)
160 Trigger Type – 00h = Single, 01h = Free Run, 02h = Video, 03h = External
161 Value sent as (Value in dBm * 1000 ) + 270,000
Spectrum Master PM 43
Page 49
314) Status Byte 8 (0b = Off, 1b = On) (LSB) bits 0-1: Trace Math Operation (00b = A only, 01b = A-B, 10b = A+B)
bit 2: Max Hold On/Off bit 3: Min Hold On/Off bit 4: Transmission Calibration Status (Option 21 only)
bit 5: Bias Tee On/Off (Option 10 only) bit 6: Occupied BW Measurement On/Off bit 7: Not Used
315) Impedance (00h = 50W,0Ah=75W Anritsu Adapter, 0Ch = 75W Other Adapter)
316) Impedance Loss
317) Impedance Loss (lower byte)
318) Frequency Scale Factor
319) Frequency Scale Factor (lower byte)
320) Frequency Range Minimum
162
(higher byte)
163
(higher byte)
164
(highest byte)
321) Frequency Range Minimum
322) Frequency Range Minimum
323) Frequency Range Minimum (lowest byte)
324) Frequency Range Maximum
165
(highest byte)
325) Frequency Range Maximum
326) Frequency Range Maximum
327) Frequency Range Maximum (lowest byte)
328) Linked Trace Number (1-200)
329) Status Byte 9 (0b = Off, 1b = On) (LSB) bit 0: C/I Measurement On/Off
bits 1-3: C/I Carrier Trace/Signal Type bits 4-7: Not Used
330) C/I Calculated Power
167
(Carrier or Interference – NB FHSS
166
168
) (highest byte)
331) C/I Calculated Power (Carrier or Interference – NB FHSS)
332) C/I Calculated Power (Carrier or Interference – NB FHSS)
333) C/I Calculated Power (Carrier or Interference – NB FHSS) (lowest byte)
334) C/I Calculated Power
169
(Interference – WB FHSS
170
) (highest byte)
335) C/I Calculated Power (Interference – WB FHSS)
336) C/I Calculated Power (Interference – WB FHSS)
337) C/I Calculated Power (Interference – WB FHSS) (lowest byte)
338) C/I Calculated Power
171
(Interference – Broadband
172
) (highest byte)
339) C/I Calculated Power (Interference – Broadband)
340) C/I Calculated Power (Interference – Broadband)
162 Value sent as (value in dB * 1000), valid values are 0 to 20 dB
163 In number of Hz
164 Scaled by Frequency Scale Factor
165 Scaled by Frequency Scale Factor
166 000b = Carrier – NB FHSS, 001b = Carrier – WB FHSS, 010b = Carrier – Broadband, 111b = Interference
167 Value sent as ( value in dBm * 1000 ) + 270,000
168 If Status Byte 9, bytes 1-3 equal 111b, then value will be calculated power for the Interference – NB FHSS trace.
Otherwise, these bytes represent the calculated Carrier power.
169 Value sent as ( value in dBm * 1000 ) + 270,000
170 If Status Byte 9, bytes 1-3 equal 111b, then value will be calculated power for the Interference – WB FHSS trace.
Otherwise, these bytes should be ignored.
171 Value sent as ( value in dBm * 1000 ) + 270,000
172 If Status Byte 9, bytes 1-3 equal 111b, then value will be calculated power for the Interference – Broadband trace.
Otherwise, these bytes should be ignored.
44 Spectrum Master PM
Page 50
341) C/I Calculated Power (Interference – Broadband) (lowest byte)
342) Marker Type (00h = Regular Marker, 01h = Noise Marker) 343-400) Not Used 401-2004) Sweep Data
(401 points * 4 bytes/point = 1604 bytes)
4 bytes for each data point
1. dBm
173
(highest byte)
2. dBm
3. dBm
4. dBm (lowest byte)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Not enough bytes transferred 225 (E1h) Memory Error: Not enough memory to store data 238 (EEh) Time-out Error
Get Options – Control Byte #37 (25h)
Description: Queries the option(s) installed on the Spectrum Master, returns a list as an ASCII string.
Bytes to Follow: 0 bytes
Site Master Returns: Number of bytes depends on the option(s) installed:
Option 3: “3/” Option 6: “6/” Option 10: “10/” Option 21: “21/” Option 29: “29/” If no options are installed: “None”
Query Power Level – Control Byte #39 (27h) (Option 29 only)
Description: Return Power Level at the RF In port. Also returns power meter settings.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 30 bytes
1) Status Byte # 1(0b = Off, 1b = On) (LSB) bit 0 : Unit (0b - Watt/%, 1b - dBm/dB)
bit 2 : Relative Mode On/Off bit 3: Offset Mode On/Off bit 4: Zero Mode On/Off bits 5-7: Not Used
2) RMS Averaging Status
3 - 6) Relative Mode Reference Power Level in dBm 7 - 10) Offset Mode Power Level 11 - 14) Zero Mode Power Level 15 - 18) Absolute Power Level 19 - 22) Power 23 - 26) Center Frequency (Scaled by frequency scale factor)
173 Value sent as (Value in dBm * 1000 ) + 270,000
174 RMS Averaging: 00h = Off, 01h = Low, 02h = Medium, 03h = High
174
Spectrum Master PM 45
Page 51
27 - 30) Span Frequency (Scaled by frequency scale factor)
Notes:
Power is returned as (dBm * 1000) Relative power is returned as (dB * 1000) Offset is returned as (dB * 1000)
Set Power Meter Units – Control Byte #40 (28h) (Option 29 only)
Description: Set Power Meter units to watts or dBm.
Bytes to Follow: 1 byte
1) Units 00h = Watt (% if in relative mode) 01h = dBm (dB if in relative mode)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid Units 238 (EEh) Time-out Error
Power Meter Relative Mode On/Off – Control Byte #41 (29h) (Option 29 only)
Description: Enable or disable Power Meter Relative Mode.
Bytes to Follow: 1 byte
1) Relative Mode State 00h = Off 01h = On w/ trigger (use the current power level as a reference power level)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid parameter 238 (EEh) Time-out Error
Power Meter Offset Mode On/Off – Control Byte #42 (2Ah) (Option 29 only)
Description: Enable or disable Power Meter Offset Mode.
Bytes to Follow: 5 bytes
1) On/Off (01h = On, 00h = Off)
2 - 5) Offset Power level in dB (Multiplied by 1000)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid parameter 238 (EEh) Time-out Error
Note:If you turn the Offset mode off, you must still send the other bytes. Bytes2-5will be ignored.
Power Meter Zero Mode On/Off – Control Byte #43 (2Bh) (Option 29 only)
Description: Enable or disable Power Meter Zeroing Mode.
Bytes to Follow: 1 byte
1) Zero Mode Status
46 Spectrum Master PM
Page 52
00h = Off 01h = On with trigger (current power level is referenced as -80 dBm)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid status 238 (EEh) Time-out Error
Power Meter RMS Averaging On/Off – Control Byte #44 (2Ch) (Option 29 only)
Description: Set Power Meter RMS Averaging. Enabling to one of three different levels, or off.
Bytes to Follow: 1 byte
1) RMS Averaging State
00h = Off 01h = On (Low) with trigger (current power level is referenced as -80 dBm) 02h = On (Medium) 03h = On (High)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid state 238 (EEh) Time-out Error
Power Meter Center Freq and Span Setup – Control Byte #45 (2Dh) (Option 29 only)
Description: Sets the center frequency and span frequency for the Power Meter mode.
If Option 6 is installed and the frequency converter module is attached, the center frequency should be scaled by the scale factor of the module. If the module is not attached, the center frequency is sent in Hz. Use Control Word A203 to determine whether a module is attached and the appropriate scale factor.
Bytes to Follow: 8 bytes
1) Center Frequency (highest byte)
2) Center Frequency
3) Center Frequency
4) Center Frequency (lowest byte)
5) Span Frequency (highest byte)
6) Span Frequency
7) Span Frequency
8) Span Frequency (lowest byte)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid frequency range 238 (EEh) Time-out Error
Trigger Sweep – Control Byte #48 (30h)
Description: Causes the Spectrum Master to perform a sweep if it is in single sweep mode.
This command works only when the Spectrum Master is NOT in remote mode. Send this command, receive the “Operation Complete Byte” and then wait for the “Sweep Complete Byte” to signify the end of the sweep.
Bytes to Follow: 0 bytes
Spectrum Master PM 47
Page 53
Spectrum Master Returns: 2 bytes
1) 255 (FFh) Operation Complete Byte (when the command is received)
2) 192 (C0h) Sweep Complete Byte (at the end of the sweep)
Sweep Data Echo On/Off - Control Byte #49 (31h)
Description: Sets the sweep data echo mode On/Off.
Sweep Data Echo Mode behaves much like the Serial Port Echo Mode (see Control Byte #10). It automatically puts the unit into single sweep mode. At the end of each sweep cycle, the Spectrum Master sends a Sweep Complete Byte #192 (C0h) to the serial port. At this time, sweep data can be queried (see Control Byte #33) without having to enter remote mode first or exit remote mode when done. Depending on the value of the second following byte, the next sweep can be automatically triggered after the sweep data has been sent.
This mode activates once the Spectrum Master exits from the remote mode. Sweep Data Echo status can not be saved to or recalled from saved setups. Cycling power resets the Sweep Data Echo status to Off.
The Sweep Data Echo Mode allows run-time handshaking between the Spectrum Master and computer by doing the following:
1) Enter remote mode. Set Sweep Data Echo Mode On. Exit remote mode.
2) The Spectrum Master sweeps once and then sends the Sweep Complete Byte.
3) After you receive it: Recall sweep 0 (last sweep trace in RAM).
4) If using auto triggering, repeat steps 2-3. If using manual triggering, go to step 5.
5) Send Sweep Triggering Byte #48 (30h) and wait for the next sweep cycle.
6) Repeat steps 2-5.
NOTE: To execute commands other than #33, you must use the traditional Enter Remote, Send Com­mands, Exit Remote communication sequence.
Bytes to Follow: 2 bytes
1) Sweep Data Echo Status
2) Next Sweep Trigger
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
00h : Off 01h:On
00h : Manual 01h : Automatic
224 (E0h) Parameter Error : Invalid sweep data echo status 238 (EEh) Time-out Error
Check Battery Status – Control Byte #50 (32h)
Description: Return Smart Battery status.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 17 bytes
1-2) Battery Status flags ( Refer to Smart Battery Data Spec 5.1.2.1) 3-4) State of Charge (unsigned integer 0 to 100(%)Full) 5-6) Battery Voltage (unsigned integer 0 to 65535 in mV) 7-8) Battery Current (signed integer -32,768 to +32,7687 mA, positive = Charging) 9-10) Battery Average current (signed integer -32,768 to +32,7687 mA, positive = Charging)
48 Spectrum Master PM
Page 54
11-12) Average time to empty (unsigned integer 0 to 65535 minute) 13-14) Battery Charge Cycle Count (unsigned integer 0 to 65535 cycles) 15-16) Battery Capacity at Full Charge in mA Hours (unsigned integer 0 to 65535 cycles)
17) Unit under battery power (1 = YES;0=NO)
Set SPA Minimum Sweep Time - Control Byte #53 (35h)
Description: Sets the minimum sweep time (in ms) for the spectrum analyzer when the span is 0.
Valid range is 50 to 200,000,000.
Bytes to Follow: 4 bytes
1) Minimum Sweep Time (in ms) (highest byte)
2) Minimum Sweep Time (in ms)
3) Minimum Sweep Time (in ms)
4) Minimum Sweep Time (in ms) (lowest byte)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid sweep time 238 (EEh) Time-out Error
Set Trigger Position - Control Byte #54 (36h)
Description: Sets the trigger position (in percent) for the spectrum analyzer when the span is 0.
Bytes to Follow: 1 byte
1) Trigger Position (0 - 100%)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid trigger position 238 (EEh) Time-out Error
Set Video Trigger Level - Control Byte #55 (37h)
Description: Sets the trigger level (-120 - +20 dBm) for the spectrum analyzer when the span is 0 and trigger mode is video.
The trigger level should be sent as (value in dBm * 1000) + 120,000.
Bytes to Follow: 4 bytes
1) Trigger Level (highest byte)
2) Trigger Level
3) Trigger Level
4) Trigger Level (lowest byte)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid trigger level 238 (EEh) Time-out Error
Spectrum Master PM 49
Page 55
Page 56
33) Spectrum Analyzer Frequency Span
180
(highest byte)
34) Spectrum Analyzer Frequency Span
35) Spectrum Analyzer Frequency Span
36) Spectrum Analyzer Frequency Span (lowest byte)
37) Ref Level (highest byte)
181
38) Ref Level
39) Ref Level
40) Ref Level (lowest byte)
41) Scale per div (highest byte)
182
42) Scale per div
43) Scale per div
44) Scale per div (lowest byte)
45) Spectrum Analyzer Frequency Marker 1 (higher byte)
183
46) Spectrum Analyzer Frequency Marker 1 (lower byte)
47) Spectrum Analyzer Frequency Marker 2 (higher byte)
48) Spectrum Analyzer Frequency Marker 2 (lower byte)
49) Spectrum Analyzer Frequency Marker 3 (higher byte)
50) Spectrum Analyzer Frequency Marker 3 (lower byte)
51) Spectrum Analyzer Frequency Marker 4 (higher byte)
52) Spectrum Analyzer Frequency Marker 4 (lower byte)
53) Spectrum Analyzer Frequency Marker 5 (higher byte)
54) Spectrum Analyzer Frequency Marker 5 (lower byte)
55) Spectrum Analyzer Frequency Marker 6 (higher byte)
56) Spectrum Analyzer Frequency Marker 6 (lower byte)
57) Spectrum Analyzer Single Limit (highest byte)
184
58) Spectrum Analyzer Single Limit
59) Spectrum Analyzer Single Limit
60) Spectrum Analyzer Single Limit (lowest byte)
61) SPA Multiple Upper Limit 1 Start X
185
(highest byte)
62) SPA Multiple Upper Limit 1 Start X
63) SPA Multiple Upper Limit 1 Start X
64) SPA Multiple Upper Limit 1 Start X (lowest byte)
65) SPA Multiple Upper Limit 1 Start Y (Power Level) (highest byte)
66) SPA Multiple Upper Limit 1 Start Y (Power Level)
67) SPA Multiple Upper Limit 1 Start Y (Power Level)
68) SPA Multiple Upper Limit 1 Start Y (Power Level) (lowest byte)
69) SPA Multiple Upper Limit 1 End X
187
(highest byte)
70) SPA Multiple Upper Limit 1 End X
71) SPA Multiple Upper Limit 1 End X
72) SPA Multiple Upper Limit 1 End X (lowest byte)
73) SPA Multiple Upper Limit 1 End Y (Power Level) (highest byte)
186
188
180 Scaled by Frequency Scale Factor (bytes 301-302)
181 Value sent as (value in dBm * 1000) + 270,000)
182 Value sent as (value * 1000)
183 Value sent as data point on the display. Equivalent frequency = (point * span/(#data points–1))+start frequency.
184 Value sent as ( value in dBm * 1000 ) + 270000
185 Scaled by Frequency Scale Factor (bytes 301-302)
186 Value sent as ( value in dBm * 1000 ) + 270000
187 Scaled by Frequency Scale Factor (bytes 301-302)
188 Value sent as ( value in dBm * 1000 ) + 270000
Spectrum Master PM 51
Page 57
74) SPA Multiple Upper Limit 1 End Y (Power Level)
75) SPA Multiple Upper Limit 1 End Y (Power Level)
76) SPA Multiple Upper Limit 1 End Y (Power Level) (lowest byte) 77-220) SPA Multiple Upper Limits 2-5, SA Multiple Lower Limits 1-5 (see bytes 61-76 for format)
221) RBW Setting (highest byte)
189
222) RBW Setting
223) RBW Setting
224) RBW Setting (lowest byte)
225) VBW Setting (highest byte)
190
226) VBW Setting
227) VBW Setting
228) VBW Setting (lowest byte)
229) OCC BW Method
230) OCC BW % Value
231) OCC BW dBc
191
192
193
232) Attenuation
233) Antenna Index (0-14) 234-249) Antenna Name (16 bytes in ASCII)
250) Status Byte 1: ( 0b = Off , 1b = On) (LSB) bit 0 : Spectrum Analyzer Mode Marker 1 On/Off
bit 1 : Spectrum Analyzer Mode Marker 2 On/Off bit 2 : Spectrum Analyzer Mode Marker 3 On/Off bit 3 : Spectrum Analyzer Mode Marker 4 On/Off bit 4 : Spectrum Analyzer Mode Marker 5 On/Off bit 5 : Spectrum Analyzer Mode Marker 6 On/Off bits6-7:NotUsed
251) Status Byte 2: (0b = Off, 1b = On) (LSB) bit 0 : Not Used
bit 1 : Spectrum Analyzer Mode Marker 2 Delta On/Off bit 2 : Spectrum Analyzer Mode Marker 3 Delta On/Off bit 3 : Spectrum Analyzer Mode Marker 4 Delta On/Off bit 4 : Pre Amp Mode (0b = Manual, 1b = Auto) bit 5 : Pre Amp Status On/Off bit 6 : Dynamic Attenuation On/Off bit 7 : Normalization On/Off
252) Status Byte 3: (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line) (LSB) bit 0 : SPA Limit Type (0b = Single, 1b = Multiple)
bit 1 : SPA Single Limit Beep On/Off bit 2 : SPA Single Limit Status On/Off bit 3 : SPA Single Limit Beep Level ABOVE/BELOW bit 4 : SPA Multiple Limit Upper Segment 1 Status On/Off bit 5 : SPA Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW
194
bit 6 : SPA Multiple Limit Upper Segment 2 Status On/Off bit 7 : SPA Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
253) Status Byte 4 : (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line) (LSB) bit 0 : SPA Multiple Limit Upper Segment 3 Status On/Off
bit 1 : SPA Multiple Limit Upper Segment 3 Beep Level ABOVE/BELOW bit 2 : SPA Multiple Limit Upper Segment 4 Status On/Off bit 3 : SPA Multiple Limit Upper Segment 4 Beep Level ABOVE/BELOW
189 RBW frequency sent in Hz.
190 VBW frequency sent in Hz.
191 00h=%ofpower, 01h = dB down
192 0 – 99%
193 0 – 120 dBc
194 Beep level is always 1b for upper segmented limit line
52 Spectrum Master PM
Page 58
bit 4 : SPA Multiple Limit Upper Segment 5 Status On/Off bit 5 : SPA Multiple Limit Upper Segment 5 Beep Level ABOVE/BELOW bit 6 : SPA Multiple Limit Lower Segment 1 Status On/Off bit 7 : SPA Multiple Limit Lower Segment 1 Beep Level ABOVE/BELOW
254) Status Byte 5 : (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line) (LSB) bit 0 : SPA Multiple Limit Lower Segment 2 Status On/Off
bit 1 : SPA Multiple Limit Lower Segment 2 Beep Level ABOVE/BELOW bit 2 : SPA Multiple Limit Lower Segment 3 Status On/Off bit 3 : SPA Multiple Limit Lower Segment 3 Beep Level ABOVE/BELOW bit 4 : SPA Multiple Limit Lower Segment 4 Status On/Off bit 5 : SPA Multiple Limit Lower Segment 4 Beep Level ABOVE/BELOW bit 6 : SPA Multiple Limit Lower Segment 5 Status On/Off bit 7 : SPA Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
255) Status Byte 6: (0b = Off, 1b = On) (LSB) bit 0 : Antenna Factors Correction On/Off
bit 1 : Bias Tee On/Off (Option 10) bit 2 : Amplitude Units (Linear) – 00b = Watts 01b = Volts bits 3-4 : Amplitude Units (Log) - 00b = dBm 01b = dBV 10b = dBmV 11b = dBuV bits 5-6 : Detection Alg (00b=pos. peak 01b=RMS Avg 10b=neg. peak 11b=Sampling Mode) bit 7 : Units Type (0b = Log 1b = Linear)
256) Status Byte 7: (0b = Off, 1b = On) (LSB) bit 0: Interference Analysis On/Off
bit 1: C/I Measurement On/Off bit 2: RBW Coupling (1b = Auto, 0b = Manual) bit 3: VBW Coupling (1b = Auto, 0b = Manual) bit 4: Attenuation Coupling (1b = Auto, 0b = Manual) bit 5: Channel Power On/Off bit 6: Adjacent Channel Power On/Off bit 7: Occupied BW Measurement On/Off
257) Reference Level Offset
196
(highest byte)
258) Reference Level Offset
259) Reference Level Offset
260) Reference Level Offset (lowest byte)
261) External Reference Frequency
262) Signal Standard
263) Signal Standard (lower byte)
264) Channel Selection
265) Channel Selection (lower byte)
266) Trigger Type
198
(higher byte)
199
200
(higher byte)
267) Interference Analysis Frequency
197
201
(highest byte)
268) Interference Analysis Frequency
269) Interference Analysis Frequency
270) Interference Analysis Frequency (lowest byte)
271) Trigger Position (0 – 100%)
272) Min Sweep Time (in ìs) (highest byte)
273) Min Sweep Time (in ìs)
274) Min Sweep Time (in ìs)
195
195 Beep level is always 0b for lower segmented limit line
196 Value sent as (value in dBm * 1000) + 270,000
197 1 byte in MHz (i.e. 20 = 20MHz)
198 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
199 “No Channel” is sent as FFFEh
200 Trigger Type – 00h = Single, 01h = Free Run, 02h = Video, 03h = External
201 Scaled by Frequency Scale Factor (bytes 301-302)
Spectrum Master PM 53
Page 59
275) Min Sweep Time (in ìs) (lowest byte)
276) Video Trigger Level
202
(highest byte)
277) Video Trigger Level
278) Video Trigger Level
279) Video Trigger Level (lowest byte)
280) Status Byte 8 (LSB) bit 0: Reserved
bits 2-7: Not Used
281) Status Byte 9 (LSB) bits 0-6: Number of sweeps to average (1-25, 1 implies averaging OFF)
bit 7: Not Used
282) Status Byte 10: (0b = Off, 1b = On)
(LSB) bits 0-1: Trace Math Operation (00b = A only, 01b = A-B, 10b = A+B)
bit 2: Max Hold On/Off bit 3: Min Hold On/Off bit 4: View B On/Off bit 5: External Reference Frequency On/Off bits 6-7: Not Used
283) Impedance (00h = 50Ù, 0Ah = 75Ù Anritsu Adapter, 0Ch = 75Ù Other Adapter)
284) Impedance Loss
285) Impedance Loss (lower byte)
286) AM/FM Demod Type
203
(higher byte)
204
287) AM/FM Demod Status (01h = On, 00h = Off)
288) AM/FM Demod Volume (0 to 100)
289) AM/FM Demod Frequency
205
(highest byte)
290) AM/FM Demod Frequency
291) AM/FM Demod Frequency
292) AM/FM Demod Frequency (lowest byte)
293) AM/FM Demod Time (in ms) (highest byte)
294) AM/FM Demod Time (in ms)
295) AM/FM Demod Time (in ms)
296) AM/FM Demod Time (in ms) (lowest byte)
297) SSB BFO Offset
206
(highest byte)
298) SSB BFO Offset
299) SSB BFO Offset
300) SSB BFO Offset (lowest byte)
301) Frequency Scale Factor
302) Frequency Scale Factor (lower byte)
303) Frequency Range Minimum
207
(higher byte)
208
(highest byte)
304) Frequency Range Minimum
305) Frequency Range Minimum
306) Frequency Range Minimum (lowest byte)
307) Frequency Range Maximum
209
(highest byte)
202 Value sent as ( value in dBm * 1000 ) + 270,000
203 Value sent as (value in dB * 1000), valid values are 0 to 20 dB
204 AM/FM Demod Type: 00h = FM-Wide Band, 01h = FM-Narrow Band, 02h = AM, 03h = SSB Lower, 04h = SSB Upper
205 Scaled by Frequency Scale Factor (bytes 301-302)
206 Value sent as ((value in Hz) – 10,000)
207 In number of Hz
208 Scaled by Frequency Scale Factor (bytes 301-302)
209 Scaled by Frequency Scale Factor (bytes 301-302)
54 Spectrum Master PM
Page 60
308) Frequency Range Maximum
309) Frequency Range Maximum
310) Frequency Range Maximum (lowest byte)
311) Marker Type
312) Channel Power Int BW
210
211
(highest byte)
313) Channel Power Int BW
314) Channel Power Int BW
315) Channel Power Int BW (lowest byte)
316) ACPR Main Channel BW
212
(highest byte)
317) ACPR Main Channel BW
318) ACPR Main Channel BW
319) ACPR Main Channel BW (lowest byte)
320) ACPR Adjacent Channel BW
213
(highest byte)
321) ACPR Adjacent Channel BW
322) ACPR Adjacent Channel BW
323) ACPR Adjacent Channel BW (lowest byte)
324) ACPR Channel Spacing
214
(highest byte)
325) ACPR Channel Spacing
326) ACPR Channel Spacing
327) ACPR Channel Spacing (lowest byte)
328) Interference Analysis Cell Std
329) Interference Analysis Est. BW
215
216
(highest byte)
330) Interference Analysis Est. BW
331) Interference Analysis Est. BW
332) Interference Analysis Est. BW (lowest byte)
333) Trace B Trace Id
217
334-500) Not Used
For Transmission Mode (Option 21):
21) Start Frequency
218
(highest byte)
22) Start Frequency
23) Start Frequency
24) Start Frequency (lowest byte)
25) Stop Frequency
219
(highest byte)
26) Stop Frequency
27) Stop Frequency
28) Stop Frequency (lowest byte)
210 00h = Regular Marker, 01h = Noise Marker
211 Scaled by Frequency Scale Factor (bytes 301-302)
212 Scaled by Frequency Scale Factor (bytes 301-302)
213 Scaled by Frequency Scale Factor (bytes 301-302)
214 Scaled by Frequency Scale Factor (bytes 301-302)
215 4 Standards – 00h = 1250 kHZ CDMA, 01h = GSM, 02h = TDMA, 03h = AMPS, 04h = Unknown, FFh = Interference
Analysis Measurement OFF
216 Frequency in Hz
217 FFh indicates no trace selected
218 Scaled by Frequency Scale Factor (bytes 244-245)
219 Scaled by Frequency Scale Factor (bytes 244-245)
Spectrum Master PM 55
Page 61
29) Center Frequency
220
(highest byte)
30) Center Frequency
31) Center Frequency
32) Center Frequency (lowest byte)
33) Frequency Span
221
(highest byte)
34) Frequency Span
35) Frequency Span
36) Frequency Span (lowest byte)
37) Ref Level (highest byte)
222
38) Ref Level
39) Ref Level
40) Ref Level (lowest byte)
41) Scale per div (highest byte)
223
42) Scale per div
43) Scale per div
44) Scale per div (lowest byte)
45) Frequency Marker 1 (higher byte)
224
46) Frequency Marker 1 (lower byte)
47) Frequency Marker 2 (higher byte)
48) Frequency Marker 2 (lower byte)
49) Frequency Marker 3 (higher byte)
50) Frequency Marker 3 (lower byte)
51) Frequency Marker 4 (higher byte)
52) Frequency Marker 4 (lower byte)
53) Frequency Marker 5 (higher byte)
54) Frequency Marker 5 (lower byte)
55) Frequency Marker 6 (higher byte)
56) Frequency Marker 6 (lower byte)
57) Single Limit (highest byte)
225
58) Single Limit
59) Single Limit
60) Single Limit (lowest byte)
61) Multiple Upper Limit 1 Start X
226
(highest byte)
62) Multiple Upper Limit 1 Start X
63) Multiple Upper Limit 1 Start X
64) Multiple Upper Limit 1 Start X (lowest byte)
65) Multiple Upper Limit 1 Start Y (Power Level) (highest byte)
66) Multiple Upper Limit 1 Start Y (Power Level)
67) Multiple Upper Limit 1 Start Y (Power Level)
68) Multiple Upper Limit 1 Start Y (Power Level) (lowest byte)
69) Multiple Upper Limit 1 End X
228
(highest byte)
227
220 Scaled by Frequency Scale Factor (bytes 244-245)
221 Scaled by Frequency Scale Factor (bytes 244-245)
222 Value sent as (value in dBm * 1000) + 270,000)
223 Value sent as (value * 1000)
224 Value sent as data point on the display. Equivalent frequency = (point * span/(#data points–1))+start frequency.
225 Value sent as ( value in dBm * 1000 ) + 270000
226 Scaled by Frequency Scale Factor (bytes 244-245)
227 Value sent as ( value in dBm * 1000 ) + 270000
228 Scaled by Frequency Scale Factor (bytes 244-245)
56 Spectrum Master PM
Page 62
70) Multiple Upper Limit 1 End X
71) Multiple Upper Limit 1 End X
72) Multiple Upper Limit 1 End X (lowest byte)
73) Multiple Upper Limit 1 End Y (Power Level) (highest byte)
229
74) Multiple Upper Limit 1 End Y (Power Level)
75) Multiple Upper Limit 1 End Y (Power Level)
76) Multiple Upper Limit 1 End Y (Power Level) (lowest byte) 77-220) Multiple Upper Limits 2-5, SA Multiple Lower Limits 1-5 (see bytes 61-76 for format)
221) RBW Setting (highest byte)
230
222) RBW Setting
223) RBW Setting
224) RBW Setting (lowest byte)
225) VBW Setting (highest byte)
231
226) VBW Setting
227) VBW Setting
228) VBW Setting (lowest byte)
229) Attenuation
230) Status Byte 1: ( 0b = Off , 1b = On) (LSB) bit 0 : Marker 1 On/Off
bit 1 : Marker 2 On/Off bit 2 : Marker 3 On/Off bit 3 : Marker 4 On/Off bit 4 : Marker 5 On/Off bit 5 : Marker 6 On/Off bits6-7:NotUsed
231) Status Byte 2: (0b = Off, 1b = On) (LSB) bit 0 : S21 Spa Cal Status (0 – Cal OFF, 1 – Cal ON)
bit 1 : Marker 2 Delta On/Off bit 2 : Marker 3 Delta On/Off bit 3 : Marker 4 Delta On/Off bit 4 : Pre Amp Mode (0b = Manual, 1b = Auto) bit 5 : Pre Amp Status On/Off
bit 6 : Dynamic Attenuation On/Off bit 7 : Not Used
232) Status Byte 3: (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line) (LSB) bit 0 : Limit Type (0b = Single, 1b = Multiple)
bit 1 : Single Limit Beep On/Off bit 2 : Single Limit Status On/Off bit 3 : Single Limit Beep Level ABOVE/BELOW bit 4 : Multiple Limit Upper Segment 1 Status On/Off bit 5 : Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW
232
bit 6 : Multiple Limit Upper Segment 2 Status On/Off bit 7 : Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
233) Status Byte 4 : (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line) (LSB) bit 0 : Multiple Limit Upper Segment 3 Status On/Off
bit 1 : Multiple Limit Upper Segment 3 Beep Level ABOVE/BELOW bit 2 : Multiple Limit Upper Segment 4 Status On/Off bit 3 : Multiple Limit Upper Segment 4 Beep Level ABOVE/BELOW bit 4 : Multiple Limit Upper Segment 5 Status On/Off bit 5 : Multiple Limit Upper Segment 5 Beep Level ABOVE/BELOW bit 6 : Multiple Limit Lower Segment 1 Status On/Off
229 Value sent as ( value in dBm * 1000 ) + 270000
230 RBW frequency sent in Hz.
231 VBW frequency sent in Hz.
232 Beep level is always 1b for upper segmented limit line
Spectrum Master PM 57
Page 63
bit 7 : Multiple Limit Lower Segment 1 Beep Level ABOVE/BELOW
233
234) Status Byte 5 : (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line) (LSB) bit 0 : Multiple Limit Lower Segment 2 Status On/Off
bit 1 : Multiple Limit Lower Segment 2 Beep Level ABOVE/BELOW bit 2 : Multiple Limit Lower Segment 3 Status On/Off bit 3 : Multiple Limit Lower Segment 3 Beep Level ABOVE/BELOW bit 4 : Multiple Limit Lower Segment 4 Status On/Off bit 5 : Multiple Limit Lower Segment 4 Beep Level ABOVE/BELOW bit 6 : Multiple Limit Lower Segment 5 Status On/Off bit 7 : Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
235) Status Byte 6: (0b = Off, 1b = On) (LSB) bit 0 : Not Used
bit 1 : Bias Tee On/Off (Option 10) bit 2 : External Reference Freq On/Off bits 3-4 : Amplitude Units
(Log) - 00b = dBm, 01b = dBV, 10b = dBmV, 11b = dBmV
(Linear) – 00b = Watts, 01b = Volts bits 5-6 : Detection Alg (00b=pos. peak 01b=RMS Avg 10b=neg. peak 11b=Sampling Mode) bit 7 : Units Type (0b = Log 1b = Linear)
236) External Reference Frequency
237) Signal Standard
238) Signal Standard (lower byte)
239) Channel Selection
240) Channel Selection (lower byte)
241) Trigger Type
235
(higher byte)
236
237
(higher byte)
234
242) Status Byte 7 (LSB) bits 0-6: Number of sweeps to average (1-25, 1 implies averaging OFF)
bit 7: Not Used
243) Status Byte 8: (0b = Off, 1b = On) (LSB) bits 0-1: Trace Math Operation (00b = A only, 01b = A-B, 10b = A+B)
bit 2: Max Hold On/Off bit 3: Min Hold On/Off bit 4: RBW Coupling (1b = Auto, 0b = Manual) bit 5: VBW Coupling (1b = Auto, 0b = Manual) bit 6: Attenuation Coupling (1b = Auto, 0b = Manual) bit 7: View B On/Off
244) Frequency Scale Factor
245) Frequency Scale Factor (lower byte)
246) Frequency Range Minimum
238
(higher byte)
239
(highest byte)
247) Frequency Range Minimum
248) Frequency Range Minimum
249) Frequency Range Minimum (lowest byte)
250) Frequency Range Maximum
240
(highest byte)
251) Frequency Range Maximum
252) Frequency Range Maximum
253) Frequency Range Maximum (lowest byte)
233 Beep level is always 0b for lower segmented limit line
234 1 byte in MHz (i.e. 20 = 20MHz)
235 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
236 “No Channel” is sent as FFFEh
237 Trigger Type – 00h = Single, 01h = Free Run, 02h = Video, 03h = External
238 In number of Hz
239 Scaled by Frequency Scale Factor (bytes 244-245)
240 Scaled by Frequency Scale Factor (bytes 244-245)
58 Spectrum Master PM
Page 64
254) Marker Type
255) Trace B Trace Id
241
242
256) Status Byte 9 (LSB) bit 0: Reserved
bits 1-7: Not Used
257-400) Not Used
For Power Meter Mode (Option 29 only):
21) Power Meter Start Freq
243
(highest byte)
22) Power Meter Start Freq
23) Power Meter Start Freq
24) Power Meter Start Freq
244
(lowest byte)
25) Power Meter Stop Freq (highest byte)
26) Power Meter Stop Freq
27) Power Meter Stop Freq
28) Power Meter Stop Freq (lowest byte)
29) Power Meter Center Freq
245
(highest byte)
30) Power Meter Center Freq
31) Power Meter Center Freq
32) Power Meter Center Freq (lowest byte)
33) Power Meter Span
246
(highest byte)
34) Power Meter Span
35) Power Meter Span
36) Power Meter Span (lowest byte)
37) Signal Standard
38) Signal Standard (lower byte)
39) Channel Selection
40) Channel Selection (lower byte)
41) Power Meter Offset
247
(higher byte)
248
(higher byte)
249
(highest byte)
42) Power Meter Offset
43) Power Meter Offset
44) Power Meter Offset (lowest byte)
45) Power Meter Relative (highest byte)
46) Power Meter Relative
47) Power Meter Relative
48) Power Meter Relative (lowest byte)
49) Not Used
50) Power Meter Unit (00h = Watts, 01h = dBm)
51) Power Meter Relative Status (00h = Off, 01h = On)
250
241 00h = Regular Marker, 01h = Noise Marker
242 FFh indicates no trace selected
243 Scaled by Frequency Scale Factor (bytes 54-55)
244 Scaled by Frequency Scale Factor (bytes 54-55)
245 Scaled by Frequency Scale Factor (bytes 54-55)
246 Scaled by Frequency Scale Factor (bytes 54-55)
247 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
248 “No Channel” is sent as FFFEh
249 Value sent as (value in dB * 1000)
250 Value sent as ((value in dBm * 1000) + 100)
Spectrum Master PM 59
Page 65
52) Power Meter Offset Status (00h = Off, 01h = On)
53) Power Meter RMS Averaging Level (00h = Off, 01h = Low, 02h = Medium, 03h = High)
54) Frequency Scale Factor
55) Frequency Scale Factor (lower byte)
56) Frequency Range Minimum
251
(higher byte)
252
(highest byte)
57) Frequency Range Minimum
58) Frequency Range Minimum
59) Frequency Range Minimum (lowest byte)
60) Frequency Range Maximum
253
(highest byte)
61) Frequency Range Maximum
62) Frequency Range Maximum
63) Frequency Range Maximum (lowest byte)
64) Zero Status (00h = Off, 01h = On)
65) Zero Value
254
(highest byte)
66) Zero Value
67) Zero Value
68) Zero Value (lowest byte) 69-120) Not Used
Upload Setup – Control Byte #66 (42h)
Description: Receives parameters defining a setup and saves them in the memory location associated with the specified setup number. Since different modes have different numbers of setup locations available, the command requires the mode be specified as well as the setup number.
Setup numbers as follows:
0 = Run time setup 1 – 10 = Saved setups for Spectrum Analyzer/Transmission Measurement modes 1 – 5 = Saved setups for Power Meter mode (Option 29 only)
Bytes to Follow: 2 bytes
For All Modes:
1) Number of Following Bytes (higher byte)
2) Number of Following Bytes (lower byte)
3) Measurement Mode
255
4) Setup Number in which to store setup 5-20) Not Used
For Spectrum Analyzer Mode:
21) Spectrum Analyzer Start Frequency
256
(highest byte)
22) Spectrum Analyzer Start Frequency
23) Spectrum Analyzer Start Frequency
24) Spectrum Analyzer Start Frequency (lowest byte)
251 In number of Hz
252 Scaled by Frequency Scale Factor
253 Scaled by Frequency Scale Factor
254 Value sent as ((value in dBm * 1000) + 100)
255 Refer to Control Byte #3 “Select Measurement Mode” for valid measurement modes.
256 Scaled by Frequency Scale Factor (bytes 301-302)
60 Spectrum Master PM
Page 66
25) Spectrum Analyzer Stop Frequency
257
(highest byte)
26) Spectrum Analyzer Stop Frequency
27) Spectrum Analyzer Stop Frequency
28) Spectrum Analyzer Stop Frequency (lowest byte)
29) Spectrum Analyzer Center Frequency
258
(highest byte)
30) Spectrum Analyzer Center Frequency
31) Spectrum Analyzer Center Frequency
32) Spectrum Analyzer Center Frequency (lowest byte)
33) Spectrum Analyzer Frequency Span
259
(highest byte)
34) Spectrum Analyzer Frequency Span
35) Spectrum Analyzer Frequency Span
36) Spectrum Analyzer Frequency Span (lowest byte)
37) Ref Level (highest byte)
260
38) Ref Level
39) Ref Level
40) Ref Level (lowest byte)
41) Scale per div (highest byte)
261
42) Scale per div
43) Scale per div
44) Scale per div (lowest byte)
45) Spectrum Analyzer Frequency Marker 1 (higher byte)
262
46) Spectrum Analyzer Frequency Marker 1 (lower byte)
47) Spectrum Analyzer Frequency Marker 2 (higher byte)
48) Spectrum Analyzer Frequency Marker 2 (lower byte)
49) Spectrum Analyzer Frequency Marker 3 (higher byte)
50) Spectrum Analyzer Frequency Marker 3 (lower byte)
51) Spectrum Analyzer Frequency Marker 4 (higher byte)
52) Spectrum Analyzer Frequency Marker 4 (lower byte)
53) Spectrum Analyzer Frequency Marker 5 (higher byte)
54) Spectrum Analyzer Frequency Marker 5 (lower byte)
55) Spectrum Analyzer Frequency Marker 6 (higher byte)
56) Spectrum Analyzer Frequency Marker 6 (lower byte)
57) Spectrum Analyzer Single Limit (highest byte)
263
58) Spectrum Analyzer Single Limit
59) Spectrum Analyzer Single Limit
60) Spectrum Analyzer Single Limit (lowest byte)
61) SPA Multiple Upper Limit 1 Start X
264
(highest byte)
62) SPA Multiple Upper Limit 1 Start X
63) SPA Multiple Upper Limit 1 Start X
64) SPA Multiple Upper Limit 1 Start X (lowest byte)
65) SPA Multiple Upper Limit 1 Start Y (Power Level) (highest byte)
265
257 Scaled by Frequency Scale Factor (bytes 301-302)
258 Scaled by Frequency Scale Factor (bytes 301-302)
259 Scaled by Frequency Scale Factor (bytes 301-302)
260 Value sent as (value in dBm * 1000) + 270,000)
261 Value sent as (value * 1000)
262 Value sent as data point on the display. Equivalent frequency = (point * span/(#data points–1))+start frequency.
263 Value sent as ( value in dBm * 1000 ) + 270000
264 Scaled by Frequency Scale Factor (bytes 301-302)
265 Value sent as ( value in dBm * 1000 ) + 270000
Spectrum Master PM 61
Page 67
66) SPA Multiple Upper Limit 1 Start Y (Power Level)
67) SPA Multiple Upper Limit 1 Start Y (Power Level)
68) SPA Multiple Upper Limit 1 Start Y (Power Level) (lowest byte)
69) SPA Multiple Upper Limit 1 End X
266
(highest byte)
70) SPA Multiple Upper Limit 1 End X
71) SPA Multiple Upper Limit 1 End X
72) SPA Multiple Upper Limit 1 End X (lowest byte)
73) SPA Multiple Upper Limit 1 End Y (Power Level) (highest byte)
267
74) SPA Multiple Upper Limit 1 End Y (Power Level)
75) SPA Multiple Upper Limit 1 End Y (Power Level)
76) SPA Multiple Upper Limit 1 End Y (Power Level) (lowest byte) 77-220) SPA Multiple Upper Limits 2-5, SA Multiple Lower Limits 1-5 (see bytes 61-76 for format)
221) RBW Setting (highest byte)
268
222) RBW Setting
223) RBW Setting
224) RBW Setting (lowest byte)
225) VBW Setting (highest byte)
269
226) VBW Setting
227) VBW Setting
228) VBW Setting (lowest byte)
229) OCC BW Method
230) OCC BW % Value
231) OCC BW dBc
270
271
272
232) Attenuation
233) Antenna Index (0-14) 234-249) Antenna Name (16 bytes in ASCII)
250) Status Byte 1: ( 0b = Off , 1b = On) (LSB) bit 0 : Spectrum Analyzer Mode Marker 1 On/Off
bit 1 : Spectrum Analyzer Mode Marker 2 On/Off bit 2 : Spectrum Analyzer Mode Marker 3 On/Off bit 3 : Spectrum Analyzer Mode Marker 4 On/Off bit 4 : Spectrum Analyzer Mode Marker 5 On/Off bit 5 : Spectrum Analyzer Mode Marker 6 On/Off bits6-7:NotUsed
251) Status Byte 2: (0b = Off, 1b = On) (LSB) bit 0 : Not Used
bit 1 : Spectrum Analyzer Mode Marker 2 Delta On/Off bit 2 : Spectrum Analyzer Mode Marker 3 Delta On/Off bit 3 : Spectrum Analyzer Mode Marker 4 Delta On/Off bit 4 : Pre Amp Mode (0b = Manual, 1b = Auto) bit 5 : Pre Amp Status On/Off bit 6 : Dynamic Attenuation On/Off bit 7 : Normalization On/Off
252) Status Byte 3: (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line) (LSB) bit 0 : SPA Limit Type (0b = Single, 1b = Multiple)
bit 1 : SPA Single Limit Beep On/Off
266 Scaled by Frequency Scale Factor (bytes 301-302)
267 Value sent as ( value in dBm * 1000 ) + 270000
268 RBW frequency sent in Hz.
269 VBW frequency sent in Hz.
270 00h=%ofpower, 01h = dB down
271 0 – 99%
272 0 – 120 dBc
62 Spectrum Master PM
Page 68
bit 2 : SPA Single Limit Status On/Off bit 3 : SPA Single Limit Beep Level ABOVE/BELOW bit 4 : SPA Multiple Limit Upper Segment 1 Status On/Off bit 5 : SPA Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW bit 6 : SPA Multiple Limit Upper Segment 2 Status On/Off bit 7 : SPA Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
253) Status Byte 4 : (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line) (LSB) bit 0 : SPA Multiple Limit Upper Segment 3 Status On/Off
bit 1 : SPA Multiple Limit Upper Segment 3 Beep Level ABOVE/BELOW bit 2 : SPA Multiple Limit Upper Segment 4 Status On/Off bit 3 : SPA Multiple Limit Upper Segment 4 Beep Level ABOVE/BELOW bit 4 : SPA Multiple Limit Upper Segment 5 Status On/Off bit 5 : SPA Multiple Limit Upper Segment 5 Beep Level ABOVE/BELOW bit 6 : SPA Multiple Limit Lower Segment 1 Status On/Off bit 7 : SPA Multiple Limit Lower Segment 1 Beep Level ABOVE/BELOW
254) Status Byte 5 : (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line) (LSB) bit 0 : SPA Multiple Limit Lower Segment 2 Status On/Off
bit 1 : SPA Multiple Limit Lower Segment 2 Beep Level ABOVE/BELOW bit 2 : SPA Multiple Limit Lower Segment 3 Status On/Off bit 3 : SPA Multiple Limit Lower Segment 3 Beep Level ABOVE/BELOW bit 4 : SPA Multiple Limit Lower Segment 4 Status On/Off bit 5 : SPA Multiple Limit Lower Segment 4 Beep Level ABOVE/BELOW bit 6 : SPA Multiple Limit Lower Segment 5 Status On/Off bit 7 : SPA Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
255) Status Byte 6: (0b = Off, 1b = On) (LSB) bit 0 : Antenna Factors Correction On/Off
bit 1 : Bias Tee On/Off (Option 10) bit 2 : Amplitude Units (Linear) – 00b = Watts 01b = Volts bits 3-4 : Amplitude Units (Log) - 00b = dBm 01b = dBV 10b = dBmV 11b = dBuV bits 5-6 : Detection Alg (00b=pos. peak 01b=RMS Avg 10b=neg. peak 11b=Sampling Mode) bit 7 : Units Type (0b = Log 1b = Linear)
256) Status Byte 7: (0b = Off, 1b = On) (LSB) bit 0: Interference Analysis On/Off
bit 1: C/I Measurement On/Off bit 2: RBW Coupling (1b = Auto, 0b = Manual) bit 3: VBW Coupling (1b = Auto, 0b = Manual) bit 4: Attenuation Coupling (1b = Auto, 0b = Manual) bit 5: Channel Power On/Off bit 6: Adjacent Channel Power On/Off bit 7: Occupied BW Measurement On/Off
257) Reference Level Offset
275
(highest byte)
258) Reference Level Offset
259) Reference Level Offset
260) Reference Level Offset (lowest byte)
261) External Reference Frequency
262) Signal Standard
263) Signal Standard (lower byte)
264) Channel Selection
277
(higher byte)
278
(higher byte)
276
265) Channel Selection (lower byte)
273
274
273 Beep level is always 1b for upper segmented limit line
274 Beep level is always 0b for lower segmented limit line
275 Value sent as (value in dBm * 1000) + 270,000
276 1 byte in MHz (i.e. 20 = 20MHz)
277 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
278 “No Channel” is sent as FFFEh
Spectrum Master PM 63
Page 69
266) Trigger Type
267) Interference Analysis Frequency
279
280
(highest byte)
268) Interference Analysis Frequency
269) Interference Analysis Frequency
270) Interference Analysis Frequency (lowest byte)
271) Trigger Position (0 – 100%)
272) Min Sweep Time (in ìs) (highest byte)
273) Min Sweep Time (in ìs)
274) Min Sweep Time (in ìs)
275) Min Sweep Time (in ìs) (lowest byte)
276) Video Trigger Level
281
(highest byte)
277) Video Trigger Level
278) Video Trigger Level
279) Video Trigger Level (lowest byte)
280) Status Byte 8 (LSB) bit 0: Reserved
bits 1-7: Not Used
281) Status Byte 9 (LSB) bits 0-6: Number of sweeps to average (1-25, 1 implies averaging OFF)
bit 7: Not Used
282) Status Byte 10: (0b = Off, 1b = On) (LSB) bits 0-1: Trace Math Operation (00b = A only, 01b = A-B, 10b = A+B)
bit 2: Max Hold On/Off bit 3: Min Hold On/Off bit 4: View B On/Off bit 5: External Reference Frequency On/Off bits 6-7: Not Used
283) Impedance (00h = 50Ù, 0Ah = 75Ù Anritsu Adapter, 0Ch = 75Ù Other Adapter)
284) Impedance Loss
285) Impedance Loss (lower byte)
286) AM/FM Demod Type
282
(higher byte)
283
287) AM/FM Demod Status (01h = On, 00h = Off)
288) AM/FM Demod Volume (0 to 100)
289) AM/FM Demod Frequency
284
(highest byte)
290) AM/FM Demod Frequency
291) AM/FM Demod Frequency
292) AM/FM Demod Frequency (lowest byte)
293) AM/FM Demod Time (in ms) (highest byte)
294) AM/FM Demod Time (in ms)
295) AM/FM Demod Time (in ms)
296) AM/FM Demod Time (in ms) (lowest byte)
297) SSB BFO Offset
285
(highest byte)
298) SSB BFO Offset
299) SSB BFO Offset
300) SSB BFO Offset (lowest byte)
279 Trigger Type – 00h = Single, 01h = Free Run, 02h = Video, 03h = External
280 Scaled by Frequency Scale Factor (bytes 301-302)
281 Value sent as ( value in dBm * 1000 ) + 270,000
282 Value sent as (value in dB * 1000), valid values are 0 to 20 dB
283 AM/FM Demod Type: 00h = FM-Wide Band, 01h = FM-Narrow Band, 02h = AM, 03h = SSB Lower, 04h = SSB Upper
284 Scaled by Frequency Scale Factor (bytes 301-302)
285 Value sent as ((value in Hz) – 10,000)
64 Spectrum Master PM
Page 70
301) Frequency Scale Factor
302) Frequency Scale Factor (lower byte)
303) Frequency Range Minimum
286
(higher byte)
287
(highest byte)
304) Frequency Range Minimum
305) Frequency Range Minimum
306) Frequency Range Minimum (lowest byte)
307) Frequency Range Maximum
288
(highest byte)
308) Frequency Range Maximum
309) Frequency Range Maximum
310) Frequency Range Maximum (lowest byte)
311) Marker Type
312) Channel Power Int BW
289
290
(highest byte)
313) Channel Power Int BW
314) Channel Power Int BW
315) Channel Power Int BW (lowest byte)
316) ACPR Main Channel BW
291
(highest byte)
317) ACPR Main Channel BW
318) ACPR Main Channel BW
319) ACPR Main Channel BW (lowest byte)
320) ACPR Adjacent Channel BW
292
(highest byte)
321) ACPR Adjacent Channel BW
322) ACPR Adjacent Channel BW
323) ACPR Adjacent Channel BW (lowest byte)
324) ACPR Channel Spacing
293
(highest byte)
325) ACPR Channel Spacing
326) ACPR Channel Spacing
327) ACPR Channel Spacing (lowest byte)
328) Interference Analysis Cell Std
329) Interference Analysis Est. BW
294
295
(highest byte)
330) Interference Analysis Est. BW
331) Interference Analysis Est. BW
332) Interference Analysis Est. BW (lowest byte)
333) Trace B Trace Id
296
334-500) Not Used
286 In number of Hz
287 Scaled by Frequency Scale Factor (bytes 301-302)
288 Scaled by Frequency Scale Factor (bytes 301-302)
289 00h = Regular Marker, 01h = Noise Marker
290 Scaled by Frequency Scale Factor (bytes 301-302)
291 Scaled by Frequency Scale Factor (bytes 301-302)
292 Scaled by Frequency Scale Factor (bytes 301-302)
293 Scaled by Frequency Scale Factor (bytes 301-302)
294 4 Standards – 00h = 1250 kHZ CDMA, 01h = GSM, 02h = TDMA, 03h = AMPS, 04h = Unknown, FFh = Interference
Analysis Measurement OFF
295 Frequency in Hz
296 FFh indicates to trace selected
Spectrum Master PM 65
Page 71
For Transmission Mode (Option 21 only):
21) Start Frequency
297
(highest byte)
22) Start Frequency
23) Start Frequency
24) Start Frequency (lowest byte)
25) Stop Frequency
298
(highest byte)
26) Stop Frequency
27) Stop Frequency
28) Stop Frequency (lowest byte)
29) Center Frequency
299
(highest byte)
30) Center Frequency
31) Center Frequency
32) Center Frequency (lowest byte)
33) Frequency Span
300
(highest byte)
34) Frequency Span
35) Frequency Span
36) Frequency Span (lowest byte)
37) Ref Level (highest byte)
301
38) Ref Level
39) Ref Level
40) Ref Level (lowest byte)
41) Scale per div (highest byte)
302
42) Scale per div
43) Scale per div
44) Scale per div (lowest byte)
45) Frequency Marker 1 (higher byte)
46) Frequency Marker 1 (lower byte)
47) Frequency Marker 2 (higher byte)
48) Frequency Marker 2 (lower byte)
49) Frequency Marker 3 (higher byte)
50) Frequency Marker 3 (lower byte)
51) Frequency Marker 4 (higher byte)
52) Frequency Marker 4 (lower byte)
53) Frequency Marker 5 (higher byte)
54) Frequency Marker 5 (lower byte)
55) Frequency Marker 6 (higher byte)
56) Frequency Marker 6 (lower byte)
57) Single Limit (highest byte)
304
58) Single Limit
59) Single Limit
60) Single Limit (lowest byte)
303
297 Scaled by Frequency Scale Factor (bytes 244-245)
298 Scaled by Frequency Scale Factor (bytes 244-245)
299 Scaled by Frequency Scale Factor (bytes 244-245)
300 Scaled by Frequency Scale Factor (bytes 244-245)
301 Value sent as (value in dBm * 1000) + 270,000)
302 Value sent as (value * 1000)
303 Value sent as data point on the display. Equivalent frequency = (point * span/(#data points–1))+start frequency.
304 Value sent as ( value in dBm * 1000 ) + 270000
66 Spectrum Master PM
Page 72
61) Multiple Upper Limit 1 Start X
305
(highest byte)
62) Multiple Upper Limit 1 Start X
63) Multiple Upper Limit 1 Start X
64) Multiple Upper Limit 1 Start X (lowest byte)
65) Multiple Upper Limit 1 Start Y (Power Level) (highest byte)
306
66) Multiple Upper Limit 1 Start Y (Power Level)
67) Multiple Upper Limit 1 Start Y (Power Level)
68) Multiple Upper Limit 1 Start Y (Power Level) (lowest byte)
69) Multiple Upper Limit 1 End X
307
(highest byte)
70) Multiple Upper Limit 1 End X
71) Multiple Upper Limit 1 End X
72) Multiple Upper Limit 1 End X (lowest byte)
73) Multiple Upper Limit 1 End Y (Power Level) (highest byte)
308
74) Multiple Upper Limit 1 End Y (Power Level)
75) Multiple Upper Limit 1 End Y (Power Level)
76) Multiple Upper Limit 1 End Y (Power Level) (lowest byte) 77-220) Multiple Upper Limits 2-5, SA Multiple Lower Limits 1-5 (see bytes 67-82 for format)
221) RBW Setting (highest byte)
309
222) RBW Setting
223) RBW Setting
224) RBW Setting (lowest byte)
225) VBW Setting (highest byte)
310
226) VBW Setting
227) VBW Setting
228) VBW Setting (lowest byte)
229) Attenuation
230) Status Byte 1: ( 0b = Off , 1b = On) (LSB) bit 0 : Marker 1 On/Off
bit 1 : Marker 2 On/Off bit 2 : Marker 3 On/Off bit 3 : Marker 4 On/Off bit 4 : Marker 5 On/Off bit 5 : Marker 6 On/Off bits6-7:NotUsed
231) Status Byte 2: (0b = Off, 1b = On) (LSB) bit 0 : S21 Spa Cal Status (0 – Cal OFF, 1 – Cal ON)
bit 1 : Marker 2 Delta On/Off bit 2 : Marker 3 Delta On/Off bit 3 : Marker 4 Delta On/Off bit 4 : Pre Amp Mode (0b = Manual, 1b = Auto) bit 5 : Pre Amp Status On/Off bit 6 : Dynamic Attenuation On/Off bit 7 : Not Used
232) Status Byte 3: (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line) (LSB) bit 0 : Limit Type (0b = Single, 1b = Multiple)
bit 1 : Single Limit Beep On/Off bit 2 : Single Limit Status On/Off bit 3 : Single Limit Beep Level ABOVE/BELOW
305 Scaled by Frequency Scale Factor (bytes 244-245)
306 Value sent as ( value in dBm * 1000 ) + 270000
307 Scaled by Frequency Scale Factor (bytes 244-245)
308 Value sent as ( value in dBm * 1000 ) + 270000
309 RBW frequency sent in Hz.
310 VBW frequency sent in Hz.
Spectrum Master PM 67
Page 73
bit 4 : Multiple Limit Upper Segment 1 Status On/Off bit 5 : Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW
311
bit 6 : Multiple Limit Upper Segment 2 Status On/Off bit 7 : Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
233) Status Byte 4 : (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line) (LSB) bit 0 : Multiple Limit Upper Segment 3 Status On/Off
bit 1 : Multiple Limit Upper Segment 3 Beep Level ABOVE/BELOW bit 2 : Multiple Limit Upper Segment 4 Status On/Off bit 3 : Multiple Limit Upper Segment 4 Beep Level ABOVE/BELOW bit 4 : Multiple Limit Upper Segment 5 Status On/Off bit 5 : Multiple Limit Upper Segment 5 Beep Level ABOVE/BELOW bit 6 : Multiple Limit Lower Segment 1 Status On/Off bit 7 : Multiple Limit Lower Segment 1 Beep Level ABOVE/BELOW
312
234) Status Byte 5 : (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line) (LSB) bit 0 : Multiple Limit Lower Segment 2 Status On/Off
bit 1 : Multiple Limit Lower Segment 2 Beep Level ABOVE/BELOW bit 2 : Multiple Limit Lower Segment 3 Status On/Off bit 3 : Multiple Limit Lower Segment 3 Beep Level ABOVE/BELOW bit 4 : Multiple Limit Lower Segment 4 Status On/Off bit 5 : Multiple Limit Lower Segment 4 Beep Level ABOVE/BELOW bit 6 : Multiple Limit Lower Segment 5 Status On/Off bit 7 : Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
235) Status Byte 6: (0b = Off, 1b = On) (LSB) bit 0 : External Reference Frequency On/Off
bit 1 : Bias Tee On/Off (Option 10) bit 2 : Amplitude Units (Linear) – 00b = Watts 01b = Volts bits 3-4 : Amplitude Units (Log) - 00b = dBm 01b = dBV 10b = dBmV 11b = dBuV bits 5-6 : Detection Alg (00b=pos. peak 01b=RMS Avg 10b=neg. peak 11b=Sampling Mode) bit 7 : Units Type (0b = Log 1b = Linear)
236) External Reference Frequency
237) Signal Standard
238) Signal Standard (lower byte)
239) Channel Selection
240) Channel Selection (lower byte)
241) Trigger Type
314
(higher byte)
315
316
(higher byte)
313
242) Status Byte 7 (LSB) bits 0-6: Number of sweeps to average (1-25, 1 implies averaging OFF)
bit 7: Not Used
243) Status Byte 8: (0b = Off, 1b = On) (LSB) bits 0-1: Trace Math Operation (00b = A only, 01b = A-B, 10b = A+B)
bit 2: Max Hold On/Off bit 3: Min Hold On/Off bit 4: RBW Coupling (1b = Auto, 0b = Manual) bit 5: VBW Coupling (1b = Auto, 0b = Manual) bit 6: Attenuation Coupling (1b = Auto, 0b = Manual) bit 7: View B On/Off
244) Frequency Scale Factor
317
(higher byte)
245) Frequency Scale Factor (lower byte)
311 Beep level is always 1b for upper segmented limit line
312 Beep level is always 0b for lower segmented limit line
313 1 byte in MHz (i.e. 20 = 20MHz)
314 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
315 “No Channel” is sent as FFFEh
316 Trigger Type – 00h = Single, 01h = Free Run, 02h = Video, 03h = External
317 In number of Hz
68 Spectrum Master PM
Page 74
246) Frequency Range Minimum
247) Frequency Range Minimum
248) Frequency Range Minimum
249) Frequency Range Minimum (lowest byte)
250) Frequency Range Maximum
251) Frequency Range Maximum
252) Frequency Range Maximum
253) Frequency Range Maximum (lowest byte)
254) Marker Type
255) Trace B Trace Id
320
321
256) Status Byte 9 (LSB) bit 0: Reserved
bits 1-7: Not Used
257-400) Not Used
For Power Meter Mode (Option 29 only):
21) Power Meter Start Freq
322
(highest byte)
22) Power Meter Start Freq
23) Power Meter Start Freq
24) Power Meter Start Freq
323
(lowest byte)
25) Power Meter Stop Freq (highest byte)
26) Power Meter Stop Freq
27) Power Meter Stop Freq
28) Power Meter Stop Freq (lowest byte)
29) Power Meter Center Freq
324
30) Power Meter Center Freq
31) Power Meter Center Freq
32) Power Meter Center Freq (lowest byte)
33) Power Meter Span
325
(highest byte)
34) Power Meter Span
35) Power Meter Span
36) Power Meter Span (lowest byte)
37) Signal Standard
38) Signal Standard (lower byte)
39) Channel Selection
40) Channel Selection (lower byte)
41) Power Meter Offset
326
(higher byte)
327
(higher byte)
328
(highest byte)
42) Power Meter Offset
318
(highest byte)
319
(highest byte)
(highest byte)
318 Scaled by Frequency Scale Factor (bytes 244-245)
319 Scaled by Frequency Scale Factor (bytes 244-245)
320 00h = Regular Marker, 01h = Noise Marker
321 FFh indicates no trace selected
322 Scaled by Frequency Scale Factor (bytes 54-55)
323 Scaled by Frequency Scale Factor (bytes 54-55)
324 Scaled by Frequency Scale Factor (bytes 54-55)
325 Scaled by Frequency Scale Factor (bytes 54-55)
326 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
327 “No Channel” is sent as FFFEh
328 Value sent as (value in dB * 1000)
Spectrum Master PM 69
Page 75
43) Power Meter Offset
44) Power Meter Offset (lowest byte)
45) Power Meter Relative (highest byte)
329
46) Power Meter Relative
47) Power Meter Relative
48) Power Meter Relative (lowest byte)
49) Not Used
50) Power Meter Unit (00h = Watts, 01h = dBm)
51) Power Meter Relative Status (00h = Off, 01h = On)
52) Power Meter Offset Status (00h = Off, 01h = On)
53) Power Meter RMS Averaging Level (00h = Off, 01h = Low, 02h = Medium, 03h = High)
54) Frequency Scale Factor
55) Frequency Scale Factor (lower byte)
56) Frequency Range Minimum
330
(higher byte)
331
(highest byte)
57) Frequency Range Minimum
58) Frequency Range Minimum
59) Frequency Range Minimum (lowest byte)
60) Frequency Range Maximum
332
(highest byte)
61) Frequency Range Maximum
62) Frequency Range Maximum
63) Frequency Range Maximum (lowest byte)
64) Zero Status (00h = Off, 01h = On)
65) Zero Value
333
(highest byte)
66) Zero Value
67) Zero Value
68) Zero Value (lowest byte) 69-120) Not Used
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error 238 (EEh) Time Out Error
Query Saved Setups – Control Byte #68 (44h)
Description: Returns a list of setups saved for the specified measurement mode. Modes that are stored in the same table (i.e. Spectrum Analyzer and Transmission Measurement modes) will be returned by this command when either mode is specified.
Frequency Scale Factor is defined as the number of Hz.
Start and Stop frequencies are sent scaled by the Frequency Scale Factor.
Bytes to Follow: 1 byte
1) Measurement Mode
Spectrum Master Returns:
329 Value sent as ((value in dBm * 1000) + 100)
330 In number of Hz
331 Scaled by Frequency Scale Factor
332 Scaled by Frequency Scale Factor
333 Value sent as ((value in dBm * 1000) + 100)
334 Refer to Control Byte #3 “Select Measurement Mode” for valid measurement modes.
334
70 Spectrum Master PM
Page 76
For All Modes:
1) Number of Following Bytes (higher byte)
2) Number of Following Bytes (lower byte)
3) Number of Setups
For Each Setup:
1) Setup Number
2) Attributes bit 0: Read Only Status (00h = Write-able, 01h = Read Only) bits 1-7: Not Used
3) Measurement Mode
4) Cal Status (Transmission Mode Setup only, 00h = Off, 01h = On)
5) Frequency Scale Factor (higher byte)
6) Frequency Scale Factor (lower byte)
7) Start Frequency (highest byte)
8) Start Frequency
9) Start Frequency
10) Start Frequency (lowest byte)
11) Stop Frequency (highest byte)
12) Stop Frequency
13) Stop Frequency
14) Stop Frequency (lowest byte)
15-20) Not Used
335
Enter Remote Mode – Control Byte #69 (45h)
Description: Enter remote mode at the end of a sweep then send model number and firmware version to the computer.
The computer sends Enter Remote mode byte #69 (45h) to the Spectrum Master and waits for response.
Since the Spectrum Master polls its serial port buffer at the end of each sweep, the computer must wait until the Spectrum Master sends the return bytes before sending a new control byte. Otherwise, the new control byte overwrites the old one (saying enter remote) and the Spectrum Master does not respond as expected.
Once in remote mode, the Spectrum Master stops sweeping. A Remote Mode Indicator appears on the LCD.
The Spectrum Master sends its model and software version numbers to the computer. The Spectrum Master is now able to take multiple control bytes. It waits for the next control byte.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 13 bytes
1-2) Model # (unsigned integer, 16h for Spectrum Master MS2711D) 3-9) Extended Model # (7 bytes in ASCII) 10-13) Software Version - 4 bytes (ASCII)
Enter Remote Mode Immediately – Control Byte #70 (46h)
Description: Enter remote mode in the middle of a sweep, then send the model number and firmware version to the computer.
The computer sends Enter Remote Mode Immediately byte #70 (46h) to the Spectrum Master and waits for a response. This control byte causes the unit to enter remote mode immediately. Note that this could result in incomplete sweep data. Use control byte #69 if complete data is required.
335 Refer to Control Byte #3 “Select Measurement Mode” for valid measurement modes.
Spectrum Master PM 71
Page 77
Once in remote mode, the Spectrum Master stops sweeping. A Remote Mode Indicator appears on the LCD.
The Spectrum Master sends its model and software version numbers to the computer. The Spectrum Master is now able to take multiple control bytes. It waits for the next control byte.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 13 bytes
1-2) Model # (unsigned integer, 16h for Spectrum Master MS2711D) 3-9) Extended Model # (7 bytes in ASCII) 10-13) Software Version (4 bytes in ASCII)
Write Protect Setup – Control Byte #71 (47h)
Description: Makes a saved setup either read-only or write-able.
Setup numbers as follows:
255 = All Setups in the Specified Mode 1 – 10 = Saved setups for Spectrum Analyzer/Transmission Measurement modes 1 – 5 = Saved setups for Power Meter mode (Option 29 only)
Bytes to Follow: 3 bytes
1) Measurement Mode
2) Setup Number
3) Write-Protect Status (00h = Allow Writes (default), 01h = Lock Setup (i.e., “read only”))
336
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error 238 (EEh) Time Out Error
Clear Setup Memory Location – Control Byte #72 (48h)
Description: Clears a setup memory location such that it appears as <EMPTY> in the Recall Setup list.
Setup numbers as follows:
255 = All Setups in the Specified Mode 1 – 10 = Saved setups for Spectrum Analyzer/Transmission Measurement modes 1 – 5 = Saved setups for Power Meter mode (Option 29 only)
Bytes to Follow: 2 bytes
1) Measurement Mode
2) Setup Number
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error 238 (EEh) Time Out Error
337
336 Refer to Control Byte #3 “Select Measurement Mode” for valid measurement modes.
337 Refer to Control Byte #3 “Select Measurement Mode” for valid measurement modes.
72 Spectrum Master PM
Page 78
Write Antenna – Control Byte #82 (52h)
Description: Receives an antenna to the Spectrum Master via the serial port.
An antenna is described with an index into the list (1-10) and an ASCII name that appears in the list on the Spectrum Master. Each antenna can have up to 60 antenna factors. Each antenna factor has an associated frequency and value. These are specified one at a time.
Frequencies are sent in Hz, scaled by the scale factor.
The value of the antenna factor should be sent as (value * 100).
Bytes to Follow: 26 – 380, depending on the number of antenna factors
1) Antenna List Index (1-10) 2-17)Antenna Name (in ASCII)
18) Number of Antenna Factors (max = 60) 19-20) Frequency Scale Factor (in Hz) For each antenna factor:
1) Frequency (highest byte)
2) Frequency
3) Frequency
4) Frequency (lowest byte)
5) Antenna Factor (higher byte)
6) Antenna Factor (lower byte)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error 238 (EEh) Time Out Error
Recall Antenna – Control Byte #83 (53h)
Description: Sends an antenna from the Spectrum Master via the serial port.
An antenna is described with an index into the list (1-10) and an ASCII name that appears in the list on the Spectrum Master. Each antenna can have up to 60 antenna factors. The number of antenna factors will be sent before the actual values are sent. Each antenna factor has an associated frequency and value. These are specified one at a time.
Frequencies are sent in Hz, scaled by the scale factor.
The value of the antenna factor should be sent as (value * 100).
Bytes to Follow: 1 byte
1) Antenna List index (1-10)
Spectrum Master Returns: (28-382 bytes, depending on the number of antenna factors)
1) Maximum Antenna Number (10)
2-17) Antenna Name (in ASCII)
18) Number of Antenna Factors (max = 60)
19-20) Frequency Scale Factor (in Hz) 21-22) Number of Following Bytes For each antenna factor:
1) Frequency (highest byte)
2) Frequency
3) Frequency
4) Frequency (lowest byte)
Spectrum Master PM 73
Page 79
5) Antenna Factor (higher byte)
6) Antenna Factor (lower byte)
Set Field Strength Measurement – Control Byte #84 (54h)
Description: Sets the state of the measurement (ON or OFF) and the antenna index for the field strength measurement. Antennas 1-10 are custom antennas. Antennas 11-15 are standard antennas. The standard antennas are:
11. Anritsu # 2000-1030 (MAXRAD MPA1750 - 1710-1880 MHz)
12. Anritsu # 2000-1031 (MAXRAD MPA1850 - 1850-1990 MHz)
13. Anritsu # 2000-1032 (MAXRAD MPA2450 - 2400-2483.5 MHz)
14. Anritsu # 2000-1200 (Centurion EXC SM806 - 806-899 MHz)
15. Anritsu # 2000-1035 (Centurion EXE-902-SM - 896-941 MHz)
If the FCN4760 frequency converter module is attached, the standard antenna is:
11. Anritsu # 2000-1361 (5725-5825 MHz)
Note that if the field strength measurement is turned ON, all other measurements (channel power, adjacent channel power) are turned OFF.
Bytes to Follow: 2 bytes
1) Field Strength Measurement State (On/Off)
2) Antenna List index (1-15)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid state or index 238 (EEh) Time Out Error
Set Channel Power – Control Byte #85 (55h)
Description: Sets the state of the measurement (ON or OFF), and the setup parameters to perform the channel power measurement.
Send a 0 (zero) following the command to set the channel power measurement in the current setup.
Send a 1 (one) to set the channel power associated with the trace that was most recently uploaded by command #36, Upload Sweep Trace.
If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale factor of the module. If the module is not attached, frequencies are sent in Hz. Use Control Word A203 to determine whether a module is attached and the appropriate scale factor.
Note that if the channel power measurement is turned ON, all other measurements (field strength, adjacent channel power) are turned OFF.
Bytes to Follow: 14 bytes
1) Channel Power Location (0 = current setup, 1 = last uploaded trace)
2) Channel Power Measurement State (On/Off)
3-6) Center Frequency 7-10) Integration Bandwidth 11-14) Span Frequency
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error 238 (EEh) Time Out Error
74 Spectrum Master PM
Page 80
Read Channel Power – Control Byte #86 (56h)
Description: Read the current channel power or the channel power of a stored trace.
Send a 0 (zero) following the command to read the current channel power measurement (i.e. the one that is updated as the unit is sweeping).
Send 1-200 to read the channel power associated with a stored trace (use Query Trace Names, #24, to obtain trace numbers).
If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale factor of the module. If the module is not attached, frequencies are sent in Hz. Use Control Word A203 to determine whether a module is attached and the appropriate scale factor.
Bytes to Follow: 1 byte
1) Channel Power Location (0 = current measured value, 1-200 = value in stored trace)
Spectrum Master Returns: 21 bytes
1) Channel Power On/Off 2-5) Channel Center Frequency 6-9) Integration Bandwidth 10-13) Channel Span Frequency 14-17) Channel Power (= (power in dBm * 100) + 270000) 18-21) Channel Power Density (= (density in dBm/Hz * 100) + 270000)
Set Adjacent Channel Power Ratio (ACPR) – Control Byte #87 (57h)
Description: Sets the state of the measurement (ON or OFF), the center frequency, the main channel bandwidth, the adjacent channel bandwidth and the channel spacing.
Send a 0 (zero) following the command to set the channel power measurement in the current setup.
Send a 1 (one) to set the adjacent channel power associated with the trace that was most recently uploaded by command #36, Upload Sweep Trace.
If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale factor of the module. If the module is not attached, frequencies are sent in Hz. Use Control Word A203 to determine whether a module is attached and the appropriate scale factor.
Note that if the ACPR measurement is turned ON, all other measurements (field strength, channel power) are turned OFF.
Bytes to Follow: 18 bytes
1) Adjacent Channel Power Location (0 = current setup, 1 = last uploaded trace)
2) Adjacent Channel Power Measurement State (On/Off) 3-6) Center Frequency 7-10) Main Channel Bandwidth 11-14) Adjacent Channel Bandwidth 15-18) Channel Spacing
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error 238 (EEh) Time Out Error
Spectrum Master PM 75
Page 81
Read Adjacent Channel Power Ratio (ACPR) – Control Byte #88 (58h)
Description: Read the current adjacent channel power or the adjacent channel power of a stored trace.
Send a 0 (zero) following the command to read the current adjacent channel power measurement (i.e. the one that is updated as the unit is sweeping).
Send 1-200 to read the channel power associated with a stored trace (use Query Trace Names, #24, to obtain trace numbers).
If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale factor of the module. If the module is not attached, frequencies are sent in Hz. Use Control Word A203 to determine whether a module is attached and the appropriate scale factor.
Bytes to Follow: 1 byte
1) Adjacent Channel Power Ratio Location (0 = current measured value, 1-200 = value in stored trace)
Spectrum Master Returns: 29 bytes
1) ACPR On/Off 2-5) Main Channel Center Frequency 6-9) Main Channel Bandwidth 10-13) Adjacent Channel Bandwidth 14-17) Channel Spacing 18-21) Main Channel Power (= (power in dBm * 100) + 270000) 22-25) Lower Adjacent Channel Power (= (power in dBm * 100) + 270000) 26-29) Upper Adjacent Channel Power (= (power in dBm * 100) + 270000)
Read Signal Standard Name – Control Byte #89 (59h)
Description: Returns the name corresponding to the desired signal standard index as an ASCII string in English.
Bytes to Follow: 3 bytes
1) Mode (01h = Spectrum Analyzer Mode/Transmission Mode)
2) Signal Standard Index (higher byte)
3) Signal Standard Index (lower byte)
Spectrum Master Returns: 2 bytes + number of bytes in string (or 1 byte on error)
1) String length (in number of bytes - referred to as “X” on the next line) 2-(X+1)) Standard Name in ASCII X+2) 255 (FFh) Operation Complete Byte
or
1) 224 (E0h) Parameter Error 238 (EEh) Time Out Error
Measure OCC BW % of Power – Control Byte #96 (60h)
Description: Measure OCC BW with % of Power method.
If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale factor of the module. If the module is not attached, frequencies are sent in Hz. Use Control Word A203 to determine whether a module is attached and the appropriate scale factor.
Bytes to Follow: 4 bytes
1) % of Power (highest byte)
2) % of Power
3) % of Power
4) % of Power (lowest byte) (in 100th of %, 9123 = 91.23% )
76 Spectrum Master PM
Page 82
Spectrum Master Returns: 16 bytes
1-4) Occupied Bandwidth (in Hz) 5-8) Measure dB down (dB * 100,000) 9-12) Low Frequency OCC BW 13-16) High Frequency OCC BW
Measure OCC BW dB Down – Control Byte #97 (61h)
Description: Measure OCC BW with dB down method.
If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale factor of the module. If the module is not attached, frequencies are sent in Hz. Use Control Word A203 to determine whether a module is attached and the appropriate scale factor.
Bytes to Follow: 4 bytes
1-4) dB down (in 100th of dB, 1234 = 12.34dB)
Spectrum Master Returns: 16 bytes
1-4) OCC BW (frequency in Hz) 5-8) Measure % of Power (% of power * 100) 9-12) Low Frequency OCC BW 13-16) High Frequency OCC BW
Set Bias Tee Function - Control Byte #98 (62h) (Option 10 only)
Description: Set the Bias Tee function On/Off. If the Bias Tee is turned on, the Spectrum Master returns the results of Bias Tee.
Bytes to Follow: 1 byte
00h - Turns the Bias Tee Off 01h - Turns the Bias Tee On
Spectrum Master Returns:
If bias tee is turned Off (1 byte)
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid state 238 (EEh) Time-out Error
If bias tee is turned On (10 bytes)
1) Bias Tee Board Indicator (00h = No Hardware Installed, 01h = Hardware Installed)
2) Bias Tee Current (highest byte)
3) Bias Tee Current
4) Bias Tee Current
5) Bias Tee Current (lowest byte)
6) 10 * Bias Tee Voltage (highest byte) : voltage value is in volt/10
7) 10 * Bias Tee Voltage
8) 10 * Bias Tee Voltage
9) 10 * Bias Tee Voltage (lowest byte)
10) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error 238 (EEh) Time-out Error
Spectrum Master PM 77
Page 83
NOTE: Due to the hardware delay, the Spectrum Master does not return the results of the Bias Tee until approximately three seconds after the Bias Tee is turned on.
Set Spectrum Analyzer Start/Stop Frequency – Control Byte #99 (63h)
Description: Sets the spectrum analyzer start and stop frequencies.
If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale factor of the module. If the module is not attached, the frequencies are sent in Hz. Use Control Word A203 to determine whether a module is attached and the appropriate scale factor.
Bytes to Follow: 8 bytes
1) Start Frequency (highest byte)
2) Start Frequency
3) Start Frequency
4) Start Frequency (lowest byte)
5) Stop Frequency (highest byte)
6) Stop Frequency
7) Stop Frequency
8) Stop Frequency (lowest byte)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid frequency range 238 (EEh) Time Out Error
Set Spectrum Analyzer Center Freq./Span – Control Byte #100 (64h)
Description: Sets the spectrum analyzer center frequency and span.
If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale factor of the module. If the module is not attached, the frequencies are sent in Hz. Use Control Word A203 to determine whether a module is attached and the appropriate scale factor.
Bytes to Follow: 8 bytes
1) Center Frequency (highest byte)
2) Center Frequency
3) Center Frequency
4) Center Frequency (lowest byte)
5) Frequency Span (highest byte)
6) Frequency Span
7) Frequency Span
8) Frequency Span (lowest byte)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid frequency range 238 (EEh) Time Out Error
Set Spectrum Analyzer Scale – Control Byte #101 (65h)
Description: Sets the reference level and the number of dB represented by each graph division.
Ref Level will be the “top” scale of the graph, and there are total of 10 divisions, so bottom scale can be determined by : Ref level + 10 x dB/div.
78 Spectrum Master PM
Page 84
Bytes to Follow: 8 bytes
1) Ref Level (highest byte)
2) Ref Level
3) Ref Level
4) Ref Level (lowest byte)
5) dB/div (highest byte)
6) dB/div
7) dB/div
8) dB/div (lowest byte)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid scale 238 (EEh) Time Out Error
Notes: Ref Level is sent as the (Ref Level * 1000) + 270,000 (0 dBm = 270,000, 20 dBm = 290000, -120 dBm = 150,000)
Scale should be sent as (dB * 1000) (e.g., 10.00 dB = 10000)
Set Spectrum Analyzer Marker – Control Byte #102 (66h)
Description: Sets an individual Spectrum Analyzer marker.
Bytes to Follow: 5 bytes
1) Marker Number (01h = marker 1, 02h = marker 2, 03h = marker 3, 04h = marker 4, 05h = marker 5, 06h
= marker 6)
2) Marker Line On/Off (01h = On, 00h = Off)
3) Marker Delta Status On/Off (01h = On, 00h = Off)
4) Marker Value (higher byte)
5) Marker Value (lower byte)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid marker number, status or position 238 (EEh) Time Out Error
Note: Marker Value is between 0 and 400, inclusive: Point = (400 * (marker freq - start freq)) / span
Set Spectrum Analyzer Single Limit – Control Byte #103 (67h)
Description: Sets the position and On/Off Status of the Limit Line.
Bytes to Follow: 6 bytes
1) Limit Number (1 for Spectrum Master)
2) Limit Line On/Off (01h = On, 00h = Off)
3) Beep at Limit On/Off (01h = On, 00h = Off)
4) Limit Value (highest byte)
5) Limit Value
6) Limit Value
7) Limit Value (lowest byte)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid limit number, status or value 238 (EEh) Time Out Error
Note: Limit Value is sent as the (Limit Value * 1000) + 270,000 (0 dBm=270,000, 20 dBm=290000, -120 dBm=150,000)
Spectrum Master PM 79
Page 85
Set Spectrum Analyzer Peak Hold – Control Byte #105 (69h)
Description: Sets the max hold and min hold settings on the Spectrum Analyzer.
Bytes to Follow: 1 byte
1) Peak Hold State 00h – Peak Hold Off 01h – Max Hold On 02h – Min Hold On
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid state 238 (EEh) Time Out Error
Set Spectrum Analyzer Resolution Bandwidth – Control Byte #106 (6Ah)
NOTE: This command exists for backward compatibility with the MS2711B. To access new video bandwidths use Control Byte #141 (8Dh).
Description: Sets the resolution BW frequency for the Spectrum Analyzer.
Bytes to Follow: 1 byte
1) Resolution Bandwidth Index 00h – 10 kHz BW 01h – 30 kHz BW 02h – 100 kHz BW 03h – 1 MHz BW
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid RBW Index 238 (EEh) Time Out Error
Set Spectrum Analyzer Video Bandwidth – Control Byte #107 (6Bh)
NOTE: This command exists for backward compatibility with the MS2711B. To access new video bandwidths use Control Byte #142 (8Eh).
Description: Sets the video BW frequency for the Spectrum Analyzer.
Bytes to Follow: 1 byte
1) Video Bandwidth Index 00h – 100 Hz BW 01h – 300 Hz BW 02h – 1 kHz BW 03h – 3 kHz BW 04h – 10 kHz BW 05h – 30 kHz BW 06h – 100 kHz BW 07h – 300 kHz BW
80 Spectrum Master PM
Page 86
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid VBW Index 238 (EEh) Time Out Error
Set Spectrum Analyzer Sweep Mode – Control Byte #108 (6Ch)
Description: Enables or disables the Single Sweep Mode during Spectrum Analyzer mode of operation.
Single Sweep Mode activates once the Spectrum Master exits from the remote mode.
Bytes to Follow: 1 byte
1) Sweep Mode
00h – Single Sweep 01h – Continuous Sweep 02h – Video Trigger (Span must be 0) 03h – External Trigger (Span must be 0)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid Mode 238 (EEh) Time Out Error
Set Spectrum Analyzer Marker to Peak – Control Byte #109 (6Dh)
Description: Sets the specified marker to the peak value of the sweep.
Bytes to Follow: 1 byte
1) Marker Number (1-6)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid Marker Number 238 (EEh) Time Out Error
Set Spectrum Analyzer Marker to Center – Control Byte #110 (6Eh)
Description: Sets the center frequency equal to the frequency of the specified marker.
Bytes to Follow: 1 byte
1) Marker Number (1-4)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid Marker Number 238 (EEh) Time Out Error
Set Spectrum Analyzer Attenuation – Control Byte #111 (6Fh)
NOTE: This command exists for backward compatibility with the MS2711B. To access new video bandwidths use Control Byte #143 (8Fh).
Description: Sets the attenuation for the Spectrum Master Spectrum Analyzer mode. Send a value of 255 (FFh) to enable dynamic attenuation.
Spectrum Master PM 81
Page 87
Automatic control couples the attenuation to the reference level. Note that setting the attenuation using this command automatically sets the attenuation coupling to “MANUAL”, thereby allowing it to be defined independently of the reference level.
Bytes to Follow: 1 byte
1) Attenuation Index 00h–0dB 01h–10dB 02h–20dB 03h–30dB 04h–40dB 05h–50dB FFh – Dynamic Attenuation
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid Attenuation Value 238 (EEh) Time Out Error
Set Spectrum Analyzer Multiple Limit – Control Byte #113 (71h)
Description: Sets the position and ON/OFF Status of a limit segment.
Multiple limits are defined by multiple limit segments, each with a different finite slope. The single limit is a single, horizontal line that can be defined to act as an upper limit or as a lower limit. See control byte #103 for information about the single limit.
The limit types are mutually exclusive. That is, you cannot have both single and multiple limits at the same time. Note that setting a limit segment ON automatically makes the limit type "MULTIPLE."
One segment is defined each time this command is sent to the Spectrum Master. The first two bytes of the command specify which segment is being defined. There are 5 upper limits and 5 lower limits available in Spectrum Analyzer mode. Byte 1 selects the segment number. Byte 2 specifies whether it is an upper limit or a lower limit. Byte 3 turns the segment ON or OFF. Byte 4 specifies whether the error beep sounds when the bound set by the segment is exceeded by the measured data.
The segment location is defined by its endpoints. The "Start" endpoint must appear to the left of the "End" endpoint on the graph. That is, Start X < End X. If Start X = End X then Start Y must equal End Y. Vertical segments are not allowed.
Bytes to Follow: 20 bytes
1) Segment number (1-5)
2) Segment type (00h = LOWER limit, 01h = UPPER limit)
3) Limit Line ON/OFF (01h = On, 00h = Off)
4) Limit Beep ON/OFF (01h = On, 00h = Off)
5) Limit Value Start X
338
(highest byte)
6) Limit Value Start X
7) Limit Value Start X
8) Limit Value Start X (lowest byte)
9) Limit Value Start Y
339
(highest byte)
10) Limit Value Start Y
11) Limit Value Start Y
12) Limit Value Start Y (lowest byte)
338 If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale
factor of the module. If the module is not attached, the frequencies are sent in Hz. Use Control Word A203 to determine whether a module is attached and the appropriate scale factor.
339 ( Value in dBm * 1000 ) + 270,000
82 Spectrum Master PM
Page 88
13) Limit Value End X
340
(highest byte)
14) Limit Value End X
15) Limit Value End X
16) Limit Value End X (lowest byte)
17) Limit Value End Y
341
(highest byte)
18) Limit Value End Y
19) Limit Value End Y
20) Limit Value End Y (lowest byte)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid limit segment, status or value 238 (EEh) Time Out Error
Set Return Spectrum Analyzer Sweep Time – Control Byte #114 (72h)
Description: If this is enabled, the duration of the current sweep (in milliseconds) will be returned as 4 bytes via the serial port at the end of the sweep. If Serial Echo Status is enabled, the 4 bytes will be returned AFTER the sweep complete byte.
Bytes to Follow: 1 byte
1) Return SPA Sweep Time flag state
00h = Don’t Return Sweep Time 01h = Return Sweep Time
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid state 238 (EEh) Time Out Error
Set Reference Level Offset – Control Byte #115 (73h)
Description: Set the value of the reference level offset.
The reference level offset allows the user to view the result of trace math (A+B, A-B) even if it is greater than +20 dBm or less than –120 dBm. The offset is a constant that is subtracted from the reference level.
Note that the valid range is –100 to +100 dB.
Send the value as (value in dB * 1000) + 270,000.
For example, to compensate for a 30 dB attenuator, the reference level offset should be –30 dB. That value would be sent over the serial port as (–30 * 1000) + 270,000 = 240,000.
Bytes to Follow: 4 bytes
1) Reference Level Offset (highest byte)
2) Reference Level Offset
3) Reference Level Offset
4) Reference Level Offset (lowest byte)
Spectrum Master Returns: 1 byte
340 If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale
factor of the module. If the module is not attached, the frequencies are sent in Hz. Use Control Word A203 to determine whether a module is attached and the appropriate scale factor.
341 ( Value in dBm * 1000 ) + 270,000
Spectrum Master PM 83
Page 89
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error 238 (EEh) Time Out Error
Set Spectrum Analyzer Impedance - Control Byte #116 (74h)
Description: Set the impedance and the loss value due to an adapter.
The MS2711D can automatically compensate for the effects of impedance adapters. The impedance of the MS2711D is 50W, so there is no need for an adapter in this case. The loss for the Anritsu 75W adapter 12N50-75B is known by the MS2711D.
This control byte also allows for the specification of the impedance and the loss due to an adapter the system does not know. In either case, 5 bytes must be sent to the unit. If the impedance is 50W or one of the known adapters is specified, bytes 2-5 are ignored. If an unknown adapter is specified, the unit uses bytes 2-5 to correct for the adapter.
Bytes to Follow: 5 bytes
1) Impedance Adapter
2) Impedance Loss
342
343
(highest byte)
3) Impedance Loss
4) Impedance Loss
5) Impedance Loss (lowest byte)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error 238 (EEh) Time Out Error
Read Marker Value – Control Byte #117 (75h)
Description: Returns the frequency location of the specified marker, and the value at that location.
If Option 6 is installed and the frequency converter module is attached, the frequency will be scaled by the scale factor of the module. If the module is not attached, the frequency is sent in Hz. Use Control Word A203 to determine whether a module is attached and the appropriate scale factor.
Bytes to Follow: 1 byte
1) Marker number (1-6)
Spectrum Master Returns: 8 bytes (1 byte if an error occurs)
1) Frequency (highest byte)
2) Frequency
3) Frequency
4) Frequency (lowest byte)
5) Value at Marker (highest byte)
6) Value at Marker
7) Value at Marker
8) Value at Marker (lowest byte)
or
1) 224 (E0h) Parameter Error: Invalid marker number 238 (EEh) Time-out Error
Notes:
Marker value sent as (value in dBm * 1,000) +270,000.
342 Impedance Adapter: 00h = 50W,0Ah=75W, adapter 12N50-75B, 0Ch = 75W, other adapter offset
343 Send the loss value as: (value in dB * 1000)
84 Spectrum Master PM
Page 90
If markers are set to be noise markers, convert the returned dBm value to dBm/Hz using this formula (only if detection method is RMS Average): marker (in dBm/Hz) = marker value (in dBm) – 10 * log10(RBW) – 0.13
Set Sweep Averaging – Control Byte #118 (76h)
Description: Sets the number of sweeps to average. The maximum number is 25. Sending a 1 turns averaging off.
Bytes to Follow: 1 byte
1) Number of sweeps to average (1-25)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error 238 (EEh) Time Out Error
Normalize Spectrum Analyzer - Control Byte #130 (82h)
Description: Performs Normalization of SPA graph.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 238 (EEh) Time Out Error
Set Spectrum Analyzer Normalization Status - Control Byte #131 (83h)
Description: Turns Normalization On/Off.
Bytes to Follow: 1 bytes
1) Normalization Status (00h = Off, 01h = On)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error 238 (EEh) Time Out Error
Set / Reset Spectrum Analyzer External Reference – Control Byte #133 (85h)
Description: Sets the external reference frequency for the spectrum analyzer in increments of 1 MHz from2–20MHz. The frequencies are sent in Hz.
Bytes to Follow: 1 byte if turning the reference OFF, 5 bytes if turning the reference ON
Turn OFF the external reference:
1) 00h - Turn OFF the frequency reference
or
Turn ON the external reference (the reference frequency is also sent):
1) 01h - Turn ON the frequency reference
2) External Reference Frequency (in Hz) (highest byte)
3) External Reference Frequency (in Hz)
4) External Reference Frequency (in Hz)
5) External Reference Frequency (in Hz) (lowest byte)
Spectrum Master PM 85
Page 91
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error 238 (EEh) Time Out Error
Check Spectrum Analyzer External Reference – Control Byte #134 (86h)
Description: Checks to see if Spectrum Analyzer external reference is present. If it is, it then checks to see if it is at the correct frequency for PLL locking.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 1 byte
On Success:
1) 00h – Reference present and at the correct frequency (PLL functioning) 01h – Reference is not present 02h – Reference is present, but internal PLL and external frequency do not match up.
or
On Error:
1) 224 (E0h) Parameter Error – Not in External reference mode 238 (EEh) Time-out Error.
Set Spectrum Analyzer Preamp State (On/Off/Auto) – Control Byte #136 (88h)
Description: Sets the state of Spectrum Analyzer preamplifier.
Setting the preamp state to ON or OFF sets the preamp coupling to manual. That is, the preamplifier state is controlled independently of all other parameters.
Setting the preamp state to AUTO couples the preamp state to the reference level and the attenuation. If the attenuation is automatically coupled to the reference level, the preamp will turn on when the reference level is set less than -26 dBm. If the attenuation is manually coupled to the reference level, the preamp will turn on when the value of (attenuation – reference level) >= 51.
Bytes to Follow: 1 byte
1) Mode (00h = Off, 01h = On, 02h = Auto)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid state 238 (EEh) Time Out Error
Set Spectrum Analyzer Units – Control Byte #140 (8Ch)
Description: Sets the scale type (logarithmic or linear) and the units.
Linear units can be:
01h = Volts 02h = Watts
Logarithmic units can be:
03h = dBm 04h = dBV 05h = dBmV 06h=dBmV
86 Spectrum Master PM
Page 92
Bytes to Follow: 2 bytes
1) Scale Type (00h = Linear, 01h = Logarithmic)
2) Units
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error 238 (EEh) Time-out Error
Set Spectrum Analyzer Resolution Bandwidth – Control Byte #141 (8Dh)
NOTE: This command is new to the Spectrum Master MS2711D models. Use it instead of Control Byte #106 to access the RBW.
Description: Sets the resolution BW frequency for the Spectrum Analyzer.
Bytes to Follow: 4 bytes
1) Resolution Bandwidth (frequency in Hz) (highest byte)
2) Resolution Bandwidth (frequency in Hz)
3) Resolution Bandwidth (frequency in Hz)
4) Resolution Bandwidth (frequency in Hz) (lowest byte)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid RBW 238 (EEh) Time Out Error
Set Spectrum Analyzer Video Bandwidth – Control Byte #142 (8Eh)
NOTE: This command is new to the Spectrum Master MS2711D models. Use it instead of Control Byte #107 to access the VBW.
Description: Sets the video BW frequency for the Spectrum Analyzer.
Bytes to Follow: 4 bytes
1) Video Bandwidth (frequency in Hz) (highest byte)
2) Video Bandwidth (frequency in Hz)
3) Video Bandwidth (frequency in Hz)
4) Video Bandwidth (frequency in Hz) (lowest byte)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid VBW 238 (EEh) Time Out Error
Spectrum Master PM 87
Page 93
Set Spectrum Analyzer Attenuation – Control Byte #143 (8Fh)
NOTE: This command is new to the Spectrum Master MS2711D models. Use it instead of Control Byte #111 to access the Attenuation.
Description: Sets the attenuation of the Spectrum Analyzer. Send a value of 255 (FFh) to enable dynamic attenuation.
Automatic control couples the attenuation to the reference level. Note that setting the attenuation using this command automatically sets the attenuation coupling to “MANUAL”, thereby allowing it to be defined independently of the reference level.
Bytes to Follow: 1 byte
1) Attenuation (0 – 51)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid attenuation 238 (EEh) Time Out Error
Set AM/FM Demodulation – Control Byte #145 (91h)
Description: Sets the AM/FM/SSB Demodulation state. This command is also used to set the type of Modulation, volume, Demodulation Frequency, BFO Adjust (SSB only) and the Demodulation time. On turning demodulation ON, after exiting remote, at the end of every sweep, demodulation is performed at the Demodulation frequency for a period of time specified in the Demod Time.
Bytes to Follow: 16 bytes
1) Set AM/FM/SSB Demod On/Off
2) Demodulation Type
345
3) Speaker Volume (higher byte)
4) Speaker Volume (lower byte)
5) Demodulation Time
347
6) Demodulation Time
7) Demodulation Time
8) Demodulation Time (lowest byte)
9) Demodulation Frequency
10) Demodulation Frequency
11) Demodulation Frequency
12) Demodulation Frequency (lowest byte)
13) SSB BFO Adjust
349
(highest byte)
14) SSB BFO Adjust
344 00h = Off, 01h = On
345 00h = FM Wideband, 01h = FM Narrowband, 02h = AM, 03h = SSB Lower, 04h = SSB Upper
346 Speaker Volume is from 0 to 100 in steps of 10
347 Demodulation time in milliseconds from 100 millisec to 500 seconds
348 If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale
factor of the module. If the module is not attached, the frequencies are sent in Hz. Use Control Word A203 to determine whether a module is attached and the appropriate scale factor.
349 BFO Valid Values are -10 kHz to +10 kHz. Send value as BFO(in Hz) + 10,000. For Example -10 kHz would be sent
as 0, 0 would be sent as 10000 and +10 kHz would be 20000
344
346
(highest byte)
348
(highest byte)
88 Spectrum Master PM
Page 94
15) SSB BFO Adjust
16) SSB BFO Adjust (lowest byte)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error 238 (EEh) Time Out Error
Set Baud Rate – Control Byte #197 (C5h)
Description: Set baud rate for this session. An invalid setting returns the baud rate to 9600.
Bytes to Follow: 1 byte
1) Baud Rate Index
00h = 9600 baud 01h = 19200 baud 02h = 38400 baud 03h = 56000 baud 04h = 115200 baud
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid baud rate index 238 (EEh) Time Out Error
Set Language – Control Byte #198 (C6h)
Description: Set the Spectrum Master display language.
Bytes to Follow: 1 byte
1) Language Index
00h = English 01h = French 02h = German 03h = Spanish 04h = Chinese 05h = Japanese
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid language index 238 (EEh) Time Out Error
Query Time – Control Byte #208 (D0h)
Description: Queries the Spectrum Master for the current time in ASCII format.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 8 bytes (HH:MM:SS)
1) Hour (higher byte)
2) Hour (lower byte)
3) :
4) Minute (higher byte)
5) Minute (lower byte)
Spectrum Master PM 89
Page 95
6) :
7) Second (higher byte)
8) Second (lower byte)
Read ASCII Serial Number – Control Byte #225 (E1h)
Description: Reads and returns the Spectrum Master serial number as 8 ASCII bytes.
Bytes to Follow: 1 byte
1) Serial number storage location 01h = Main (External) Serial Number, 02h = Secondary (Motherboard) Serial Number
Spectrum Master Returns: 8 bytes
1-8) Serial Number (in ASCII)
Exit Remote Mode – Control Byte #255 (FFh)
Description: Spectrum Master exits remote mode.
The computer sends the Exit Remote command #255 (FFh) to the Spectrum Master. Spectrum Master returns a confirm flag (FFh). The Spectrum Master resumes sweeping, either continuously or singly.
You may also press the “ESCAPE” key on the Spectrum Master key pad to exit from remote mode (given that the serial communication is still in sync). In this case, the Spectrum Master does not return a confirm byte to the serial port.
When exiting remote mode, system parameters changed during remote mode are used immediately.
System parameters changed during remote mode are not written to the non-volatile EEPROM.
You may want to save the changes to the run-time setup (saved setup location 0, which holds the power-on setup) or one of the saved setups for the current measurement mode. See control byte #18 (12h) for details.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete
Select Spectrum Analyzer/Power Meter Signal Standard - Control Word (A103h)
Description: Selects a Signal Standard. Use this command for both Spectrum Analyzer and Power Meter modes. See the “Signal Standards” section for a list of standards and their indices.
Bytes to Follow: 1 byte
1) Signal Standard - See the “Signal Standards” section for a list of standards and their indices.
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid signal standard 238 (EEh) Time Out Error
Select Spectrum Analyzer/Power Meter Channel - Control Word (A104h)
Description: Selects a channel within the range of the currently selected signal standard. Use this command for both Spectrum Analyzer and Power Meter modes. See the “Signal Standards” section for a list of valid channels for the selected channel.
90 Spectrum Master PM
Page 96
Bytes to Follow: 2 bytes
1) Channel (higher byte)
2) Channel (lower byte)
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid channel 238 (EEh) Time Out Error
Read External Module Name – Control Word (A201h) (Option 6 only)
Description: Returns the name of the attached external converter module (Option 6).
For example, module name “FCN4760” will be received as: c,46,43,4e,34,37,36,30,0,0,0,0,0,ff
Bytes to Follow: 0 bytes
Spectrum Master Returns: 14 bytes (success) OR 1 byte (failure)
1) Length of Name (12)
2-13) Module Name
14) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Module not attached 238 (EEh) Time Out Error
or
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Module not attached 238 (EEh) Time Out Error
Read External Module Serial Number – Control Word (A202h) (Option 6 only)
Description: Sets the serial number of the attached external converter module (Option 6).
For example, serial number 12345678 will be received as: 8,1,2,3,4,5,6,7,8,ff
Bytes to Follow: 0 bytes
Spectrum Master Returns: 10 bytes
1) Length of Serial Number (8)
2-9) Serial Number
10) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Module not attached 238 (EEh) Time Out Error
or
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Module not attached 238 (EEh) Time Out Error
Read External Module Frequency Range – Control Word (A203h) (Option 6 only)
Description: Sets the frequency range of the attached external converter module (Option 6). Frequency values are scaled by the scale factor value.
For example, the frequency range of the FCN4760 is as follows:
Scale factor: 10 Input Start Frequency: 4700 MHz (scaled, this number is 470 MHz)
Spectrum Master PM 91
Page 97
Input End Frequency: 6000 MHz (scaled, this number is 600 MHz) Output Start Frequency: 450 MHz (scaled, this number is 45 MHz) Output End Frequency: 1750 MHz (scaled, this number is 175 MHz) So the response will look like: 12,0,a,1c,3,a1,80,23,c3,46,0,2,ae,a5,40,a,6e,49,c0,ff
Bytes to Follow: 0 bytes
Spectrum Master Returns: 20 bytes (success) or 1 byte (failure)
1) Length of Frequency Data (18) 2-3) Scale Factor (in Hz) 4-7) Input Start Frequency (scaled by Scale Factor) 8-11) Input End Frequency (scaled by Scale Factor) 12-15) Output Start Frequency (scaled by Scale Factor) 16-19) Output End Frequency (scaled by Scale Factor)
20) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Module not attached 238 (EEh) Time Out Error
or
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Module not attached 238 (EEh) Time Out Error
Read Module Fail Counter – Control Word (A204h) (Option 6 only)
Description: Returns the value of the module lock fail counter.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 2 bytes (success) or 1 byte (failure)
1) Fail Counter (higher byte)
2) Fail Counter (lower byte)
3) 255 (FFh) Operation Complete Byte
or
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Module not attached 238 (EEh) Time Out Error
Clear Module Fail Counter – Control Word (A205h) (Option 6 only)
Description: Sets the module lock fail counter to 0.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Module not attached 238 (EEh) Time Out Error
Perform Transmission Mode Calibration – Control Word (A301h) (Option 21 only)
Description: Perform Transmission Mode Calibration.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 1 byte
92 Spectrum Master PM
Page 98
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid channel 238 (EEh) Time Out Error
Turn OFF Transmission Mode Calibration – Control Word (A302h) (Option 21 only)
Description: Turn OFF Transmission Mode Calibration
Bytes to Follow: 0 bytes
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 238 (EEh) Time Out Error
Remote Self Test – Control Word (AA15h)
Description: Trigger the equivalent of a “key press” selftest.
Note: The response bytes will not all be returned immediately. The first 12 will be returned, then there will be a slight delay before the next 14 are returned, then a final delay while the final 12 bytes are returned.
Bytes to Follow: 0 bytes
Spectrum Master Returns:
No Options or Option 10 and/or Option 29: 22 bytes
1) Temperature in 1/10th of degree Celsius (e.g., 362 = 36.2°C) (higher byte)
2) Temperature in 1/10th of degree Celsius (e.g., 362 = 36.2°C) (lower byte)
3) Memory Check (01h: Pass, 00h: Fail)
4) RTC Voltage Check (01h: Pass, 00h: Fail)
5) Power Voltage in 1/10ths of a Volt (e.g., 124 = 12.4 Volts) (higher byte)
6) Power Voltage in 1/10ths of a Volt (e.g., 124 = 12.4 Volts) (lower byte)
7) Reserved
8) Reserved
9) Reserved
10) Reserved
11) SPA LO Failure Counter (higher byte)
12) SPA LO Failure Counter (lower byte)
13) H/W Config - Mother Board ID
14) H/W Config - SPA Board ID
15) Reserved
16) H/W Config - PLD1 ID
17) H/W Config - PLD2 ID
18) Reserved
19) SPA LO Test - Status (01h: Pass, 00h: Fail, FFh: SPA board not installed)
20) SPA LO Test - Failed data point #
21) SPA LO Test - Failed LO #
22) End of Data (FFh)
Option 21 (+ Option 10 and/or Option 29): 28 bytes
1) Temperature in 1/10th of degree Celsius (e.g., 362 = 36.2°C) (higher byte)
2) Temperature in 1/10th of degree Celsius (e.g., 362 = 36.2°C) (lower byte)
3) Memory Check (01h: Pass, 00h: Fail)
4) RTC Voltage Check (01h: Pass, 00h: Fail)
5) Power Voltage in 1/10ths of a Volt (e.g., 124 = 12.4 Volts) (higher byte)
Spectrum Master PM 93
Page 99
6) Power Voltage in 1/10ths of a Volt (e.g., 124 = 12.4 Volts) (lower byte)
7) VNA Lock Failure Counter (higher byte)
8) VNA Lock Failure Counter (lower byte)
9) VNA Integrator Failure Counter (higher byte)
10) VNA Integrator Failure Counter (lower byte)
11) SPA LO Failure Counter (higher byte)
12) SPA LO Failure Counter (lower byte)
13) H/W Config - Mother Board ID
14) H/W Config - SPA Board ID
15) Reserved
16) H/W Config - PLD1 ID
17) H/W Config - PLD2 ID
18) Reserved
19) VNA PLL Lock Failure Test - Status (01h: Pass, 00h: Fail)
20) VNA PLL Lock Failure Test - Failed data point # (Ignore this byte if the Lock Fail Test Status was Pass)
21) VNA PLL Lock Failure Test - Failed PLL # (Ignore this byte if the Lock Fail Test Status was Pass)
22) VNA Integration Test - Status (01h: Pass, 00h: Fail)
23) VNA Integration Test - Failed data point # (Ignore this byte if the Integration Test Status was Pass)
24) VNA Integration Test - Reserved
25) SPA LO Test - Status (01h: Pass, 00h: Fail, FFh: SPA board not installed)
26) SPA LO Test - Failed data point #
27) SPA LO Test - Failed LO #
28) End of Data (FFh)
Option 6 (+ Option 10 and/or Option 29): 27 bytes
1) Temperature in 1/10th of degree Celsius (e.g., 362 = 36.2°C) (higher byte)
2) Temperature in 1/10th of degree Celsius (e.g., 362 = 36.2°C) (lower byte)
3) Memory Check (01h: Pass, 00h: Fail)
4) RTC Voltage Check (01h: Pass, 00h: Fail)
5) Power Voltage in 1/10ths of a Volt (e.g., 124 = 12.4 Volts) (higher byte)
6) Power Voltage in 1/10ths of a Volt (e.g., 124 = 12.4 Volts) (lower byte)
7) Reserved
8) Reserved
9) Reserved
10) Reserved
11) SPA LO Failure Counter (higher byte)
12) SPA LO Failure Counter (lower byte)
13) H/W Config - Mother Board ID
14) H/W Config - SPA Board ID
15) Reserved
16) H/W Config - PLD1 ID
17) H/W Config - PLD2 ID
18) Reserved
19) SPA LO Test - Status (01h: Pass, 00h: Fail, FFh: SPA board not installed)
20) SPA LO Test - Failed data point #
21) SPA LO Test - Failed LO #
22) Module PLD Version
23) Module Attached
24) Module Lock (01h = Locked, 00h = Not Locked)
25) Module Lock Fail Counter (higher byte)
26) Module Lock Fail Counter (lower byte)
27) End of Data (FFh)
Option 6 + Option 21 (+ Option 10 and/or Option 29): 33 bytes
94 Spectrum Master PM
Page 100
1) Temperature in 1/10th of degree Celsius (e.g., 362 = 36.2°C) (higher byte)
2) Temperature in 1/10th of degree Celsius (e.g., 362 = 36.2°C) (lower byte)
3) Memory Check (01h: Pass, 00h: Fail)
4) RTC Voltage Check (01h: Pass, 00h: Fail)
5) Power Voltage in 1/10ths of a Volt (e.g., 124 = 12.4 Volts) (higher byte)
6) Power Voltage in 1/10ths of a Volt (e.g., 124 = 12.4 Volts) (lower byte)
7) VNA Lock Failure Counter (higher byte)
8) VNA Lock Failure Counter (lower byte)
9) VNA Integrator Failure Counter (higher byte)
10) VNA Integrator Failure Counter (lower byte)
11) SPA LO Failure Counter (higher byte)
12) SPA LO Failure Counter (lower byte)
13) H/W Config - Mother Board ID
14) H/W Config - SPA Board ID
15) Reserved
16) H/W Config - PLD1 ID
17) H/W Config - PLD2 ID
18) Reserved
19) VNA PLL Lock Failure Test - Status (01h: Pass, 00h: Fail)
20) VNA PLL Lock Failure Test - Failed data point # (Ignore this byte if the Lock Fail Test Status was Pass)
21) VNA PLL Lock Failure Test - Failed PLL # (Ignore this byte if the Lock Fail Test Status was Pass)
22) VNA Integration Test - Status (01h: Pass, 00h: Fail)
23) VNA Integration Test - Failed data point # (Ignore this byte if the Integration Test Status was Pass)
24) VNA Integration Test - Reserved
25) SPA LO Test - Status (01h: Pass, 00h: Fail, FFh: SPA board not installed)
26) SPA LO Test - Failed data point #
27) SPA LO Test - Failed LO #
28) Module PLD Version
29) Module Attached
30) Module Lock (01h = Locked, 00h = Not Locked)
31) Module Lock Fail Counter (higher byte)
32) Module Lock Fail Counter (lower byte)
33) End of Data (FFh)
Trigger Sweep – Control Word (AA30h)
Description: Causes the Spectrum Master to perform a sweep if it is in single sweep mode.
This command works only when the Spectrum Master is NOT in remote mode. Send this command, receive the “Operation Complete Byte” and then wait for the “Sweep Complete Byte” to signify the end of the sweep.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 2 bytes
1) 255 (FFh) Operation Complete Byte (when the command is received)
2) 192 (C0h) Sweep Complete Byte (at the end of the sweep)
Spectrum Master PM 95
Loading...