Exit Function; Format Attributes - Keithley 3700 series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Series 3700 System Switch/Multimeter Reference Manual

exit function

Use this function to terminate a script that is presently running.
exit
Function
Usage
Remarks

format attributes

Use the format attributes to configure the output formats used by the printnumber and printbuffer
functions. These attributes can set the data format (ASCII or binary), ASCII precision (number of
digits) and binary byte order (normal or swapped).
format.asciiprecision
Attribute
Usage
Remarks
Also see
Document Number: 3700S-901-01 Rev. A / August 2007
Stops execution of a script.
exit()
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
(on page 9-222)function prior to calling exit.
The precision (number of digits) for all numbers printed with the ASCII format.
To read precision:
precision = format.asciiprecision
To write precision:
format.asciiprecision = precision
precision: Set from 1 to 16. Default value: 10.
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 and reset precision is 10.
Overflow readings (9.9E+37) may not appear as expected when ASCII precision is
set to 1 or 16 (the extreme values).
format.byteorder
(on page 9-128)
format.data
(on page 9-128)
printbuffer
(on page 9-155)
printnumber
Section 9: Instrument Control Library (ICL)
9-127

Advertisement

Table of Contents
loading

Table of Contents