Hi Atma,
Depending on what device you are using, the solution might be slightly
different. For example, if you're using one of our M series or E
series devices, you can only use one analog acquisition task at a time
because of the shared timing (these cards use a multiplexer to acquire
from multiple channels). If you have a card that supports simultaneous
sampling (S-series, DSA boards, Digitizers, etc.) this may be
different. If you setup one task to acquire from all three channels and
did your calculations on channel A and ignored the other
channel values, would that work? Basically, I would set it up so that
during the first call in the while loop I could collect the number of
samples (from all channels including channel A), do the math that you
want on channel A, and clear the information from the channels you
aren't concerned with yet. I've attached a picture that shows how to
use the "first call?" vi to setup a case structure to take the first
setup of samples just once at the first iteration of the while loop. I
would also note that in my picture the task would already be started
prior to the first call. You might want to start and stop the task
during the first call to allow modifications to be made to the task.

I hope this helps,
Paul C.
Message Edited by Paul C. on 09-24-2007 10:37 AM