Download Agilent Technologies 2000 X-Series Technical data

Transcript
6
Root (:) Commands
:ACTivity
(see page 790)
Command Syntax
:ACTivity
The :ACTivity command clears the cumulative edge variables for the next
activity query.
Query Syntax
:ACTivity?
The :ACTivity? query returns whether there has been activity (edges) on
the digital channels since the last query, and returns the current logic
levels.
NOTE
Return Format
Because the :ACTivity? query returns edge activity since the last :ACTivity? query, you must
send this query twice before the edge activity result is valid.
<edges>,<levels><NL>
<edges> ::= presence of edges (16-bit integer in NR1 format).
<levels> ::= logical highs or lows (16-bit integer in NR1 format).
bit 0 ::= DIGital 0
bit 15 ::= DIGital 15
NOTE
A bit = 0 (zero) in the <edges> result indicates that no edges were detected on that channel
(across the specified threshold voltage) since the last query.
A bit = 1 (one) in the <edges> result indicates that edges have been detected on that
channel (across the specified threshold voltage) since the last query.
(The threshold voltage must be set appropriately for the logic levels of the signals being
probed.)
See Also
• "Introduction to Root (:) Commands" on page 150
• ":POD<n>:THReshold" on page 414
• ":DIGital<d>:THReshold" on page 249
Agilent InfiniiVision 2000 X-Series Oscilloscopes Programmer's Guide
151