Free standard shipping to supported destinations · 30-day returns · Selection help available

Buying GuideSignal Generator Guides

Arbitrary Waveform Sample Rate and Record Length Explained

By Mcooh TeamPublished 5 minute read
Relate arbitrary waveform sample rate and record length to playback duration, cycle frequency and the source's actual timing architecture.
Signal generator and laptop on an electronics workbench

Quick answer For direct, gap-free playback of N samples at a sample rate Fs, one record occupies N/Fs seconds and repeats at Fs/N. The waveform can contain several cycles inside that record. Confirm the playback architecture before applying this arithmetic to a DDS function generator or an instrument with interpolation, sequencing or triggered delays.

Describe the record and the event you want to repeat

An arbitrary waveform is stored as a sequence of values. The instrument turns those values into an electrical output according to its playback system. A file may describe one cycle of a sine-like signal, four repeated pulses, or a longer pattern containing several different events.

Define which recurrence matters to the test. The repeated file boundary, an individual cycle inside the file and a trigger that launches the file can occur at different rates. Calling all three “frequency” leaves an important part of the requirement unspecified.

The function and arbitrary generator overview explains the source families. Once arbitrary playback is the required function, identify the record length, timing mode and desired event sequence together.

Calculate a direct-playback record duration

In the simple model used here, the generator emits one stored value on each sample-clock update. It plays all N values once, with each value occupying one sample interval. Repeating the record immediately produces the following relationships.

sample interval = 1 / Fs
record duration = N / Fs
record repetition rate = Fs / N

Use samples per second for Fs and a sample count for N. With 800 samples played at 8 MSa/s, the interval is 125 ns, one record occupies 100 µs and the record repeats 10,000 times per second. These are constructed calculations for the stated playback model.

The timestamp from the first stored value to the last is separated by N − 1 sample intervals. A full repeated record includes the final value's interval before the next record begins. Keep the file's timestamp convention and the instrument's record-duration definition explicit when importing data.

Separate record repetition from cycles within the record

If an 800-sample record contains one complete cycle, the constructed example produces a 10 kHz cycle. If that same-length record instead contains four identical complete cycles, each cycle uses 200 samples and the cycle frequency is 40 kHz. The complete record still repeats at 10 kHz.

Constructed record Playback sample rate Record duration and repetition Identical-cycle frequency
800 samples, one cycle 8 MSa/s 100 µs, 10 kHz 10 kHz
800 samples, four cycles 8 MSa/s 100 µs, 10 kHz 40 kHz
1600 samples, four cycles 8 MSa/s 200 µs, 5 kHz 20 kHz

For a mixed event pattern, report the record repetition and the timing of its component events. A file containing a long quiet interval and a short burst needs both descriptions. Its total duration alone leaves the burst's pulse spacing unresolved.

Recognize a DDS or resampled playback architecture

Tektronix's signal-generator selection material distinguishes sample-clock rate and record length while describing arbitrary/function instruments that commonly use direct digital synthesis. The implementation matters because the simple one-value-per-clock model is only one way to produce a repeating waveform.

Analog Devices' DDS explanation describes a phase accumulator addressing a waveform lookup table. Changing the phase increment changes the output frequency for a given reference clock. The sequence of table addresses can therefore differ from a simple consecutive pass through every stored point.

Some instruments also interpolate stored values, change an effective playback rate, repeat selected segments or insert waits between triggered records. Read the specific arbitrary mode's description before treating a headline DAC rate divided by memory length as its output frequency. Ask which clock or frequency setting controls the actual replay.

Record the selected architecture or documented mode in the test file. This makes the intended event timing reconstructable when another operator loads the same values into another source.

Read memory, vertical resolution and bandwidth separately

Record length is the number of stored sample positions. Vertical resolution describes the available numerical amplitude levels, commonly expressed in bits. A count of stored waveform groups describes how many records can be retained. Those fields serve different requirements.

The current JDS2900 listing separates a 2048-point waveform length, 14-bit vertical resolution and 60 arbitrary-waveform groups. It also lists a sampling rate and identifies DDS operation. Use the separate fields to frame a compatibility request, then confirm how the selected arbitrary mode maps its record to the requested output frequency.

NI's signal-generator terminology also distinguishes the DAC update rate from the analog output bandwidth. More time samples can describe a shape in greater detail, while the analog output path determines how well its frequency components are delivered. Include the shortest relevant event and needed waveform fidelity when assessing those two limits.

Check the imported waveform and the replay boundary

Begin with the file's sample count, value format, amplitude normalization and time convention. Verify the active channel, selected record and playback mode. Compare the instrument's accepted timing with the intended record duration or cycle rate.

Inspect how the end joins the beginning during repeated output. A discontinuity between the last interval and the next first value creates an additional transition. A duplicated endpoint or an unintended quiet segment can also change the timing represented by the file. Review those boundaries in the imported data before changing the test circuit.

Use an appropriate low-voltage measurement setup to verify both a local feature and the full record pattern at the receiving point. Keep the generator's load convention, amplitude scaling, probe conditions and trigger reference with the observation. A correct repetition count and an acceptable delivered shape are separate checks.

Specify the replay requirement before choosing a generator

Send the required record duration, number of samples, event sequence, smallest time feature, repetition behavior and voltage range when comparing the Mcooh signal-generator collection. Include file format and software needs, and request the exact variant's arbitrary-playback limits.

Signal generator and waveform review materials on a bench

A supplier can then assess whether the intended record fits the memory, timing architecture and analog output performance. This preserves the relationship between the stored data and the physical stimulus the test needs.

← More from Signal Generator Guides (9)All 20 topics in Measurement Academy →

Need help choosing an instrument?

Tell us your required measurement range, test setup, and operating conditions—or browse all 20 topics in Measurement Academy.