Skip to content

Waveform decoding sets sampling size to zero if below 1 #74

Closed

Description

@jwaiton

The current decoding processes assume that the sample_size is always an integer value (and atm, we assume that this is also nanoseconds, although this doesn't matter too much). This works fine for the current digitisers in use, but is causing problems with the decoding of new hardware (lecroy oscilloscopes being the main cuplrit) where they have sample size stored as floats < 1.

There should be a catch check for sample size to ensure that if the value is incongruent with being cast as an integer (for example, 0.4 --> 0, or 1.9 --> 1), there is a warning at the very least, or perhaps some method for handling the result.

Activity

  1. added theissue type on Apr 1, 2026
  2. moved this from Triage to Prio 3 in MULE issues boardon Apr 1, 2026
  3. moved this from Triage to Mid value Issues in MULE points liston Apr 1, 2026
  4. changed the title [-]waveform decoding sets sampling size to zero if below 1[/-] [+]Waveform decoding sets sampling size to zero if below 1[/+] on Apr 1, 2026
  5. jwaiton commented on Jun 23, 2026

    @jwaiton
    MemberAuthor

    Resolved in #79

  6. moved this from Mid value Issues to Done in MULE points liston Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions