Specifications

Chapter 3 Application Examples RIGOL
M300 Programming Guide 3-3
301
DIN:8bit
Level type: TTL;
Alarm setting: DATA=154, MASK=129, TYPE=EQU, alarm
channel (Alarm2) ;
303
DIN:16bit
Alarm setting: DATA=121, MASK=5, TYPE=NEQU, alarm
channel (Alarm3);
Level type: USER; Voltage level: 5V; THReshold: 3.5V;
305
TOT:READ
Alarm setting: HI=1000, alarm channel (Alarm4);
Slop: NEGtive;
307
TOT:RREse
Slop: POStive; Threshold: 5V;
Method 1
1. *IDN? /*Query the ID string of M300 to check whether
the remote communication is normal*/
2. FUNC TEMP,(@101) /*Configure the function to temperature for channel 101*/
3. TEMP:TRAN:TYPE RTD,(@101) /*Set the temperature sensor type to RTD for channel 101*/
4. TEMP:TRAN:RTD:TYPE 85,(@101) /*Set the RTD type to 85 for channel 101*/
5. TEMP:NPLC 10,(@101) /*Set the integration time to 10PLC for channel 101*/
6. TEMP:TRAN:RTD:RES:REF 50,(@101)/*Set R0 to 50Ω for channel 101*/
7. FUNC VOLT:DC,(@102) /*Configure the function to DCV for channel 102*/
8. VOLT:DC:RANG:AUTO ON,(@102) /*Enable the autoranging for channel 102*/
9. CALC:SCAL:SQU 1.001,(@102) /*Set scaling parameter A to 1.001 for channel 102*/
10. CALC:SCAL:GAIN 1.1,(@102) /* Set scaling parameter B to 1.1 for channel 102*/
11. CALC:SCAL:OFFS 0.01,(@102) /*Set scaling parameter C to 0.01 for channel 102*/
12. CALC:SCAL:CONS 0.05,(@102) /*Set scaling parameter x1 to 0.05 for channel 102*/
13. CALC:SCAL:STAT ON,(@102) /*Enable the scaling function for channel 102*/
14. CALC:LIM:UPP 10,(@102) /*Set the alarm upper limit to 10V for channel 102*/
15. CALC:LIM:UPP:STAT ON,(@102) /*Enable the upper limit alarm for channel 102 */
16. CALC:LIM:LOW 0.7,(@102) /*Set the alarm lower limit to 0.7V for channel 102*/
17. CALC:LIM:LOW:STAT ON,(@102) /*Enable the lower limit alarm for channel 102*/
18. OUTP:ALAR1:SOUR (@102) /*Set the alarm channel to Alarm1 for channel 102*/
19. VOLT:DC:NPLC 100,(@102) /* Set the integration time to 100PLC for channel 102*/
20. INP:IMP:AUTO ON,(@102) /*Enable the input impedance function for channel 102*/
21. FUNC VOLT:AC,(@103,104) /*Configure the function to ACV for channels 103 and 104*/
22. VOLT:AC:RANG 20,(@103,104) /*Select the 20V range for channels 103 and 104*/
23. CALC:LIM:UPP 5,(@103,104) /*Set the alarm upper limit to 5V for channels 103 and 104*/
24. CALC:LIM:UPP:STAT ON,(@103,104) /*Enable the upper limit alarm for channels 103 and 104*/
25. OUTP:ALAR2:SOUR (@103,104) /*Set the alarm channel to Alarm2 for channels 103
and 104*/
26. VOLT:AC:BAND 3,(@103,104) /*Select the 3Hz AC filter for channels 103 and 104*/
27. FUNC RES,(@105) /*Configure the function to 2WR for channel 105*/
28. RES:RANG 1.0e8,(@105) /*Select the 100MΩ range for channel 105*/
29. CALC:SCAL:UNIT “k”,(@105) /*Set the unit of the scaling parameters to k for channel 105*/
30. CALC:SCAL:SQU 1.001,(@105) /*Set scaling parameter A to 1.001 for channel 105*/
31. CALC:SCAL:GAIN 1.1,(@105) /*Set scaling parameter B to 1.1 for channel 105*/
32. CALC:SCAL:OFFS 0.01,(@105) /*Set scaling parameter C to 0.01 for channel 105*/
33. CALC:SCAL:CONS 0.1,(@105) /*Set scaling parameter x1 to 0.1 for channel 105*/
34. CALC:SCAL:STAT ON,(@105 /*Enable the scaling function for channel 105*/
35. CALC:LIM:UPP 9e7,(@105) /*Set the alarm upper limit to 90 for channel 105*/
36. CALC:LIM:UPP:STAT ON,(@105) /*Enable the upper limit alarm for channel 105*/
37. OUTP:ALAR3:SOUR (@105) /*Set the alarm channel to Alarm3 for channel 105*/
38. RES:OCOM ON,(@105) /*Enable the offset compensation function for channel 105*/
39. FUNC TEMP,(@106) /*Configure the function to temperature for channel 106*/
40. TEMP:TRAN:TYPE FRTD,(@106) /*Set the temperature sensor type to FRTD for channel 106*/