i think you misunderstood whati i asked.
actually, i found the index of buffer,
have you acted generic_buffer program??
i let 2 channels(4, 5) enabled
when i acted "./generic_buffer -n tiadc - l 120 -c 1, it prints 456 adc values by using printf in the program.
the login is included in the program how to get a value.
but i don't know which adc value is channel 4 and channel 5.
i know the index. index 0 is channel 4 and index 1 is chennel.
But i don't know how to catch exact adc value from same buffer.
all values is mixed. the program shows only values, not the value from where.
Do you understand what i have problem with it ? :(