where is my FIFO for subdevice 1 in PCI-6111card

hallo, all


Last week I have compared my comdei_test results with Dr. Rolf Mueller's
and found that there are no  applicable FIFO for subdevice 1 in my
PCI-6111 card. According to the Manual, there must be 2 FIFOs in
PCI-611x card(AI buffer8192 and AO buffer 2048), his 6110 card has FIFO
for subdevice 1 in test result, but my 6111's FIFO for AO is "not
applicable"(see below 1st attached file). I have at same time also tried
the example "simultaneous start" from David Schleef in his computer, it
runs right by his computer, but not by my computer, the synchronization
from this example lost contoll totally in my computer(see below 2rd
attached file).

So I thought that there were problems with my hardware or software. Then
I spent long time and painfully added the second kernel 2.4.20 direct
from www.Kernel.org  in my computer, and changed comedi to CVS version ,
moved away the conflicting CDs(they leaded always to "BIOS not
installed"). But now the test result is nearly same as before.

I think these 2 FIFOs are important  to making synchronization for high
frequncy application, especially for comedi under Redhatl. but where is
my "not applicabe "FIFO in subedevice 1?

By the way, I can test the normal outputted analoge waveform without
synchronization in Oscilloscope, it works also in some degree.

Can you give me some advices? Perhaps I have something ignored.

Wang Maosen


===========================
1.comedi_test result
===========================
I: Comedi version: 0.7.66
I: Comedilib version: unknown =)
I: driver name: ni_pcimio
I: device name: pci-6111
I:
I: subdevice 0
I: testing info...
rev 1
I: subdevice type: 1 (analog input)
  number of channels: 2
  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: 9 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...
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, 7
32768, 15
I: testing cmd_start_inttrig...
I: testing mmap...
0x4001c000 ok
0x4001d000 ok
0x4001e000 ok
0x4001f000 ok
0x40020000 ok
compare ok
0x4001c000 segfaulted (ok)
0x4001d000 segfaulted (ok)
0x4001e000 segfaulted (ok)
0x4001f000 segfaulted (ok)
0x40020000 segfaulted (ok)
I: testing read_select...
I: testing bufconfig...
buffer size 65536
max buffer size 65536
setting buffer size to 4096
buffer size set to 4096
buffer size now at 4096
setting buffer size past limit, 69632
got EPERM, good
setting buffer size to max, 65536
buffer size now at 65536
I:
I: subdevice 1
I: testing info...
rev 1
I: subdevice type: 2 (analog output)
  number of channels: 2
  max data value: 65535
  ranges:
    all chans: [-10,10]
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: 1 us
I: testing cmd_no_cmd...
not applicable
I: testing cmd_probe_src_mask...
rev 1
command source mask:
  start: int
  scan_begin: timer
  convert: now
  scan_end: count
  stop: none
I: testing cmd_probe_fast_1chan...
command fast 1chan:
  start: int 0
  scan_begin: timer 0
  convert: now 0
  scan_end: count 1
  stop: none 0
I: testing cmd_read_fast_1chan...
not applicable
I: testing cmd_write_fast_1chan...
comedi_command: Resource temporarily unavailable
comedi_inttrig: Invalid argument
I: testing cmd_logic_bug...
rev 1
not applicable (no source choices)
I: testing cmd_fifo_depth_check...
not applicable
I: testing cmd_start_inttrig...
not applicable
I: testing mmap...
not applicable
I: testing read_select...
not applicable
I: testing bufconfig...
buffer size 65536
max buffer size 65536
setting buffer size to 4096
buffer size set to 4096
buffer size now at 4096
setting buffer size past limit, 69632
got EPERM, good
setting buffer size to max, 65536
buffer size now at 65536
I:
I: subdevice 2
I: testing info...
rev 1
I: subdevice type: 5 (digital I/O)
  number of channels: 8
  max data value: 1
  ranges:
    all chans: [0,5]
I: testing insn_read...
rev 1
...

=============================
2  result of simultaneous_start with freq=100000
=============================

rapc06[78] simultaneous_start
command before testing:
start:      ext      6
scan_begin: timer    10000
convert:    timer    0
scan_end:   count    1
stop:       none     0
first test returned 0 (success)
start:      ext      6
scan_begin: timer    10000
convert:    timer    0
scan_end:   count    1
stop:       none     0
second test returned 0 (success)
command before testing:
start:      int      0
scan_begin: timer    10000
convert:    now      0
scan_end:   count    1
stop:       none     0
first test returned 0 (success)
start:      int      0
scan_begin: timer    10000
convert:    now      0
scan_end:   count    1
stop:       none     0
second test returned 0 (success)
write 4096
write 4096
start time: 1044571023.307312
write 4096
write 4096
write 4096
write 4096
write 4096
write 4096
write 4096
write 4096
write 4096
write 4096
write 4096
write 4096
write 4096
write 4096
write 4096
write 60
write 4096
write 16
write 4064
write 4088
write 4096
write 44
write 4068
write 4088
write 4092
write 4092
write 4096
write 4
write 4092
write 4096
write 16
write 4096
write 4084
...
(more than 500 times write, than come 3 times read)
...
write 4096
write 4096
read 4096
read 60
read 4040
write 4084
write 4096
...(repeat bis pipe broken, then only read)

Received on 2003-02-07Z00:15:25