Agilent Technologies Infiniium 8000A Programmer's Reference Manual page 141

Table of Contents

Advertisement

480
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!
490
!
500
!
Subprogram name: Setup_srq
510
!
Parameters: none
520
!
Return value: none
530
!
Description:
Service Requests.
540
!
550
!
560
!
570
!
580
!
590
SUB Setup_srq
600
COM /Io/@Scope,Interface
610
OUTPUT @Scope;"*SRE 32"
- Event Status bit
620
!
630
!
Enable Standard Event Status Enable Register:
640
!
enable
650
!
660
OUTPUT @Scope;"*ESE 36"
670
SUBEND
680
!
690
!
700
!
This routine sets up the oscilloscope to generate
It sets the Service Request Enable Register Event Status Bit
and the Standard Event Status Enable REgister to allow SRQs on
Command or Query errors.
bit 5 - Command Error -
bit 2 - Query Error - value 4
!Enable Service Request Enable Registers
value 32
Sample Programs
srq.bas Sample Program
6-47

Advertisement

Table of Contents
loading

Table of Contents