LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL

Solved!
Go to solution

I used labview2017 to call DLL (VS2017), there was a problem, I hope to get your help, thank you very much.

The following is a small test for similar problems. When "input" is a cluster, labVIEW error reporting code is 1097, but it is ok to change to array type. Is there any method to correct the error reporting for cluster input?

 

 

7$_MNAGE1Y9}IYXESEFX7PR.png)H}%LC24$F_3)6]R6CW9Y0I.png7X5JIJ5}Y(HRZ0$6YMC8CCP.pngFUY$Q$P$0A5B@O1T_9{]C2L.png%(5$RMN{V18WKPIN9N$K2HL.pngdll1.PNG

0 Kudos
Message 1 of 3
(2,277 Views)
Solution
Accepted by topic author anovice1

2 remarks:

 

1) Why the asterisk in front of ID in the struct? You can't create pointers in LabVIEW!!!

2) Your b array is defined as having two dimensions of 10 values each, that is 10 * 10 elements, not 20!

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 3
(2,247 Views)

Thank you very much for your reply! I am ashamed of my carelessness and I figured out what the problem was.

I changed the initialization array elements to 100, tried to change the b array to numeric type as you suggested

Thanks again!

0 Kudos
Message 3 of 3
(2,222 Views)