Bug 1793 - Infinite Loop in data acquisition
Summary: Infinite Loop in data acquisition
Status: CONFIRMED
Alias: None
Product: PulseView
Classification: Unclassified
Component: Acquisition (show other bugs)
Version: unreleased development snapshot
Hardware: x86 Linux
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-18 21:46 CEST by me
Modified: 2022-08-18 21:46 CEST (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description me 2022-08-18 21:46:29 CEST
Hello!

Apologies, I'm not a C/C++ programmer so I'm not sure how to go about fixing this. 

When doing data acquisition with a Siglent 1104X-E over TCP, the acquisition finishes but then the program enters an infinite loop printing "WARNING: Received analog packet with 0 samples.". This loop does not appear to effect PulseView until you try to do another action (such as save to file, or change scope settings), at which point PulseView freezes. The only way to exit is to send SIGKILL.

It appears this comes from pv/session.cpp, line 1560.

If there is any more information I can provide or any work I can do please let me know. 

Tyler