User | Kudos |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
My customer is using LabVIEW 2009 with SIT, MATLAB R2007B and he was able to transfer more than 97 elements of array data with his Simulink .mdl file with the following configuration:
- Configuration parameter of MATLAB model: solve complete time: inf, type: fixed step, solver: discrete, fixed step sample time: 0.01
- Default LabVIEW array reading rate defined by auto generated VI: 50ms >> changed to 5ms
- Executed in Windows local host
However, when the .mdl file is converted to DLL, it seems as though that an array size of over 97 cannot be transferred.
The issue seems to be able to be produced even with multiple arrays or multiple scalar controls so I believe it seems to be an issue of how much data it can handle and not a data type issue. As I mentioned previously, data is able to be passed up till a certain amount but after this "threshold", data does not seem to be passed and the default value of 0 is displayed on the indicator. (In an array, the specific array size is initialized but after the threshold, 0s are shown)
I was also able to reproduce the issue on my end with the attached files.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.