Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012
7-169
serial.databits
This attribute configures character width (data bits) for the RS-232 port.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
Nonvolatile memory
8
Usage
bits
= serial.databits
serial.databits =
bits
bits
An integer representing the character width (7 or 8)
Details
A new data width setting takes effect when the command to change it is processed.
Allow ample time for the command to be processed before attempting to communicate with the
instrument again. If possible, set the character width from one of the other command interfaces or
from the front panel.
The reset function has no effect on data bits.
Example
serial.databits = 8
Sets data width to 8.
Also see
(on page 2-88)
(on page 7-169)
serial.flowcontrol
This attribute configures flow control for the RS-232 port.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
Nonvolatile memory
"none" (serial.FLOW_NONE)
Usage
flow
= serial.flowcontrol
serial.flowcontrol =
flow
flow
A string representing flow control configuration; set to:
•
"none"
or
serial.FLOW_NONE
(selects no flow control)
•
"hardware"
or
serial.FLOW_HARDWARE
(selects hardware flow control)
NOTE
Summary of Contents for 2657A
Page 3: ......