Analog Waveform Editor

Waveforms, Components, and Primitives

  • Updated2023-04-26
  • 3 minute(s) read

Waveforms are made up of one or more components.

Components are made up of one or more primitives.

Primitives are the lowest level of the waveform. A primitive can be anything from sine waves and triangle waves to pulses and noise. Primitives of the component are added, subtracted, multiplied, or divided into each other.

Waveform Example 1

The following waveform has one component with a sine wave primitive. The sine wave has the following properties:

  • Samples: 1,000
  • Amplitude: 2 V pk-pk
  • Frequency: 100,000 Hz
  • Phase: 0°

Waveform Example 2

The following waveform has two components:

  • Component 1 has a sine wave primitive with the following properties:
    • Samples: 1,000
    • Amplitude: 2 V pk-pk
    • Frequency: 100,000 Hz
    • Phase: 0°
  • Component 2 has a square wave primitive with the following properties:
    • Samples: 1,000
    • Amplitude: 2 V pk-pk
    • Frequency: 100,000 Hz
    • Phase: 0°
    • Duty Cycle: 50%

Waveform Example 3

The following waveform has one component with two primitives:

  • The first primitive is a sine wave with the following properties:
    • Samples: 1,000
    • Amplitude: 2 V pk-pk
    • Frequency: 100,000 Hz
    • Phase: 0°
  • The second primitive is a sine wave with an associated operation of multiplication. This primitive has the following properties:
    • Samples: 1,000
    • Amplitude: 2 V pk-pk
    • Frequency: 2,000,000 Hz
    • Phase: 0°

Tip  For the installation location of this example waveform (AmplitudeModulation.hws), refer to the Analog Waveform Editor Readme.

Waveform Example 4

The following waveform has one component with three primitives:

  • The first primitive is Gaussian white noise with the following properties:
    • Samples: 1,000
    • Standard Deviation: .1 V RMS
    • Seed: Random
  • The second primitive is a lowpass Butterworth filter. It has the following properties:
    • Samples: 1,000
    • Cutoff: 10,000,000 Hz
    • Order: 3
  • The third primitive is a sine wave with an associated property of addition. This primitive has the following properties:
    • Samples: 1,000
    • Amplitude: 2 V pk-pk
    • Frequency: 100,000 Hz
    • Phase: 0°

Tip  For the installation location of this example waveform (SineWithBandLimitedNoise.hws), refer to the Analog Waveform Editor Readme.