Jump to content

noplo

NI
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0

About noplo

  • Rank
    LAVA groupie

LabVIEW Information

  • Version
    LabVIEW 2012
  • Since
    2007
  1. Hello guys, I wasnt' able to manage the DLL as suggested so I did a wrapper DLL in CVI in order to be called from LabVIEW and now it looks ok. Thanks, Andrea
  2. Thanks guys for the answers. I'm sorry I forgot an information. In the Pippo structure there's an extra field that tells me the dimension of Pluto. struct Pippo { DWORD ipAddress; DWORD centerFrequency; BYTE PlutoArraySize Pluto* array } So I know how many elements are in the Pluto array. I'm going to try what you suggested and let you know. Thanks,
  3. 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,
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.