06-30-2009 02:01 PM
06-30-2009 02:15 PM
Danny... not sure if this helps but i've done a lot of work with DLLs in LabView and found that using the "Import Shared Library Wizard" makes things a little easier.
Have you tried using this?
Go to Tools >> Import >> Shared Library (dll)
When done, it will create DLL call blocks for you automatically based on the DLL structures. See if this helps you at all.
06-30-2009 02:19 PM
Hello,
Yes I used the Import Shared Library Wizard to import the DLL, perform the function and return the initial pointer. I then used that pointer and the MoveBlock function to retrieve the array of pointers. But from those pointers I cannot retrieve the structure/cluster data.
How can I do this?
06-30-2009 02:28 PM
take a look at thsi article.
http://forums.ni.com/ni/board/message?board.id=170&message.id=267659#M267659
It's long and probably off topic but in the examples, the author shows how to drill down into lower classes. You will probably want to obtain the LabView Scripting (which was released free a few weeks ago). The scripting provides access to many more properties which may be of use.
06-30-2009 04:49 PM
So to simplify my request, I have a pointer to a structure, how can I view the data in the structure.
the structure contains
{
char
enum
int
double
}
Here is my code so far