![Keithley SourceMeter 2600B Series Reference Manual Download Page 529](http://html2.mh-extra.com/html/keithley/sourcemeter-2600b-series/sourcemeter-2600b-series_reference-manual_4085220529.webp)
Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-190
2600BS-901-01 Rev. C / August 2016
Usage
parity
= serial.parity
serial.parity =
parity
parity
Set parity to one of the following values:
•
Select no parity
("none"
or
serial.PARITY_NONE)
•
Select even parity (
"even"
or
serial.PARITY_EVEN)
•
Select odd parity (
"odd"
or
serial.PARITY_ODD)
Details
A new parity 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 parity from one of the other command interfaces or from the front
panel.
The reset function has no effect on parity.
Example
serial.parity = serial.PARITY_NONE
Sets parity to
none
.
Also see
(on page 7-187)
(on page 7-189)
serial.read()
This function reads available characters (data) from the serial port.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
data
= serial.read(
maxchars
)
data
A string that consists of all data read from the serial port
maxchars
An integer that specifies the maximum number of characters to read