08-03-2010 02:47 PM
I am taking data in from a DAQ system. I am trying to store the raw data into an Excel sheet. What I want to do is store all the data in an array and then dump it all into the Excel sheet at one time so that I do not have to continously append data to the Excel Sheet. I am attaching my code this this post. I have the queue working within the main loop. Can anyone help me out? Does anyone have code written for how to work a queue (other than examples on LabVIEW)?
Another issue I am having is that I can only put a 2D array into Excel. Using dynamic data, I am only getting a 1D array. Thank you in advance! You guys are awesome!
08-03-2010 03:14 PM - edited 08-03-2010 03:18 PM
You can double click on the Dynamic Data conversion function and select the output type, 2D array. The following picture shows that the data can be converted to a 2D array. Also, you can put a 1D array into Excel. A 2D array would contain several rows and columns while a 1D would only occupy one row.
You have another place where you placed a Build Array on a Dynamic Data wire. You don't have to do this. Remove the Build Array.
Remove Build Array and wire Dyamic Dat to the conversion function.
08-03-2010 03:58 PM
Chuck seems stuck on the same homework assignment