EasyManua.ls Logo

Keithley 2600B - Serial.read()

Keithley 2600B
897 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
RS-232 interface operation (on page 2-108)
serial.baud (on page 7-187)
serial.databits (on page 7-188)
serial.flowcontrol (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

Table of Contents

Related product manuals