Agilent Technologies 6811B, 6834B, 6814B manual Programming the Status Registers, Power-OnConditions

Models: 6811B 6813B 6834B 6843A 6814B

1 187
Download 187 pages 38.86 Kb
Page 142
Image 142
Programming the Status Registers

4 - Programming Examples

OFFSET = -4096

 

4096 DATA POINTS

 

OFFSET = -2048

 

4096 DATA POINTS

 

OFFSET = 0

 

4096 DATA POINTS

 

OFFSET = 0 to 2

9

4096 DATA POINTS

TIME

 

ACQUISITION

 

TRIGGER

 

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

Condition

PTR Filter

Command

STAT:OPER:COND?

STAT:OPER:PTR <n>

Description

A register that holds real-time status of the circuits being monitored. It is a read-only register.

A positive transition filter that functions as described under STAT:OPER:NTRPTR commands in Chapter 3. It is a read/write register.

142

Page 142
Image 142
Agilent Technologies 6811B, 6834B, 6814B, 6843A Programming the Status Registers, Power-OnConditions, Operation Status Group