I would suggest adding an option limiting the size of data exported to the clipboard (or intelligently computing it based on available RAM and cores).
Alternatively allow aborting this operation (via a progress bar of some kind) or at the very least warn the user.
I have been bitten repeatedly by the fact that exporting to the clipboard involves converting binary data (say DBL: 8 bytes x 2 per point for a XY Plot) to ASCII (and transposing the data into neighboring columns), which, when choosing 6 digit precision (the maximum allowed today), can result in:
- Explodingly large memory footprint (potentially an issue on 32 bit systems)
- Huge execution time (meaning you have basically to kill LabVIEW).
I am not sure it is a coding issue, as I have not been able to come up with any way of handling large data sets fast (but I haven't tried hard and even then, I would not claim to be particularly good at optimizing algorithms). But if it isn't then it is a sure receipe for frustration.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.