Programatically Monitoring RT Memory Remotely

Hello,
Does anyone know if there's a way to monitor the memory of an RT target remotely without using RT System Manager?  I've been given an RT application that appears to have a memory leak.  I'd really like to set up a logging VI to watch the memory usage over time, but without that ability it's hard to get a clear picture of what's going on.  I'm aware of "RT Get Memory Usage.vi" and I've used it before, but I can't use it except locally on the target, and I'd rather not log to my cRIO's flash memory if I can help it.  I suppose I could write some TCP code to regularly transfer the memory usage over to a Windows application, but what if the TCP code itself is causing the memory leak?
If such a VI or function exists, I'd love to know about it, and if it doesn't exist, it would be really nice if someone at NI released one.
Any ideas?
Thanks in advance,
Jim

Hi Stephen,
Thanks for your reply.  Well, it's not that I can't use RT System Manager - it's just that it's a crude tool for what I'm trying to do.  What I mean by this is that I'm using System Manager to keep an eye on the memory over a prolonged period of time.  System Manager is a bit awkward because, to see memory usage all the time as an "alert," I've got to set up an alert that occurs when memory usage exceeds zero.  Then, all the alerts occur at regular intervals.  No problem; this works well enough.  To log the alerts, there's no way to set up a file and have a sort of disk-streaming setup.  The only way to log alerts is after the fact.  This isn't so bad, but I'm working on a lot of really large applications all the time and I regularly crash LabVIEW, and when that happens, I lose all of the memory data.  (I'm not at all saying that LabVIEW is unstable; Most of the time I have great luck with it.  I'm just dealing with some very complex and unusal code on a regular basis)  So then, as I said, it's not that I can't use it - I'm just hoping that there's a better way.
Apparently there is a better way!  After I wrote some slightly frustrated feedback to NI's product support, Mike from NI got back to me, and he said:
"There is a new feature in LabVIEW RT 8.6 that should solve your problem (logging Memory usage on an RT Target). Every RT Target now publishes its CPU and Memory usage levels as variables under the NI_SystemState process. Specifically, you can read the value of
\\target\NI_SystemState\Memory\Allocated
to see the current memory usage of your target. If you have DSC, you can bind this to a variable with logging, or you can just read and log the value yourself."
Mike, if you're reading this, I hope you don't mind my quoting you on this one, but I'm very grateful for your response and I thought I'd share the wealth.  I'm not using DSC, but I did successfully retrieve the variable using LOGOS via the datasockets protocol.  For those unfamiliar with the process, I've attached a screenshot.
Thanks again to Mike!  (And to Stephen for replying to my post)
Jim
Attachments:
MemoryViaLogos.png ‏5 KB

