ni_pcimio error

Hi everybody:

Any hints?

Hi:

I'm trying to use a NI_6110E DAQ Card on Suse 9.1 box with comedi 0.7.68
comedilib 0.7.19. I got an error when attempting to test the card and
when trying to acquire data from it (evident!). Here are the
configuration and outputs: 

uname: 
Linux magpulsos 2.6.4-52-default #1 Wed Apr 7 02:08:30 UTC 2004 i686
i686 i386 GNU/Linux (Suse 9.1 default distribution kernel)

/proc/modules:
ni_pcimio 30592 0 - Live 0xd1995000
8255 4480 1 ni_pcimio, Live 0xd1979000
comedi 26512 2 ni_pcimio,8255, Live 0xd199e000
mite 5892 1 ni_pcimio, Live 0xd198f000

comedi config output (comedi_config /dev/comedi0 ni_pcimio --read-buffer
128):
comedi0: ni_pcimio: pci-6110MITE:0xfcfde000 mapped to d1817000
DAQ:0xfcfdf000 mapped to d1981000
 ( irq = 9 )

comedi_test output:
I: Comedi version: 0.7.68
I: Comedilib version: unknown =)
I: driver name: ni_pcimio
I: device name: pci-6110
I:
I: subdevice 0
I: testing info...
rev 1
I: subdevice type: 1 (analog input)
  number of channels: 4
  max data value: 4095
  ranges:
    all chans: [-50,50] [-20,20] [-10,10] [-5,5] [-2,2] [-1,1]
[-0.5,0.5] [-0.2,0.2]
I: testing insn_read...
rev 1
comedi_do_insn returned 1, good
I: testing insn_read_0...
comedi_do_insn returned 0, good
I: testing insn_read_time...
rev 1
comedi_do_insn: 3
read time: 11 us
I: testing cmd_no_cmd...
not applicable
I: testing cmd_probe_src_mask...
rev 1
command source mask:
  start: now|ext|int
  scan_begin: timer|ext
  convert: now|timer|ext
  scan_end: count
  stop: none|count
I: testing cmd_probe_fast_1chan...
command fast 1chan:
  start: now 0
  scan_begin: timer 200
  convert: timer 0
  scan_end: count 1
  stop: count 2
I: testing cmd_read_fast_1chan...
read: Broken pipe
I: testing cmd_write_fast_1chan...
not applicable
I: testing cmd_logic_bug...
rev 1
command_test returned 1, good
I: testing cmd_fifo_depth_check...
64, 1
128, 1
256, 1
512, 1
1024, 1
2048, 1
4096, 1
8192, 3
16384, 4
32768, 11
I: testing cmd_start_inttrig...
I: testing mmap...
0x40023000 ok
0x40024000 ok
0x40025000 ok
0x40026000 ok
0x40027000 ok
compare ok
0x40023000 segfaulted (ok)
Segmentation fault

comedi_test output (on messages):
ni_mio_common: ai error a_status=e432
ni_mio_common: wait for dma drain timed out

Comedi command struct:

    cmd.subdev       = 0;
    cmd.chanlist     = chanl;
    cmd.chanlist_len = 4;
    cmd.start_src = TRIG_EXT;
    cmd.start_arg = 2;
    cmd.scan_begin_src = TRIG_TIMER;
    cmd.scan_begin_arg = 10000;
    cmd.convert_src = TRIG_NOW;
    cmd.convert_arg = 0;
    cmd.scan_end_src = TRIG_COUNT;
    cmd.scan_end_arg =  4;
    cmd.stop_src = TRIG_COUN
    cmd.stop_arg = 2048;

The comedi_command_test function returns OK, but the comedi_command
function returns an error: Resource temporally unavailable.

I would really appreciate any hint on this problem. Thanks in advance,

Dario Bueno 

Received on 2004-09-28Z17:21:09