06-12-2019 03:27 AM
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.png
7X5JIJ5}Y(HRZ0$6YMC8CCP.png
FUY$Q$P$0A5B@O1T_9{]C2L.png
%(5$RMN{V18WKPIN9N$K2HL.png
dll1.PNG
Solved! Go to Solution.
06-12-2019 05:24 AM
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!
06-12-2019 08:42 PM
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!