RIGOL Chapter 2 Command System
2-18 MSO7000/DS7000 Programming Guide
:BUS<n>:RS232:BAUD
:BUS<n>:RS232:BAUD <baud>
:BUS<n>:RS232:BAUD?
Sets or queries the baud rate of data transmission in RS232 decoding.
If the baud rate is set to a value with "M", then "A" should be added at the end of the
value. For example, if you send 5 M, you need to send 5 MA.
The query returns an integer ranging from 1 bps to 20 Mbps.
:BUS1:RS232:BAUD 4800 /*Sets the baud rate of data transmission in RS232
decoding to 4800 bps.*/
:BUS1:RS232:BAUD? /*The query returns 4800.*/
:BUS<n>:RS232:DBITs
:BUS<n>:RS232:DBITs <bits>
:BUS<n>:RS232:DBITs?
Sets or queries the data width of RS232 decoding.
The query returns 5, 6, 7, 8, or 9.
:BUS1:RS232:DBITs 7 /*Sets the data width of RS232 decoding to 7.*/
:BUS1:RS232:DBITs? /*The query returns 7.*/
:BUS<n>:RS232:SBITs
:BUS<n>:RS232:SBITs <stop bits>
:BUS<n>:RS232:SBITs?
Sets or queries the stop bits of each frame of data in RS232 decoding.
The query returns 1, 1.5, or 2.
:BUS1:RS232:SBITs 2 /*Sets the stop bits of RS232 decoding to 2.*/
:BUS1:RS232:SBITs? /*The query returns 2.*/