LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 9871 Connection from Another RT cRIO

Solved!
Go to solution

Hi,

getting error -1073807192 (VISA: (Hex 0xBFFF00A8) Access to the resource or remote machine is denied. This is due to lack of sufficient privileges for the current user or machine.) when accessing serial port/resource on second cRIO chassis with NI-9871.

Accessing the port from desktop PC works fine.

I have checked and all the settings in NI-MAX, installed latest NI-VISA Server on both chassis.

Can see the ports in NI-MAX.

Both chassis in scan-mode.

Have checked NI-VISA Server permissions, even added individual IP addresses, even tried new users.
See snapshots below:

NI-MAX ConfigNI-MAX ConfigLabVIEW ErrorLabVIEW Error

Any help appreciated.

Thanks,

Peter.

0 Kudos
Message 1 of 4
(2,376 Views)

What do you have on your cRIO-9066? What's the setup like? Can you send instructions from a test panel on VISA? In the constant to select the resource what else do you see?

 

Regards 

0 Kudos
Message 2 of 4
(2,330 Views)

Thank you for the reply, below are snapshots with details.
In short, the four com ports from NI-9147 show in MAX but not in the VISA test panel or the LabVIEW diagram (had to type in the address and resource name manually).VISA-list.png

VISA-interactive-control.PNGcRIO-9066-chassis-modules.PNG

0 Kudos
Message 3 of 4
(2,314 Views)
Solution
Accepted by topic author planc

Problem solved, access/permission granted!

Here is how to fix the -1073807192 error when accessing second cRIO from cRIO over one Ethernet:

 

I have reconfigured everything to the second local network (second Ethernet card in my PC) 169.254.0.x.

 

Manually edited /etc/hosts on both cRIOs (see below).

 

Rebooted both cRIOs.

 

Now have access!

 

The hosts files:

 

169.254.0.3:
127.0.0.1       localhost.localdomain           localhost
169.254.0.3     NI-cRIO-9066-01cc788a.local     NI-cRIO-9066-01cc788a

169.254.0.2:
127.0.0.1       localhost.localdomain           localhost
169.254.0.3     NI-cRIO-9147-01cb9b6c.local     NI-cRIO-9147-01cb9b6c

 

Thank you NI support for helping out with this one.

 

Peter.

Message 4 of 4
(2,291 Views)