I've cleaned up a bit your VI and I have some advice to tell you. First of all always include a Wait function on your while loops or another timing function to avoid your program to make your processor to work at 100%.
Also, always try to make your data flow from left to right, and try to wire a way you can see clearly which is the data source and which is the data sink, so you can read easily the block diagram.
Whenever you use an Express VI and you need to display the output (in Dinamic Data Type) in a numeric or boolean indicator, use the Convert from DDT VI instead of letting LabVIEW do the casting.
About the Spreadsheet file, what do you exactly need to store on it?
I've attached an screenshot of the cleaned-up block diagram, and the VI. The VI is stored in LV 8.2, I wonder if somebody can covert it to 7.1 for you to see it.
Hope this helps
|Robst - CLD|
|Using LabVIEW since version 7.0 |