NI DAQ call back function

Hello.. im using the NI DAQ Ai 16XE50 to read data from 8 Analog Inputs.
I have however noticed that to get data from the 8 analog inputs i need
to read 9 channels. I dont know why this is so. Also Im using the
command structure with a call back function where I read the data into
the variables using cfc_read_array_from_buffer.
Now  I have noticed that data from channel 0 is available in
ai_cmd.data[1].. and so on.. i.e data for channel n is in
ai_cmd.data[n+1]. why is this so? Anybody working with the same card and
having similar issues?


Thanks

Muks
University of Michigan, Ann Arbor

Received on 2003-09-16Z19:09:20