Hello marekf,
Thank you for contacting National Instruments.
If you are using an older version if NI-VISA, the NI-VISA library
(visa32.dll) will fail to load when guests and non-administrators are
logged onto Windows 2000. Guests and non-administrators do not have
read/write access to the registry key that VISA is trying to access.
The symptom may be a warning dialog box from the OS or an error, (such
as -1073807360), in viOpenDefaultRM.
To avoid this problem, upgrade to the latest version of VISA or follow
the procedure below:
1. Log onto the computer as the administrator and open
the registry editor (regedt32.exe).
2. Explicitly grant the guest account write access
under HKEY_LOCAL_MACHINE\Software\National
Instruments\NI-VISA for Windows 9
5/NT. Choose
the Security>>Permissions menu item.
If "Everyone" is present, double-click it and
modify the permissions to "Full Control". If not,
click "Add", choose "Everyone", and give
them "Full Control".
The latest version of VISA can be obtained using the following link:
http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C0E91?opendocument&node=132060_US
I hope this helps! If this does not solve your problem, let me know.
Matthew C
Applications Engineer
National Instruments