LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending multiple 2d arrays to spreadsheet, selection by radio button

Attached is a picture of what I am trying to do, i want to select the radio button and store that data then move on to another run and store another set of data, at the moment this vi records data as such:

 

radio button one data: 9.81 9.81 9.81 9.81 9.81 9.81 9.81 9.81 9.81 9.81 9.81 9.81 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 

 

radio button two data:  9.81 9.81 9.81 9.81 9.81 9.81 9.81 9.81 9.81 9.81 9.81 9.81 10 10 10 10 10 10 10 10 10 10 10 10

 

So when the second button is activated the data is stored after the data from the first data string 

 

how can i get each data string to be stored as it own string and not built upon the previous one?

 

Probably simple solution but i'm new so anything helps

 

Brandon

 

0 Kudos
Message 1 of 2
(2,650 Views)

Please attach the actual VI.

 

I don't see any strings and I don't see any 2D arrays except at the very end. Please provide more details. Explain what you mean by "as its own string"

 

Maybe all you need is open the file once, the append new data to the existing file.

 

(Your array-to-cluster-unbundle" dance could be replaced by a simple "index array" resized for two outputs. No need to wire indices.

0 Kudos
Message 2 of 2
(2,611 Views)