Exit Function - Keithley 2601 Reference Manual

System sourcemeter 2600 series (smu)
Hide thumbs Also See for 2601:
Table of Contents

Advertisement

Section 12: Instrument Control Library
errorqueue.next
Function
Reads an entry from the error/event queue.
Usage
errorcode, message, severity, node = errorqueue.next()
errorcode
message
severity
node
Remarks
• Entries are stored in a first-in, first-out (FIFO) queue. This function reads the oldest entry
and removes it from the queue.
• Error codes and messages are listed in
• If there are no entries in the queue, code 0, "Queue Is Empty" is returned.
• Returned severity levels include the following:
Informational – Indicates no error: "Queue is Empty".
0
Informational – Indicates an event or a minor error. Examples: "Reading Available"
10
and "Reading Overflow".
20Recoverable – Indicates possible invalid user input. Operation will continue but
action should be taken to correct the error. Examples: "Exponent Too Large" and
"Numeric Data Not Allowed".
Serious – Indicates a serious error and may require technical assistance. Example:
30
"Saved calibration constants corrupted".
Fatal – Indicates that the Series 2600 is non-operational and will require service.
30
Contact information for service is provided in
AFPGA image size", "SMU is unresponsive" and "Communication Timeout with
DFPGA".
• In an expanded system, each TSP-Link enabled instrument is assigned a node number.
returns the node number where the error originated.
node
Details
See
Appendix B
Also see
errorqueue.clear,
Reads the oldest entry in the error/event queue:
Example
errorcode, message = errorqueue.next()
print(errorcode, message)
Output:
0.000000e+00 Queue Is Empty
The above output indicates that the queue is empty.

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 function prior to calling exit.
"System
Also see
format attributes
The format attributes are used to configure the output formats used by the
printbuffer
precision (number of digits) and binary byte order (normal or swapped).
format.asciiprecision
12-36
(error and status messages) and
errorqueue.count
behavior, Abort" in Section 9
functions. These attributes are used to set the data format (ASCII or binary), ASCII
Return to
Series 2600 System SourceMeter® Instruments Reference Manual
Returns the error code number for the entry.
Returns the message that describes the entry.
Returns the severity level (0, 10, 20, 30 or 40).
Returns the node number where the error
originated.
Table B-2
in Appendix B.
Section
1. Examples: "Bad SMU
Appendix D
(status model).
.
Section Topics
and
printnumber
2600S-901-01 Rev. C / January 2008

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

26362602261126122635

Table of Contents