04-15-2008 02:12 PM
04-17-2008 11:39 AM
04-18-2008 08:55 AM
Hello
Yes I have made simple DLLS in LabView that can be called by C++. I can pass in arrays, modify them etc.. All is well.
If I use any IMAQ Vision VIs the DLL builds fine but it does not work. No errors. No blow ups just nothing.
I have written several test DLLs. The latest one is simply a wrapper for Get Centroid VI. I take an array of unsigned bytes, and the rows and columns. I change the array into a 2d array using the row and column ifo. I create an Image in the DLL Vi, then I convert the 2d array to an image. I then pass that to Get Centroid.
This is just a simple VI to prove to management that LabView can do this. The vision VI we will wrap is much more complex. Rewriting this in C++ using Vision functions would take some time.
04-21-2008 10:07 AM