Srq - Agilent Technologies 3458A User Manual

Hide thumbs Also See for 3458A:
Table of Contents

Advertisement

SRQ

Remarks
Examples

SRQ

Syntax
Example
236
Chapter 6 Command Reference
The number parameter is the value to be placed in the register.
Default number = last reading.
Power-on number = see above listing.
You can use the SMATH command to place a number into one of the registers
that store readings (UPPER, LOWER, etc.); however, that value will be replaced
with a reading if the corresponding math function is enabled (e.g. STATS).
You cannot use -1 (minus 1) to default the number parameter. If you specify -1,
you will actually write -1 to the register.
Related Commands: MATH, MMATH, RMATH
OUTPUT 722;"SMATH 11,1E-3" !PLACES "1E-3" IN THE SCALE REGISTER
In the following program, lines 10 and 20 configure for a resistance measurement.
Line 30 triggers the resistance measurement. Line 40 defaults the number
parameter causing the resistance reading to be stored in the RES register. Line 50
instructs the operator to connect the voltage source to the multimeter. Line 80
enables the DBM math operation. This program displays the power delivered to
the resistance in DB (result of the DBM math operation).
10 OUTPUT 722;"PRESET NORM"
20 OUTPUT 722;"OHM"
30 OUTPUT 722;"TRIG SGL"
40 OUTPUT 722;"SMATH RES"
50 DISP "CONNECT SOURCE; PRESS CONT"!OPERATOR PROMPT
60 PAUSE
70 OUTPUT 722;"ACV"
80 OUTPUT 722;"MATH DBM"
90 OUTPUT 722;"TRIG AUTO"
100 END
Service Request. Sets bit 2 in the multimeter's status register. If bit 2 is enabled
to assert SRQ (RQS 4 command), executing the SRQ command will set the GPIB
SRQ line.
SRQ
Related Commands: CSB, EXTOUT, RQS, SPOLL (GPIB command), STB?
10 OUTPUT 722;"RQS 4"
20 OUTPUT 722;"SRQ"
30 END
!TARM AUTO, TRIG SYN, NRDGS 1,AUTO
!SELECTS 2-WIRE OHMS
!TRIGGERS ONCE
!PLACES READING IN RES REGISTER
!SUSPENDS PROGRAM EXECUTION
!SELECTS AC VOLTAGE
!ENABLES DBM MATH OPERATION
!TRIGGERS AUTOMATICALLY
!ENABLE STATUS REGISTER BIT 2 TO ASSERT SRQ
!SET BIT 2, ASSERT SRQ

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents