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

Realtime Data Recording cannot be stopped properly #22

Open
Ferag-AG opened this issue Nov 21, 2024 · 3 comments
Open

Realtime Data Recording cannot be stopped properly #22

Ferag-AG opened this issue Nov 21, 2024 · 3 comments
Assignees

Comments

@Ferag-AG
Copy link

Ferag-AG commented Nov 21, 2024

Hi all

I use a Raspberry to record real-time data from a STWIN.box. I execute consecutive sequences of measurements, but when stopping the recording, the stop_log function sometimes gets stuck, and I've also noticed that a timeout in libusb occurs and the output console is filled up with:

2024-11-21 09:48:22,700 - HSDatalogApp.MonitoringDevice - INFO - Stopping separator data recording. (switch_monitoring.py:119)
2024-11-21 09:48:22,701 - HSDatalogApp.st_hsdatalog.HSD_link.HSDLink_v2 - INFO - Log Stopped (HSDLink_v2.py:376)
HSD_DLLv2: EP stopped: 0
HSD_DLLv2: EP stopped: 1
1Failed to reset device
2024-11-21 09:49:27,650 - HSDatalogApp.st_hsdatalog.HSD_link.communication.PnPL_HSD.hsd_dll - INFO - PnPL Response: {"PnPL_Response":{"message":"","status":true}}
HSD_DLLv2: libusb_control_transfer error: LIBUSB_ERROR_NO_DEVICE
HSD_DLLv2: libusb_control_transfer error: LIBUSB_ERROR_OVERFLOW
HSD_DLLv2: libusb_control_transfer error: LIBUSB_ERROR_NOT_SUPPORTED
HSD_DLLv2: libusb_control_transfer error: **UNKNOWN**
HSD_DLLv2: libusb_control_transfer error: **UNKNOWN**
HSD_DLLv2: libusb_control_transfer error: **UNKNOWN**
HSD_DLLv2: libusb_control_transfer error: **UNKNOWN**
HSD_DLLv2: libusb_control_transfer error: **UNKNOWN**
HSD_DLLv2: libusb_control_transfer error: **UNKNOWN** 
...

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       1.5Gi       5.2Gi        88Mi       1.1Gi       6.1Gi
Swap:          199Mi          0B       199Mi
arm=948M
gpu=76M
@pradolis pradolis self-assigned this Nov 21, 2024
@pradolis
Copy link
Collaborator

Hello @Ferag-AG
I've just reproduced your setup and started a series of acquisitions.
I've been doing a dozen of consecutive acquisitions for a couple of hours. As for now, I wasn't able to get your error.
Is the issue repetitive? Is there a specific setup or sequence of actions that you find out generating the error?

Best regards,
Simone

@Ferag-AG
Copy link
Author

Ferag-AG commented Nov 21, 2024

Hi @pradolis

The issue recurs repeatedly when measurements are in progress, sometimes after only a few recording sequences. I use two STWIN.boxes connected via USB with standard FW. The only thing that may be different is that I don't have a battery in the STWIN.boxes, so the setup is straightforward. But I also tried to place batteries and also tried without SD card in the STWIN.boxes, there is no changes.

Here I added the Python scripts I habe implemented.

Recording hangs.zip

Regards,
Ludwig

@Ferag-AG
Copy link
Author

Hi @pradolis

I just tried V2.3.0 of the SDK with corresponding FW on the STWIN.box and the problem stay the same. I also experienced the same behaviour using hsdatalog_GUI.py when stopping recording when two SWIN.boxes are connected by USB.

Regards,
Ludwig

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