The programming steps——Agilent Commands:
0 cmdset□agilent /*Select Agilent commands*/
1 *CLS /*Clear the instrument state*/
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 conf:volt:dc□auto /*Set DC voltage measuring function, auto mode*/
5 calc:stat□on /*Enable math operation function*/
6 calc:func□aver /*Set statistic fucntion*/
7 calc:aver:max? /*Query the maximum measured DC voltage*/
8 /*Return: 5.000104e-02*/
9 calc:aver:coun? /*Query the measured times*/
10 /*Return: 63*/
11 calc:stat□OFF /*Exit math operation function*/
Remarks:
1. After execute the fourth command, the default measuring rate will change to
―Fast‖. The measuring rate and the resolution are relevant. The rate can be
changed by setting different resolutions. For example, sending ―conf:volt:dc
auto,max‖ will set the measuring rate to ―slow”.
2. Command line 7 returns the maximum measured DC voltage.
3. Command line 9 returns the measured times.