viatom-develop / LepuDemo

9 stars 7 forks source link

UncompressAlg problem with duoEk #2

Open lcristiano opened 1 month ago

lcristiano commented 1 month ago

Hi,

We tried to take ECG measurements from a DuoEK using the protocol Wellue give us. We took the bytes from the device and coupled them in shorts in python (we need to do the parsing server-side, not on client side). But when we try to uncompress the bytes shorts (Do we need to do that for the duoek?) using the UncompressAlg inside this demo, the output values grows linearly. If we don't uncompress them, if we try to plot the ecg with 125 Hz we get an ECG that looks like someone applied on it a sin filter or something similari. What we do wrong? Can you help us?

Thank you

Chenyongfeng-424 commented 1 month ago

Hello,

The offline files downloaded from DuoEK devices need to be decompressed before drawing an electrocardiogram. Real time measurement data does not need to be decompressed.

You can contact our sales team for more detailed assistance.