Section 8: Instrument programming Series 2600B System SourceMeter® instrument Reference Manual
8-60 2600BS-901-01 Rev. F/August 2021
RS-232 interface operation
The following topics contain information about configuring RS-232 communication parameters,
sending or receiving command messages, and requesting or retrieving data. To control the 2600B,
connect a controller or personal computer to the 2600B RS-232 interface. Alternatively, you can use
the 2600B to control another device over RS-232.
Setting RS-232 interface parameters
To set interface parameters from the front panel:
1. Press the MENU key, select RS232, and then press the ENTER key or the navigation wheel.
2. Select and enter the following interface parameters:
â–ª BAUD: Set baud rate (see Baud rate (on page 8-61))
â–ª BITS: Set number of bits (see Data bits and parity (on page 8-61))
â–ª PARITY: Set parity
â–ª FLOW-CTRL: Set Flow control and signal handshaking (on page 8-61)
â–ª ENABLE: Enable or disable the RS-232 interface
3. Press the EXIT (LOCAL) key twice to return to the normal display.
Remote RS-232 parameters
Commands to set RS-232 parameters are listed in the following table.
RS-232 interface commands
Set baud rate (300, 600, 1200, 2400, 4800, 9600, 19200,
38400, 57600, 115200)
Set number of bits (7 or 8)
serial.flowcontrol = flow
Set flow control:
serial.FLOW_NONE (no flow control)
serial.FLOW_HARDWARE (hardware flow control)
Set parity:
serial.PARITY_NONE (no parity)
serial.PARITY_EVEN (even parity)
serial.PARITY_ODD (odd parity)
Changes to a serial port setting take effect when the command is processed. Any response
messages generated after the commands are processed are sent with the new settings. If command
messages are being queued (sent before the commands have executed), the new settings may take
effect in the middle of a subsequent command message, so be careful when setting these attributes
from the RS-232 interface.
RS-232 programming example
The programming example below illustrates how to set the baud rate to 9600 with no flow control:
serial.baud = 9600
serial.flowcontrol = serial.FLOW_NONE