analog output streams two unwanted samples

Hi,
while trying to stream analog output to a pci-6031e (module: ni_pcimio) I discovered three oddities:
(1) there were always two extra samples written before the wanted samples started to appear; these extra values unsually are 0V, but
they may change by time
(2) if I use TRIG_COUNT as the stop_src, then the last sample is ignored
(3) a streaming output to channel 0 does not affect channel 1 (just as expected), but channel 0 gets reset to 0V,
when I start to stream through channel 1

this behaviour occours while using both self-written programs and the demo "ao_waveform" of comedilib

I am using comedi 0.7.68 and comedilib 0.7.21, but I also experienced the same results with yesterday's cvs-snapshots.

Does anybody have an idea, how to fix this?

thanks for any help,
Lars

Received on 2004-09-15Z10:47:03