PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the solution to visa error VI_ERROR_NPERMISSION

I am having a problem communicating with a PXI 7831R in a PXI 1031DC chassis that is running Labview RT.  When I try to run the FPGA code it compiles, but it does not seem to download and run.  Nothing happens (no errors, etc) when the run button is subsequently pushed, it just pops out again.  When accessing the PXI remotely through MAX running on a PC, the remote system is visible as well as the PXI chassis and all of the cards in the chassis.  However, when I try to open a VISA session I get an 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.


I also was unsuccessful at starting and running the simple FPGA code with an RT host VI.  Are there some privileges that need to be modified on the PXI machine?  Or is it a different problem?  Can you suggest a solution?
0 Kudos
Message 1 of 6
(7,737 Views)
Hello Mgerty!

I believe you may have your visa permissions set incorrectly. Are you able to target your FPGA in LabVIEW? Either way make sure your visa settings are correct.

http://ae.natinst.com/operations/ae/public.nsf/web/searchinternal/eee781052ac0908a86256d980053734c?OpenDocument

If this is not the case can you see your FPGA in remote systems in Measurement and Automation Explorer? Let me know and we will go from there. Have a great day!

Allan S.
National Instruments
0 Kudos
Message 2 of 6
(7,726 Views)
Allan,

I followed the instructions in the document that you indicated. The remote system was already checked, but I had to put a * in the permissions settings. The problem was not solved, however.

I can see the PXI chassis and FPGA card in MAX under the remote system. I can target the FPGA type, but only in "compile only" mode. I can't target the specific card. When I compile it goes through the compilation routine, but it does not run.

I would appreciate any other suggestions that you might have. Thanks for your help!

Mike Gerty
Paccar Technical Center
0 Kudos
Message 3 of 6
(7,722 Views)
Hello Mgerty!

Did you make sure in your host's visa settings you had a * in security settings? If this still does not fix your problem what version of NI-RIO, NI-VISA, and NI-DAQ do you have installed on your host and your target? Next, be sure that the driver versions are the same on both computers. Was your FPGA ever working or was this occuring on installation. Let me know this information and we will go from there. Have a great day!!!

Allan S.
National Instruments
0 Kudos
Message 4 of 6
(7,709 Views)

Allan,

It looks like the problem is solved.  I had a * in the host's permissions, but not the target's.  I can now target the FPGA.  One thing I noticed is that the target is running VISA 3.2 and the host is running VISA 3.3.  Will this be a problem in the future?

Thanks for all your help, it is greatly appreciated.

Mike

0 Kudos
Message 5 of 6
(7,703 Views)
Hello Mike!
 
It is imperitive that you have matching versions of software on your host and target.  I would strongly recommend installing VISA 3.3 on your target. Have a great day!!
 
Allan S.
National Instruments
0 Kudos
Message 6 of 6
(7,689 Views)