
138
Programming the Enhanced Monitor
Chapter 3
SYSTem:COMMunicate:SERial[:RECeive]:BITS <
bits
>
SYSTem:COMMunicate:SERial[:RECeive]:BITS?
SYSTem:COMMunicate:SERial[:RECeive]:BITS
sets the number of bits used to
transmit and receive data. Valid parameters are 7, 8, MIN, MAX, and DEF. Default
is 8.
SYSTem:COMMunicate:SERial[:RECeive]:BITS?
returns an integer representing
the number of bits for RS-232 communication.
Parameters
Returned Data
Comments
•
When used with :BITS, the MIN parameter sets the number of data bits to the
minimum value, 7. When used with :BITS? it returns the minimum value of 7
but does not change the actual number of data bits used. Likewise, MAX sets
or returns the maximum number of bits (8), and DEF sets/returns the default
number of data bits, 8.
•
While this command operates independently of either the ...PARity <type> and
...SBITs commands, there are combinations which are not allowed because of
their data frame bit width. The following table shows the possible
combinations:
Error Conditions
The following table lists the most common error conditions and causes. Error
numbers and corresponding messages can be found using
SYSTem:ERRor?
query.
Reset Condition
*RST resets Bits to the last value saved by the SYST:NVS command.
Name
Type
Range of Values
Default
Description
<
bits>
numeric
enum.
7, 8
MIN|MAX|DEF
8
Bits for RS-232 communications.
Type
Range
Description
int16
7, 8
Bits for RS-232 communications.
...BITS
...PARity <
type>
...SBITs
Frame Bits
7
NONE
1
disallowed
7
NONE
2
10
7
ODD/EVEN
1
10
7
ODD/EVEN
2
11
8
NONE
1
10
8
NONE
2
11
8
ODD/EVEN
1
11
8
ODD/EVEN
2
disallowed
Number
Message
Probable Cause
-222
“Data out of range”
You tried to set a disallowed combination of Bits,
Parity, and Stop Bits.
Summary of Contents for E8402A
Page 8: ...10 Contents ...
Page 12: ...14 Notes ...
Page 14: ......
Page 26: ...28 Getting Started Chapter 1 ...
Page 42: ...44 Using the Enhanced Monitor Chapter 2 ...
Page 214: ...216 Servicing Your Mainframe Chapter 5 ...
Page 226: ...228 HP E8402 E8404A Product Specifications Appendix A ...