Technical data

Table Of Contents
504 Agilent Infiniium 9000 Series Oscilloscopes Programmer's Reference
25 Measure Commands
:MEASure:CHARge
Command :MEASure:CHARge [<primary_channel_source>]
When N2820A/N2821A high-sensitivity current probes are connected, the
:MEASure:CHARge command adds the Charge measurement to the
Measnurements tab.
This measurement determines the total current consumption over time
with the results listed in ampere- hours (Ah).
When both the primary and secondary cables of a N2820A probe are used,
the measurement includes the area under the curve across both Zoomed- In
and Zoomed- Out waveforms.
<primary_chann
el_source>
{CHANnel<N>}
<N> CHANnel<N> is an integer, 1- 4, and should be the primary channel of the
N2820A/N2821A probe.
Example This example turns on the Charge measurement and adds it to the
Measurements tab.
myScope.WriteString ":MEASure:CHARge CHANnel1"
Query :MEASure:CHARge?
The :MEASure:CHARge? query returns the measured Charge value in
Amp-hours.
Returned Format
[:MEASure:CHARge]<value>[,<result_state>]<NL>
Example This example places the measured Charge value in the string variable,
strCharge, then prints the contents of the variable to the computer's
screen.
Dim strCharge As String
myScope.WriteString ":MEASure:CHARge?"
strCharge = myScope.ReadString
Debug.Print strCharge
See Also ":MEASure:WINDow" on page 742