Channel

src.channel.channel(oscope: Rigol_DS1000Z, n: int, bwlimit: bool | None = None, coupling: str | None = None, display: bool | None = None, invert: bool | None = None, offset: float | None = None, range: float | None = None, tcal: float | None = None, scale: float | None = None, probe: float | None = None, units: str | None = None, vernier: bool | None = 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 a field for each argument, queried back regardless of which were provided.