Skip to content

[BUG]: read_file(file.wfm) returns AnalogWaveform object with only partial data (one frame of data) when file.wfm has multiple frames of data. #127

@Jim-Brookhyser

Description

@Jim-Brookhyser

Description of the bug

Given a waveform file (.wfm) with multiple frames, read_file() only returns one of the frames. I would expect one of the following behaviors:

  • All the frames are included as a single AnalogWaveform object stacked sequentially.
  • A warning message is returned stating only part of the data is opened. In this case, another function like read_file() would be needed that returns all the frames in some format.

ch8.zip

Steps To Reproduce

use

wave8 = read_file(ch8.wfm)

This waveform file has 1575 frames, but the AnalogWaveform object Wave8 has only one.

Environment Information

Python 3.13.3
Windows 11
64-bit x64 processor: Intel Core i9

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions