Channel

src.channel.channel(oscope, n: int, bwlimit: Optional[bool] = None, coupling: Optional[str] = None, display: Optional[bool] = None, invert: Optional[bool] = None, offset: Optional[float] = None, range: Optional[float] = None, tcal: Optional[float] = None, scale: Optional[float] = None, probe: Optional[float] = None, units: Optional[str] = None, vernier: Optional[bool] = None)[source]

Send commands to control an oscilloscope’s vertical channel. Other than the channel number, all arguments are optional. range, scale, and offset are potentially conflicting commands if all three are simultaneously specified; they are issued in that order.

Parameters
  • n (int) – The channel to be controlled (1 through 4).

  • bwlimit (bool) – :CHANnel<n>:BWLimit

  • coupling (str) – :CHANnel<n>:COUPling

  • display (bool) – :CHANnel<n>:DISPlay

  • invert (bool) – :CHANnel<n>:INVert

  • offset (float) – :CHANnel<n>:OFFSet

  • range (float) – :CHANnel<n>:RANGe

  • tcal (float) – :CHANnel<n>:TCAL

  • scale (float) – :CHANnel<n>:SCALe

  • probe (float) – :CHANnel<n>:PROBe

  • units (str) – :CHANnel<n>:UNITs

  • vernier (bool) – :CHANnel<n>:VERNier

Returns

A namedtuple with fields corresponding to the named arguments of this function. All fields are queried regardless of which arguments were initially provided.