rberger:
Thank you for providing me with more clarification. I found a PDA with Windows Mobile 5.0 Device on it and ran your program. It crashed at first as expected. I then switched the "Sort" boolean control to "False" and ran the program again. The program ran just fine on the PDA and I was able to look at different results. This leads to concluding that the issue is indeed with the "Sort 1D Array" function. I then created a VI that replicates what the "True" case of the case structure does, namely taking an array control (it is actually an array of clusters with arrays, numeric and string as elements). I ran the VI on the PDA and it worked just fine. I then created an array made of elements from your program and that program crashed. At this point I am not quite sure about why we are still getting this error. Is there something else I need to know about the array that being fed into the Sort function?
Please feel free to send any information that will help troubleshoot your issue.
Regards,
Rudi N.
Applications Engineer