Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx c# example for x64 in .Net Framework 4.8

Hi,

 

I was wondering if anyone has working solution .sln for DAQmx for C# compiled for x64 in .Net Framework 4.8 that they could share please?

 

I can get the example templates working for x86 but I get a System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.' when compiling for x64.

 

I have replaced the dll reference for the x64 version as per the instructions on the website in:
C:\Program Files (x86)\National Instruments\MeasurementStudioVS2012\DotNET\Assemblies (64-bit)\Current

 

This is an example of stripped back console app.

 

Phantom12345_0-1764782735161.png

 

Any suggestions would be greatly appreciated. Thank you!

 

0 Kudos
Message 1 of 1
(25 Views)