2. Unmask bit 6 (ARM) in the Enable Register so that the event latched
into the Event Register will generate an Operation Status Group
summary bit.
STATus:OPERation:ENABle <
unmask
>
3. Unmask bit 7 (OPR) in the Service Request Enable Register so that a
service request is generated when the Operation Status Group
summary bit is received.
*SRE <
unmask
>
BASIC Program Example (OSG_RQS)
1
!RE-STORE "OSG_RQS"
2
!This program generates a service request when the AFG enters the
3
!wait-for-arm state.
4
!
10
!Assign an I/O path between the computer and the E1445A.
20
ASSIGN @Afg TO 70910
30
COM @Afg
40
!
50
!Reset the AFG
60
CALL Rst
70
!
80
!Set up the computer to respond to the service request.
90
ON INTR 7 CALL Afg_ready
100
ENABLE INTR 7;2
110
!
120
!Set up the AFG to generate a service request when it enters the
130
!wait-for-arm state.
140
OUTPUT @Afg;"*CLS"
!clear Status Byte and Event Registers
150
OUTPUT @Afg;"STAT:OPER:PTR 64"
!pos transition of ARM bit
160
OUTPUT @Afg;"STAT:OPER:ENAB 64"
!allow ARM bit to generate summary bit
170
OUTPUT @Afg;"*SRE 128"
!enable summary bit to generate RQS
180
OUTPUT @Afg;"STAT:OPC:INIT OFF"
!allow intr branching after wait-for-arm
190
!
200
!Call subprogram which sets up and initiates the AFG.
210
!subsystem.
220
CALL Afg_setup
230
WAIT .1 !allow interrupt to be serviced
240
OFF INTR 7
250
END
260
!
270
SUB Afg_setup
280 Afg_setup: !Subprogram which sets up the AFG and places it in the
290
!wait-for-arm state
300
COM @Afg
310
OUTPUT @Afg;"ABORT"
!stop current waveform
Continued on Next Page
Chapter 9
AFG Status 437
Содержание E1445A
Страница 2: ......
Страница 14: ...Notes 12 Agilent E1445A User s Manual Contents...
Страница 18: ...Notes 16 Agilent E1445A Arbitrary Function Generator User s Manual...
Страница 19: ...Notes Agilent E1445A Arbitrary Function Generator User s Manual 17...
Страница 20: ...Notes 18 Agilent E1445A Arbitrary Function Generator User s Manual...
Страница 54: ...Notes 52 Getting Started Chapter 1...
Страница 84: ...Notes 82 Generating Standard Waveforms Chapter 2...
Страница 204: ...Notes 202 Arming and Triggering Chapter 5...
Страница 432: ...Figure 9 1 E1445A Status Groups and Associated Registers 430 AFG Status Chapter 9...
Страница 446: ...Notes 444 AFG Status Chapter 9...
Страница 464: ...Notes 462 Agilent E1445A Specifications Appendix A...
Страница 534: ...Notes 532 Agilent E1445A User s Manual Index...