LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV 7.1 "vi metric - total data size" not working anymore

After upgrading to labview 7.1, the "Total Data Size" of the VI server property "Metric" returns data only when the VI is not in the run mode, it returns 0 when vi is executing (see the attached pic). It hardly make any sense because I want to monitor the memory size allocated by the VI while it is running to check for memory leak.

Does anyone has an alternative way to get the allocated memory size while the vi is running? Thanks.

-Joe
0 Kudos
Message 1 of 5
(2,903 Views)
Tools>>Advanced>>Profile VIs...

This can tell you a lot about both memory and timing of running VIs. Very useful for finding subtle flaws.

Lynn
0 Kudos
Message 2 of 5
(2,902 Views)
thanks, but it too does not report the data size used by the running vis. it does report it only if the running is in edit mode. It used to be working. Seems like NI fixed some bugs in lv 7.0 but disabled more useful features in 7.1. Hope they come out a fix quick.

-Joe
0 Kudos
Message 3 of 5
(2,903 Views)
I get the error

Error 1000 occurred at Property Node (arg 1) in MyTest.vi

Possible reason(s):

LabVIEW: The VI is not in a state compatible with this operation.

I wonder how we are supposed to get a result without running the vi...

Richard 😉
0 Kudos
Message 4 of 5
(2,870 Views)
You can also try using the Memory Monitor.vi in C:\Program Files\National Instruments\LabVIEW 7.1\examples\memmon.llb. Run this VI first and then run the VIs you want to monitor. You can then choose select that VI to monitor in the Memory Monitor.vi to view its memory usage.

Hope this helps!

Kileen
0 Kudos
Message 5 of 5
(2,853 Views)