Skip to content

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

@jwaiton

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    Prio 3

    Status

    Mid value Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions