LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

connect 1d array of strings to an input string terminal

Solved!
Go to solution

the thing is is that i need to split up 81 channels into groups of 3. would i just do the same thing.

0 Kudos
Message 11 of 40
(1,806 Views)

@reggie2016 wrote:

the thing is is that i need to split up 81 channels into groups of 3. would i just do the same thing.


I don't understand what you mean. What is "groups of 3"?

 

How many graphs do you want? Are all 81 channels in the same file?

0 Kudos
Message 12 of 40
(1,800 Views)

yes there are 81 channels in 1 file so each graph should show 27channels each. so still 3 graphs.

0 Kudos
Message 13 of 40
(1,796 Views)

@reggie2016 wrote:

yes there are 81 channels in 1 file so each graph should show 27channels each.


There are still many possibilities. Do you want # 1, 4, 7... etc or 1..27 in the first graph.

 

In any case, if the channel names just differ by a number, create the channel name based on the iteration terminal of the loop. Then you could reshape the resulting 1D array to a 2D array with three columms, index out the columns, and graph them. It really would not add much to the existing code.

0 Kudos
Message 14 of 40
(1,788 Views)

i see so i want 27 channels on 3 graphs. so would i change the number on the array to 3.

0 Kudos
Message 15 of 40
(1,784 Views)

@reggie2016 wrote:

i see so i want 27 channels on 3 graphs. so would i change the number on the array to 3.


I have no idea what you are saying.

0 Kudos
Message 16 of 40
(1,777 Views)

Here is one possibility ...

 

Download All
0 Kudos
Message 17 of 40
(1,774 Views)

I guess im saying i dont know how to change the code to get what i want. I want 3 graphs with 27channels on each one. there are 81 channels on the tdms file. how do you change the array from a 1D to 2D.

0 Kudos
Message 18 of 40
(1,772 Views)

@reggie2016 wrote:

how do you change the array from a 1D to 2D.


I said "reshape"! 😄

0 Kudos
Message 19 of 40
(1,767 Views)

ohhh I see now. The program is changing the number of Modules i have not the number of channels. I want to seperate the channels from each module on 3 graphs.

0 Kudos
Message 20 of 40
(1,762 Views)