Re: error on INSN_INTTRIG

On 03/10/07 11:38, Heinrich du Toit wrote:
> A few questions.
> Do I need to run comedi_command before INSN_INTTRIG ??

Yes.

> if so do I need to have a specific setup for comedi_command ??

Yes, you need to specify TRIG_INT as a start_src, stop_src,
scan_begin_src, scan_end_src, or convert_src and that particular command
setup has to be supported by the driver.

> On opening /dev/comedi0 I get: comedi_perror(): __comedi_errno=22
> I still have no idea why this is!
> But it doesn't give it unless I give comedi_loglevel(4) before hand.
> And if I put loglevel(4) in ao_waveform it comes out there also.

Harmless bugs in comedilib.  I guess they should be fixed.

> Well when I tried to setup command..
> I once got a kernel error message across all my consoles (didn't save
> that )
> And then I got a complete system freeze :(
> 
> using driver ni_pcimio and card PCI-6014C

That will be a bug in the comedi or driver modules.

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2007-10-03Z13:09:30