LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA - Error -61023 on Windows XP running under user account

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 RIO alias to the persistent memory and then start my application.  Does anyone know why this is happening?  Leaving the station in admin mode our production floor is not an acceptable option.

 

Thanks

LeRoy

 
0 Kudos
Message 1 of 12
(4,785 Views)
Leroy,
 
If a user does not have administrative privileges, they will not have access to many files. For example, the test panels will be greyed out in MAX, and if using GPIB,  scanning  for Instruments will not find any of the instruments connected to the device. This may be the same issue with your RIO alias.
 
The easiest way around this is to simply log in as the administrator, navigate to C: > Program Files, and locate the National Instruments folder. Right-click on this folder, go to Properties, and select the Security tab. Then highlight the USERS option and select to allow full control. After this, click Apply. It may take a few moments for this to take place, because it is changing the security settings for the users in everything in the National Instruments folder. Once this is completed, any user logged in should have full access to all National Instruments products on the computer without having administrative privileges on anything else.
 
I'm not sure if this will be acceptable on your factory floor but will hopefully clear up the issue for you.
 
Steven B.
0 Kudos
Message 2 of 12
(4,763 Views)

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. 

 

LeRoy

0 Kudos
Message 3 of 12
(4,754 Views)

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.

C:\VXIpnp\WinNT\NIvisa  visaconf.ini

The issue seems to be a file access problem so we need to pinpoint what file is not allowing access to user accounts.

0 Kudos
Message 4 of 12
(4,740 Views)

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

0 Kudos
Message 5 of 12
(4,728 Views)

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

0 Kudos
Message 6 of 12
(4,721 Views)

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

 

 

0 Kudos
Message 7 of 12
(4,711 Views)

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

0 Kudos
Message 8 of 12
(4,708 Views)

Hi Steven

I.m  using: NI RIO 2.0.0,    Ni Visa 3.4.1 and MAX 4.0.0.3010. 

 

Thanks,

LeRoy

 

 

0 Kudos
Message 9 of 12
(4,701 Views)

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

0 Kudos
Message 10 of 12
(4,688 Views)