Altenbach's suggestions are excellent. You should not be writing to the property nodes when you don't have to. Use Events Structure wherever you can!
Here are some more potential improvements:
1. You seem to (over)write the same file in each iteration. You end up getting only the last iteration's data. Is this what you want? if yes, then you can write to the file, only once, at the end of your loop execution -- outside the while-loop on the right-hand side.
2. Similarly, you seem to rewrite the images over and over (tension.jpg, payout.jpg, etc., all seem to be written in the same place each iteration). Unless something else is happening in the missing Write JPEG file.vi. Look into this; this operation can be expensive.
3. R
eplace feedback nodes with shift-registers. Though you don't use many of these, they can speed things a little.
4. Use the Defer Panel Updates property when you're about to set a bunch of properties. See online help on this for more details. This can be a saver too.
5. You may want to hide those controls/indicators which you do not need to display at run-time, e.g., Data in, Data out, etc. (right-click the terminal on the diaghram and select Hide Control/indicator).
6. There may be potential improvements in your retrieval code as well. Reading the entire file into LabVIEW is not a good idea, for instance.
Finally, it is usually much easier to critique others work than doing it. So, don't feel bad about all this
🙂 Regards,
Khalid