System:communicate:rs232:databit, System:communicate:rs232:flowcrl, System:communicate:rs232:paritybit – RIGOL DP832A User Manual
Page 141: System:communicate:rs232:databit -117, System:communicate:rs232:flowcrl -117, System:communicate:rs232:paritybit -117
RIGOL
DP800 Programming Guide
2-117
:SYSTem:COMMunicate:RS232:DATABit
Syntax
:SYSTem:COMMunicate:RS232:DATABit {5|6|7|8}
:SYSTem:COMMunicate:RS232:DATABit?
Description
Set the data bit of the RS232 interface.
Query the data bit of the RS232 interface.
Parameter
Name
Type
Range
Default
{5|6|7|8}
Discrete
5|6|7|8
8
Return Format
The query returns 5, 6, 7 or 8.
Example
:SYST:COMM:RS232:DATAB 8 /*Set the data bit of the RS232 interface to 8*/
:SYST:COMM:RS232:DATAB? /*Query the data bit of the RS232 interface and the
query returns 8*/
:SYSTem:COMMunicate:RS232:FLOWCrl
Syntax
:SYSTem:COMMunicate:RS232:FLOWCrl {ON|OFF}
:SYSTem:COMMunicate:RS232:FLOWCrl?
Description
Enable or disable the hardware flow control.
Query the status of the hardware flow control.
Parameter
Name
Type
Range
Default
{ON|OFF}
Bool
ON|OFF
OFF
Explanation
This power supply uses RTS/CTS hardware flow control mode. The instrument
monitors the status of the CTS pin. When the status is "True", the instrument sends
data; when the status is "False", the instrument stops sending data. The instrument
sets the CTS pin to "False" when the input buffer area is almost full and sets the CTS
pin to "True" when the input buffer area is available again.
Return Format
The query returns ON or OFF.
Example
:SYST:COMM:RS232:FLOWC ON /*Enable the hardware flow control*/
:SYST:COMM:RS232:FLOWC? /*Query the status of the hardware flow control
and the query returns ON*/
:SYSTem:COMMunicate:RS232:PARItybit
Syntax
:SYSTem:COMMunicate:RS232:PARItybit {NONE|ODD|EVEN}
:SYSTem:COMMunicate:RS232:PARItybit?
Description
Set the parity mode.
Query the current parity mode.
Parameter
Name
Type
Range
Default
{NONE|ODD|EVEN}
Discrete
NONE|ODD|EVEN
NONE
Explanation
NONE, ODD and EVEN represent to set the parity mode to "None", "Odd" and
"Even" respectively.
Return Format
The query returns NONE, ODD or EVEN.
Example
:SYST:COMM:RS232:PARI ODD /*Set the parity mode to odd*/
:SYST:COMM:RS232:PARI? /*Query the current parity mode and the query
returns ODD*/