Specifications
RIGOL Chapter 3 Application Examples
3-6 M300 Programming Guide
137. DIG:DATA:WORD? (@303) /*Configure the function to 16-bit DIN for channel 303*/
138. CALC:COMP:DATA 121,(@303) /* Set the alarm value to121 for channel 303*/
139. CALC:COMP:MASK 5,(@303) /* Set the alarm mask to 5 for channel 303*/
140. CALC:COMP:TYPE NEQ,(@303) /* Set the alarm mode to “not equal” for channel 303*/
141. CALC:COMP:STAT ON,(@303) /*Enable the alarm function for channel 303*/
142. OUTP:ALAR3:SOUR (@303) /*Set the alarm channel to Alarm3 for channel 303*/
143. DIG:TYPE USER,(@303) /*Set the level type to USER for channel 303*/
144. DIG:LEVel 5,(@303) /*Set the voltage level to 5V for channel 303*/
145. DIG:THReshold 3.5,(@303) /*Set the voltage threshold to 3.5V for channel 303*/
146. TOT:TYPE READ,(@305) /*Set the count mode to READ for channel 305*/
147. CALC:LIM:UPP 1000,(@305) /*Set the alarm upper limit to 1000 for channel 305*/
148. CALC:LIM:UPP:STAT ON,(@305) /*Enable the upper limit alarm for channel 305*/
149. OUTP:ALAR4:SOUR (@305) /*Set the alarm channel to Alarm4 for channel 305*/
150. TOT:SLOP NEG,(@305) /*Configure the trigger mode to falling edge trigger for channel 305*/
151. TOT:TYPE RRES,(@307) /*Set the count mode to RRESet for channel 307*/
152. TOT:SLOP POS,(@307) /*Configure the trigger mode to rising edge trigger for channel 307*/
153. TOT:THR 5,(@307) /*Set the threshold to 5V for channel 307*/
154. ROUT:SCAN (@101:115,119:124,201:206,301,303,305,307) /*Add the above channels to the
scan list*/
Method 2
1. *IDN? /*Query the ID string of M300 to check whether the
remote communication is normal*/
2. CONF:TEMP RTD,85,1,DEF,(@101) /*Configure the function to temperature and set the sensor
to RTD,85 for channel 101*/
3. TEMP:NPLC 10 /*Set the integration time to 10PLC for channel 101*/
4. TEMP:TRAN:RTD:RES:REF 50 /*Set R0 to 50Ω for channel 101*/
5. CONF:VOLT AUTO,MIN,(@102) /*Configure the function to DCV using the autoranging for channel
102 and reset the scan list */
6. CALC:SCAL:SQU 1.001 /*Set scaling parameter A to 1.001 for channel 102*/
7. CALC:SCAL:GAIN 1.1 /*Set scaling parameter B to 1.1 for channel 102*/
8. CALC:SCAL:OFFS 0.01 /*Set scaling parameter C to 0.01 for channel 102*/
9. CALC:SCAL:CONS 0.05 /*Set scaling parameter x1 to 0.05 for channel 102*/
10. CALC:SCAL:STAT ON /*Enable the scaling function for channel 102*/
11. CALC:LIM:UPP 10 /*Set the alarm upper limit to 10V for channel 102*/
12. CALC:LIM:UPP:STAT ON, /*Enable the upper limit alarm for channel 102 */
13. CALC:LIM:LOW 0.7 /*Set the alarm lower limit to 0.7V for channel 102*/
14. CALC:LIM:LOW:STAT ON /*Enable the lower limit alarm for channel 102*/
15. OUTP:ALAR1:SOUR (@102) /*Set the alarm channel to Alarm1 for channel 102*/
16. VOLT:DC:NPLC 100 /*Set the integration time to 100PLC for channel 102*/
17. INP:IMP:AUTO ON /*Enable the input impedance mode for channel 102*/
18. CONF:VOLT:AC 20,DEF,(@103,104) /*Configure the function to ACV using the 20V range for
channels 103 and 104 and reset the scan list*/
19. CALC:LIM:UPP 5 /*Set the alarm upper limit to 5V for channels 103 and 104*/
20. CALC:LIM:UPP:STAT ON /*Enable the upper limit alarm for channels 103 and 104*/
21. OUTP:ALAR2:SOUR (@103,104) /*Set the alarm channel to Alarm2 for channels 103 and 104*/
22. VOLT:AC:BAND 3 /*Select the 3Hz AC filter for channels 103 and 104*/
23. CONF:RES 100000000,DEF,(@105) /*Configure the function to 2WR using the 100MΩ range for
channel 105 and reset the scan list */
24. CALC:SCAL:UNIT “k” /*Set the unit of the scaling parameters to k for channel 105*/
25. CALC:SCAL:SQU 1.001 /*Set scaling parameter A to 1.001 for channel 105*/
26. CALC:SCAL:GAIN 1.1 /*Set scaling parameter B to 1.1 for channel 105*/