Model 2601B-PULSE System SourceMeter Instrument Reference Manual Section 2: Installation
2601B-PULSE-901-01A April 2020 2-33
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 2-34))
â–ª BITS: Set number of bits (see Data bits and parity (on page 2-34))
â–ª PARITY: Set parity
â–ª FLOW-CTRL: Set Flow control and signal handshaking (on page 2-34)
â–ª 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. See the TSP command
reference (on page 11-1) for more information.
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 will be 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
Sending and receiving data
The RS-232 interface transfers data using 7 or 8 data bits; 1 stop bit; and no, even, or odd parity.
Make sure the device you connect to the 2601B-PULSE also uses the same settings.