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 meas:res?□auto /*Enable resistance measuring function, auto
range; return the measured value*/
4 /*The returned value is used as the reference resistance for dBm measurement*/
5 conf:volt:ac□auto /*Enable AC voltage measuring function and use
auto range*/
6 calc:stat□on /*Enable math operation function*/
7 calc:func□dbm /*Set dBm measuring function*/
8 calc:dbm:ref□<value> /*Set the reference voltage*/
9 calc:dbm:ref? /*Query the measured result*/
10 /*get return value*/
Remarks:
1. Before sending line 3 command , the instrument should be connected under
resistance measure mode.
2. Parameter in command line 9 is the return value in line 3.