Reading The Isr, Iscr, Or Isce; Loading The Isce - Fluke 5700A Series II Operator's Manual

Multi-function calibrator
Hide thumbs Also See for 5700A Series II:
Table of Contents

Advertisement

5700A/5720A Series II
Operators Manual

5-36. Reading the ISR, ISCR, or ISCE

To read the contents of the ISR, send the remote command, ISR?. In a similar fashion, to
read the contents of the ISCR, send ISCR?, and to read the contents of the ISCE, send
ISCE?. The calibrator returns a decimal number representing bits 0 through 15. Every
time you read the ISCR, its contents are zeroed. The following sample program reads all
three registers:
To read the status of the instrument, convert the returned variables into binary. For
example if a register contains 4, its binary equivalent is: 00000000 00000100. Therefore,
bit 3 (EXSNS) is set (1) and the rest of the bits are reset (0).

5-37. Loading the ISCE

By resetting the bits in the ISCE, you can mask (disable) the associated bits in the ISCR.
For example, to cause an SRQ interrupt when an attached 5725A Amplifier turns on, bit
3 (BOOST) in the ISCE register must be 1. (The ISCB bit must also be enabled in the
SRE.) The following sample program loads a decimal 8 into the ISCE, which sets bit 3
and resets the other bits:
5-52
! THIS PROGRAM READS THE ISR, ISCR, AND ISCE REGISTERS
! Note THAT THE ICSR? COMMAND ALSO CLEARS THE ISCR CONTENTS
PRINT @4, "ISR?"
INPUT @4,A%
PRINT @4, "ISCR?"
INPUT @4, B%
PRINT @4, "ISCE?"
INPUT @4, C%
PRINT "ISR =";A%
1ØØ PRINT "ISCR = ";B%
11Ø PRINT "ISCE = ";C%
12Ø END
! THIS PROGRAM LOADS ØØØØØØØØ ØØØØ1ØØØ BINARY INTO THE ISCE
PRINT @4, "ISCE 8"
PRINT @4, "ISCE?"
INPUT @4, A%
PRINT "ISCE = ";A%
END
! ASK THE ISR CONTENTS
! RETRIEVE THE REGISTER CONTENTS FROM THE 57ØØA
! ASK FOR AND CLEAR THE ISCR CONTENTS
! RETRIEVE THE REGISTER CONTENTS FROM THE 57ØØA
! ASK FOR THE ISCE CONTENTS
! RETRIEVE THE REGISTER CONTENTS FROM THE 57ØØA
! DISPLAY THE ISR
! DISPLAY THE ISCR
! DISPLAY THE ISCE
! LOAD DECIMAL 8 INTO THE ISCE
! READ BACK THE VALUE
! "
! PRINT IT, IT SHOULD BE 8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5720a series ii5720a series ii

Table of Contents