DreamSourceLab / DSView

An open source multi-function instrument for everyone
www.dreamsourcelab.com
GNU General Public License v3.0
1.13k stars 416 forks source link

Stream mode time limitation #725

Open c0d3z3r0 opened 10 months ago

c0d3z3r0 commented 10 months ago

I own a DSLogic U3Pro16. Depending on frequency and channel count there is a maximum sample time limit. Saleae Logic Pro 8/16 don't have such limitation but are limited only by the available computer memory (of course).

The DSLogic is based on the same components like the Saleae Logic Pro 16 (XC6SLX16 + CYUSB3014). I wonder, if you might be able to find out how exactly Saleae managed to do (mostly) unlimited streaming mode and implement that?

I noticed that time limit does not differ at all when (de)selecting RLE compression. Is RLE working at all? This should improve capture time!

EDIT: Regarding RLE: seems it's only implemented for buffered mode where it makes most sense. Still, it might help to improve streaming mode.

c0d3z3r0 commented 10 months ago

@dreamsource-tai @DreamSourceLab can you check this, please?

c0d3z3r0 commented 9 months ago

Any comment from you guys?

c0d3z3r0 commented 9 months ago

@dreamsource-tai @DreamSourceLab

Wouldn't it be a great selling point, when DSLogic supported unlimited streaming? (Yeah, of course PC RAM is the real limit then).

Is there any reason to not implement this or lift that limit?

DreamSourceLab commented 8 months ago

@c0d3z3r0 Apologies for the delayed response.

Currently, the 16G stream mode depth is solely limited by software. From a hardware perspective, there are no depth restrictions for the stream mode. Due to historical reasons, the software has imposed a maximum depth of 16G to prevent certain user experience issues, such as excessive memory consumption and impacts on computer performance. In upcoming software updates, we plan to utilize all available computer memory as storage space for the stream. This initiative is currently in progress.

RLE compression functions exclusively in buffer mode, serving as a basic hardware compression technique implemented in the FPGA to optimize the use of onboard DRAM. Once the data is transferred to the computer, RLE compression ceases to be applied.

Lastly, thank you for your valuable feedback.

c0d3z3r0 commented 8 months ago

That you very much for you response!

It might be worth, looking again into upstreaming to sigrok for joining forces :-) That would make a lot of people very happy

c0d3z3r0 commented 7 months ago

@DreamSourceLab any update on this? What about upstreaming?

c0d3z3r0 commented 6 months ago

That you very much for you response!

It might be worth, looking again into upstreaming to sigrok for joining forces :-) That would make a lot of people very happy

any update so far?

c0d3z3r0 commented 5 months ago

any update?