How Do I Generate A Service Request; Setting Up A Service Request; Service Request Programming Example; Polling For Srqs - Keithley SourceMeter 2611 User Manual

Hide thumbs Also See for SourceMeter 2611:
Table of Contents

Advertisement

B-6
Frequently Asked Questions

How do I generate a service request?

Reference

Setting up a service request

The exact programming steps necessary to generate a GPIB service request
(SRQ) will vary somewhat depending on the event(s) intended to generate the
SRQ. In general, the steps used will be as follows:

Service request programming example

The example below shows how to program the SourceMeter to generate an SRQ
when the current limit on Channel A is exceeded.
status.reset()
status.measurement.current_limit.enable
= status.measurement.current_limit.SMUA
status.measurement.enable =
status.measurement.ILMT
status.request_enable = status.MSB

Polling for SRQs

To determine if the SourceMeter is the GPIB device that generated the SRQ,
simply serial poll the unit for the status byte, and test to see if the corresponding
summary bit or bits are set. For example, the following commands request the
status byte and prints the result:
status_byte = status.condition
print(status_byte)
2600S-900-01 Rev. A / May 2006
Refer to "Status byte and service request (SRQ)" and additional
information in Appendix D of the Series 2600 Reference Manual for
status model and service request details.
Clear all status registers to prevent anomalous events from generating an
SRQ.
Set bits in the appropriate operation: questionable, measurement enable,
or transition register(s).
Set the proper summary bit in the service request enable register. At least
one bit in this register must always be set, but the exact bit(s) to be set will
depend on the desired SRQ event(s).
Return to
Series 2600 System SourceMeters User's Manual
--Clear all registers.
--Enable current limit bit in
--Enable status measure
--Enable status SRQ MSB.
In this Appendix:
current limit register.
current limit bit.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sourcemeter 2602Sourcemeter 2612Sourcemeter 2601

Table of Contents