12-46 Return to Section Topics 2600S-901-01 Rev. C / January 2008
Section 12: Instrument Control Library Series 2600 System SourceMeter® Instruments Reference Manual
serial.databits
Attribute Character width (data bits) for the RS-232 port.
Usage bits = serial.databits -- Reads data width.
serial.databits = bits -- Writes data width.
bits Set to 7 or 8.
Remarks • A new data width setting takes effect when the command to change it is processed.
• The user should allow ample time for the command to be processed before attempting to
communicate with the instrument again. It is recommended that the data width be set
from the GPIB interface or from the front panel.
• The data bits value is stored in non-volatile memory. The reset function has no effect on
data bits.
Details See “RS-232 interface operation” in Section 11.
Also see serial.baud, serial.flowcontrol, serial.parity
Example Sets data width to 8:
serial.databits = 8
serial.flowcontrol
Attribute Flow control for the RS-232 port.
Usage flow = serial.flowcontrol -- Reads flow control.
serial.flowcontrol = flow -- Writes flow control.
Set flow to one of the following values:
"none" or serial.FLOW_NONE Selects no flow control.
"hardware" or serial.FLOW_HARDWARE Selects hardware flow control.
Remarks • A new flow control setting takes effect when the command to change it is processed.
• The user should allow ample time for the command to be processed before attempting to
communicate with the instrument again. It is recommended that the flow control be set
from the GPIB interface or from the front panel.
• The flow control value is stored in non-volatile memory. The reset function has no effect
on flow control.
Details See “RS-232 interface operation” in Section 11.
Also see serial.baud, serial.databits, serial.parity
Example Sets flow control to none:
serial.flowcontrol = serial.FLOW_NONE