06-18-2008 03:59 AM
06-18-2008 04:15 AM
06-18-2008 04:29 AM - edited 06-18-2008 04:29 AM
06-18-2008 04:56 AM
06-18-2008 05:17 AM
The LabVIEW DLL is needed to get a C function pointer for a LabVIEW VI. Basically the DLL Builder generates a C wrapper function that loads the VI, passes its input parameters to the input controls on the front panel, invokes the VI and then returns the values from the output controls to the output parameters of the function.
@waszil wrote:
Thanks for the rapid answer!
I will try this. But may I ask, why the Labview.dll is needed? Or what difference is there between that and the simple dll?
And this user event can be than added to the event-case-structure, or it can be handled in another way?
Sorry for my stupid questions, but Im beginner in this topic.
Thanks:
Cs.Nemes
06-18-2008 05:40 AM
06-18-2008 05:46 AM
Hi!
"...is there a possibility to create such events, that can be generated from a simple external DLL and can be handled by "event case structure"?..."
06-18-2008 08:40 AM
06-19-2008 03:08 AM
06-19-2008 03:18 AM - edited 06-19-2008 03:18 AM
You'll write in C a DLL (Visual Studio is recommended here strongly) and you find the extcode.h and other necessary files in your cintools directory inside your LabVIEW directory (if you have LabVIEW Full development System or better, it's not part of the Base package).
@waszil wrote:
It is fantastic! I did not expect such great help!
Anyway, I do have some more questions, but I think im getting to understand this whole thing.
So, how do i create this labview.dll? Where can I find the utility.h and extcode.h? I guess they implement the connectivity between labview and external codes.
And do I need some extra stuffs for building this dll?
thanks
Cs.Nemes