I'm using a 6230 card trying to read 8 AIs in RSE mode. Starting with the aiex1.cpp exampe, I've made the changes listed in the other posts for changing the gain to 0 in the aiConfigureChannel call, commenting out the adcReset, and changing the aiPersonalize to SELECT_ACTIVE_HIGH. I've changed the setting from Differential to RSE in the aiConfigureChannel for my hardware setup.
I'm getting good sample values for channels 0 thru 3, however, sample values for channels 4 thru 7 appear to be values associated with channels 0 thru 3 respectively. I've varied the input to channel 0 and I see the changes reflected in the samples for channel 4 as well as channel 0.
I'm wondering if there are any settings I need to change since aiex1.cpp was used for Differential and only had a single channel.
I've had similar results using aiex2.cpp
Thanks,
Mike