EasyManuals Logo

Keithley SourceMeter 2602 Reference Manual

Keithley SourceMeter 2602
594 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 #317 background imageLoading...
Page #317 background image
Series 2600 System SourceMeters Reference Manual Instrument Control Library 12-43
Return to Section 12 topics 2600S-901-01 Rev. A / May 2006
exit function
This function is used to terminate a script that is presently running.
Function Stops execution of a script.
Usage
exit()
Remarks Terminates script execution when called from a script that is being executed.
This command will not wait for overlapped commands to complete before terminating
script execution. If overlapped commands are required to finish, use the
waitcomplete function prior to calling exit.
Also see System behavior, Abort” on page 9-7
format attributes
The format attributes are used to configure the output formats used by the printnumber
and
printbuffer functions. These attributes are used to set the data format (ASCII or binary),
ASCII precision (number of digits) and binary byte order (normal or swapped).
exit
format.asciiprecision
Attribute The precision (number of digits) for all numbers printed with the ASCII format.
Usage
precision = format.asciiprecision -- Reads precision.
format.asciiprecision = precision -- Writes precision.
precision Set from 1 to 16.
Remarks
This attribute selects the precision (number of digits) for data printed with the print,
printnumber and printbuffer functions. The precision attribute is only used with
the ASCII format. The precision must be a number between 1 and 16.
Note that the precision is the number of significant digits printed. There will always
be one digit to the left of the decimal point. Be sure to include this digit when setting
the precision.
The default (reset) precision is 6.
Also see format.byteorder, format.data, printbuffer, printnumber
Example
Sets the ASCII precision to 7 digits and prints a number:
format.asciiprecision = 7
print(2.5)
Output: 2.500000E+00

Table of Contents

Other manuals for Keithley SourceMeter 2602

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley SourceMeter 2602 and is the answer not in the manual?

Keithley SourceMeter 2602 Specifications

General IconGeneral
BrandKeithley
ModelSourceMeter 2602
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals