RIGOL
DG900 Programming Guide
2-79
Example
:SOUR1:FUNC:RS232:BAUD 9600 /*Sets the RS232 baud rate of CH1 to 9600.*/
:SOUR1:FUNC:RS232:BAUD? /*Queries the RS232 baud rate of CH1 and the query returns 9600.*/
[:SOURce[<n>]]:FUNCtion:RS232:CHECKBit
Syntax
[:SOURce[<n>]]:FUNCtion:RS232:CHECKBit {NONE|ODD|EVEN}
[:SOURce[<n>]]:FUNCtion:RS232:CHECKBit?
Description
Sets the RS232 check bit of the specified channel.
Queries the RS232 check bit of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
{NONE|ODD|EVEN}
Discrete
NONE|ODD|EVEN
NONE
Remarks
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
Return Format
The query returns NONE, ODD or EVEN.
Example
:SOUR1:FUNC:RS232:CHECKB ODD /*Sets the RS232 check bit of CH1 to ODD.*/
:SOUR1:FUNC:RS232:CHECKB? /*Queries the RS232 check bit of CH1 and the query returns ODD.*/
[:SOURce[<n>]]:FUNCtion:RS232:DATA
Syntax
[:SOURce[<n>]]:FUNCtion:RS232:DATA {<value>|MINimum|MAXimum}
[:SOURce[<n>]]:FUNCtion:RS232:DATA?
Description
Sets the RS232 data of the specified channel.
Queries the RS232 data of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
<value>
Integer
0 to 255
0
Remarks
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
Return Format
The query returns the RS232 data in integer.
Example
:SOUR1:FUNC:RS232:DATA 255 /*Sets the RS232 data of CH1 to255.*/
:SOUR1:FUNC:RS232:DATA? /*Queries the RS232 data of CH1 and the query returns 255.*/
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: ......