Specifications

RIGOL Chapter 3 Application Examples
3-16 M300 Programming Guide
To Output Digital Signal
Conditions
MC3534 module in Slot3
Requirements
Use the SCPI commands to realize the following functions:
Configure channels 301 and 302 as an 8-bit output terminal to output 121; set the level type to COMS5.
Configure channel 303 as a 16-bit output terminal to output 25; set the level type to USER, the level value
to 4.5V and the level threshold to 2V.
1. *IDN? /*Query the ID string of M300 to check whether the remote communication is
normal*/
2. DIG:TYPE CMOS5,(@301,302) /*Set the level type to CMOS5V for channels 301 and 302*/
3. DIG:TYPE USER,(@303) /*Set the level type to USER for channel 303*/
4. DIG:LEV 4.5,(@303) /*Set the voltage level value to 4.5V for channel 303*/
5. DIG:THR 2,(@303) /*Set the voltage threshold to 2V for channel 303*/
6. SOUR:DIG:DATA:BYTE 121,(@301,302) /*Configure channels 301 and 302 as an 8-bit output
terminal to output 121*/
7. SOUR:DIG:DATA:BYTE 25,(@303) /*Configure channel 303 as a 16-bit output terminal to output 25*/
To Output Analog Voltage
Conditions
MC3534 module in Slot3
Requirements
Use the SCPI commands to realize the following functions:
Configure channels 309 and 310 to output +3.3 voltage.
Configure channels 311 and 312 to output -3.3 voltage.
1. *IDN? /*Query the ID string of M300 to check whether the remote communication is
normal*/
2. SOUR:VOLT 3.3,(@309:310) /*Set the output voltage to 3.3V for channels 309 and 310*/
3. SOUR:VOLT -3.3,(@311,312) /*Set the output voltage to -3.3V for channels 311 and 312*/