VISA Error 0xBFFF00A8 Under a myRIO in MAX

Updated Aug 8, 2024

Reported In

Hardware

  • myRIO-1900
  • myRIO-1950

Software

  • Measurement & Automation Explorer (MAX)

Operating System

  • Windows

Issue Details

I’ve connected my myRIO to my network. However, when I look under remote systems in Measurement & Automation Explorer (MAX) on my host PC, I can see the controller, but under Devices and Interfaces I get the following error:

VISA error code:0xBFFF00A8(VI_ERROR_NPERMISSION)
Description of error: viFindRsrc returned 0xBFFF00A8 (Access to the resource or remote machine is denied. This is due to lack of sufficient privileges for the current user or machine.)

Please check the remote machine's settings and make sure you have added this machine's network address to the permission list.

Possible causes for this error:
1. The remote machine you are accessing has not granted you permission.
2. The remote machine you are accessing has denied you permission to access its resources.
3. You may have set up your server with a specific IP address and configured your client machine to different IP address rather than the machine name (ie. the client's IP address is assigned by a DHCP server).


The error is shown in NI MAX as below:
VISA error code: 0xBFFF00A8 (VI_ERROR_NPERMISSION)

Solution

The VISA error is caused by the incorrect VISA permission settings on the RT target. To change the permissions, you may refer to this kb: Unable to Open Session to “visa://IP Address/PXI2::15::INSTR”.

If above steps still couldn't resolve your issue, you may proceed to reformat or restore your target as per below steps:

Please note the following before formatting. When you format the disk, you will lose all programs and configuration data on your controller. Make sure you have a backup copy of any files you may need from your controller and make a note of your IP configuration. There is no need to back up any of the driver or run-time files as they will be reinstalled after the format.​​​​​​
 

  • Reformat your remote target.
    1. Right-click on your target and select Format Disk.Right-click on your target and select Format Disk.
    2. After complete formatting, install Base System Image and then install the required software that needed to program your myRIO device. Steps to install software on RIO target
  • Restore target to the factory default configuration
    • Please contact NI Technical Support to get assistance to restore a Linux Real-Time target (ARM-based targets) to the factory default configuration. To get in touch with a Technical Support Engineer, open a support request at NI Support.