Hello,
unfortunately, the ADC bean does not support switching channels for simultaneous measurement, however, as it has been suggested in previous posts, you can switch by directly writing to ADC registers before each measurement. But please note that this is possible only if you have disabled individual channel accessing method like MeasureChan.
For example, to switch to channels 3 and 6:
void main(void)
{
....
(void)AD1_Measure(TRUE);
/* ADLST1: ??=0,SAMPLE3=0,??=0,SAMPLE2=0,??=0,SAMPLE1=0,??=0,SAMPLE0=3 */
setReg16(ADLST1,0x03); /* Set ADC channel list reg. */
/* ADLST2: ??=0,SAMPLE7=0,??=0,SAMPLE6=0,??=0,SAMPLE5=0,??=0,SAMPLE4=6 */
setReg16(ADLST2,0x06); /* Set ADC channel list reg. */
(void)AD1_Measure(TRUE);
.....
best regards
Petr Hradsky
Processor Expert Support Team