Error -8000FFFF Happens during PXIe-5114 Self-Calibrate in MAX

Updated Jul 22, 2024

Reported In

Hardware

  • PXIe-5114

Driver

  • NI-SCOPE 19.1
  • NI-SCOPE 20.0

Issue Details

When self calibrate PXIe-5114 in MAX I got the following error:
错误代码: 8000FFFF 无法校准设备 Error code -8000FFFF Unable calibrate device.
Here is the screenshot:
image.png
The code which calls self-calibrate to the scope will hang then crash as well. 

OS is Windows10 and it's found the issue can happen on NI Scope driver version 19.0, 20.0. Under same software environment this issue does not happen on NI Scope driver version 21.0, 22.5, 23.5.  

Solution

In NI Scope driver 19.0 and 20.0 the self calibrate needs to access the shared memory files under "ProgramData\National Instruments\Shared Memory\platform\memory\sharedMemoryFiles".
There are 2 floating shared heap files being created under this directory when system boots up, one is internal and one is public. Issue happens when the access to these 2 files was denied. 

Granting Read/Write access of the folder "ProgramData\National Instruments\Shared Memory\platform\memory\sharedMemoryFiles" to the account can solve it.