LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

save 2D array in write to spreadsheet file

Hello,

I want to save 2 signals coming from 2 channels in  1 file ( as a 2D file: column 1 for signal coming from channel 1, and column 2 for signal coming from channel 2).
How I can do it?

See my example please. I can save these 2 signals on 2 different files.  I can not find a way to put them in on file.

Thank you so much.

Pascal

 

0 Kudos
Message 1 of 3
(6,851 Views)
Since the output of AI Read is a 1D array of waveforms you have to extract the data of each waveform and create a 2D array in order to feed that to the Write to Spreadhsheet File VI:

You'll need to check on the transpose. Note that doing this will lose the timing information. You may want to use the Write LabVIEW Measurement File Express VI instead.

Also, any reason why you have a loop set to run just once?


Message Edited by smercurio_fc on 03-19-2008 03:16 PM
0 Kudos
Message 2 of 3
(6,844 Views)
thank you very much for you rapid replay.
I have the loop because I have to do another program. For your suggestion to put  ""Write LabVIEW Measurement File""
I will try it next, I never did it.

thank you
0 Kudos
Message 3 of 3
(6,829 Views)