09-03-2012 10:53 AM
Hi,
the VI "RT Get Memory Usage.vi" is apparently no longer available in LabView RT 2012. The help says to go to ni.com/info and enter a Info Code but this code leads to nowhere. My question is now on how to replace this VI with a LV 2012-compliant pice of code?
Thanks for help,
Christoph
Solved! Go to Solution.
09-03-2012 11:43 AM
I guess the VI you have mentioned is available only in the RT target and you will not be able to see that when you create a vi in the host, so create a Target and then create a vi and check it there. Also check whether you have installed the RT toolkit properly.
09-04-2012 04:53 AM
09-11-2012 04:02 PM - edited 09-11-2012 04:06 PM
The RT Get Memory Usage has now been replaced by the function contained in the System Configuration API. You can find the replacement function by browsing to RT Utilities >> System Configuration >> RT Software >> System Node. Drop this node in your code, left-click on it and browse to System Resources. There you should be able to find all of the functions that were previously contained in the RT Get Memory Usage vi.
09-19-2012 12:58 AM
Hi Kyle,
that did the trick, thank you for helping!
Christoph
10-04-2012 06:43 AM
The properties seems to be there, but from the "System Resources:Largest Available Memory Block" I always get zero on my cRIO-9073 application. Any idea why?
BTW: it looks like they have started to show it in kB, not bytes as previous. Also, it is now represented in double type, without showing the decimals. A bit strange...
01-10-2014 12:02 PM
I'm experiencing the same issue with the sbRIO-9636 and LabVIEW 2012 -- Largest Avail. Memory Block returns 0. Has this issue been solved? Prior to reading the LAMB, I read the Serial Number, and that value is correctly returned, so I'm fairly certain I have the System Session opened correctly.
03-12-2014 07:12 AM
Thanks for this, I found that opening the session to local host took a couple of seconds so I made sure I only did it once in a loop.
06-04-2014 09:35 AM
Did someone has used this "System Hardware" Property Node in cRIO 9068? I need to create some code based on the Memory usage but this node apparently seems not to work with this RT target (ERR -2147467263)
Regards,
Alberto
01-19-2016 01:54 AM
Thanks a lot.