D-32 Status Model
Series 2600 System SourceMeters Reference Manual
2600S-901-01 Rev. A / May 2006
Return to
Register programming example
The command sequence below programs the instrument to generate an SRQ and
set the system summary bit in all TSP-Link nodes when the current limit on Channel
A is exceeded.
status.reset()
--Clear all registers.
status.measurement.current_limit.enable
= status.measurement.current_limit.SMUA
--Enable current limit bit in
current limit register.
status.measurement.enable =
status.measurement.ILMT
--Enable status measure
current limit bit.
status.system_enable = status.MSB
--Set system summary;
enable MSB.
status.request_enable = status.MSB
--Enable status SRQ MSB.
Queues
The SourceMeter uses two queues, which are first-in, first-out (FIFO) queues:
• Output Queue — Used to hold response messages.
• Error Queue — Used to hold error and status messages (see
in
Appendix B).
The SourceMeter status model (
) shows how the two queues are struc-
tured with the other registers.
Output queue
The output queue holds data that pertains to the normal operation of the
instrument. For example, when a
command is sent, the response mes-
sage is placed in the Output Queue.
When data is placed in the Output Queue, the Message Available (MAV) bit in the
Status Byte Register sets. A response message is cleared from the Output Queue
when it is read. The Output Queue is considered cleared when it is empty. An
empty Output Queue clears the MAV bit in the Status Byte Register.
A message is read from the Output Queue by addressing the SourceMeter to talk.
Error queue
The Error Queue holds error and status messages. When an error or status event
occurs, a message that defines the error or status is placed in the Error Queue.
When a message is placed in the Error Queue, the Error Available (EAV) bit in the
Status Byte Register is set. An error or status message is cleared from the Error
Summary of Contents for SourceMeter 2600 Series
Page 575: ...AppendixF DisplayCharacterCodes Appendix F topics Introduction page F 2...
Page 592: ......
Page 593: ......