![Keysight E6640A Скачать руководство пользователя страница 143](http://html1.mh-extra.com/html/keysight/e6640a/e6640a_measurement-applications-user-and-programmer-reference_1961645143.webp)
3 Programming the Test Set
STATus Subsystem
2. It’s usually a good idea to start by clearing all the status registers with *CLS.
3. Sending the STAT:QUES:INT:ENAB 1024 command lets you monitor only bit 10 events, instead of the
default monitoring all the bits in the register. The register default is for positive transition events (0 to 1
transition). That is, when an auto-trigger timeout occurs. If instead, you wanted to know when the Auto-
trigger timeout condition is cleared, then you would set the STAT:QUES:INT:PTR 0 and the
STAT:QUES:INT:NTR 32767.
4. So now the only output from the Status Questionable Integrity register will come from a bit 10 positive
transition. That output goes to the Integrity Sum bit 9 of the Status Questionable register.
5. You can do a similar thing with this register to only look at bit 9 using, STAT:QUES:ENAB 512.
6. The Status Questionable register output goes to the “Status Questionable Summary” bit 3 of the Status
Byte Register. The output from this register can be enabled using the *SRE 8 command.
7. Finally, you would use the serial polling functionality available for the particular bus/software that you
are using to monitor the Status Byte Register. (You could also use *STB? to poll the Status Byte
Register.)
Using the Service Request (SRQ) Method
Your language, bus, and programming environment must be able to support SRQ interrupts. (For example,
BASIC used with VXI–11.3 (GPIB over LAN). When you monitor a condition with the SRQ method, you must:
1. Determine which bit monitors the condition.
2. Determine how that bit reports to the request service (RQS) bit of the status byte.
3. Send SCPI commands to enable the bit that monitors the condition and to enable the summary bits that
report the condition to the RQS bit.
4. Enable the controller to respond to service requests.
When the condition changes, the instrument sets its RQS bit. The controller is informed of the change as
soon as it occurs. As a result, the time the controller would otherwise have used to monitor the condition
can be used to perform other tasks. Your program determines how the controller responds to the SRQ.
Generating a Service Request
To use the SRQ method, you must understand how service requests are generated. Bit 6 of the status byte
register is the request service (RQS) bit. The *SRE command is used to configure the RQS bit to report
changes in instrument status. When such a change occurs, the RQS bit is set. It is cleared when the status
byte register is queried using *SRE? (with a serial poll.) It can be queried without erasing the contents with
*STB?.
When a register set causes a summary bit in the status byte to change from 0 to 1, the instrument can
initiate the service request (SRQ) process. However, the process is only initiated if both of the following
conditions are true:
•
The corresponding bit of the service request enable register is also set to 1.
•
The instrument does not have a service request pending. (A service request is considered to be pending
between the time the instrument’s SRQ process is initiated and the time the controller reads the status
byte register.)
W-CDMA & HSPA Measurement Applications Reference
143
Содержание E6640A
Страница 80: ...Table of Contents lxxx W CDMA HSPA Measurement Applications Reference ...
Страница 188: ...3 Programming the Test Set Common Commands 188 W CDMA HSPA Measurement Applications Reference ...
Страница 189: ...4 Input Output Functions Undefined variable Primary ProductName W CDMA HSPA Measurement Applications Reference 189 ...
Страница 231: ...5 Mode Functions Undefined variable Primary ProductName W CDMA HSPA Measurement Applications Reference 231 ...
Страница 256: ...5 Mode Functions Mode Setup 256 W CDMA HSPA Measurement Applications Reference ...
Страница 257: ...6 System Functions Undefined variable Primary ProductName W CDMA HSPA Measurement Applications Reference 257 ...
Страница 324: ...6 System Functions System 324 W CDMA HSPA Measurement Applications Reference ...
Страница 325: ...7 Trigger Functions Undefined variable Primary ProductName W CDMA HSPA Measurement Applications Reference 325 ...
Страница 369: ...8 Channel Power Measurement Auto Couple W CDMA HSPA Measurement Applications Reference 369 ...
Страница 376: ...8 Channel Power Measurement File File See File on page 258 376 W CDMA HSPA Measurement Applications Reference ...
Страница 389: ...8 Channel Power Measurement Marker W CDMA HSPA Measurement Applications Reference 389 ...
Страница 429: ...8 Channel Power Measurement Mode Mode See Mode on page 232 W CDMA HSPA Measurement Applications Reference 429 ...
Страница 435: ...8 Channel Power Measurement Print Print See Print on page 263 W CDMA HSPA Measurement Applications Reference 435 ...
Страница 629: ...8 Channel Power Measurement System System See System on page 264 W CDMA HSPA Measurement Applications Reference 629 ...
Страница 664: ...9 ACP Measurement Auto Couple 664 W CDMA HSPA Measurement Applications Reference ...
Страница 669: ...9 ACP Measurement BW W CDMA HSPA Measurement Applications Reference 669 ...
Страница 672: ...9 ACP Measurement File File See File on page 258 672 W CDMA HSPA Measurement Applications Reference ...
Страница 754: ...9 ACP Measurement Mode Mode See Mode on page 232 754 W CDMA HSPA Measurement Applications Reference ...
Страница 758: ...9 ACP Measurement Mode Setup Mode Setup See Mode Setup on page 251 758 W CDMA HSPA Measurement Applications Reference ...
Страница 762: ...9 ACP Measurement Print Print See Print on page 263 762 W CDMA HSPA Measurement Applications Reference ...
Страница 960: ...9 ACP Measurement System System See System on page 264 960 W CDMA HSPA Measurement Applications Reference ...
Страница 973: ...9 ACP Measurement View Display DTMB and CMMB Exciter W CDMA HSPA Measurement Applications Reference 973 ...
Страница 984: ...9 ACP Measurement View Display 984 W CDMA HSPA Measurement Applications Reference ...
Страница 1001: ...10 Spectrum Emission Mask Measurement W CDMA HSPA Measurement Applications Reference 1001 ...
Страница 1009: ...10 Spectrum Emission Mask Measurement Auto Couple W CDMA HSPA Measurement Applications Reference 1009 ...
Страница 1013: ...10 Spectrum Emission Mask Measurement File File See File on page 258 W CDMA HSPA Measurement Applications Reference 1013 ...
Страница 1090: ...10 Spectrum Emission Mask Measurement Mode Mode See Mode on page 232 1090 W CDMA HSPA Measurement Applications Reference ...
Страница 1096: ...10 Spectrum Emission Mask Measurement Print Print See Print on page 263 1096 W CDMA HSPA Measurement Applications Reference ...
Страница 1134: ...10 Spectrum Emission Mask Measurement Save 1134 W CDMA HSPA Measurement Applications Reference ...
Страница 1295: ...10 Spectrum Emission Mask Measurement System System See System on page 264 W CDMA HSPA Measurement Applications Reference 1295 ...
Страница 1332: ...10 Spectrum Emission Mask Measurement View Display 1332 W CDMA HSPA Measurement Applications Reference ...
Страница 1343: ...11 Occupied Bandwidth Measurement Auto Couple W CDMA HSPA Measurement Applications Reference 1343 ...
Страница 1350: ...11 Occupied Bandwidth Measurement File File See File on page 258 1350 W CDMA HSPA Measurement Applications Reference ...
Страница 1398: ...11 Occupied Bandwidth Measurement Mode Mode See Mode on page 232 1398 W CDMA HSPA Measurement Applications Reference ...
Страница 1404: ...11 Occupied Bandwidth Measurement Print Print See Print on page 263 1404 W CDMA HSPA Measurement Applications Reference ...
Страница 1598: ...11 Occupied Bandwidth Measurement Sweep Control 1598 W CDMA HSPA Measurement Applications Reference ...
Страница 1599: ...11 Occupied Bandwidth Measurement System System See System on page 264 W CDMA HSPA Measurement Applications Reference 1599 ...
Страница 1610: ...11 Occupied Bandwidth Measurement View Display For TD SCDMA mode only 1610 W CDMA HSPA Measurement Applications Reference ...
Страница 1611: ...11 Occupied Bandwidth Measurement View Display For Bluetooth mode only W CDMA HSPA Measurement Applications Reference 1611 ...
Страница 1620: ...11 Occupied Bandwidth Measurement View Display 1620 W CDMA HSPA Measurement Applications Reference ...
Страница 1668: ...12 Code Domain Measurement Auto Couple 1668 W CDMA HSPA Measurement Applications Reference ...
Страница 1672: ...12 Code Domain Measurement File File See File on page 258 1672 W CDMA HSPA Measurement Applications Reference ...
Страница 1762: ...12 Code Domain Measurement Mode Mode See Mode on page 232 1762 W CDMA HSPA Measurement Applications Reference ...
Страница 1766: ...12 Code Domain Measurement Mode Setup Mode Setup See Mode Setup on page 251 1766 W CDMA HSPA Measurement Applications Reference ...
Страница 1769: ...12 Code Domain Measurement Print Print See Print on page 263 W CDMA HSPA Measurement Applications Reference 1769 ...
Страница 1937: ...12 Code Domain Measurement System System See System on page 264 W CDMA HSPA Measurement Applications Reference 1937 ...
Страница 2019: ...13 Modulation Accuracy Composite EVM Measurement Auto Couple W CDMA HSPA Measurement Applications Reference 2019 ...
Страница 2350: ...13 Modulation Accuracy Composite EVM Measurement View Display 2350 W CDMA HSPA Measurement Applications Reference ...
Страница 2354: ...14 QPSK EVM Measurement 2354 W CDMA HSPA Measurement Applications Reference ...
Страница 2364: ...14 QPSK EVM Measurement Auto Couple 2364 W CDMA HSPA Measurement Applications Reference ...
Страница 2369: ...14 QPSK EVM Measurement File File See File on page 258 W CDMA HSPA Measurement Applications Reference 2369 ...
Страница 2418: ...14 QPSK EVM Measurement Mode Mode See Mode on page 232 2418 W CDMA HSPA Measurement Applications Reference ...
Страница 2422: ...14 QPSK EVM Measurement Mode Setup Mode Setup See Mode Setup on page 251 2422 W CDMA HSPA Measurement Applications Reference ...
Страница 2426: ...14 QPSK EVM Measurement Print Print See Print on page 263 2426 W CDMA HSPA Measurement Applications Reference ...
Страница 2593: ...14 QPSK EVM Measurement System System See System on page 264 W CDMA HSPA Measurement Applications Reference 2593 ...
Страница 2630: ...15 Power Control Measurement File File See File on page 258 2630 W CDMA HSPA Measurement Applications Reference ...
Страница 2677: ...15 Power Control Measurement Mode Mode See Mode on page 232 W CDMA HSPA Measurement Applications Reference 2677 ...
Страница 2682: ...15 Power Control Measurement Print Print See Print on page 263 2682 W CDMA HSPA Measurement Applications Reference ...
Страница 2849: ...15 Power Control Measurement System System See System on page 264 W CDMA HSPA Measurement Applications Reference 2849 ...