LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview PDA string causes freeze/crash

I have a somewhat simple PDA app that crashes whenever the string function in the top RH corner of my block diagram is present.  I have tried deleting and remaking it, rewiring, building all new functions, removing sections of the attached items, making the function with and without default values, and about everything you can think of.  I restructured my program so that no large values are inside loops and I have a lot of wait functions.  I got rid of every "formula" express VI that I had in order to cut memory and replaced them with simple functions in sub VIs.  I followed everything from the PDA optimization of memory manual, and all the hints I saw posted - I even deleted all strings being displayed on the front panel.  All I am doing now is comming serially with a device and reading the string and doing conversion to user-friendly data and displaying it.  Simple, right?  Nah.  Any input would be appreciated.  My PDA will be used as a baseball soon!
0 Kudos
Message 1 of 2
(5,470 Views)
I I can't reproduce your error.  Can you please attach the entire project you are working on? 

You don't have a timeout wired to the serial configuration VI - is it possible that your program is hanging while waiting for the serial read to return?
0 Kudos
Message 2 of 2
(5,381 Views)