this is the source code that I use it for reading the A/D outputs but with 12 channels it's very slow!
/*************************************************/
void initialization (void){
Init_DA_Brds (1, &init);
SCAN_Setup (1, num_of_chan, channel_list, gain);
}
while (1) {
AI_Read_Scan (1, voltage);
AI0=voltage[0];
AI1=voltage[0];
AI2=voltage[0];
.
.
.
AI11=voltage[11];
}