19-98
Return to
2600AS-901-01 Rev. B / September 2008
Section 19: Remote Commands
Series 2600A System SourceMeter® Instruments Reference Manual
serial
The functions and attributes in this group are used to configure the RS-232 Interface.
serial.baud
Attribute
Baud rate for the RS-232 port.
Default
9600
TSP-Link
accessibility
This attribute can be accessed from a remote TSP-Link node.
Usage
baud = serial.baud
-- Reads baud rate.
serial.baud = baud
-- Writes baud rate.
baud
Set to 300, 600, 1200, 2400, 4800, 9600, 19200, 38400,
57600 or 115200.
Remarks
• A new baud rate 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 baud rate be set from one of
the other command interfaces or from the front panel.
• The baud rate is stored in nonvolatile memory. The
reset
function has no effect on the baud
rate.
Details
See
Also see
,
Example
Sets the baud rate to 1200:
serial.baud = 1200
serial.databits
Attribute
Character width (data bits) for the RS-232 port.
Default
8
TSP-Link
accessibility
This attribute can be accessed from a remote TSP-Link node.
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 one of
the other command interfaces or from the front panel.
• The data bits value is stored in nonvolatile memory. The
reset
function has no effect on data
bits.
Details
See
Also see
Example
Sets data width to 8:
serial.databits = 8