Limits of NI-SCOPE Memory Size Property

Updated Apr 28, 2020

Reported In

Hardware

  • PXIe-5160
  • PXIe-5162

Issue Details

I have a NI PXIe-5160/62 digitizer with 2GB of onboard memory.  Why does the NI-SCOPE Memory Size property return 2,147,483,647 bytes instead of 2,147,483,648 bytes?

Solution

The NI-SCOPE Memory Size property returns the onboard memory size in bytes using an I32 datatype. Unfortunately, the max value of the I32 datatype is 2,147,483,647. For NI digitizers with 2GB of onboard memory or more, this property will return the I32 datatype max value instead of the actual number of bytes available in onboard memory. The 2GB PXIe-5160/62 actually has 2,147,483,648 bytes of onboard memory.