08-12-2009 10:05 AM
Is is possible to determine the amount on onboard memory a 5152 card has through the NI-Scope or Measurement & Automation Studio?
thanks!
Paul
08-12-2009 04:03 PM
There is a property called Memory Size in the NI-Scope API. If you are using LabVIEW: drop the NI-Scope property node and select: Horizontal->Memory Size. This will indicate the total number of bytes of memory for all channels. For a typical 2 channel digitizer with a "8MB option" the 8MB is per channel, so the property node will report 16MB. The 5105 is unique in that it can divide up all the onboard memory dynamically based on the number of channels enabled.
This is also available in C as NISCOPE_ATTR_ONBOARD_MEMORY_SIZE.
08-12-2009 04:39 PM
thanks for the information. I was hoping it was possible with one of the utilities that is provided with the card...either NI-Scope or Measurement Studio. I see that you can access many properties in Measuremtn Studio but just don't see the one you mentioned. thanks again!
paul
08-13-2009
02:35 PM
- last edited on
01-27-2025
03:09 PM
by
Content Cleaner
Hi Paul,
Are you using the .Net Class Libraries? Or straight-up C?
In the C API, details on the NISCOPE_ATTR_ONBOARD_MEMORY_SIZE can be found in the NI High Speed Digitizers Help under the Instrument Capabilities subsection of the Attributes (Online Version)
In the .Net Class libraries the equivalent attribute is OnboardMemorySize, a member of the ScopeTiming class.
We also have a Knowledge Base article How to Read the Onboard Memory Size of a Modular Instrument here.
-Jennifer O.
08-14-2009 08:31 AM
Hi Jennifer,
I was hoping to do this without any code or LabView. I was hoping this could be done with one of the utilities that comes with the card. I looked through the info you sent and I do not see anything that leads me to beleive this is possible. If Ihave to write some C code, I can do that but was just looking for a simple solution. We have a couple of 5152 cards in another office and we are trying to give our colleagues in that office a simple procedure to confirm that they are configured correctly.
Paul
08-14-2009 10:22 AM
11-29-2020 12:33 PM - edited 11-29-2020 12:34 PM
For completeness, here is the code that that will return the scope memory size for the entire scope. Of course, you will have to edit the constant with the name of the scope.
From the documentation,
Horizontal:Memory Size
Short Name: Memory Size
Returns the total combined amount of onboard memory for all channels in bytes.