Skip to content

Convert capture method for sensor oscilloscope into a non-blocking call #58

@jithinbp

Description

@jithinbp

The capture method for acquiring time critical datasets from sensors is currently a blocking call. This freezes up GUIs that may become unresponsive if acquisition length is of the order of seconds.

I propose to modify the same into three separate functions

  • Function to initialize the acquisition process. Arguments will include Address of the I2C sensor, Address of the sensor's register to start reading from, number of bytes to read per sample, total number of samples, and timegap.
  • Function to fetch the buffer after it is filled
  • Function to interpret the fetched buffer. This will handle data conversion into int/float, and return time, data arrays

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy