:COMMunicate
:SERial[n] [:RECeive]
:BITS
SYSTem:COMMunicate:SERial[n][:RECeive]:BITS < bits> Sets the number
of bits to be used to transmit and receive data.
Parameters Parameter
Name
Parameter
Type
Range of
Values
Default
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
7NONE2 10
7Yes110
7Yes211
8NONE1 10
8NONE2 11
8Yes111
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 Configuring data width to 7 bits.
SYST:COMM:SER0:BITS 7
:COMMunicate
:SERial[n] [:RECeive]
:BITS?
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.
Example Querying the current data width.
SYST:COMM:SER0:BITS?
enter statement statement enters 7 or 8
SYSTem:COMMunicate :SERial[n] [:RECeive] :BITS
7-40 System Instrument Command Reference