System:communicate:serial[:Receive]:Bits <Bits> System:communicate:serial[:Receive]:Bits - HP E8402A User And Service Manual

Vxi c-size mainframe
Table of Contents

Advertisement

SYSTem:COMMunicate:SERial[:RECeive]:BITS < bits >
SYSTem:COMMunicate:SERial[:RECeive]:BITS?
Parameters
Returned Data
Comments
Error Conditions
Reset Condition
138 Programming the Enhanced Monitor
SYSTem:COMMunicate:SERial[:RECeive]:BITS
transmit and receive data. Valid parameters are 7, 8, MIN, MAX, and DEF. Default
is 8.
SYSTem:COMMunicate:SERial[:RECeive]:BITS?
the number of bits for RS-232 communication.
Name
Type
Range of Values Default
< bits > numeric
7, 8
enum.
MIN|MAX|DEF
Type Range
int16
7, 8
Bits for RS-232 communications.
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:
...BITS
...PARity < type >
7
7
7
7
8
8
8
8
The following table lists the most common error conditions and causes. Error
numbers and corresponding messages can be found using
Number
Message
-222
"Data out of range"
*RST resets Bits to the last value saved by the SYST:NVS command.
8
Bits for RS-232 communications.
Description
NONE
NONE
ODD/EVEN
ODD/EVEN
NONE
NONE
ODD/EVEN
ODD/EVEN
You tried to set a disallowed combination of Bits,
Parity, and Stop Bits.
sets the number of bits used to
returns an integer representing
Description
...SBITs
Frame Bits
1
disallowed
2
10
1
10
2
11
1
10
2
11
1
11
2
disallowed
SYSTem:ERRor?
Probable Cause
query.
Chapter 3

Advertisement

Table of Contents
loading

This manual is also suitable for:

E8404a

Table of Contents