LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

save different tables in spreadsheet

I have 2 data files; each has 6 columns and 12 rows. See attached my program and my two data files.
I want to save theme in one file with 6 columns and 24 rows.
How I can do that.
Download All
0 Kudos
Message 1 of 3
(2,451 Views)
          You can concatenate the Two dimentional arrays like in the code attached. Change the value of  "Numeric" to see the behavior.





Mensaje editado por Paul_m6
Paul
Mechatronic engineer
Lima-Perú
0 Kudos
Message 2 of 3
(2,437 Views)
That's one method. You can also do this directly with the Reshape Array at the output of the for-loop. You just need to transpose the arrays when you read them by changing the Boolean constant's value.

Notes:
  • You should use path controls rather than string control to specify paths.
  • The Build Path function can be used to append a filename to a path.
  • The Index Array function is expandable, so you only need one with 5 inputs rather than 5 different ones. Not that it's actually needed here.
  • The Reshape Array uses constants for demonstation only. I expect these values are based on some data collection mechanism or other kind of configuration.


Message Edited by smercurio_fc on 03-28-2008 04:11 PM
0 Kudos
Message 3 of 3
(2,431 Views)