Serial.baud - Keithley 2601B Reference Manual

2600b series system sourcemeter instrument
Hide thumbs Also See for 2601B:
Table of Contents

Advertisement

Series 2600B System SourceMeter® Instrument Reference Manual
Details
The loadscript or loadandrunscript and endscript keywords are not included in the source code.
The body of the script is a single string with lines separated by the new line character.
The instrument automatically stores the source for all scripts that are loaded on the instrument. To free up
memory or to obfuscate the code, assign nil to the source attribute of the script. Although this attribute is
writable, it can only be set to the nil value.
Example
test7 = script.new("display.clear() display.settext('Hello from my test')", "")
print(test7.source)
This example creates a script called "test7" that displays a message on the front panel and retrieves the
source code.
Output:
display.clear() display.settext('Hello from my test')
Also see
scriptVar.list()

serial.baud

This attribute configures the baud rate for the RS-232 port.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
baud = serial.baud
serial.baud = baud
baud
Details
A new baud rate 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 baud rate from one of the other command interfaces or from the
front panel.
The reset function has no effect on data bits.
Example
serial.baud = 1200
Also see
RS-232 interface operation
serial.databits
serial.flowcontrol
serial.parity
2600BS-901-01 Rev. B / May 2013
(on page 7-169)
Affected by
Not applicable
The baud rate (300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600 or
115200)
(on page 2-108)
(on page 7-174)
(on page 7-174)
(on page 7-175)
Section 7: TSP command reference
Where saved
Default value
Nonvolatile memory
9600
Sets the baud rate to 1200.
7-173

Advertisement

Table of Contents
loading

This manual is also suitable for:

2604b2614b2634b2635b2636b2602b ... Show all

Table of Contents