Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with DLL initialization failure for multiple users?

I have multiple console based applications using different pieces of VXI hardware. Everything works fine when a single user is on the system.

However if 2 or more users try to run a program you get the following dll error:
Initialization of the dynamic link library C:\WINNT\System32\NIVISV32.dll failed. The process is terminating abnormally.

For the first user, everything works fine. Can start multiple programs, everything works, etc...

The second user only gets the dll error. Once the first user ends his program, then everything will work for the other person.

I am assuming this is security/dll problem, but how do I fix it?

I am using the NI-VISA libraries on NT 4 with Visual Studio 6.0.
I am building everything with to visa.lib. I have no dll calls.
I have update to the latest NI-VXI and NI-Visa. The problem did not change.
0 Kudos
Message 1 of 2
(3,060 Views)
Hello:

Did you try logging on as an administrator on both the machines? Also could you try accessing from a different OS, like win-2000? The latest version of NI-VISA we have is 2.5 I hope you are using that one.

I did find this specific problem in out resources. There were a couple of issues were the installation of VISA wasn't complete and re-installing solved the problem, but I guess you have installed it successfully in NT.
0 Kudos
Message 2 of 2
(3,060 Views)