System:communicate:rs232:stopbit, System:contrast, System:error – RIGOL DP832A User Manual

Page 142: System:communicate:rs232:stopbit -118, System:contrast -118, System:error? -118

Advertising
background image

RIGOL

Chapter 2 Command System

2-118

DP800 Programming Guide

:SYSTem:COMMunicate:RS232:STOPBit

Syntax

:SYSTem:COMMunicate:RS232:STOPBit {1|2}
:SYSTem:COMMunicate:RS232:STOPBit?

Description

Set the stop bit.
Query the current stop bit.

Parameter

Name

Type

Range

Default

{1|2}

Discrete

1|2

1

Return Format

The query returns 1 or 2.

Example

:SYST:COMM:RS232:STOPB 2 /*Set the stop bit to 2*/
:SYST:COMM:RS232:STOPB? /*Query the current stop bit and the query

returns 2*/

:SYSTem:CONTrast

Syntax

:SYSTem:CONTrast {<value>|MINimum|MAXimum}
:SYSTem:CONTrast? [{MINimum|MAXimum}]

Description

Set the contrast of the screen.
Query the contrast of the screen.

Parameter

Name

Type

Range

Default

<value>

Integer

1 to 100

25 (factory setting)

Return Format

The query returns an integer, for example, 50.

Example

:SYST:CONT 50 /*Set the contrast of the screen to 50%*/
:SYST:CONT? /*Query the contrast of the screen and the query returns 50*/

:SYSTem:ERRor?

Syntax

:SYSTem:ERRor?

Description

Query and clear the error messages in the error queue.

Explanation

You can also send the

*RST

command to restore the instrument to the factory state

(refer to "Appendix B: Factory Setting") and clear the error queue.

Return Format

The query returns the number and content of the error message, for example,

-113,"Undefined header; keyword cannot be found".

Related

Command

*RST

Advertising
This manual is related to the following products: