06-02-2010 03:30 PM
06-02-2010 08:09 PM
06-03-2010 09:24 AM
Or are you using Write to Measurement File?
Or are you using Write to Text File?
Or are you using Write to Binary File?
Or are you using the XML functions (if you're trying to use the Office 2007 Open XML format)?
06-03-2010 10:12 AM
Hi,
I would do it like that. Hope it helps. If you post your code it will be easier for us to help you.
06-03-2010 10:34 AM
06-03-2010 11:17 AM
UF newbie wrote:
I am using the write to spreadsheet command
Then you can just do as the code provided by Dimitrios shows. Write out your header first, then write out your data, using the "append to file?" input.
Note that in the example posted the sequence frame is not necessary. All you need to do is to use the "new file path" output rather than branching the wire. This will guarantee that the header is written before the loop starts.
06-04-2010 04:04 AM
Very good point smercurio_fc,
Just in case you are not familiar with LabView. I have created an array of 2 Headings using strings.Inside the loop i have generated some 'random numbers' for your first column and added 5 to the same number for your second column. Then i just have build an array with both numbers. Don't forget to put some delay in your while loop so it allows your proccessor to do other things as well.
06-04-2010 04:06 AM