clariusdev / mobileapi

Android API Allowing IPC with the Clarius App
https://www.clarius.com
BSD 3-Clause "New" or "Revised" License
12 stars 4 forks source link

Raw Data Downloading #10

Closed shawaf92 closed 2 years ago

shawaf92 commented 3 years ago

Hi ,

There's no issue here just need to understand more how is raw data downloading is working I made many test sometimes it's very small size like 25 mb and sometimes it's 180 mb Does it work per cine ?( I mean if i run capture cine and then download raw data will it download the raw data for this cine only or all the raw data for past cines )

Thanks

clariusk commented 3 years ago

yes, when you turn data on, it buffers on the probe device. when you then make a single capture, it will just download the corresponding frame, and when making a cine capture, it will download the last X seconds of data, assuming that it is still buffered - note that buffer is of fixed length on the probe device, so scrolling back in the cine and downloading may not yield any raw data if it has been overwritten

shawaf92 commented 3 years ago

okay , how much time it still buffered after taking a cine ? and assuming the current scenario for taking 4 cines from 3rd party app : 1- Capture Cine 1 -> Download Raw Data -> Raw_Data1.tar
2- Capture Cine 2 -> Download Raw Data -> Raw_Data2.tar 3- Capture Cine 3 -> Download Raw Data -> Raw_Data3.tar
4- Capture Cine 4 -> Download Raw Data -> Raw_Data4.tar

Will that work (having raw data tar file for every cine) or Raw Data 2 will have raw data for cine 1 and 2 and so on . Cause i saw that only Raw_Data1.tar that has normal size and then next ones getting bigger .

clariusk commented 3 years ago

buffer is fixed size, so not time dependent, depends on scan settings buffering/downloading raw data works as follows:

shawaf92 commented 3 years ago

So following on that I have been trying this order to download the data But there are many stability problems and result usually don't have the correct data

I was doing the following from 3rd party app depending on mobile API

So How can I avoid these exceptions, what's the best scenario?

shawaf92 commented 3 years ago

Any help with these issues ?

clariusk commented 3 years ago

we'll have a team member take a look, and try and reproduce, thanks for reporting.

shawaf92 commented 3 years ago

Hi Kris , were the team able to reporduce these issues ? should I expect any fix for it soon ?

clariusk commented 3 years ago

there have new stable software in pilot (8.4.2 on Android and iOS), and suggest trying this. we'll have some updated api docs as well to go along - app store release likely later this month

julien-l commented 3 years ago

Hello, you can access pre-release versions in the "pilot" program: https://support.clarius.com/hc/en-us/articles/360019548852-Joining-the-Pilot-Program.

shawaf92 commented 3 years ago

Hello Julien, Please add me to the testers list on google play:mshawaf@oncoustics.com

julien-l commented 3 years ago

Hello, I just checked the status of the next Pilot version: it is still undergoing internal testing to ensure stability. It shall be available soon, sorry for the delay.