LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Slow and laggy Front Panel selection at edit time

Solved!
Go to solution

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.




Certified LabVIEW Architect
Unless otherwise stated, all code snippets and examples provided
by me are "as is", and are free to use and modify without attribution.
Message 11 of 12
(614 Views)

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.  

 

 

0 Kudos
Message 12 of 12
(609 Views)