Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recording from several devices at same times lead to time values of zero in .dat files. #21

Open
Ferag-AG opened this issue Nov 19, 2024 · 1 comment
Assignees

Comments

@Ferag-AG
Copy link

Ferag-AG commented Nov 19, 2024

Hi all,

I have two STWIN.boxes connected by USB to a Raspberry and I'd like to record vibration (iis3dwb_acc) and sound (imp23absu_mic) data with these two STWIN.boxes simultaneously. Data logging using SensorAcquisitionThread behaves correctly, but when data from the imp23absu_mic.dat file is read in later using get_dataframe, the sound data have a time value only up to few seconds, after which this value remains at zero.

Recording from only one STWIN.boxe over USB works as expected.

fp-sns-datalog2 version used: 2.2.0

Rasberry Infos

==== Raspberry Pi Hardware and Software Summary ====
Model and Revision:
Revision	: d03115
Model		: Raspberry Pi 4 Model B Rev 1.5

OS Information:
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian

Kernel Version:
6.6.51+rpt-rpi-v8

Architecture (32-bit or 64-bit):
64-bit

Firmware Version:
Aug 30 2024 19:17:39 
Copyright (c) 2012 Broadcom
version 2808975b80149bbfe86844655fe45c7de66fc078 (clean) (release) (start)

Memory Info:
               total        used        free      shared  buff/cache   available
Mem:           7.6Gi       2.5Gi       3.9Gi       105Mi       1.5Gi       5.1Gi
Swap:          199Mi          0B       199Mi
arm=948M
gpu=76M

Attachments

ZIP containig the recording Python script and device_config
ZIP of the recorded data

@pradolis pradolis self-assigned this Nov 21, 2024
@pradolis
Copy link
Collaborator

Hello @Ferag-AG
I'll review and debug your files, then I'll come back soon.
I'm happy to see an example of a custom application built upon top of our SDK.
The multiuse case has never been tested internally or natively supported by our examples.
Let see if I can help you debug your application.

Best regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants