08-19-2009 06:12 PM
I need to achieve the exact same thing. Please reply if you have found a successful solution and help out progress in neuroscience =). I am new to creating dll's with labview and do not have simple integers working yet, I am getting a pinvoke restriction error. Will need to also send in arrays though like the original poster.
Brian.
08-20-2009 01:24 PM
Hi Brian,
Did the exmaple seen on the previous not solve your question?
Flash
08-20-2009 03:16 PM
I have a very simple dll working now, but I am having trouble specifically with passing by refs because I get a protected memory error. Trying to troubleshoot that now.
Haven't tried starting to use arrays yet, but the example seems somewhat complicated to follow. The documentation is pretty sparse =(.
08-21-2009 02:30 PM
Hi Brian,
I think the following articles would help you while building your DLL:
How Can I pass a Multidimensional Array from VB to a LabVIEW built DLL?
How Do I pass Arrays to an Instrument Driver DLL in Visual Basic?
What are the Differences Between Array Data Pointer, Array Handle, and Array Handle Pointer?Why Do I Get Error 988 when I try to Call a DLL in LabVIEW?
If you have more questions please feel free to repost.
Cheers,
08-21-2009 02:42 PM
Thank you very much for the reply. Reading these articles now!
Brian.
07-21-2015 09:54 PM
07-21-2015 09:56 PM
Why I can't see my post?