LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

No administrator rights and Error code 21:

Hi,
 
I am using a WIndows XP, Labview 8.2.1, and NiDAQ drivers (8.5) along with a PCI-6024E board that is hooked to some commercial equipment.  The supplier of the equipment has a user created .exe file.  The loadup disk from the equipment manufacturer includes the installation of the Labview 6.0 Run-time Engine installation wizard as well as older NiDAQ drivers (8.0.1).  We DID NOT use the older NiDAQ drivers, but rather the newer iones that came with the current version of Labview we just purchased.
 
All of these programs need to be loaded as an administrator, so we have a helpdesk person log onto the machine and give temporary admin rights to us.  When we try the program (the .exe file) all works as it is supposed to. We then logged out and logged back in without our Admin rights.  After rebooting, we wind up getting Error code 21 issues and the program does not ever load correctly.
 
What could be the difference between running the programs in an adminstrator mode as opposed to a non-administrator mode?  In the non administrator mode all of our user created VI's always work fine.....
 
Thanks.
 
-Andy
0 Kudos
Message 1 of 3
(2,418 Views)

Hi Andy,

Were the programs and the exe allowed to install in their default locations? This error could be because executables sometimes write and/or create certain files such as the ini file when they are opened, and if the installer put these files into an "administrator-only" location it won't let you into it when not logged in as administrator.


@amott wrote:
We DID NOT use the older NiDAQ drivers, but rather the newer iones that came with the current version of Labview we just purchased.
 

Can you clarify what you mean by "We DID NOT use"? Did you not let the exe install the older RTE and DAQmx versions? When did you get the error message - when you tried to run the exe without LV open?

Stephanie

0 Kudos
Message 2 of 3
(2,389 Views)

Stephanie,

During installation of the labview .exe file, I did not change any of the default locations.

WRT the line "Did Not Use", I was referring specifically to the older version of the NIDaq software and drivers, not the RTE, as the RTE was included in the "installation package" of the .exe instrument control package.

Yes, the error messages occur when I run the .exe file.

-Andy

0 Kudos
Message 3 of 3
(2,368 Views)