SYSTem:COMMunicate :SERial[n] [:RECeive] :PARity [:TYPE]?

:COMMunicate

 

SYSTem:COMMunicate:SERial[ n] [ :RECeive] :PARity[ :TYPE] ? returns the

:SERial[n] [:RECeive]

 

type of parity checked and generated.

 

 

 

 

:PARity [:TYPE]?

 

 

 

 

 

 

 

 

Example What type of parity checking is set?

 

 

 

 

 

 

SYST:COMM:SER0:PAR?

ask for parity type

 

 

enter statement

returns the string EVEN, ODD,

 

 

 

 

 

Z ERO, ONE, or NONE

:COMMunicate

 

 

 

 

 

 

 

 

SYSTem:COMMunicate:SERial[n][:RECeive]:SBITs < sbits>

Sets the

:SERial[n] [:RECeive]

 

number of stop bits to be used to transmit and receive data.

 

 

 

:SBITs

 

 

 

 

 

 

 

 

Parameters

 

 

 

 

 

 

 

 

 

Parameter

Parameter

 

Range of

 

Default

 

 

 

Name

Type

 

Values

 

Units

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

sbits

numeric

 

1 2 MIN MAX

 

none

 

Comments

 

• Attempting to set sbits to other than those values shown will result in an

 

 

error -222.

 

 

 

 

 

 

While this command operates independently of either the … BITS or … PARity:TYPE commands, there are two combinations which are disallowed because of their data frame bit width. The following table shows the possible combinations:

BITS

PARity:TYPE

SBITs

Frame Bits

7

NONE

1

9 - disallowed

7

NONE

2

10

 

 

 

 

7

Yes

1

10

 

 

 

 

7

Yes

2

11

 

 

 

 

8

NONE

1

10

 

 

 

 

8

NONE

2

11

 

 

 

 

8

Yes

1

11

 

 

 

 

8

Yes

2

12 - disallowed

 

 

 

 

DIAG:BOOT:COLD will set … SBITs to 1.

Related Commands: SYST:COMM:SER[n]:BAUD

*RST Condition: No change

Example Configuring for 2 stop bits.

SYST:COMM:SER0:SBITS 2

7-46 System Instrument Command Reference

Page 174
Image 174
Agilent Technologies E1301B SBITs, SYSTemCOMMunicate SERialn RECeive PARity TYPE?, SYSTCOMMSER0PAR?, SYSTCOMMSER0SBITS