LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

UI Execution Speed Drops Off Over Time

While the idea of decimating is valid, it does complicate the work if zooming is required.

 

I BELIEVE that behind the scenes the charts has to be doing some automatic decimation due the reason mentioned by others. The amount of CPU required to update a chart can often be reduced by...

 

1) Reducing how often the chart is updated - Throw more data at it less often.

 

2) Avoid complicated plotting styles - Step type plots require more work.

 

3) Avoid auto-scaling if possible - A rescale requires the whole chart be re-computed.

 

4) Defer Front Panel Updates - Defer the update, apply the updates, let LV update the chart without updating the actual display, then undefer the udpates.

 

Just my 2 cents,

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 11 of 11
(699 Views)