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 resistance measurement mode*/
4 conf:res□20000,2 /*Enable resistance measuring function, set
range as 20 kΩ, measuring rate as medium*/
5 calc:stat□on /*Enable math operation function*/
6 calc:func□aver /*Enable average calculation function*/
7 *sav□1 /*Store current state to storage area 1*/
8 calc:stat□off /*Exit math operation function*/
9 conf□20,max /*Enable DC voltage measurement function, set
range as 20V, measuring rate as low*/
10 calc:stat□on /*Enable math operation function*/
11 calc:lim:low□<value1> /*Set the lower limit*/
12 calc:lim:upp□<value2> /*Set the upper limit*/
13 calc:func□lim /*Enable limit calculation function*/
14 *sav□2 /*Store current state to storage area 2*/
15 calc:stat□off /*Exit math operation function*/
16 *rcl□1 /*Recall state 1*/
17 *rcl□2 /*Recall state 2*/
Remarks:
1. In line 4 command , input 20000 (unit is Ω), thus the range is set as 20 kΩ. The
second parameter ―2‖ denotes the resolution is 2 Ω. The resolution and the
measuring rate is relevant, so the rate is set as medium.
2. In line 9 command , input 20 (or any real number between 2~20), thus the range
is set as 20V. The second parameter ―max‖ denotes the maximum resolution. The
resolution and the measuring rate are relevant, so the rate is set to low.