The programming steps——Agilent Commands:
0 *CLS /*Clear the instrument state*/
1 cmdset□agilent /*Select Agilent commands*/
2 *IDN? /*Query equipment ID to confirm if the
instrument works normally*/
3 /*Connect the test leads under AC voltage measure mode*/
4 conf:volt:ac□<range> /*Enable AC voltage measuring function and set
the range*/
5 calc:stat□on /*Enable math operation function*/
6 calc:func□db /*Enable dB measurement function*/
7 calc:db:ref□<value> /*Set the ―dB setting‖ value*/
8 calc:db:ref? /*Query the measured value*/
9 /*Return value*/
Remarks:
1. When you have set the ―dB setting‖ value in line 7, the dB measured result will
display in the screen, you can not use command to read the value.
2. The return value of line 8 command is the ―dB setting‖, not the dB measured
result.
3. Users needing a dB measured result are suggested to use RIGOL commands.