EasyManuals Logo
Home>Keithley>Measuring Instruments>2651A

Keithley 2651A Reference Manual

Keithley 2651A
800 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
Page #471 background imageLoading...
Page #471 background image
Model 2651A High Power System SourceMeter® Instrument Reference Manual Section 7: Command reference
2651A-901-01 Rev. A / March 2011 7-163
Usage
code = scriptVar.source
scriptVar.source = nil
scriptVar
The name of the variable that references the script that contains the source code
code
The body of the script
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 keeps the source for all scripts 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
print(test1.source)
Gets source code for a script named test1.
Also see
scriptVar.list() (on page 7-160)
serial.baud
This attribute configures the baud rate for the RS-232 port.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes Not applicable Nonvolatile memory 9600
Usage
baud = serial.baud
serial.baud = baud
baud
The baud rate (300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600 or
115200)
Details
A new baud rate setting takes effect when the command to change it is processed.
NOTE
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
Sets the baud rate to 1200.

Table of Contents

Other manuals for Keithley 2651A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2651A and is the answer not in the manual?

Keithley 2651A Specifications

General IconGeneral
BrandKeithley
Model2651A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals