(unknown charset) Re: Output Asynchronous

On Sat, 6 Jul 2002, [iso-8859-1] David García wrote:

>
> Well, when i try to execute my program, the sencond comand_comedi_test
> return 0. However, th comedi_command() function return to me -1 and
> the comedi_perror give me the following error:

David,

I vaguely remember there being some problem with the stop_src for analog
output with the ni driver, either TRIG_NONE or TRIG_COUNT not working.
Also, The way analog output commands work was changed fairly recently so
you might be better off working with the latest releases of comedi and
comedilib.  Currently, TRIG_NOW is no longer used as the start_src but
rather TRIG_INT.  And the order of doing things is: send the command,
write initial data to /dev/comedi[0-3], and finally call
comedi_internal_trigger() to start (see a current version of
comedilib/demo/ao_waveform.c).

Frank

Received on 2002-07-06Z22:08:51