Technical data

Table Of Contents
Channel Commands 12
Agilent Infiniium 9000 Series Oscilloscopes Programmer's Reference 245
:CHANnel<N>:UNITs
Command :CHANnel<N>:UNITs {VOLT | AMPere | WATT | UNKNown}
The :CHANnel<N>:UNITs command sets the vertical units. You can specify
Y- axis units of VOLTs, AMPs, WATTs, or UNKNown. The units are implied
for other pertinent channel commands (such as :CHANnel<N>:RANGe and
:CHANnel<N>:OFFSet). See the Probe Setup dialog box for more
information.
<N> An integer, 1-4.
Example This example sets the units for channel 1 to amperes.
myScope.WriteString ":CHANNEL1:UNITS AMPERE"
Query :CHANnel<N>:UNITs?
The :CHANnel<N>:UNITs? query returns the current units setting for the
specified channel.
Returned Format
[:CHANnel<N>:UNITs] {VOLT | AMPere | WATT | UNKNown}<NL>
Example This example places the vertical units for 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:UNITS?"
strUnits = myScope.ReadString
Debug.Print strUnits
NOTE
UNITs can also be set using the CHANnel<N>:PROBe:EXTernal:UNITs command when
CHANnel<N>:PROBe:EXTernal command has been set to ON.