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

The following table defines each value of type:

Value

Definition

 

 

EVEN

If … PARity:CHECK is ON, the received parity bit

 

must maintain even parity. The transmitted parity

 

bit will maintain even parity.

 

 

ODD

If … PARity:CHECK is ON, the received parity bit

 

must maintain odd parity. The transmitted parity

 

bit will maintain odd parity.

 

 

ZERO

If … PARity:CHECK is ON, the received parity bit

 

must be a zero. The transmitted parity bit will be a

 

zero.

 

 

ONE

If … PARity:CHECK is ON, the received parity bit

 

must be a logic one. The transmitted parity bit will

 

be a logic one.

 

 

NONE

A parity bit must not be received in the serial data

 

frame. No parity bit will be transmitted.

 

 

While this command operates independently of either the … BITS or … SBITs 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

 

 

 

 

Received parity will not be checked unless … PAR:CHEC ON is has been sent. Transmitted data will include the specified parity whether

PAR:CHEC is ON or OFF.

DIAG:BOOT:COLD will set … PARity to NONE .

Related Commands: … PAR:CHEC 1 0 ON OFF,

SER[n]:BITS 7 8, … SER[n]:SBITs 1 2

*RST Condition: No change

Example Set parity check/generation to ODD.

 

SYST:COMM:SER0:PAR ODD

Set parity type

SYST:COMM:SER0:PAR:CHEC ON

Enable parity check/gen.

System Instrument Command Reference 7-45

Page 173
Image 173
Agilent Technologies 75000 SERIES B, E1301B, E1300B SYSTem COMMunicate SERialn RECeive PARity Type, SYSTCOMMSER0PAR ODD