Jump to content

Generating DLL with LabVIEW and call it with LabVIEW


Recommended Posts

Hi everybody,

 

I'm generating a DLL with this simple function 

 

image.png.2eca4b96333af2f4f5929ff469376889.png

 

I want to recover the clustrer through a DLL function, so i did it in project.

 

image.png.95d89520526091b98694677479162554.png

 

image.png.f5c91e3dcf8d810cf7fc3f9ee0b38b76.png

 

I build the DLL and when i call it, --> TALA CRASH 

image.png.2516154e1ed6923864b1a4c0ef06eabd.png

 

image.png.60cbc134c6f0f999fb15fde43d2da415.png

 

To recover my cluster i supposed Type is "Adapt to type" and Data format "Handles by Values"

Of course it's not !

 

Someone know what are Type and Data format of my output should be ?

 

Thank you,

(i put the VI and project in attached file 

 

 

test DLL.zip

Edited by Youssef Menjour
Link to comment
8 minutes ago, Antoine Chalons said:

silly question : does it work if you don't use a cluster in the dll but independent indicators (2 strings, a float and an int) ?

This example is volontary a cluster for another app. I need a "complexe" structure organized in cluster.

 

Do you know how to do it ?

Edited by Youssef Menjour
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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