Mgrieve,
This is a problem with the internal circuitry on the board. You
are not allowed to have more than one task running (simultaneously) of
the same type (like Analog input) because the internal circuitry is
already reserved. The only way you will be able to do this is to add
both channels you need to the one Analog Input task and read/write to
the channel of interest at that point in the code. As you found out,
digital is not in the same circuity, so it is allowed to be in a
different task running simultaneously.
-Gavin G
Applications Engineer
National Instruments