Building a 64-bit .DLL with VisaNS .NET

Updated Apr 2, 2018

Reported In

Driver

  • NI-VISA

Issue Details

I have some existing .NET code that makes VISA calls and want to build a 64-bit .DLL.  How can I go about this and what considerations do I have to take? 

Solution

The VISA .NET API is built for any CPU architecture - you can build the full set of API calls into either an x86 or x64 .DLL.  Just modify your compiler settings to reflect the 64-bit build and it should complete successfully. 

If you have an existing 32-bit .DLL that you want to upgrade to 64-bit (for larger memory allocation, for instance), you can comfortably rebuild the .DLL after changing compiler settings to reflect the x64 build.   

WAS THIS ARTICLE HELPFUL?

Not Helpful