Similar Messages

  • Cisco video camera monitoring software from remote location

    Hello
    What is the best way to use the  Cisco video camera monitoring software from remote location.
    I am talking about the AVMS / SWVMS software.
    I am thinking of either a vpn tunnel or Remote Desktop (Terminal Services).
    I would like to use the vpn tunnel, but am afraid that the encryption/decryption of all data will drastically slow down the data throughput.
    THanks,
    Cliff
    CCO: clifford.gormley

    Hi Clifford,
    Thank you for posting. I use the AVMS software remotely and it works good. At first I changed the http ports of each camera and forwarded those ports in the router. I set up the cameras in the remote AVMS software with the WAN IP address and port number. That worked quite well. I then decided to try to reach the cameras through a VPN tunnel. I found that it worked perfectly and I was able to view up to 6 cameras. Your results will vary depending on how much bandwidth you have at each end. The important thing is the upload speed at the camera end of the tunnel. I have anywhere from 3-4 Mbps at any given time for the upload speed at the camera side and 30-40 Mbps download speed at the AVMS server side. I have also used UltraVNC to view the AVMS server through the tunnel and that worked well. Note that if you view the AVMS software using RDP you will see a black screen where the video should be. This is a limitation of RDP, not the software.
    Please reply if you have any questions.

  • Does Cisco Prime Infrastructure supports monitoring CPU,Memory, HDD for UCS , VMWare?

    Does Cisco Prime Infrastructure supports monitoring CPU,Memory, HDD for UCS , VMWare?

    Prime Infrastructure/ Assurance is  positioned today more towards managing network elements and network performance,  rather than server infrastructure. We are in the process of adding Datacenter  component support, with more focus on Nexus and UCS- due later this  year.
    Having said that, Prime Infrastructure allows the system user to  add custom SNMP polling templates, which can then be used for polling any SNMP  based values from any SNMP enabled device. These can be used to collect the  information you specified below and the polled information will be available in  dashboards and reports.

  • How to monitor java memory usage in enterprise manager

    I am running sqlplus to execute a sql package, which generates XML.
    When processing 2000+ rows, it will give a out of memory error.
    Where in enterprise manger can I see this memory usage?
    Thanks.

    Hello,
    it depends a little on what you want to do. If you use the pure CCMS monitoring with the table ALTRAMONI you get average response time per instance and you only get new measurements once the status changes from green to yellow or red.
    In order to get continuous measurements you should look into Business Process Monitoring and the different documentations under https://service.sap.com/bpm --> Media Libary --> Technical Information. E.g. the PDF Setup Guide for Application Monitoring describes this "newer" dialog performance monitor. Probably you have to click on the calendar sheet in the Media Libary to also see older documents as well. As the Business Process Monitoring integrates with BW (there is also a BI Setup Guide in the Media LIbrary) you can get trendlines there. This BW integration also integrates back with SL Reporting.
    Some guidance for SL Reporting is probably given under https://service.sap.com/rkt-solman but I am not 100% sure.
    Best Regards
    Volker

  • Temperature Monitor Alert:Memory controller heatsink Results!!!

    Hello all...
    I have a question about the Memory Controller Heatsink sensor in the temparature monitor and I would appreciate it if you could shed any light in my problem.
    Well it was long time since I checked my temperatures on my G5 DP 2.3 so yesterday while I was into some MP3 encoding I heard the fans making alot of noise ,not something unbearable but not the usual silence behaviour I was used to even under heavy load and with the nap off.
    So because of that noise I decide to check it with the temperature monitor but nothing unusual came up except...yes you guess it the Memory Controller heatsink.
    An alert came up and inform me that the temp was over 75 C/167 F.
    The threshold was by default at 75 C/167 F.
    Let me add that it's summer here and a hot one at 37 C and the room is not airconditioning,but it was exactly the same one year ago(June 2005)and I never came up with an alert.
    Also I have no problem with the rest indications.
    So what do you think is it normal or may I have a broken fan?
    And finally what is the Memory Controller Heatsink?
    Thanx in advance!

    The memory controller heatsink is shown, with the associated cooling tubes and fins, in the right-hand photo of the 'back' of the main logic board here
    http://homepage.mac.com/jerrycube/jerrycubepix/22601bluebord.jpg
    Air is pulled over the back of the main logic board and through the cooling fins, by the fan in a plastic housing, at 90deg to all the other fans, behind the hard drives.
    This fan is called "Main Logic Board Backside" by Hardware Monitor in this ancient DP2.0 - and is showing "20%" in 22deg C room temperature. "Memory Controller Heatsink" is at 54deg C.
    37deg C is above the specified max. 'Operating Temperature' of 35deg C shown here
    http://support.apple.com/specs/powermac/PowerMac_G5_Late2005.html
    I think it would probably be advisable to find some way of lowering the temperature of the room the G5 is in...

  • Least CPU Usage- Real Monitor or Apple Remote Desktop

    Hello,
    What would require the least processing power of a Mac Pro; a 24 inch monitor run via a DVI cable or the same image accessed via Apple Remote Desktop software and displaying the screen on another Mac? Here is the rest of the story...
    I am designing a home video surveillance system built around a Mac Pro and SecuritySpy. It will coordinate 12 network cameras (HD quality) and the potential load of the cameras alone will be huge. My goal is to place the Mac Pro in a locked network closet and administer it remotely. I can either go the Apple Remote Desktop route or have the monitor signal sent via an ethernet adapter, but the aim is to tax the CPU the least.
    So, what are your thoughts?
    “Technological change is like an axe in the hands of a pathological criminal.” (Albert Einstein, 1941),
    Dr. Z.

    Hatter,
    Well, the network closet will indeed have it's own dedicated air conditioning unit, so the heat issue should be addressed. However, initial calculations with the possibility of capturing twelve 0.8 Megapixel H.264 video streams at the same time would cripple any current Mac Mini model. Only a 2.93 GHz 12-core Mac Pro could handle this kind of load, and even then, at only 6 frames per second. Obviously I am very anxious to see what Apple will release with it's next line of Mac Pro's (if they don't kill firther production as rumored). I might also be interested in a Mac Mini cluster, but that would cost even more money in the long run.
    So, back to my original question. Anyone?
    More microchiops than sense,
    Dr. Z.

  • Monitoring Free memory in solaris 8

    Hi,
    I will like to monitor the amount of free memory in my system. I understand that as Solaris 8 implements "cyclical page cache", the value read from the "free list" column of vmstat will be much more accurate than previous version.
    But when i run it on my sparc, the value is 50208KB.
    But when i run Memtool 3.8.2, these are the values
    Total memory:119Mb
    Kernel memory:10Mb
    Application:52Mb
    Exe and lib :15Mb
    File Cache: 33Mb
    Free, file cache : 3Mb
    Free, free :3 Mb
    (33 + 3 + 3) =>39Mb
    Can someone tell me how to reconcile the values from this 2 tools? Which is more accurate? (or is there a better method?)
    Thanks!

    Kalpesh
    if you're reading this it would be @&$%#&$( useful to folks in this list to actually BE ABLE TO REFER TO KNOWN SUN BUGS and to be able to report their own.
    I couldn't log in to the sunsolve site - do I need a special password to be able to view bug status? (I agree I can find patches there, but
    not being able to view/report bugs as a user under the free license program is ridiculous).
    How can we get resolution on this?

  • Maximum number of monitors used for remote desktop not working correctly

    My goal is to connect from my home to my work machine but limit the number of monitors used to 2.
    At work, I have a machine running Windows 7 Enterprise SP1 with dual monitors. My home machine is Windows 8.1 Pro and it has 3 monitors (on two video cards).
    I followed the instructions of the MSDN blog post about using multiple monitors for remote desktop but cannot get it to work right.
    Here's what I see when I modify the group policy setting "Limit maximum number of monitors" on the target (work) machine:
    Setting - Result:
    1 - 1
    2 - 1 (???)
    3 - 3
    It looks like I can't limit the number of monitors used to 2, I get either one or all. Am I missing something or is this by design?
    Max

    Hi Max,
    Support for multiple monitors is available when connecting from any Windows 7/8.1 computer, however, there are restrictions when connecting to a computer using multi-monitor mode. When connecting to Windows 7 computers, only computers that are running Windows
    7 Enterprise or Ultimate can be connected to in multi-monitor mode. When connecting to Windows 8.1, only computers that are running Windows 8.1 Professional or Enterprise can be connected to in multi-monitor mode.
    Karen Hu
    TechNet Community Support

  • Monitoring the memory being used by an external process

    Dear All,
    I was just writing to enquire whether there was a method of monitoring the size in memory of an external program being called via the Runtime.exec() method. I am trying to submit a program to a cluster and as I have no access to the source code of the program I am submitting I need some way of externally monitoring it's size and I was wondering whether this was possible in Java?
    Thanking you in advance

    Biologist wrote:
    Dear All,
    I was just writing to enquire whether there was a method of monitoring the size in memory of an external program being called via the Runtime.exec() method. I am trying to submit a program to a cluster and as I have no access to the source code of the program I am submitting I need some way of externally monitoring it's size and I was wondering whether this was possible in Java?
    Thanking you in advanceYes it is but you can only monitor Enviroment specific to JAVA.If you need a solution you might look into JMX,java.lang.managent & java.lang.instrument pacakages and their is a tool called JConsole.
    try to google to get more smart results.
    Hope that might answer your question :)
    REGARDS,
    RaHuL

  • How to monitor phyisical memory utilization

    Can anyone let me know how to monitor the physical memory utilization using monitors/rules?
    The existing monitor which is there in windows server management pack monitors the virtual memory where as i wanted to monitor physical memory

    You have to create the monitor yourself.
    This monitor is called a Static threshold performance monitor. In the counter list, choose % commited bytes
    A walkthrough can be found here:
    http://technet.microsoft.com/en-us/library/bb309655.aspx
    Juke Chou
    TechNet Community Support

  • Programmatically monitoring Windows memory

    Hi
    I'd like to monitor the total amount of memory a Windows-process is using. Something like the Windows Task Manager does.
    This is primarially used to get the amount of memory an application built with Labview is using.
    I know there are several ways to calculate the memory of certain VIs and iterate through all Vis in memory, but that doesn't the trick.
    You'll miss out the memory that is consumed in a DLL. This is run in the same address space as the VI, but is not logged in any of the common LV monitoring tools.
    In my case I wan't to restart an application when the LV 8.6 Webserver eats too much memory, which it does if you plublish heavily decorated frontpanels.
    So I am sure there is way to get these numbers in a Windows Kernel or User method or property. Is someone better in MS internals than I? Then I'd really appreciate a hint.
    Gabi
    7.1 -- 2013
    CLA
    Solved!
    Go to Solution.

    Thanks guys
    I usually stick with Active-X but this time I could not follow the MS-sequence of methods and properties . Maybe it's also because I tried it on a German XP-Professional (SP3).
     Ultimatly the scan will have to run as well on a Windows-Server 2008/64 So I decided to go with .net.
    I didn't even know there existed an example for that. But since my problem was "monitoring memory" I would not search for System Monitor or Counters.
    So thank again.
    Gabi
    BTW: As compared to what google brings up for a search, NI is pretty poor.
    7.1 -- 2013
    CLA

  • Can anyone monitor their memory voltage?

    Can anyone out their measure their memory voltage with software? I tried the winbond monitor but the vdimm is all messed up.

    Well if you have an MSI motherboard Try there CoreCenter Software.. I think it moniters CPU Voltage and Mem Voltage.. Not completey sure but give it a try hope it helps  

  • Monitor Information/ Memory Information / Speed

    I have a few questions about the 24" Imac. First is it capable of supporting dual monitors, such as a viewsonic that I have? Second, can I purchase pc memory for Mac's? The price apple charges for memory is absolutely ridiculous. Third, how fast do macs run? Is the Imac capable of running Final Cut Pro on it with 2 GB of memory?
    thanks
    nofx1728
    ps. Can apple please, please, please upgrade their customer support? This has to be the worst functioning site that I have ever been to. It takes you 20 minutes to find out how to ask a question, and even then you ask it on user forums so it most likely isn't backed by apple. Why don't they get E-support where you can chat with an online support agent... like every other company has done.

    The imac 24" supports dual monitors out of the box, you just need to buy the correct adapter. If your viewsonic is vga then get the mini-dvi to vga adapter.
    You can use any memory that meets apple specs. Apples prices on their memory for the imac is very close to street. If you go 3GB then you can't be their price.
    Yes, it can run FCP with 2GB easily. FCP is fianlly native and runs great ton the iMac.
    Glor

  • Monitor RT Memory when executable is running

    I seem to be losing data after long or intensive use of my realtime system. The code running on the RT system is built into an executbable. Is there any way to monitor memory usage on a Real Time system (PXI-8187) while an executable is running?

    Yes, you can use the RT System Manager. Open LabVIEW and go to Tools --> Real-Time Module --> System Manager. Type in the RT IP address and the TCP port configured in your project under VI Server:Configuration (default is 3363), which you need to have enabled.
    Note: In System Manager, I uncheck the option to monitor VIs as I find that bogs down the system. It's checked by default.

  • Activity Monitor: System Memory. Questions

    Hi apple community. I have a questions about this picture above.
    This is my MBP retina performs in system memory.
    What is the wired thing (mark in color red)?
    Does this lower my mac's performace?
    if it do so, how to prevent things to being wired?
    and also the inactive (mark in color blue)
    what does it do? and does it effect my mac?
    if it looks bad, can u make suggestions for me on what to do to improve my mac performance like brand new?
    i have my mac for 7 months now.
    ur help will be much appreciated.
    Thanks.

    Apple support articles which seem to answer your general questions.
    Memory  - Using Activity Monitor to read System Memory and determine how much RAM is being used
    Memory - Check whether more RAM will improve performance

Maybe you are looking for

  • Restart/shutdown comps frm an attached file in mails created via java,other

    As, I have heard 'bout the invention of such attachment which when clickin' can restart/shutdown the computer tryin' to open it. I wonder if it really can be or just one of the bluffin'..... I first thought of creatin' a batch file n' sendin' it via

  • Palm TX won't sync anymore either with BT or cable....

    My Palm TX was running fine...syncing with BT and cable without any problems except when I last went to sync it the HotSync process started but it doesn't complete....the only error msg I get is after quite some time (long after the HotSync window ha

  • Creating a large 2 sided document.

    I need to create a large document. There will be 1600 unique front sides, and one common back side for the document. The front sides will be created thru a data merge. So, basically, all the odd pages will be unique, and all the even pages need to be

  • Loading Image from HTML page into Flash component

    Ok, after doing much research on the internet, I am pretty sure you have to be a Flash and Actionscripting Jedi in order to solve this issue. Here we go: I have created an HTML page using PHP and MySql that displays image thumbnails. When a user choo

  • Selected tab highlight hint color

    Hi, Is it possible to change the highlight hint color on a tab control?  What I'm refering to is the orangeish color that shows up at the top of the active tab on a tab control, as seen in the screenshot.  I can't find an attribute for this, nor can