08-05-2009 07:30 AM
Hi,
The orange connector is an array of the Double data type. There are two inputs a 1D array or a 2D array (the thickness of the wire changes for the format of the data being passed allong it).
So if you build them into an array using the 'build array' then the 'write to speadsheet' will accept them.
You will then need to use some of the other elements of the biuld array pallet to include the time stamp and any other information.
Hope this helps.
08-05-2009 07:38 AM
*not output the files, but output the numbers.
cheers
08-05-2009 07:42 AM
Hi,
Sorry i don't understand what you are now saying your issue is ?
08-05-2009 07:56 AM
sorry, wasnt suppose to enter that. I have setup the array and spreadsheet, thanks. how do I now get it to run continuously, puting in lines of data, rather then just a value of each for a particular instance?
Cheers
08-05-2009 08:03 AM
Could you please post your code so i can see what you have done so far?
Regards
08-05-2009 08:29 AM
08-05-2009 09:29 AM
also is there a way that a new file can be started automatically without user input when the original file is full?
Chers
08-05-2009 12:09 PM
You are only sending the data from the last iteration of the while loop out of the loop and into the Write to Spreadsheet File. If you make that tunnel Auto-Indexing, it will build your 1-D array into a 2-D array and send all the data to the Write to Spreadsheet File. If you want to append data to the same file, you will need to wire a True Constant to the Append File? input.
Right now your VI, is basically a one shot deal. It runs a For loop for a while. When the boolean goes false, the loop ends and the data goes to the Write to Spreadsheet File, then the VI ends.
If you want to Stop and start the file it is written to, you will need to wrap what you have now in a larger while loop.
08-06-2009 04:59 AM
Thanks that helped. Is there a way to get the graphs to come out as an x,y plot rather then a wave were y is amplitude? Also do you know what will happen when the spread sheet I'm writing to gets full?Will it write over or throw up an error message?
Regards
08-06-2009 05:15 AM