LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting "Invalid access to memory error"

Solved!
Go to solution

I just imported a Labwindow/CVI driver and I am getting "Error loading "MyInstr.dll". Invalid access to memory location" when I try to open any of the VIs

 

I am using LabView 2010 on a Windows 7 machine.

 

This same DLL works in a several CVI applications.

Message 1 of 2
(2,539 Views)
Solution
Accepted by bbwpdad

Hi bbwpdad,

 

In order to be able to better hone in on what could be going on I have a few questions for you. If I understand correctly "MyInstr.dll" is one that you created in CVI. Is that correct?  First, How exactly was the dll created and compiled? Also, what is the method signature, parameters, return value, etc.? Finally, how are you trying to use it in LabVIEW? Is this a Call Library Function node?

 

Just in case, we do have a good article on using the Call Library Function node to reference dll's at

https://decibel.ni.com/content/docs/DOC-9069

 

Hopefully that can get things started.

 

Regards,

James W.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,516 Views)