08-06-2014 03:49 AM
Hi,
I have a data acquisistion system set up to read torque from a transducer. The output needs to be fed to an excel document once the program stops running, or when a button is pressed.
with the current code, attached, the excel document is created, but only shows the most recent set of data. how do i get the array to store all of the data coming from the while loop?
Ive only been programming with labview for two weeks, so chances are this is something simple, but thanks for helping anyway.
JM
Solved! Go to Solution.
08-06-2014 04:08 AM
To get what you are expecting, right click the array output terminal in while loop and select Enable indexing. Generally if you want to save data use queue to pass the data from inside while loop to other loop/VI and perform data logging. For everything you have examples, please make a searc in LabVIEW Help>Find examples.
08-06-2014 04:22 AM - edited 08-06-2014 04:24 AM
thanks,
That may have solved the problem, however it will now no longer allow me to inset the array into excel, as it says the array input is 3D, but excel input has to be 2D. do you know how to solve this?
EDIT: this has been solved with indexing, thanks for your help