Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-174
2600BS-901-01 Rev. B / May 2013
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
RS-232 interface operation
(on page 2-108)
serial.baud
(on page 7-173)
serial.flowcontrol
(on page 7-174)
serial.parity
(on page 7-175)
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)
Summary of Contents for System SourceMeter 2601B
Page 841: ......