LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does ActiveX 3DGraph use so much memory?

Hello, all!
 
I'm trying to create a waterfall power spectrum display using the ActiveX 3DGraph control, but as it runs it begins to consume almost all of my free RAM.  I've tested the example program provided in LabWindows, but it does the same thing (at a much lower rate).  I've tried to use the given "clear all" command to clear the graph, but it doesn't seem to help.  I hasten to add that the buffer from which the data are taken is quite large (1024 x 100 of 64-bit real), and may simply be too much for the control to handle well, but how can I keep the control from tying up so much memory?
 
Thanks!
 
Slowpoke
Slowpoke
CLAD (believe it or not!), using LabVIEW 8.5

They don't call me "Slowpoke" for nothin'!
0 Kudos
Message 1 of 3
(3,367 Views)
Thanks for bringing this to our attention.  I see the same results here, so I have submitted this as an issue to R&D so that they can look into it.
Thanks,

Andy McRorie
NI R&D
0 Kudos
Message 2 of 3
(3,348 Views)
Hi Slowpoke,

This was actually an issue with the examples and not the graph itself.  The examples were not discarding a variant type used for the graph.  You can modify the example to discard the variant type, or use the graph outside of the example.

Gavin Fox
Systems Software
National Instruments
Message 3 of 3
(3,245 Views)