Hello all,
I have the following problem. I'm using an external DLL in LabVIEW and one of the functions require a structure as an input parameter.
Here's the structure:
struct Pippo {
DWORD ipAddress;
DWORD centerFrequency;
Pluto* array
};
struct Pluto {
DWORD size
DWORD address
}
The function prototype is the following:
myfunction( Pippo input )
I've used the Import Library Wizard from LabVIEW and it extract every field from the structures. So what I get as the function inputs is:
ipAddress,centerFrequency,size,address.
So basically the array is not treated and I get the 1097 error:
LabVIEW: An exception occurred within the external code called by a Call Library Function Node. The exception might have corrupted the LabVIEW memory. Save any work to a new location and restart LabVIEW.
I've read other threads from this forum and I tried to create the Pluto array of clusters but still the same error.
How can I run the function correctly with these parameters?
Thanks,