01-14-2015 01:43 PM
the thing is is that i need to split up 81 channels into groups of 3. would i just do the same thing.
01-14-2015 01:47 PM
@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?
01-14-2015 01:50 PM - edited 01-14-2015 01:50 PM
yes there are 81 channels in 1 file so each graph should show 27channels each. so still 3 graphs.
01-14-2015 01:54 PM
@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.
01-14-2015 01:57 PM
i see so i want 27 channels on 3 graphs. so would i change the number on the array to 3.
01-14-2015 02:00 PM
@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.
01-14-2015 02:03 PM - edited 01-14-2015 02:03 PM
01-14-2015 02:04 PM
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.
01-14-2015 02:06 PM
@reggie2016 wrote:
how do you change the array from a 1D to 2D.
I said "reshape"! 😄
01-14-2015 02:09 PM - edited 01-14-2015 02:13 PM
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.