Thanks for your answer Jeremy,
the example attached puts data out on channel 0 and 1. There was a bug
in filling the FIFO in he example I attached in my first message. Sorry
for that. I attached the corrected one to this message. It
works fine. I am not sure about the settings of AO_DAC0_Update_Mode and
AO_DAC1_Update_Mode. There seems to be no difference when both are set
to timed or immediately.