Keithley SourceMeter 2600 Series Reference Manual page 317

Table of Contents

Advertisement

Series 2600 System SourceMeters Reference Manual
exit function
This function is used to terminate a script that is presently running.
exit
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
Also see
"System
format attributes
The format attributes are used to configure the output formats used by the
and
printbuffer
ASCII precision (number of digits) and binary byte order (normal or swapped).
format.asciiprecision
Attribute
The precision (number of digits) for all numbers printed with the ASCII format.
Usage
precision = format.asciiprecision
format.asciiprecision = precision
precision
• This attribute selects the precision (number of digits) for data printed with the
Remarks
printnumber
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 (
Also see
format.byteorder, format.data, printbuffer,
Example
Sets the ASCII precision to 7 digits and prints a number:
format.asciiprecision = 7
print(2.5)
Output: 2.500000E+00
function prior to calling
behavior, Abort" on
page 9-7
functions. These attributes are used to set the data format (ASCII or binary),
Set from 1 to 16.
and
printbuffer
) precision is 6.
reset
Return to
Instrument Control Library 12-43
.
exit
-- Reads precision.
-- Writes precision.
functions. The precision attribute is only used with
printnumber
Section 12 topics
2600S-901-01 Rev. A / May 2006
printnumber
,
print

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents