09-14-2020 12:06 AM
How many points are in the ECG plot? A quick fix might be to write an empty plot to the graph when stopping the VI.
If the plot displayed in the graph is static (no zooming or limit changes), another option would be to preprocess the data before plotting it to reduce the number of points. A plot with 10 million points can be reduced to 100k points (or fewer, depending on your screen resolution and DPI settings) without any visible difference.
09-14-2020 02:51 AM
This is a 21 hour recording with ~10M samples. I was hoping to keep it simple so I can go from big picture to zooming a few beats and back to big picture without extra programming (i.e. just using the graph palette x-zoom tool). This size file seems to be pushing 32-bit LabVIEW anyway, so maybe min-max decimating the big picture is in order.
It is interesting that the static graph slows down the UI, I would have thought that it is just a stored as a pixel-for-pixel image in memory at edit time. Programmatically clearing the plot sounds like a simple and effective thing to do - I’ll add that.
Have you ever compared lag behavior between 32 and 64-bit LabVIEW ? I’ve always stayed with 32-bit for library compatibility, so have never tried 64-bit.