05-24-2022 04:45 AM
Hello,
I have installed NI MAX software on my PC. I create a 32bit MFC program using VS2010, the program will call NI Driver(visa32.dll and NiViSv32.dll), I put these 2 *.dll in my exe program's folder. I can access instruments(Keithley Power supply, Fluke8816A meter and etc.) using VISA interface, it works without any problem. When I send the this program to my colleague, he can't use this program to access instrument. Even the program can't set the instrument from local to remote in his PC. He has also installed NI MAX software. I add some debug message and only "cannot open a session to the device" message was print out. What's the possible reason for that? Thanks.
Solved! Go to Solution.
05-24-2022 06:32 AM
You should need to install the legacy C++ package of Measurement studio . This is you get from NI.
05-24-2022 08:00 AM
Thank you for your reply. I don't know the relationship of NI driver(nivisa32.dll, NiViSv32.dll and nisyscfg.dll) and Measurement studio. If I install measurement studio in my pc, what should I do before I recompile my vs2010 project? Which *.dll file should I copy to other PC except for the generated *.exe file?
05-26-2022 05:21 AM
06-02-2022 09:44 AM