EasyManuals Logo

Pendulum CNT-91R Programmer's Handbook

Default Icon
264 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #80 background imageLoading...
Page #80 background image
SRQ is true. If you read the status byte us
-
ing *STB?, bit 6 represents MSS. MSS re
-
mains true until all event registers are
cleared and all queues are empty.
Setting up the Counter to
Report Status
Include the following steps in your pro
-
gram when you want to use the status re
-
porting feature.
*CLS Clears all event registers and the er
-
ror queue
*ESE <bit mask> Selects what condi
-
tions in the Standard Event Status register
should be reported in bit 5 of the status
byte
:STATus:OPERation:ENABle <bit
mask> Selects which conditions in the
Operation Status register should be re-
ported in bit 7 of the status byte
:STATus:QUEStionable:ENABle
<bit mask> Selects which conditions in
the Questionable Status register should be
reported in bit 3 of the status byte
:STATus:DREGister0:ENABle
<bit mask> Selects which conditions
in Device Register 0 should be reported in
bit 0 of the status byte
*SRE <bit mask> Selects which bits
in the status byte should cause a Service
Request
A programming example using status re
-
porting is available in Chapter 7.
Reading and Clearing Status
n
Status Byte
As explained earlier, you can read the
status byte register in two ways:
Using the Serial Poll (IEEE-488.1 de
-
fined).
Response:
Bit 6: RQS message, shows that the
counter has requested service via the
SRQ signal.
Other bits show their summary mes
-
sages
A serial poll sets the RQS bit
FALSE, but does not change other
bits.
Using the Common Query *STB?
Response:
Bit 6: MSS message, shows that
there is a reason for service request.
Other bits show their summary mes-
sages.
Reading the response will not alter
the status byte.
n
Status Event Registers
You read the Status Event registers with
the following queries:
*ESR? Reads the Standard Event Status
register
:STATus:OPERation? Reads the
Operation Status Event register
:STATus:QUEStionable? Reads the
Questionable Status Event register
:STATus:DREGister0? Reads the
Device Event register
When you read these registers, you will
clear the register you read and the sum
-
mary message bit in the status byte.
6-14 Status Subsystem
Using the Subsystems

Table of Contents

Other manuals for Pendulum CNT-91R

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Pendulum CNT-91R and is the answer not in the manual?

Pendulum CNT-91R Specifications

General IconGeneral
BrandPendulum
ModelCNT-91R
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals