04-28-2017 01:00 AM - edited 04-28-2017 01:01 AM
Hi all,
I have some code that was written for ChIDE on a 32-bit system. The laptop that has the code working is quite old and slow, so I am trying to upgrade it to a newer 64-bit system. However, when I try to run the code it is saying that all of the VISA functions are not defined, as follows.
I have triple checked that I have the correct paths (including the IVI Foundation VISA files) in the config file, as seen here. This is how the config file for the 32-bit system (with changes to the Win64 folder within the IVI Foundation folder) looks so I am unsure about where I am going wrong.
If anyone is able to help me to get this up and running I would be forever grateful.
Thank you in advance.
04-28-2017 01:54 PM
Where did you get the VISA files that are on the new system from? Did you copy them over from the old system or did you install them from the NI website?
04-28-2017 09:03 PM - edited 04-28-2017 09:05 PM
The IVI Foundation files were created by downloading NI VISA. The other files/folders (C:/Ch/package...) were copy/pasted from the old system.
05-01-2017 10:44 AM
Are you including the visa.h header file somewhere in your application? I can see that you're pointing to the folder that houses them but I'm not sure that explicitly includes then in your application.
Another thought: if you are including the header file, the application might not be able to find the .dll that coincides with the header file.
05-02-2017 01:48 AM - edited 05-02-2017 01:49 AM
Are You still using a 32bit version of ChIDE ?
Then you might need to adapt your setup to point to the 32bit version of VISA ( living in C:\program files (x86) ) .
05-02-2017 04:04 PM
I would also suggest trying this out.