Specifications
RIGOL Chapter 3 Application Examples
3-14 M300 Programming Guide
Copy
Conditions
MC3132 module in Slot1
MC3132 module in Slot2
MC3164 module in Slot3
MC3164 module in Slot4
MC3065 module in Slot5
Channel Copy
Requirements
Use the SCPI commands to realize the following functions:
Channel copy: copy the source channel configuration to the destination channels. The source channel
configuration and the destination channels are as follows.
Sourse Channel Configuration
Destination Channel
Channel
Parameter
101
Function: VOLT:DC;
Range: 20V;
Integration time: 100PLC;
Alarm upper limit: 15V;
Alarm channel: Alarm1
105:109,201:203
1. *IDN? /*Query the ID string of M300 to check whether the remote communication is
normal*/
2. CONF:VOLT:DC 20,7e-7,(@101) /*Configure channel 101 to the DCV measurement function with 20V
range and 100PLC integration time; overwrite the current scan list*/
3. CALC:LIM:UPP 15,(@101) /*Set the alarm upper limit to 15V for channel 101*/
4. CALC:LIM:UPP:STAT ON,(@101) /*Enable the upper limit alarm for channel 101*/
5. OUTP:ALAR1:SOUR (@101) /*Set the alarm channel to Alarm1 for channel 101*/
6. CONF:COPY:CH:CH (@101),(@105:109,201:203) /*Copy the configuration of channel 101 to channels
105, 106, 107, 108, 109, 201, 202 and 203.*/
Extended Copy
Requirements
Use the SCPI commands to realize the following functions:
Extended copy: copy the source channel configuration to all the channels of the destination module. The
source channel configuration and the destination module are as follows.
Sourse Channel Configuration
Destination module
Channel
Parameter
101
Function: VOLT:DC;
Range: 20V;
Integration time: 100PLC;
Alarm upper limit: 15V;
Alarm channel: Alarm1
MC3132 in Slot2
1. *IDN? /*Query the ID string of M300 to check whether the remote communication is
normal*/
2. CONF:VOLT:DC 20,7e-7,(@101) /*Configure channel 101 to the DCV measurement function with 20V
range and 100PLC integration time; overwrite the current scan list*/
3. CALC:LIM:UPP 15,(@10) /*Set the alarm upper limit to 15V for channel 101*/
4. CALC:LIM:UPP:STAT ON,(@101) /*Enable the upper limit alarm for channel 101*/
5. OUTP:ALAR1:SOUR (@101) /*Set the alarm channel to Alarm1 for channel 101*/
6. CONF:COPY:CH:SLOT (@101),200 /*Copy the configuration of channel 101 to all the channels of
Slot2*/