LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV PDA 8.2 Sort 1D Array Bug Crash

Attached is zip file with a VI that crashes at 1D Sort Array Primitive.  I'm using a WM5.0 device LV PDA 8.2.  I have the project set to debugging mode so download the EXE with the debug option.  There is a breakpoint at the 1D Sort Array primitive.  After stepping through, my device always crashes.
 
Robert
0 Kudos
Message 1 of 7
(6,211 Views)
rberger:

Thank you contacting National Instruments. I was not able to reproduce your issue. Please let me know if you are still experiencing the same issue.

Regards,

Rudi N.
Applications Engineer
0 Kudos
Message 2 of 7
(6,174 Views)

Hi Rudi N:

Did you try running the project on a REAL Windows Mobile 5.0 device or the emulator?  I can get this to consistenly crash on my mobile device.  I am NOT running in emulator mode.

0 Kudos
Message 3 of 7
(6,164 Views)
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
0 Kudos
Message 4 of 7
(6,128 Views)
rberger:

I found out where the issue is. Your cluster has an array as one of the elements and that is the reason why you are getting the error. I removed the array from the cluster and everything worked just fine. I will look into this further.

Regards,

Rudi N.
Applications Engineer
0 Kudos
Message 5 of 7
(6,124 Views)
Thanks Rudi N.  The funny thing is this type of Array of Cluster worked great from v7 all the way through 8.01.  I will try to eliminate the array of strings within the cluster I see what happens.  This will take some time on my part since I will have to tweak my existing app in many places.
 
Thanks
Robert
0 Kudos
Message 6 of 7
(6,119 Views)
rberger:

Please let me know what you find.

Regards,

Rudi N.
Applications Engineer
0 Kudos
Message 7 of 7
(6,115 Views)