Hello! I am a newbie on the VI SDK, and I have been using C# as my primary language for accessing it (along with the VIForDotNet open source project on SourceForge). I need sample code (in any language, but preferably C# or Java) that shows the correct way to retrieve single instances (real time) of memory and CPU counter data. By "single instance", I mean a SINGLE value in the result that is guaranteed to either be a real time reading of the information or the absolute LATEST sample.
I wish to retrieve this value without having to use begin and end timesif possibleso I don't have multiple results from multiple samples to parse through. I am interested, specifically, in CPU utilization, memory active, memory reserved, memory used, CPU used, CPU idle, etc.
Can anyone help?