Extensive Description Of The Command #Bm1 - Hameg HM5530 Manual

Spectrum-analyzer
Table of Contents

Advertisement

Available languages

Available languages

#es1(E)
= switch ON: "Single Shot"
#ss1(E)
= Starts a "Single Shot" (Sweep time: 1000ms)
After the reception and execution of a command,
the spectrum analyzer answers with: „RD" (CR).
Parameter request (Listing of request commands):
The following requests will also be answered if the instrument
is not in the remote control mode (Remote off; KL0).
Syntax:
#xx(E)
= transmit parameter of xx (xx = tl, rl, vf, at, bw,
sp, cf, sr, st, db, kl, hm, vn, vm, dm,uc)
Amplitude:
#rl(E)
= Reference level "RL-xxx.x" (in dB-Unit)
#ra(E)
= Ref. level automatic "RAx" (x=0: Manual; x=1:
Auto)
#at(E)
= Attenuator "ATxx" (in dB)
#db(E)
= Y-Scale (dB/Div) "DBxx" (xx = 5,10 dB/Div)
#du(E)
= Y-Unit (dBx) "DUx" (x=0:dBm;x=1:dBmV;x=2
dBμV)
#uc(E)
= Level uncal "UCx" (x=0:cal, x=1:uncal)
Frequency:
#cf(E)
= Center frequency "CFxxxx.xxx" (in MHz)
#sp(E)
= Span frequency "SPxxxx.xxx" (in MHz)
#sr(E)
= Start frequency "SRxxxx.xxx" (in MHz)
#st(E)
= Stop frequency "STxxxx.xxx" (in MHz)
Marker:
#mf(E)
= Marker frequency "MFxxxx.xxx" (in MHz)
#df(E)
= Delta frequenz "DFxxxx.xxx" (in MHz)
#mk(E)
= Marker mode "MKx" (x=0: OFF; x=1: Marker1,
x=2: M1&2)
#lv(E)
= aktiv Marker level "ML-xxx.x" (in dB-Unit)
(#MK1) or
aktiv Delta-Level "DL-xxx.x" (in dB) (#MK2)
Test signal:
#tl(E)
= Test signal level "TL-xxx.x" (in dB-Unit)
#tg(E)
= Test signal gen. ON/OFF "TGx"
(x=0:TG OFF, x=1:TG ON)
Filter:
#bw(E)
= Resolution bandwidth "BWxxxx" (in kHz)
#ba(E)
= Bandwidth automatic "BAx"
(x=0: Manual; x=1: Auto)
#vf(E)
= Video fi lter "VFx" (x=0:VF OFF, x=1:VF ON)
#kl(E)
= Remote "KLx" (x=0:Local, x=1:Remote)
Signal:
#vm(E)
= Video mode "VMx" (x=0:A,x=1:B,x=2:A-B)
General:
#vn(E)
= Version nummer "VNx.xx" (x.xx = 1.00 ... 9.99)
#hm(E)
= Device typ "HMxxxx"(xxxx = 5530)
st
1
Example: „#uc(E) (uncalibrated)": PC sends #uc(CR).
Instrument answers: UC0(CR) (calibrated) or
UC1(CR) (uncalibrated)
nd
2
Example: „#vn(E)", PC requests number of version:
PC sends #vn(CR). Instrument answers:
x.xx(CR) x.xx z. B.: 1.23
rd
3
Example: „#hm(E)", pc requests type of instrument:
PC sends #hm(CR).
Instrument answers: 5530 (CR)
th
4
Example: PC sends a sequence of commands to
the analyzer:
#kl1(E)
= Switches to remote control.
#cf0752.000(E)
= Sets center frequency to 752 MHz
#sp0002.000(E)
= Sets span to 2 MHz
#bw120(E)
= Sets resolution abdnwidth to 120 kHz
#kl0(E)
= Returns control to front panel.
If a command is not recognized, the instrument will not re-
spond with a message to the pc (no RD (CR) or no parameter
transmission.

Extensive description of the command #bm1

#BM1(CR) = Block mode (transmits 2048 data bytes
via the RS-232 interface)
The transmission data consist of 2048 bytes: trans_byte [0] to
trans_byte [2047]. These 2048 data bytes contain 2001 signal
bytes, the parameter center frequency and a checksum of the
signal bytes.
The signal data are on the following transmission bytes:
trans_byte[n] = sig_data[n] ( n = 0 bis n = 2000):
trans_byte[0] = sig_data[0]
trans_byte [2000] = sig_data[2000]
The checksum is a 24 bit word (= 3 bytes ), it consists of:
checksum = sig_data[0] + sig_data[1] +.. sig_data[1999] +
sig_data[2000] (=sum of all signal data)
The 24 bit checksum is on the following data bytes:
trans_byte[2044] = 1st byte checksum [MSB]
trans_byte[2045] = 2nd byte checksum
trans_byte[2046] = 3rd byte checksum [LSB]
The center frequency parameter is on the following transmis-
sion data bytes:
trans_byte [2016] = 'C'; trans_byte [2017] = 'F'; trans_byte
[2018] = 'x';
trans_byte [2019] = 'x'; trans_byte [2020] = 'x'; trans_byte [2021]
= 'x';
trans_byte [2022] = '.'; trans_byte [2023] = 'x'; trans_byte [2024]
= 'x';
trans_byte [2025] = 'x'; (x= '0' to '9') Example: CF0623.450
(These bytes are not used when calculating the checksum.)
The last character is always a CR (carriage return).
trans_byte[2047] = 0D hex (carriage return)
All other „free" bytes will be set to (00 hex).
Signal data and CRT display:
The signal data are the result of 2001 a/d conversions during
a sweep.
X position: The fi rst byte „sig_data(0)" corresponds to the fi rst
point on the screen, coinciding with the left edge of the graticule.
All other bytes follow linearly up to „sig_data(2000), this point
coincides with the right edge of the graticule. The frequency of
the individual points can be calculated from the center frequency
and the span:
Frequency (x) = (center frequency – 0.5 span) + span x x/2000.
X = 0 ... 2000 (position of the point = sig_data(x)).
Y position: The 8 bit value (hex: 00 to FF) of each memory location
of sig_data(x) relates to the video signal as follows:1C hex (28
dec) coincides with the bottom line of the graticule.
I n t e r f a c e
47
Subject to change without notice

Advertisement

Chapters

Table of Contents
loading

Table of Contents