During an eight-hour oscillator aging test, the host plots one point per second. The expected disturbance from opening the chamber never appears. The raw file shows that the plot generated time from row number, and retries after communication failures skipped several groups of readings. The compressed time axis shifts events and hides gaps. Distinguish the actual measurement window, the order in which the instrument produced records and the host’s packet receipt time. Check whether the software writes a missing reading, a zero or a duplicate of the previous value, or drops the row entirely.
Data arriving in one millisecond may have been acquired at different times
Some counters acquire continuously and buffer readings before sending a batch. A hundred rows written by the host in one millisecond may come from separated measurement windows. The reverse can also happen. The counter may measure once per second on an external trigger while the host reads several seconds later, with retries adding more delay. Packet receipt time alone cannot define startup time. Check for sample timestamps, batch or item sequence numbers and buffer overflow flags before building a time axis. Keysight lists continuous gap-free acquisition separately from ordinary gating for the 53230A. Confirm the required mode is actually enabled.
For each device, save available timestamps for the triggering event, acquisition start, instrument completion and host read. Stability tests can also keep the original instrument sequence number. Decide how to record disabled timing, timeouts and loss of reference. Make zero frequency offset, missing data and unverified data distinguishable. To align a separate environmental logger, use an event recorded by both systems at the start and check drift at the end.
Worked example with assumed values. Schedule six measurements at whole seconds from 0 to 5. The counter should generate sequence numbers 1–6. Suppose the host receives only 1, 2, 5 and 6, with window starts at 0, 1, 4 and 5 s. Indexing by row moves readings 5 and 6 to 2 and 3 s, out of sync with the door log. Check for four received samples, two missing windows and a break at 2–3 s on the plot. If the observed offsets are 0, −1, +4 and +5 Hz, their simple mean is 2 Hz. The unobserved readings could be high or low, so the result describes four observations. Running this example through the report tests both timestamp parsing and gap handling.
Qualify the setup with a deliberate gap
Start with a stable retained sample and let the counter run at the specified rate. Record how many items should arrive, how many did, and instrument state throughout. On an approved test system, delay the PC read while the counter continues acquiring. If its buffer was large enough, normal measurement times should remain in order when the host resumes. A script that uses batch receipt time will assign the same time to many rows. Next, deliberately pause acquisition to verify how genuinely missing readings are marked. After restoring the setup, make sure the next device cannot inherit unread entries from the previous buffer. Capture both ends of each device’s batch.
An intermittent event may occur once. If software automatically retries and replaces a failed row with a later reading, the reviewer loses the failure time. Keep the original error and the retried sample ID, then decide which valid points to plot. For startup or loss-of-lock detection, repeat acquisition over an unrecoverable gap. A test interested only in the stabilized temperature plateau can collect sufficient continuous data separately. Dropping windows changes time coverage, and purchasing should consider where they occurred before accepting the retest.
Analyze a time series without hiding its gaps
For warm-up trends and environmental correlation, retain the uneven spacing and show missing intervals as blanks. Filling gaps with straight lines before calculating maximum changes can suppress an anomaly or shift the apparent turning point. Before calculating Allan deviation or similar metrics, check assumptions about completeness, adjacent samples and uniform spacing. NIST compared interpolation, zero filling and joining records with gaps. One approach is to report valid continuous segments with the limitation stated. Another is to reacquire a continuous record long enough for the specified averaging time. If a method supports a particular gap model, document its assumptions.
If logs provide a starting sequence number for the batch, keep both start and end numbers to distinguish a missing beginning, an incomplete tail and a loss in the middle. When timestamps are consecutive but item numbers are not, compare both when locating the first event.
The final table should show first and last valid timestamps, expected and actual sample counts and a list of gaps. If timing on either side of an anomaly is unreliable, collect a record that can be aligned instead of stretching the displayed axis. The host should preserve what the instrument acquired. Once the measurement windows correspond to event times, drift can be compared with power-up, temperature and other stresses.
