Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66860

problem in calling DLLs with complex structure

$
0
0

When I use dll to generate the VI. Some VIs including complex structure can not be created. As the picture below shows

0.png

 

This VI including cluster, so I create a custom control, and access to the control when caling dll,

1.png

2.png

 

 

then the VI generated but can not be executed,

 

 

3.png

 

4.png

 

it shows that the data type is different from cluster, then I change the data type

 

4.png

6.png

 

Now the VI has no error,

 

7.png

But when I run the VI, it shows that when it input the data from cluster, there will be an error number,

 

8.png

 

But when I delete the cluster and change to the numeric data, It reads only the first 3 input value and recognize as NodeId, SlotId and Inputstate, the digital input IO number can not be read.

 

9.png

 

 

So I want to know what problem it has? Because I can not understand this case.


Viewing all articles
Browse latest Browse all 66860

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>