Fast. Accurate, repeatable, portable spectrum analysis spectrum master ™ ms2711d ms2712 ms2712 ms2712 sitemaster spectrummaster cellmaster ms2711d spectrum master s331d site master sitemaster spectrummaster mt8212a cell master cellmaster programming manual.
1 3 ms2711d programming manual ms2711d remote mode command specification rev 1.45.
2 may 2007 copyright © 2007 anritsu co. Part number: 10580-00098 revision: d.
3 table of contents table of contents .......................................................................................................................................3 programming overview ...........................................................................................................
4 s et t rigger p osition – c ontrol b yte #54 (36 h ) ...............................................................................................61 s et v ideo t rigger l evel – c ontrol b yte #55 (37 h ) ........................................................................................61...
5 gps p ower – c ontrol b yte #237 (ed h )...........................................................................................................113 r ead gps p osition – c ontrol b yte #238 (ee h ) ..............................................................................................113...
6 programming overview warning: this programming manual is written exclusively for anritsu spectrum master model 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. Gene...
7 entering remote mode send the enter remote mode byte #69 (45h) to the spectrum master to enter remote mode at the end of a sweep send the enter remote mode immediately byte #70 (46h) to enter remote mode in the middle of a sweep. The spectrum master’s serial port buffer is one byte wide. No intern...
8 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 b...
9 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 return...
10 set trace name (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...
11 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 c...
12 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...
13 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 ...
14 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 : m...
15 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 3...
16 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. When the current mode is spectrum analyzer, spectrum analyzer setups (1-10) can be recalled. When the cu...
17 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 fre...
18 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) multipl...
19 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 ...
20 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) tr...
21 trigger self-test – control byte #21 (15h) description: triggers a self test on the spectrum master. Bytes to follow: 0 bytes spectrum master returns: 12 bytes 1) self-treport: (0b = fail, 1b = pass) (lsb) bit 0 : phase lock loop bit 1 : integrator bit 2 : battery bit 3 : temperature bit 4 : eepr...
22 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 save 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/ti...
23 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 s...
24 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...
25 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....
26 1. Dbm 38 (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 query sweep memory – control by...
27 digital id port. The digital id will be used together with the pc board revision (mother board id voltage) to identify the board and “dash” number. For boards prior to 64968, bytes 12 and 13 will be 0 14-25) not used for spectrum analyzer mode/transmission mode (option 21): 26) spectrum analyzer ...
28 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 ...
29 (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 bits 6 - ...
30 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 = ...
31 305) impedance loss (lower byte) 306) am/fm demod type 70 307) am/fm demod status (01h = on, 00h = off) 308) am/fm demod volume (0 to 100) 309) am/fm demod frequency 71 (highest byte) 310) am/fm demod frequency 311) am/fm demod frequency 312) am/fm demod frequency (lowest byte) 313) am/fm demod t...
32 38) power meter span 80 (highest byte) 39) power meter span 40) power meter span 41) power meter span (lowest byte) 42) signal standard 81 (higher byte) 43) signal standard (lower byte) 44) channel selection 82 (higher byte) 45) channel selection (lower byte) 46) power meter offset (highest byte)...
33 33) t1 crc method (00h: ansi crc, 01h: japanese crc) 34) t1 loop type (00h: in band, 01h: data link) 35) t1 pattern (higher byte) 36) t1 pattern (lower byte) 01h: prbs-9, 02h: prbs-11, 03h: prbs-15, 04h: prbs-20(o.151), 05h: prbs-20(o.153), 06h: prbs-23, 07h: qrss, 08h: 1 in 8, 09h: 2 in 8, 0ah: ...
34 0ch: all zeros, 0dh: t1-daly, 0eh: user defined) 37) e1 pattern invert (00h: non-inverted, 01h: inverted) 38) e1 display type (00h: histogram, 01h: raw data) 39) e1 impedance (01h: 75 Ω, 02h: 120 Ω) 40 - 55) first user defined loop code down (16 bytes) 56 - 71) second user defined loop code down ...
35 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...
36 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 (130, 259 or 517 or 401 or 100) for spectrum analyzer mode: 57) start frequency 95 (highest byte) 58) start frequency 59) start frequency 60) st...
37 98) single limit 99) single limit 100) single limit (lowest byte) 101) multiple upper limit 1 start x 103 (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 104 )...
38 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....
39 304) signal standard 114 (higher byte) 305) signal standard (lower byte) 306) channel selection 115 (higher byte) 307) channel selection (lower byte) 308) interference analysis cellular standard 116 309) interference analysis estimated bandwidth (highest byte) 310) interference analysis estimated...
40 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 124 bits 4-7: not used 347) c/i calculated power 125 (carrier or interference...
41 for power meter mode (option 29 only): 57) power monitor mode (00h = off, 01h = on) 58) power meter unit (00h = dbm, 01h = watts) 59) start frequency 136 (highest byte) 60) start frequency 61) start frequency 62) start frequency (lowest byte) 63) stop frequency 137 (highest byte) 64) stop frequen...
42 101) frequency range minimum (lowest byte) 102) frequency range maximum 146 (highest byte) 103) frequency range maximum 104) frequency range maximum 105) frequency range maximum (lowest byte) 106 – 150) not used 151) power meter reading 147 (highest byte) 152) power meter reading 153) power meter...
43 98) start channel 99) start channel 100) start channel (lowest byte) 101 – 124) signal standard name, 24 bytes in ascii 125 – 152) reserved 153 – 272) channel scanner data 152 for interference analyzer rssi mode 57) center frequency (highest byte) 58) center frequency 59) center frequency 60) cen...
44 92) max rssi measured 93) max rssi measured 94) max rssi measured (lowest byte) 95) measure duration (highest byte) 156 96) measure duration 97) measure duration 98) measure duration (lowest byte) 99) sweep point interval(highest byte) 157 100) sweep point interval 101) sweep point interval 102) ...
45 69) measure offset value(lowest byte) 70) relative value(highest byte) 166 71) relative value(lowest byte) 72) relative status (00h = off, 01h = on) 73) running averages number(highest byte) 74) running averages number(lowest byte) 75 – 76) signal standard id 77 – 100) signal standard name 101) z...
46 obsolete: set a/b trace – control byte #34 (22h) 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...
47 upload spectrum master 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 ...
48 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 180 (highest byte) 81) single limit 82) single limit 83) single limit (lowest byte) 84) multiple upper limit 1 start x 18...
49 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...
50 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 186 (highest byte) 283) reference level offset 284) reference level offset 285) reference level offset (lowest byte) 286) external reference frequency 187 28...
51 319) frequency scale factor (lower byte) 320) frequency range minimum 196 (highest byte) 321) frequency range minimum 322) frequency range minimum 323) frequency range minimum (lowest byte) 324) frequency range maximum 197 (highest byte) 325) frequency range maximum 326) frequency range maximum 3...
52 401-2004) sweep data (401 points * 4 bytes/point = 1604 bytes) 4 bytes for each data point 1. Dbm 207 (highest byte) 2. Dbm 3. Dbm 4. Dbm (lowest byte) for power meter mode (option 29 only): 57) power monitor mode (00h = off, 01h = on) 58) power meter unit (00h = dbm, 01h = watts) 59) start frequ...
53 95) channel selection (lower byte) 96) frequency scale factor 216 (higher byte) 97) frequency scale factor (lower byte) 98) frequency range minimum 217 (highest byte) 99) frequency range minimum 100) frequency range minimum 101) frequency range minimum (lowest byte) 102) frequency range maximum 2...
54 72-75) gps position – latitude (long integer) 223 76-79) gps position – longitude (long integer) 80-81) gps position – altitude (short integer) 82) start channel (highest byte) 83) start channel 84) start channel 85) start channel (lowest byte) 86 – 109) signal standard name, 24bytes in ascii 110...
55 72) channel (highest byte) 227 73) channel (lowest byte) 74) min rssi measured (highest byte) 75) min rssi measured 76) min rssi measured 77) min rssi measured (lowest byte) 78) max rssi measured (highest byte) 79) max rssi measured 80) max rssi measured 81) max rssi measured (lowest byte) 82) me...
56 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 spectrum master returns: depends on the option(s) installed maximum string: “3/6/10a/19/21/25/27/28/29/31” if no options are instal...
57 set power meter units – control byte #40 (28h) this command is available with option 29 and/or option 5. 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) 25...
58 power meter zero mode on/off – control byte #43 (2bh) this command is available with option 29 and/or option 5. Description: enable or disable power meter zeroing mode. Bytes to follow: 1 byte 1) zero mode status 00h = off 01h = on with trigger (current power level is referenced as -80 dbm) spect...
59 power meter center frequency and span setup – control byte #45 (2dh) this command is available with 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 frequencies should b...
60 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 swe...
61 set spa minimum sweep time – control byte #53 (35h) description: sets the minimum sweep time (in μs) 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 μs) (highest byte) 2) minimum sweep time (in μs) 3) minimum sweep...
62 automatically save runtime setup – control byte #64 (40h) description: automatically save the runtime setup when exiting remote mode. This flag must be set once per power cycle of the spectrum master. It returns to its default value when the unit is turned off. The default value is (0), do not au...
63 34) spectrum analyzer frequency span 35) spectrum analyzer frequency span 36) spectrum analyzer frequency span (lowest byte) 37) ref level (highest byte) 241 38) ref level 39) ref level 40) ref level (lowest byte) 41) scale per div (highest byte) 242 42) scale per div 43) scale per div 44) scale ...
64 222) rbw setting 223) rbw setting 224) rbw setting (lowest byte) 225) vbw setting (highest byte) 250 226) vbw setting 227) vbw setting 228) vbw setting (lowest byte) 229) occ bw method 251 230) occ bw % value 252 231) occ bw dbc 253 232) attenuation 233) antenna index (0-14) 234-249) antenna name...
65 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 mu...
66 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...
67 305) frequency range minimum 306) frequency range minimum (lowest byte) 307) frequency range maximum 269 (highest byte) 308) frequency range maximum 309) frequency range maximum 310) frequency range maximum (lowest byte) 311) marker type 270 312) channel power int bw 271 (highest byte) 313) chann...
68 31) center frequency 32) center frequency (lowest byte) 33) frequency span 281 (highest byte) 34) frequency span 35) frequency span 36) frequency span (lowest byte) 37) ref level (highest byte) 282 38) ref level 39) ref level 40) ref level (lowest byte) 41) scale per div (highest byte) 283 42) sc...
69 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) 290 222) rbw setting 223) rbw setting 224) rbw setting (lowest byte) 225) vbw setting (highest byte) 291 226) v...
70 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 low...
71 255) trace b trace id 302 256) status byte 9 (lsb) bit 0: limit beep output (option 86 only) (00h = internal speaker, 01h = external) bits 1-7: not used 257-400) not used for power meter mode (option 29 only): 21) power meter start freq 303 (highest byte) 22) power meter start freq 23) power mete...
72 58) frequency range minimum 59) frequency range minimum (lowest byte) 60) frequency range maximum 313 (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 314 (highest byte) 66) zero v...
73 37) ref level (highest byte) 320 38) ref level 39) ref level 40) ref level (lowest byte) 41) scale per div (highest byte) 321 42) scale per div 43) scale per div 44) scale per div (lowest byte) 45) spectrum analyzer frequency marker 1 (higher byte) 322 46) spectrum analyzer frequency marker 1 (lo...
74 225) vbw setting (highest byte) 329 226) vbw setting 227) vbw setting 228) vbw setting (lowest byte) 229) occ bw method 330 230) occ bw % value 331 231) occ bw dbc 332 232) attenuation 233) antenna index (0-14) 234-249) antenna name (16 bytes in ascii) 250) status byte 1: ( 0b = off , 1b = on) (l...
75 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 mu...
76 278) video trigger level 279) video trigger level (lowest byte) 280) status byte 8 (lsb) bit 0: limit beep output (option 86 only) (00h = internal speaker, 01h = external) 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 ...
77 313) channel power int bw 314) channel power int bw 315) channel power int bw (lowest byte) 316) acpr main channel bw 351 (highest byte) 317) acpr main channel bw 318) acpr main channel bw 319) acpr main channel bw (lowest byte) 320) acpr adjacent channel bw 352 (highest byte) 321) acpr adjacent ...
78 40) ref level (lowest byte) 41) scale per div (highest byte) 362 42) scale per div 43) scale per div 44) scale per div (lowest byte) 45) frequency marker 1 (higher byte) 363 46) frequency marker 1 (lower byte) 47) frequency marker 2 (higher byte) 48) frequency marker 2 (lower byte) 49) frequency ...
79 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 bits 6 - 7 : not used 231) status byte 2: (0b = off, 1b =...
80 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...
81 for power meter mode (option 29 only): 21) power meter start freq 382 (highest byte) 22) power meter start freq 23) power meter start freq 24) power meter start freq 383 (lowest byte) 25) power meter stop freq (highest byte) 26) power meter stop freq 27) power meter stop freq 28) power meter stop...
82 64) zero status (00h = off, 01h = on) 65) zero value 393 (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 read parameter limits – contr...
83 for spectrum analyzer, transmission measurement modes, available rbws: 21) number of valid rbws for each rbw: 1) rbw frequency (in hz) (highest byte) 2) rbw frequency (in hz) 3) rbw frequency (in hz) 4) rbw frequency (in hz) (lowest byte) for spectrum analyzer, transmission measurement modes, ava...
84 48) scale maximum (lowest byte) 49) marker minimum 407 (higher byte) 50) marker minimum (lower byte) 51) marker maximum 408 (higher byte) 52) marker maximum (lower byte) 53) limit y minimum 409 (highest byte) 54) limit y minimum 55) limit y minimum 56) limit y minimum (lowest byte) 57) limit y ma...
85 93) minimum sweep type (in µs) minimum 94) minimum sweep type (in µs) minimum (lowest byte) 95) minimum sweep type (in µs) maximum (highest byte) 96) minimum sweep type (in µs) maximum 97) minimum sweep type (in µs) maximum 98) minimum sweep type (in µs) maximum (lowest byte) 99) video trigger le...
86 142) acpr main channel bw minimum (in hz) (lowest byte) 143) acpr main channel bw maximum (in hz) (highest byte) 144) acpr main channel bw maximum (in hz) 145) acpr main channel bw maximum (in hz) 146) acpr main channel bw maximum (in hz) (lowest byte) 147) acpr adjacent channel bw minimum (in hz...
87 38) reference level maximum 39) reference level maximum 40) reference level maximum (lowest byte) 41) scale minimum 427 (highest byte) 42) scale minimum 43) scale minimum 44) scale minimum (lowest byte) 45) scale maximum 428 (highest byte) 46) scale maximum 47) scale maximum 48) scale maximum (lo...
88 for power meter mode (option 29 only), all other parameter limits: 21) span scale factor minimum 435 (higher byte) 22) span scale factor minimum (lower byte) 23) span scale factor maximum 436 (higher byte) 24) span scale factor maximum (lower byte) 25) span minimum 437 (highest byte) 26) span min...
89 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...
90 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 seria...
91 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 (opti...
92 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 an...
93 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 num...
94 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 chan...
95 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 mea...
96 select signal standard – control byte #89 (59h) description: select signal standard and the link direction. Bytes to follow: 2 bytes 1) signal standard index (0-199) – see “signal standards” for details. 2) link direction (1= uplink, 2=downlink, 3=uplink and downlink) cell master returns: 1 byte ...
97 upload user’s signal standard table – control byte #92 (5ch) description: upload user’s signal standard table to cell master. Bytes to follow: variable (64 bytes * n ) where n is the total record of the signal standards. Each record has the following data field. 1– 2): record type ( record type =...
98 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 obw frequencies will be scaled by the scale factor of the module. If the module is not attached, the obw frequencies are se...
99 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...
100 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 division, so bottom scale can be determined by : ref level + 10 x db/div....
101 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 valu...
102 obsolete: set spectrum analyzer video bandwidth – control byte #107 (6bh) 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) vi...
103 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: i...
104 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...
105 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...
106 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 50 Ω, so there is no need for an adapter in this case. Th...
107 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 ...
108 normalize spa – 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 spa normalization status – control byte #131 (83h) description: turns normalization...
109 set sa 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 pr...
110 set spectrum analyzer resolution bandwidth – control byte #141 (8dh) this command is new to the ms2711d. Use it instead of control byte #106 to access the new rbws. Description: sets the resolution bw frequency for the spectrum analyzer. Bytes to follow: 4 bytes 1) resolution bandwidth (frequenc...
111 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 ...
112 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...
113 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 03h = t1/e1 serial numbe...
114 automatic cal disable – control byte #240 (f1h) description: disable automatic calibration. Bytes to follow: 1 byte 1: to disable automatic calibration 0: to enable automatic calibration cell master returns: 1 byte 255 (ffh) operation complete byte 224 (e0h) parameter error : invalid parameter 2...
115 select spa/power meter signal standard – control word (a103h) description: selects a signal standard. Use this command for both spectrum analyzer and power meter modes. Bytes to follow: 1 byte 1) signal standard – see the section “signal standards” for a list of standards and their indices. Spec...
116 read external module serial number – control word (a202h) this command is available only with option 6. Description: sets the serial number of the attached frequency 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 byte...
117 read module fail counter – control word (a204h) this command is available only with option 6. Description: returns the value of the module lock fail counter. Bytes to follow: 0 bytes spectrum master returns: 3 bytes (success) or 1 byte (failure) 1) fail counter (higher byte) 2) fail counter (low...
118 get signal standard name – control word (a501h) description: get the ascii signal standard corresponding to a specified index. This command can be used in any measurement mode. Bytes to follow: 2 1) index (highest byte) 2) index (lowest byte) cell master returns: 20 bytes 1 – 20) standard name i...
119 spectrogram: set sweep interval – control word (a721h) this command is available only with option 25. Description: sets the sweep interval in spectrogram mode. Bytes to follow: 2 bytes a. Sweep interval in seconds (msb) b. Sweep interval in seconds (lsb) cell master returns: 1 byte 255 (ffh) ope...
120 spectrogram: get trace name – control word (a724h) this command is available only with option 25. Description: get the trace names saved in five spectrogram memory slots. The name is composed with time & date when the trace is saved. If the memory slot is empty, the date field is set with "--/--...
121 spectrogram: recall trace – control word (a725h) this command is available only with option 25. Description: recall a spectrogram trace by sending the trace index (0-4) of the memory slots. Bytes to follow: 1 bytes 1) index of memory slots (0-4) cell master returns: when control word is received...
122 retrieve power in cw generator mode - code word(a802h) description: this command tells the cell master to return the power value in dbm. The value returned will be an unsigned. The values under -0 db will be made positive and multiplied by 1000. E.G. -73.12dbm will become 731200 bytes to follow:...
123 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)...
124 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 ...
125 parameter definitions parameter # of bytes step example / description frequency 4 bytes unsigned 1 hz 1000.3 mhz = 1000300000 scale (rl, cl) 2 bytes unsigned 1 / 1000 db 51.3 db = 51300 (swr) 2 bytes unsigned 1 / 1000 (ratio) 65.53 = 65530 limit (rl, cl) 2 bytes unsigned 1 / 1000 db 51.3 db = 51...
126 programming examples this section contains several sample functions written in c, (and one in visual basic) that can be used as references when programming the anritsu handheld products. These include functions to set up the com port, enter and exit remote mode, and set the reference level of th...
127 /* note: this function assumes the values have */ /* already been checked to fall in the valid range */ /* and scaled according to the formulas in the */ /* programming manual. */ /* responsebytes = pointer to an array of bytes at */ /* least 1 element long (1 byte is expected in */ /* response ...
128 } } /* setspascale */ /*********************************************************************/ /* unsigned char exitremote(byte *responsebytes) */ /* description: this function implements control byte #255, exit */ /* remote mode. If successful, the unit will leave */ /* remote mode and resume sw...
129 /* parm2 – 4 byte unsigned long integer */ /* returns: success if the unit is in remote mode */ /* failure if the command fails */ /* the resulting bytes are returned in the */ /* memory location pointed to by bytedata. This */ /* location must have at least 8 empty bytes. */ /******************...
131 case '4': commsettings.Baudrate = cbr_56000; // rate - 56000 break; case '5': commsettings.Baudrate = cbr_115200; // rate - 115200– break; default: commsettings.Baudrate = cbr_9600; //default - 9600 break; } // disable null stripping commsettings.Fnull = false; // rts flow control commsettings.F...
132 { return success; } else { closehandle(comhandle); fclose(fp); return fail; exit(0); } }.
133 example in visual basic private sub cmdsetbaudratesm_click() dim changebaudserialcmd as integer dim baudrate as integer dim strinputbuf as variant dim previoussettings as string previoussettings = commctrl.Settings 'check that we're in remote and have selected a baud rate if checkinitialconditio...
134 else msgbox "invalid baud rate - err " + cstr(asc(strinputbuf)) goto setsmbaud_err_handler end if exit sub setsmbaud_err_handler: commctrl.Settings = previoussettings end sub.
135 revision history rev. Date description by 1.0 9/1/03 initial revision based on spectrum master internal programming manual.Doc rev 1.36. Jennifer burns 1.01 9/3/03 completed conversion to ms2711d document. Left commands for option 21, 29 and 50. Still needs am/fm demod and normalization commands...
136 1.15 10/21/03 added adc_otr_error to #104, changed error numbering for module_frequency_error. Jennifer burns 1.16 10/21/03 added obw status bit to #29, #33 and #36. Jennifer burns 1.17 10/27/03 added reference to frequency scale factor and option 6 in appropriate commands. Added scale factor an...
137 1.29 1/20/04 fixed numbering on #65. Added marker type to #29, 33, 36, 65 and 66. Added zero status and zero value to #29, 65 and 66. Added channel power, acpr and ia parameters to #65 and 66. Added external reference frequency status, view b status, ia status and c/i status to #65 and 66. Jenni...
138 1.39 4/9/04 added limit beep output to #29, #65 and #66. This is a “special” option so these bytes should not ship in standard documentation. Jennifer burns 1.40 4/21/04 added #49 – sweep data echo. Jennifer burns 1.41 6/23/04 in #86 and #88, channel power values are scaled by 100, not 1000. Jen...