LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

4 channels read

Hi everyone, i wish to split my data into 4 different arrays so i can plot them individually. Currently the readtext.vi can split the data into 2 different array and plot them out on 2 graphs, how do i edit the program to get 4 different arrays ? The log4c.txt are logging 4 channels of data that repeats itself every 4 lines.
 
 
Regards,
Chengwee
Download All
0 Kudos
Message 1 of 2
(2,646 Views)
Hello,

I think that the best approach for me, it's by doing a new vi.

You said that you're logging to file 4 channels. But in the file you've 16 columns. So I assumed that you have to concatenate 4 to each array.
What's my idea:

1 - read all the file to an array 2D
2 - gatter the first 4 columns (concatenating) to array1, the next 4 to arra2, etc.

Is this what you want?

Comment....


Software developer
www.mcm-electronics.com





PORTUGAL
Message 2 of 2
(2,621 Views)