Re: 6052E interrupts triggered by a digital input line

I changed the command to:

>  cmd.start_src = TRIG_NOW;
>  cmd.start_arg = 0;
>
>  cmd.scan_begin_src = TRIG_EXT;
>  cmd.scan_begin_arg = 1;
>
>  cmd.convert_src = TRIG_TIMER;
>  cmd.convert_arg = 10;
>
>  cmd.scan_end_src = TRIG_COUNT;
>  cmd.scan_end_arg = 1;
>
>  cmd.stop_src = TRIG_NONE;
>  cmd.stop_arg = 0;

with still the flags to TRIG_RT and even TRIG_WAKE_EOS. If I
understand correctly, this should start immediately the command, and
begin a scan whenever Digital Line 1 gets a rising edge (hopefully
causing an interrupt at the same time), and then wait for the next
rising edge to begin again.
And still, nothing happens when I input a rising edge on the digital pin 1.

Also, when I load my RTAI module, dmesg gives me this error:

ni_mio_common: ai_error a_status=98b1

What is the meaning of this error?

Thank you for any help you might provide.
M.R.

Received on 2007-02-21Z10:44:47