01-04-2005 09:02 AM
01-05-2005 09:49 AM
12-06-2005 10:28 AM
I have a similar problem with NI-DAQ and a NI 6601 board. Everything is fine if the user has administrator rights.
Normal user without admin rights running my VB application or the NI sample code STCeventCount get the error message 48 for file nidaq32.dll. In "Measurements & Automation" the button "Test Panels" for device 6601 is disabled. I have change the user rights for all dlls and the niconfig.daq file without success.
System Information:
Operating System(OS): Microsoft Windows XP
OS Version: 5.01.2600
OS Info: Service Pack 2
Processor: Intel(R) Xeon(TM) CPU 2.80GHz / x86 Family 15 Model 4 Stepping 1 / GenuineIntel / 2800 MHz
Number of Processors: 2
Physical Memory: 1,047,516 KB RAM
Drive C:\ 15,882,940 of 30,732,312 KB free
Drive D:\ 89,285,696 of 125,555,972 KB free
NI Software Information:
NI-DAQ 7.4.0f0
LabVIEW Run-Time 7.0
Measurement & Automation Explorer 3.1.1.3003
Measurement Studio 6.0
For Visual Basic
ActiveX User Interface 7.1.0.306
ActiveX Analysis 6.0.3.590
ActiveX 3D Graph 6.0.3.601
ActiveX DataSocket 4.0.3.367
ActiveX DAQ 6.0.5.609
NI-PAL Software 1.9.0.0
Regards
Christof
Carl Zeiss Imaging Solutions GmbH
12-07-2005 02:49 PM
Hi Christof,
The user has to have administrative privaledges in order for this to work. Granting administrative access just to the specific dll's will not eliminate the error. Please let me know if you run into any further problems.
Regards,
Hal L.
12-08-2005 10:23 AM
12-09-2005 02:06 PM
Hi Christof,
I looked into this issue further and I think there is a workaround to allow non-administrator users to use National Instruments hardware and software. Here is the link to a knowledgebase with specific instructions: How Do I Allow Restricted and Standard Windows Users To Modify the Active NI-DAQ Configuration File?...
There are a couple of extra steps from the knowledgebase that I would like you to take:
1. Backup your registry before modifying it
2. On step 11: give them access to the entire C:\Program Files\National Instruments folder
Please try this and let me know if you run into any further problems.
Regards,
Hal L.
12-12-2005 09:32 AM
Hi Hal L
I switched to DAQ 8.0, which included some VB 6.0 examples. With this release I do not have these problems any more.
Regards
Christof