rsmxo

Contents:

  • Revision History
  • Getting Started
  • Enums
  • RepCaps
  • Examples
  • Instrument API
    • Acquire
    • AutoScale
    • Calculate
      • Math<Math>
        • Data
          • Header
          • Stype
          • Values
          • ValuesPartial
        • EnvSelection
        • Expression
        • Label
        • State
        • Unit
        • Vertical
      • Spectrum<Spectrum>
    • Calibration
    • Channel<Channel>
    • Cursor<Cursor>
    • Digital<Digital>
    • Display
    • Export
    • Eye<Eye>
    • FormatPy
    • Franalysis
    • Gate<Gate>
    • Generator
    • HardCopy
    • Hdefinition
    • Histogram<Histogram>
    • Layout<Layout>
    • MassMemory
    • Mdefaults
    • Measurement<MeasIndex>
    • Meter<Voltmeter>
    • Mtest<MaskTest>
    • P3Phase<Power3PhaseMeas>
    • Pbus<PwrBus>
    • Power<Power>
    • Probe<Probe>
    • RefCurve<RefCurve>
    • RefLevel<RefLevel>
    • Run
    • Saveset
    • Sbus<SerialBus>
    • Sense
    • Service
    • Sessions
    • Status
    • Synchronize
    • System
    • Timebase
    • Treference<TimingReference>
    • Trfs
    • Trigger
    • TriggerInvoke
    • TrProbe
    • UserDefined
    • Wgenerator<WaveformGen>
    • Xy<XyAxis>
    • Zone<Zone>
  • Utilities
  • Logger
  • Events
  • Index
rsmxo
  • Instrument API
  • Calculate
  • Math<Math>
  • Data
  • Header
  • View page source

Header

SCPI Command :

CALCulate:MATH<*>:DATA:HEADer
Commands in total: 1
Subgroups: 0
Direct child commands: 1
class GetStruct[source]

Response structure. Fields:

  • 1 Xstart: float: 1. header value: time of the first sample in s

  • 2 Xstop: float: 2. header value: time of the last sample in s

  • 3 Record_Length: int: 3. header value: record length of the waveform in samples

  • 4 Vals_Per_Smp: int: 4. header value: number of values per sample. For most waveforms, the result is 1. For peak detect and envelope waveforms, it is 2. If the number is 2, the number of returned values is twice the number of samples (record length) .

get(math=Math.Default) → GetStruct[source]
# CALCulate:MATH<*>:DATA:HEADer
value: GetStruct = driver.calculate.math.data.header.get(math = repcap.Math.Default)

Returns the header of math waveform data, the attributes of the waveform.

Parameters:

math – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Math’)

Returns:

structure: for return value, see the help for GetStruct structure arguments.

Previous Next

© Copyright © Rohde & Schwarz 2026.

Built with Sphinx using a theme provided by Read the Docs.