Rs-232C Interface; Rs-232C Specifications; How To Connect; Command Description - Hameg HM5033 Manual

3.3 ghz portable spectrum analyzer
Table of Contents

Advertisement

RS-232C Interface

23. RS-232C Interface

23.1 RS-232C specifications

Transfer rate:
2400 / 4800 / 9600 / 19200 / 38400 bps
Date bit length:
8 bit
Stop bit:
1 bit
Parity check:
none

23.2 How to connect

When using the RS-232C interface, connect a 1:1 Sub-D extension
cable as shown in the figure below.
Cable length:
approx. 1.5m
Connector:
D-sub 9 pin male / D-sub 9 pin female
Wiring:
straight
Refer to „22. Data Output" about changing baud rate.
COM PORT (D-sub 9pin, male)
Use the conversion connector, in the case that is D-sub
25pin (male)

23.3 Command description

„CR(0D[HEX])+ LF(0A[HEX])" is added to the tail of every
command. When you send a command from your PC,
HM5033 returns a response. Responses include „OK" +
CR + LF, „ERR" + CR + LF and „(response to command)"
+ CR + LF .
By inputting „?" instead of „**" for each command, the
current setting parameters are returned. Except for
„····Request" command and command for inputting
corrected data.
1) Set the center frequency
Command: FREQ*******
(*******= Refer to [23.4 Input the frequency])
2) Request the set marker
Command: FREQSETMKR
The center frequency is set according to the frequency of
current marker position.
3) Set the span
Command: SPAN****
(****= ZERO, 200K, 500K, 1M, 2M, 5M, 10M, 20M, 50M,
100M, 500M, 1G, 2G, FULL [unit: Hz])
28
4) Set the reference level
Command: REF***
(***= -60 to 10 [1step, unit: dBm])
For units other than dBm, use the conversion formulas in
„9.3 Refference level setting range for each unit" to convert
them into dBm before inputting the value.
5) Set the reference unit
Command: UNIT****
(****= DBM, DBUV, DBMV, DBV)
Command
Unit
DBM
dBm
DBUV
dBµV
DBMV
dBmV
DBV
dBV
6) Set the RBW
Command: RBW****
(****= 3K, 10K, 30K, 100K, 300K, 1M, 3M, AUTO,
ALL [unit: Hz])
7) Set the VBW
Command: VBW****
(****= 100, 1K, 3K, 10K, 30K, 100K, 300K, 1M, AUTO,
ALL [unit: Hz])
8) Start/Stop the measuring function
Command: MEAS***
(***= CP , ACP , OBW, EF , MF , OFF)
Command Measuring function
CP
Channel power measurement
ACP
Adjacent channel leakage power measurement
OBW
Occupied frequency bandwidth measurement
EF
Electric field strength measurement
MF
Magnetic field strength measurement
OFF
OFF
9) Request the result of measuring function
Command: MEASRES
Example of the return data
Case of channel power measurement···
POW: -25.5dBm
Case of adjacent channel power measurement···
L: -44.7dBc
U: -48.3dBc
Case of occupied bandwidth measurement···
C: 1.45G
W: 20.00k
Case of frequency counter···
FC: 2400.0000M
When the level of spectrum is small and cannot measure,
it is returned as „Non signal" .
If frequency counter (factory option) is not mounting, it is
returned as „Invalid for F/C" .
Subject to change without notice

Advertisement

Table of Contents
loading

Table of Contents