07-07-2009 03:34 PM
Hi everyone,
I am trying to organize my data but I can't do that. I receive 2 files in a different time and I want to put it in the same line, for example, my first file has a packet with 3 columns and 2 lines and the second has 4 columns and 2 lines and I want to put my second data after the first but in the same line (As I said, I receiveit in a diferent time). In other words, besides I receive my packet in a different time I'd like to put the second data after the first but aligned.
Let's suppose my packets:
1)
1 55 32
4 65 15
2)
3 12 14 5
12 54 4 9
I want to do that:
1 55 32 3 12 14 5
4 65 15 12 54 4 9
Remember, I receive in a different time!!
Is it possible to do that?
Is there anybody that can help me?
07-07-2009 03:42 PM - edited 07-07-2009 03:43 PM
07-07-2009 04:13 PM
HI GerdW,
I know exacly the array size before. It is 508 bytes and the second one is 255.
Could you help me how to use "big"buffers"and replace arrays subset.
Regards
Kito
07-07-2009 04:41 PM
HI GerdW,
I forgot to tell you that I will receive continuously the data. So I need to include those data in the sequence of the file. For exemple:
First time
1)
1 55 32
4 65 15
2)
3 12 14 5
12 54 4 9
2nd time
1)
5 85 92
9 32 18
2)
13 33 18 1
17 44 3 8
and so on....
and then the struct will be like that:
1 55 32 3 12 14 5
4 65 15 12 54 4 9
5 85 92 13 33 18 1
9 32 18 17 44 3 8
..........and so on.
Could you help me on that?
Regards
Kito
07-08-2009 01:59 AM
07-09-2009 12:47 PM
Thanks very much for your help GerdW.
It really helped me.
Regards
Kito