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?
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!