Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
6 ratings:
 4.16 out of 5     Rate this Document

Unable to Open Session to “visa://IP Address/PXI2::15::INSTR”

Primary Software: Driver Software>>NI-VISA
Primary Software Version: 3.5
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: CompactRIO, PXI/CompactPCI, Reconfigurable I/O (RIO)

Problem:
I have installed the necessary software and configured all hardware for my PXI controller, but each time I try to access any of the devices I get the following error:

Unable to open session to “visa://192.168.99.5/PXI2::15::INSTR”
Return status code: 0xBFFF00A8
Status name: VI_ERROR_NPERMISSION
Access to the resource or remote machine is denied. This is due to lack of sufficient privileges for the current user or machine


What is going on and why am I getting this error?

Solution:
The reason you are getting this error message is due to the VISA security settings. In Measurement and Automation Explorer (MAX), you have to explicitly give permission to the host PC trying to target the PXI Controller. Follow the steps below in order to configure the VISA security settings and this should take care of the error.



Open MAX.  Navigate to Remote Systems » Your PXI Controller » Software » NI VISA x.x.  Click on Security in the main window.




Click on Click to add new permission and either enter the IP Address of the host computer or enter "*"(an asterisk) to allow access to all computers on the same network. Save the settings by clicking the Save button at the top of the window and reboot the controller.

After doing this, you should have access to all devices in the PXI Controller.

Related Links:
KnowledgeBase 3CAA8VHD: What VISA Resource Should I Use When Communicating With GPIB Remotely in RT?
KnowledgeBase 31496OM9: My Remote FPGA Device Does Not Appear in the LabVIEW Execution Target List

Attachments:
VISA Settings 1.PNG
VISA Settings 2.PNG




Report Date: 03/30/2006
Last Updated: 05/27/2008
Document ID: 3VT8SL1O

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit