
Programming the Enhanced Monitor
141
Chapter 3
SYSTem:COMMunicate:SERial[:RECeive]:SBITs <
bits
>
SYSTem:COMMunicate:SERial[:RECeive]:SBITs? [MIN|MAX|DEF]
SYSTem:COMMunicate:SERial[:RECeive]:SBITs
sets the number of stop bits for
RS-232 communication. Valid parameters are 1 or 2. Default is 1 stop bit.
SYSTem:COMMunicate:SERial[:RECeive]:SBITs?
returns an integer (1 or 2)
representing the number of stop bits for RS-232 communication.
Parameters
Returned Data
Comments
•
When used with :SBITs, the MIN parameter sets the number of data bits to the
minimum value, 1. When used with :SBITs? it returns the minimum value of 2
but does not change the actual number of data bits used. Likewise, MAX sets
or returns the maximum number of stop bits (2), and DEF sets/returns the
default number of data bits, 1.
•
While this command operates independently of either the ...BITs and ...PARity
<type> 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 sbits to the last value saved by the SYST:NVS command.
Name
Type
Range of Values
Default
Description
<
bits>
numeric
enum.
1, 2
MIN|MAX|DEF
1
Number of Stop Bits.
Type
Range
Description
int16
1, 2
Number of Stop Bits.
...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 ...