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.
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:
LabVIEW Run-Time 7.0
Measurement & Automation Explorer 220.127.116.1103
Measurement Studio 6.0
For Visual Basic
ActiveX User Interface 18.104.22.1686
ActiveX Analysis 22.214.171.1240
ActiveX 3D Graph 126.96.36.1991
ActiveX DataSocket 188.8.131.527
ActiveX DAQ 184.108.40.2069
NI-PAL Software 220.127.116.11
Carl Zeiss Imaging Solutions GmbH
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.
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.
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.