We have 4 channels (ai0 to ai3) and we read 3 samples per channel. This means the Read NChan NSamp will output an array with 4 rows and 3 columns. The auto-indexing of the For-loop will then create a 3D Array from that. This array has 2 pages, 4 rows and 3 colums.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions Unofficial Forum Rules and Guidelines "Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
hemasagar, sounds like you do not have the right number of channels in your task. Look closely at the channel constant.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions Unofficial Forum Rules and Guidelines "Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5