![Keysight E6640A Скачать руководство пользователя страница 141](http://html1.mh-extra.com/html/keysight/e6640a/e6640a_measurement-applications-user-and-programmer-reference_1961645141.webp)
3 Programming the Test Set
STATus Subsystem
•
*STB? (status byte) queries the value of the status byte register without erasing its contents.
How to Use the Status Registers
A program often needs to be able to detect and manage error conditions or changes in instrument status.
There are two methods you can use to programmatically access the information in status registers:
•
The polling method
•
The service request (SRQ) method
In the polling method, the instrument has a passive role. It only tells the controller that conditions have
changed when the controller asks the right question. In the SRQ method, the instrument takes a more
active role. It tells the controller when there has been a condition change without the controller asking.
Either method allows you to monitor one or more conditions.
The polling method works well if you do not need to know about changes the moment they occur. The SRQ
method should be used if you must know immediately when a condition changes. To detect a change using
the polling method, the program must repeatedly read the registers.
Use the SRQ method when:
•
you need time-critical notification of changes
•
you are monitoring more than one device which supports SRQs
•
you need to have the controller do something else while waiting
•
you can’t afford the performance penalty inherent to polling
Use polling when:
•
your programming language/development environment does not support SRQ interrupts
•
you want to write a simple, single-purpose program and don’t want the added complexity of setting up
an SRQ handler
•
To monitor a condition:
a.Determine which register contains the bit that reports the condition.
b.Send the unique SCPI query that reads that register.
c.Examine the bit to see if the condition has changed.
You can monitor conditions in different ways.
•
Check the current instrument hardware and firmware status.
Do this by querying the condition registers which continuously monitor status. These registers represent
the current state of the instrument. Bits in a condition register are updated in real time. When the condition
monitored by a particular bit becomes true, the bit is set to 1. When the condition becomes false, the bit is
reset to 0.
•
Monitor a particular condition (bit).
You can enable a particular bit(s), using the event enable register. The instrument will then monitor that
particular condition(s). If the bit becomes true (0 to 1 transition) in the event register, it will stay set until the
W-CDMA & HSPA Measurement Applications Reference
141
Содержание 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 ...