Any time that i try to acquire data from more than 5 channels in labwindows CVI, i get an error that says "BadchanError - A channel, port or counter is out of range for the device type or the device configuration." I am using the function call:
SCAN_Op (1,14,chan, gain, buffer2, 1400, 1000, 100);
where buffer2 contains 1400 elements, chan contains 14 elements (0-13) and gain is an array of 1s. I initialized the card by using
Init_DA_Brds (1, &b_code);
do i need to perform more initializations? how can i make this function read 14 channels of data?