SYSTem:COMMunicate :SERial[n] [:RECeive] :BITS

:COMMunicate

SYSTem:COMMunicate:SERial[n][:RECeive]:BITS < bits>

Sets the number

:SERial[n] [:RECeive]

of bits to be used to transmit and receive data.

 

 

:BITS

 

 

 

 

 

Parameters

 

 

 

 

 

Parameter

Parameter

Range of

 

Default

 

Name

Type

Values

 

Units

 

 

 

 

 

 

 

bits

numeric

7 8 MIN MAX

 

none

 

 

 

 

 

Comments

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

 

error -222.

 

 

 

 

While this command operates independently of either the

… PARity:TYPE 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

 

 

 

 

DIAG:BOOT:COLD will set … BITS to 8.

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

*RST Condition: No change

Example

:COMMunicate :SERial[n] [:RECeive] :BITS?

Example

Configuring data width to 7 bits.

SYST:COMM:SER0:BITS 7

SYSTem:COMMunicate:SERial[n][:RECeive]:BITS? [MIN MAX] returns:

The current data width if no parameter is sent.

The maximum allowable setting if MAX is sent.

The minimum allowable setting if MIN is sent.

Querying the current data width.

 

SYST:COMM:SER0:BITS?

 

enter statement

statement enters 7 or 8

7-40 System Instrument Command Reference

Page 168
Image 168
Agilent Technologies E1301B, E1300B SYSTemCOMMunicate SERialn RECeive Bits, Example COMMunicate SERialn RECeive BITS?