Technical data

208 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
12 Channel Commands
:CHANnel<N>:PROBe:EXTernal:UNITs
Command :CHANnel<N>:PROBe:EXTernal:UNITs {VOLT | AMPere | WATT | UNKNown}
The :CHANnel<N>:PROBe:EXTernal:UNITs command sets the probe external
vertical units on the specified channel. You can specify Y- axis units of
VOLTs, AMPs, WATTs, or UNKNown. The units are implied for other
pertinent channel probe external commands and channel commands (such
as :CHANnel<N>:PROBe:EXTernal:OFFSet and :CHANnel<N>:RANGe). See
the Probe Setup dialog box for more information.
<N> An integer, 1 - 4
Example This example sets the external units for the probe on channel 1 to
amperes.
myScope.WriteString ":CHANNEL1:PROBE:EXTERNAL ON"
myScope.WriteString ":CHANNEL1:PROBE:EXTERNAL:UNITS AMPERE"
Query :CHANnel<N>:PROBe:EXTernal:UNITs?
The :CHANnel<N>:PROBe:EXTernal:UNITs? query returns the current
external units setting for the probe on the specified channel.
Returned Format
[:CHANnel<N>:PROBe:EXTernal:UNITs] {VOLT | AMPere | WATT | UNKNown}<NL>
Example This example places the external vertical units for the probe on the
specified channel in the string variable, strUnits, then prints the contents
of the variable to the computer's screen.
Dim strUnits As String
myScope.WriteString ":CHANNEL1:PROBE:EXTERNAL ON"
myScope.WriteString ":CHANNEL1:PROBE:EXTERNAL:UNITS?"
strUnits = myScope.ReadString
Debug.Print strUnits
NOTE
CHANnel<N>:PROBe:EXTernal command must be set to ON before issuing this command
or query or this command will have no effect. UNITs can also be set using the
CHANnel<N>:UNITs command.