03-02-2015 09:40 AM - edited 03-02-2015 09:40 AM
Hello.
I am using a cRIO-9076 to communicate with a Keithley 2400 through the RS-232 port on the cRIO. I have a test vi that is built using the Keithley 2400 drivers and it works perfectly fine with the vi is located under "My Computer" in my project. If I move that vi onto the Remote NI-cRIO9076 potion of the project and try to run the vi I get a
VISA: (Hex 0xBFFF00A8 Access to the resource or remote machine is denied............
I've seen that I need to add something to the Remote Access List on the cRIO which I find a little confusing. I want to use the serial port on the cRIO through VISA to communicate to the Keithley, so I need to give the cRIO permission on the cRIO?? I'm obviously confused.
I've tried adding a simple * (wildcard) to the access list as a temporary solution but I will still get the same error.
I would appreciate some guidance.
Thank you
Roth
cRIO 9076
Lab View 2013
Keithley 2400
NI-VISA 5.4.0
Solved! Go to Solution.
03-02-2015 09:45 AM
03-02-2015 10:17 AM
Yes. I've tried exactly that. I entered the "*" to rule out the chance of using the wrong IP for the moment.
03-02-2015 07:53 PM
if you want to move the vi to the CRIO, you may change the resource name.
my example is based on cRIO-9068. While executing the MAX on my local host, there may show as below.
The resource for the cRIO-9068 should as "ASRLx:INSTR"
Good luck!
03-03-2015 05:42 AM
Thank you.
Yes, I just figured that out last night. While the vi was loaded on my host system the location was visa://111.111.1.111/ASRL1::INSTR but if I simply drag the vi down to the remote host that location is incorrect and will give a permission error. I needed to change the resource name to just ASRL1::INSTR.
A simple gotcha.
Roth
10-10-2016 12:44 PM
Hello,
I already make changes and I can not activate the com port.