06-15-2009 07:04 PM
I'm sure there must be a simple way to do this, but I'm having problems with it.
I am using library function calls to access a vendors dll.
One function call returns an array of numeric data. A subsequent function call wants a pointer to the array of data in order to do more operations to the data.
So if I store the array from function 1 in a Labview array on my front panel. I would need to create a pointer for that array to pass into function 2. How do I do this?
Thanks for the info.
-GuruDoo
06-15-2009 07:43 PM
I think (based on my understanding of your description), you want to double click on the call library function node, and then click on the tab function. Select the parameter that is giving you a problem on the left side, and set it to what it needs to be... You may want to pass it in as an array -- maybe....
06-16-2009 11:53 AM
Sorry, If I'm not being clear.
I've tried changing the inputs and outputs of each function, but to no avail.
I guess another way of putting it is that I declare a memory space by initializing an array.
I pass this into the first function. The data from the first function fills this array. For the second function,
I need to pass the same memory space, so that the second function can find the data to use.
Im using Labview 8.6.1 with a vendor dll which cannot be changed.
Any suggestions.
06-16-2009 04:35 PM
Can you post your code (even without the DLL, although that would be helpful -- along with the .h file).