PCI-6111card

Hallo, David Schleef,

In  your last Email about my pci-6111 card  , you said that "It looks like
it's working fine.  How are you expecting it to work?"

Perhaps  you have not understand my problem: Mit Comedi  can I not get high
sampling rate for Anologe Input (both in simultaneous_start.c or  in any
other read programs with trigger or without trigger).    The sampling rate of
Anologe Input  seems unchangeable(<2000Hz) , though comand test in programs
show success of setting  scan_begin_arc 1000 ns:    I want AI sampling rate
1000000Hz. This pci-6111 can namely do more than 1000000Hz simultanneous AI
and AO.  At the same time, the Anologe Output seems  good, other demo program
as ao_waveform works good. My system is Redhat7.3 with 2.4.20 kernel  from
Kernel.org, cvs comedi tarball, IRQ 5 only for ni_pcimio in slot 2(no
conflict).

When I run the simultaneous_start.c in Dr. Rolf Mueller's PC with his
pci-6110 last week, it works  first good( I can change AI Sampling rate
through changing freq), but with my pci-6111 card in his PC, it is
recognized  only  after I did
                       modprobe ni_pcimio
                      comedi_config  /dev/comedi0  ni_pcimio
But I could not change AI Sampling rate through changing freq any more. The
AI Sampling rate stayed  slower as 2000Hz. Then I set the pci-6110 card back
in his PC. God! It has now the same problem as my  pci-6111card( AI sampling
rate<2000Hz). What's wrong  have I done?  I tested  the card with the  test
panel from NI-DAQ in windows, it passed and there is nothing wrong with the
card .  The man from NI  in Germany told me  that I shall set 3 DMA chanels ,
but I have  set them with default:
                       modprobe ni_pcimio
                      comedi_config  /dev/comedi0  ni_pcimio  (or :
comedi_config  /dev/comedi0  ni_pcimio  --read-buffer 256 --write-buffer 256,
DMA)
                      comedi_calibrate
                      comedi_test
Dr. Rolf Mueller is  now not in Germany , will you please help me to solve
this problem?

yours sincerely

Wang Maosen


*********************************************************************************

Adresse, Telefon, Fax, Email

                             Eberhard-Karls-Universität Tübingen
                             Wilhelm-Schickard-Institut für Informatik
                             Lehrstuhl Rechnerarchitektur

                             Sand 1
                             D - 72076 Tübingen
                             Germany
                             Tel: (+49/0) 7071 / 29 70438
                             Fax: (+49/0) 7071 / 29 5091
                             Email: wangm_at_informatik.uni-tuebingen.de

**********************************************************************************

David Schleef wrote:

> On Fri, Feb 07, 2003 at 01:15:25AM +0100, Wang Maosen wrote:
> > 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).
>
> "Not applicable" means that the test can't be used, not that it
> doesn't work.
>
> > 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)
>
> It looks like it's working fine.  How are you expecting it to work?
> (Well, except for the eventual broken pipe.  That's a problem.)
>
> dave...

Received on 2003-02-27Z12:20:55