ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plot Data on waveform graph

Solved!
Go to solution

Hi all

      I am trying to plot data on waveform graph with 1MS/s. Same data size I have to plot for 6 graphs. When I try to write data to graph the code will be crashed and throw error like NOT ENOUGH MEMORY TO COMPLETE THIS OPERATION. Please suggest idea to solve this issue.

0 Kudos
Message 1 of 4
(726 Views)
Solution
Accepted by topic author duraik756

Hi duraik,

 


@duraik756 wrote:

Please suggest idea to solve this issue.


Don't plot so many samples on your graph(s)!

 

Decimate the data to a reasonable amount of samples. (Hint: number of plotted samples should be less than twice the graph width in pixels…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(714 Views)

Hi GerdW

         Thanks for your reply. Actually, my requirement should not decimate the samples.

0 Kudos
Message 3 of 4
(675 Views)

Hi duraik,

 


@duraik756 wrote:

my requirement should not decimate the samples.


Then this requirements sounds silly!

IMHO it doesn't make sense to display a 1MS/s stream of data completely on a graph with ~500 pixels width…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(670 Views)