05-19-2017 02:32 PM
Hi all,
I want to convert a 2d array (100 X 2304000) of unsigned Byte [U8] to 2d array (100 X 2304000) of Double Precision [DBL]. The problem comes from dimension of the array. Stacking 100 images will cause LabVIEW to stop because of large data manipulation.
I need to do this operation since I have to pass this 2D array into the MATLAB script and it does accept only 2-D array of real.
You'll find the example program attached to this post.
Thank you all for your help.
05-19-2017 03:52 PM
Hi Santorro,
What does it mean for LabVIEW to "stop"? Are you sure it's not the Matlab script taking a while to run?
05-19-2017 03:54 PM
I assume you're using the DVR because this is just a small part of the code and you actually pass it around, is that right? Otherwise, I don't see any advantage to using it the way it is shown in your screenshot.
05-19-2017 09:33 PM
It stops and reports an error. It doesn't come from the MATLAB script since I have the same error without the script node.
05-19-2017 09:36 PM
Yes, it comes from a small part of my actual code. Whatever the way I create the "stacked images", it causes the labview to stop...
05-19-2017 10:53 PM - edited 05-19-2017 10:56 PM
Please explain what you mean by Stop.
Is there an error message?you suggest that their is...what is the message? Does LabVIEW quit? does the OS just hang waiting for the app to become responsive again.
What do you see?
05-23-2017 06:54 AM
You will find 2 screen captures, one showing the error message and the second showing LabVIEW highlighting where it stops.
I updated the code. Let's give a try guys and come back with your suggestions.
Thanks
05-30-2017 05:11 PM
Any update in the code?