01-21-2010
07:11 PM
- last edited on
04-04-2025
12:01 PM
by
Content Cleaner
The follow KB should help you in importing a custom data type in the Call Library Function Node.
01-21-2010 10:39 PM
Thanks for the tip. Part of my problem was that I was using the LabVIEW "import dll" utility which I can see now isn't all that usefull except maybe for dll functions with parameters that are simple data types. Otherwise it's more trouble than it's worth. I used the "Call Library Function" which works much better. I could not get the cluster stuff to work on my first try so I just passed the 6 separate arguments that consisted of 4 pointers to uint32_t parameters and 2 string handles. That worked fine. I might try the cluster stuff again using the "Adapt to Type" feature, but since I'm writing this for others to create their own VIs, it might be better to keep it simple and just pass the 6 separate parameters.
Now, on to callback functions and user events ...
01-28-2010 01:02 PM
01-29-2010
04:14 PM
- last edited on
04-04-2025
12:02 PM
by
Content Cleaner
Take a look at this example, they use the ItemTag and code associated with each user event to pass data into the event structure.
Custom User Events in LabVIEW - Advanced event driven programming
-Hunter
01-29-2010 05:18 PM