Agilent Technologies 6813B Welding System User Manual


 
4 - Programming Examples
142
Figure 4-4. Pre-event and Post-event Triggering
Programming the Status Registers
You can use status register programming to determine the operating condition of the ac source at any
time. For example, you may program the ac source to generate an interrupt (assert SRQ) when an event
such as a current limit occurs. When the interrupt occurs, your program can then act on the event in the
appropriate fashion.
Figure 4-5 shows the status register structure of the ac source. Table 4-1 defines the status bits. The
Standard Event, Status Byte, and Service Request Enable registers and the Output Queue perform
standard GPIB functions as defined in the IEEE 488.2 Standard Digital Interface for Programmable
Instrumentation. The Operation Status, Questionable Status, and Questionable Instrument Isummary
Status registers implement functions that are specific to the ac source.
Power-On Conditions
Refer to the *RST command description in Chapter 3 for the power-on conditions of the status registers.
Operation Status Group
The Operation Status registers record signals that occur during normal operation. The group consists of
the following registers:
Register Command Description
Condition
STAT:OPER:COND?
A register that holds real-time status of the circuits
being monitored. It is a read-only register.
PTR Filter
STAT:OPER:PTR <n>
A positive transition filter that functions as
described under STAT:OPER:NTR|PTR
commands in Chapter 3. It is a read/write register.
4096 DATA POINTS
4096 DATA POINTS
4096 DATA POINTS
OFFSET = -4096
OFFSET = -2048
OFFSET = 0
4096 DATA POINTS
ACQUISITION
TRIGGER
OFFSET = 0 to 2
9
TIME