RIGOL
2-80
DG900 Programming Guide
[:SOURce[<n>]]:FUNCtion:RS232:DATABit
Syntax
[:SOURce[<n>]]:FUNCtion:RS232:DATABit {7|8}
[:SOURce[<n>]]:FUNCtion:RS232:DATABit?
Description
Sets the RS232 data bits of the specified channel.
Queries the RS232 data bits of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
{7|8}
Discrete
7|8
7
Remarks
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
Return Format
The query returns 7 or 8.
Example
:SOUR1:FUNC:RS232:DATAB 7 /*Sets the RS232 data bit of CH1 to 7.*/
:SOUR1:FUNC:RS232:DATAB? /*Queries the RS232 data bit of CH1 and the query returns 7.*/
[:SOURce[<n>]]:FUNCtion:RS232:STOPBit
Syntax
[:SOURce[<n>]]:FUNCtion:RS232:STOPBit {1|1.5|2}
[:SOURce[<n>]]:FUNCtion:RS232:STOPBit?
Description
Sets the RS232 stop bits of the specified channel.
Queries the RS232 stop bits of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
{1|1.5|2}
Discrete
1|1.5|2
1
Remarks
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
Return Format
The query returns 1, 1.5, or 2.
Example
:SOUR1:FUNC:RS232:STOPB 2 /*Sets the RS232 stop bit of CH1 to 2.*/
:SOUR1:FUNC:RS232:STOPB? /*Queries the RS232 stop bit of CH1 and the query returns 2.*/
Summary of Contents for DG952
Page 2: ......
Page 168: ......
Page 181: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 7 ...
Page 185: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 11 ...
Page 187: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 13 ...
Page 199: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 25 ...
Page 200: ......