01-19-2006 05:25 PM
Hi,
I'm using a PXI 7811R FPGA on a windows XP platform. Everything is ok when I log on as an administrator. However, when I log on as user I get the error message "Error -61023 occurred at Open FPGA.VI Reference/call VI in FPGA Open.VI - mymain.vi". This message does not occur and my application will run if I go the MAX and save my
Thanks
LeRoy
01-20-2006 12:08 PM
01-20-2006 02:48 PM
Thanks for the reply Steven,
I was already forced to implement your recommendations to get the remainder of my hardware working in user mode. I've also tired granting user’s higher privileges to the remaining directories also with no luck.
01-24-2006 10:45 AM
LeRoy,
When you say you granted users higher privileges, does this mean you have granted them admin. rights? Also I was unclear on what was meant by saving your RIO alias to the persistant memory. Does this mean you are saving a new alias every time you launch MAX?
You may also want to check the visaconf.ini file to make sure your VISA aliases are being saved properly. The visaconf.ini file will be found in the following directory. The relevant Aliases should be under the [ALIASES] heading.
The issue seems to be a file access problem so we need to pinpoint what file is not allowing access to user accounts.
01-25-2006 03:43 PM
Hi Steven,
I had temporarily granted users higher privileges to various folders (read & write Modify and then full etc.) as part of my troubleshooting. I even granted temporarily granted users full rights to the “Xlpnp” folder you mentioned with no luck. The file that you mentioned (visaconf.ini) does contain all the correct setup information (The FPGA alias is there)
Under the Measurement & Automation Explorer>>”Devices & Interfaces” >>”NI-RIO Devices”>>>”NI-7811R(My FPGA)” there is a save tab located above the visa alias name. The hint that appears when the cursor is placed over the save tab is “Commits all changes for this item to persistent storage.”
Since I only have 1 FPGA card in my system I changed my FPGA open VI to automatically search for the first FPGA it finds. Even with this change, I’m still getting the same error message as before “can’t find my FPGA reference”
Thanks for you help Steven,
LeRoy
01-25-2006 05:15 PM
LeRoy,
I was curious if you would still receive the same error if you allowed your users to specify the VISA resource to be used before they started the application. Try placing a new Open FPGA VI Reference node down. Make sure the External VISA input is selecte and create a control in the input terminal and select the VISA resource for your FPGA device.
By the way, are you using FPGA 8.0 or FPGA 1.1?
Steven
01-26-2006 01:16 PM
Hi Steven
Right now I’m using LabVIEW 7.1 and FPGA1.1. I have the 8.0 upgrades for both but I don’t want to install them until I’ve finished this project (hopefully in another 2 or 3 weeks).
I tried you suggestion and got the same result. I then tried using the visa find control to search for all possible references to the FPGA and pass the found names to my open function with no luck. The visa find is finding the FPGA aliases, they just don’t seem to work until after I open the max and click on the “Devices and Interfaces” root tab. I realize now that I don’t have to click the save button. Just opening MAX and clicking on the devices root tab will do the trick.
While my FPGA aliases won’t work until I manually go into MAX, my PXI DMM and PXI MUX aliases are working just fine.
Regards,
LeRoy
01-26-2006 01:39 PM
LeRoy,
That is a very peculiar problem. The situation you described makes me think there may be an issue with the NI VISA or NI RIO drivers communication with MAX. Which version of these two drivers are you currently using?
Steven
01-26-2006 02:09 PM
Hi Steven
I.m using: NI RIO 2.0.0, Ni Visa 3.4.1 and MAX 4.0.0.3010.
Thanks,
LeRoy
01-27-2006 09:08 AM
LeRoy,
Those are the most current versions of the drivers for NI VISA and NI RIO. I'll try and see if I'm able to reproduce it on one of my PC's with Windows XP.
Steven