06-29-2009 08:45 AM
Look at the Write to Spreadsheet File.vi.
06-29-2009 09:14 AM
06-29-2009 09:21 AM
You wire the data you want to write to the input. You can wire either a 1D array or a 2D array.
For you, it might be simpler to just use the Write to Measurement File since you have dynamic data. Just dropt the function on the block diagram and connect the same wire you have going to the table to the signals input of the Write to Measurement file.
06-29-2009 09:34 AM
06-29-2009 10:01 AM
You are creating data point by point and if the Write to Measurement File is inside the loop, you will be streaming the exact same data that is being written to the table.
What you use to open the table will depend on the format you select in the properties of the function. If you select Text (LVM), you can open it with Notepad, WordPade, Excel, etc.
p.s. I don't understand your sample compression function. You are aquiring a single value with the Instrument I/O Assistant. What are you trying to compress?
06-29-2009 10:27 AM
06-29-2009 10:31 AM
Why don't you post your updated code so someone can see what you've done an also attach the file you've created?
06-29-2009 10:34 AM
06-29-2009 10:35 AM
06-29-2009 10:45 AM - edited 06-29-2009 10:46 AM
Of course it's nonsense. You selected Binary with XML Header. As I said, the first option - Text (LVM) is the one you want. Binary (TDMS) can be used with a plugin.
Uh, code is the same thing as your VI.
p.s. check your other options. For example, you've selected not append to the existing file.