Example 3: dBm Measurement
Purpose: Use commands to perform dBm measurement.
dBm measurement is frequently used in signal measurement and analysis.
The programming steps——RIGOL Commands:
0 *RST /*Reset the instrument for preparing measurement*/
1 cmdset□rigol /*Select RIGOL commands*/
2 *IDN? /*Query equipment ID to confirm if the instrument
works normally*/
3 /*Return: RIGOL Technoligies, DM3058, DM3A020080808, 99.00.00.00.00.00*/
4 :function:resistance /*Enable resistance measuring function*/
5 :measure□AUTO /*Set the measuring range to ―AUTO‖*/
6 :measure:resistance? /*Query the measured resistance*/
7 /*The return value is used as the reference resistance for dBm measurement*/
8 :function:voltage:AC /*Enable AC voltage measuring function*/
9 :measure□AUTO /*Set the measuring range to ―AUTO‖*/
10 :calculate:function□DBM /*Enable dBm measuring function*/
11 :calculate:DBM:reference□<value> /*Set the reference voltage*/
12 :calculate:DBM? /*Query the measured result*/
13 /*Return value*/
Remarks:
1. Before sending line 6 command , the instrument should be connected under
resistance measure mode.
2. Parameter in command line 11 is the returned value in line 7.