Channel<N>:Units - Agilent Technologies Infiniium 90000 Series Programmer's Manual

Oscilloscopes
Hide thumbs Also See for Infiniium 90000 Series:
Table of Contents

Advertisement

12
Channel Commands
:CHANnel<N>:UNITs
Command
:CHANnel<N>:UNITs {VOLT | AMPere | WATT | UNKNown}
UNITs can also be set using the CHANnel<N>:PROBe:EXTernal:UNITs command when
N O T E
CHANnel<N>:PROBe:EXTernal command has been set to ON.
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
244
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents