07-05-2005 12:19 PM
07-07-2005 12:25 AM
Hi Matthew,
I am not too familiar with IMAQ stuff, but just as a note LVRefNum is a simple 32 bit pointer. Depending on the IMAQ object, you probably can just typecast them to get the actual value.
07-07-2005 09:25 AM
07-07-2005 09:26 AM
07-11-2005 07:47 AM
07-14-2005 11:44 PM
Hi Matthew,
After trying your aplpication I have found that the "to .NET object" and "from .NET object" in LabVIEW are used when calling the .NET assembly in LabVIEW. At this time they do not support exchanging values with other .NET environment from inside LabVIEW DLL.
The best way to use a LabVIEW DLL in .NET environment would be by creating a simple C style DLL and calling it like any other un-managed DLL. Some good resources to call LabVIEW DLL in .NET would be as follows:
Bilal's Response on http://forums.ni.com/ni/board/message?board.id=232&message.id=1881
How Do I Import a DLL in Microsoft Visual Studio.NET?
Please let me know you have any more questions.
Regards,
Ankita Agarwal
07-15-2005 08:54 AM
Ankita,
Thank you for taking a look at it. Yes, I have used the to .Net and from .Net when calling C# dlls from within LabVIEW. Was hopefult that this was a route around the process switching overhead that I am suffering going the COM interop route. I'll head over to your recommended thread and see what I can find.
Thanks,
Matthew B.
07-18-2005 03:12 PM
07-18-2005 04:49 PM
07-18-2005 06:23 PM