Re: [comedi] NI PCI-6120 support

Heinrich M <[email protected]> Wed, 16 Feb 2022 09:12:14 -0800 (PST)
Newsgroups gmane.linux.comedi
Message-ID <[email protected]>
------=_Part_2878_753468654.1645031534698
Content-Type: multipart/alternative; 
	boundary="----=_Part_2879_1682090730.1645031534698"

------=_Part_2879_1682090730.1645031534698
Content-Type: text/plain; charset="UTF-8"

Very well.
Thank you very much :)

Ian Abbott schrieb am Mittwoch, 16. Februar 2022 um 16:18:05 UTC+1:

> On 16/02/2022 14:08, Heinrich M wrote:
> > Thank you very much for your quick response.
> > It would probably be a miracle, if such a driver will be release 
> soon/ever?
>
> It would be a miracle. There hasn't been much support for additional NI 
> devices for about 15 years apart from simple changes to support PCIe, 
> PXI and PXIe variants of existing PCI cards.
>
> Perhaps you could get the NI DAQmx drivers working, but Debian is not 
> officially supported, and the library API will be rather different to 
> comedi.
>
> > 
> > Ian Abbott schrieb am Mittwoch, 16. Februar 2022 um 14:59:14 UTC+1:
> > 
> > Hello Heinrich,
> > 
> > On 16/02/2022 13:26, Heinrich M wrote:
> > > Hello everybody
> > >
> > > We recently acquired three new PC for using our old but gold NI
> > PCI-6120
> > > cards. Two of them will run on Windows with LabVIEW, so no problems
> > > there. However one was meant to work under Debian 11.2 with an in
> > house
> > > comedi based feedback program. So far this program was used in a
> > > slightly older PC with a PCI-6031E and works just fine.
> > >
> > > Now with the PCI-6120 i can not access the device. The error message
> > > "/dev/comedi0: No such file or directory" pops up. When looking for
> > > solutions it first seemed like the card just needs to be configured
> > > manually. I was in the middle of the process as explained at
> > > relacs.sourceforge.net/doc/api/comedi/index.html
> > <http://relacs.sourceforge.net/doc/api/comedi/index.html>
> > > at step 11, however there is no file called
> > /etc/init.d/boot.local which
> > > was referd to in the tutorial. I guess, that I could just create
> > my own
> > > script, which is used during the system start up.
> > >
> > > Now I didn't know, that comedi doesn't support all NI cards. The
> > 6120 is
> > > unfortunately also not listed. So before I waste more of my work
> > hours
> > > for this: Will the card be able to work at all with comedi? If
> > so, what
> > > would be the steps I need to take? Does the support list only
> > refer to
> > > autoconfigs? If not, is there an alternative?
> > >
> > > Thanks in advance
> > >
> > > Heinrich M
> > >
> > > The system:
> > > Debian 10 with the real time kernel 4.19.0-17-rt-amd64
> > > i5-9600k (HTT disabled)
> > > Some Asus Board with two PCI slots (lspci shows the pci-6120)
> > > 16 GB of RAM
> > 
> > Unfortunately, you are correct that comedi currently does not support
> > the 6120. I think the hardware is similar to 6115 (they share some NI
> > manuals), but 6115 is not supported either. There is a comment in
> > comedi's ni_pcimio driver code that reads "The 6115 boards probably
> > need
> > their own driver" so I don't think ni_pcimio.c (and ni_mio_common.c)
> > could be easily modified to support these cards. It probably really
> > does need a new driver to support the 6115 and 6120 cards.
> > 
> > -- 
> > -=( Ian Abbott <[email protected]> || MEV Ltd. is a company )=-
> > -=( registered in England & Wales. Regd. number: 02862268. )=-
> > -=( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=-
> > -=( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || www.mev.co.uk
> > <http://www.mev.co.uk> )=-
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Comedi: Linux Control and Measurement Device Interface" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> > an email to [email protected] 
> > <mailto:[email protected]>.
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/comedi_list/80a92acc-b84f-4be2-84c8-686ed20b91c4n%40googlegroups.com 
> > <
> https://groups.google.com/d/msgid/comedi_list/80a92acc-b84f-4be2-84c8-686ed20b91c4n%40googlegroups.com?utm_medium=email&utm_source=footer
> >.
>
>
> -- 
> -=( Ian Abbott <[email protected]> || MEV Ltd. is a company )=-
> -=( registered in England & Wales. Regd. number: 02862268. )=-
> -=( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=-
> -=( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || www.mev.co.uk )=-
>

-- 
You received this message because you are subscribed to the Google Groups "Comedi: Linux Control and Measurement Device Interface" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/comedi_list/5621a336-0c41-47b2-a587-61b5a6b4d31fn%40googlegroups.com.

------=_Part_2879_1682090730.1645031534698
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Very well.<br>Thank you very much :)<br><br><div class=3D"gmail_quote"><div=
 dir=3D"auto" class=3D"gmail_attr">Ian Abbott schrieb am Mittwoch, 16. Febr=
uar 2022 um 16:18:05 UTC+1:<br/></div><blockquote class=3D"gmail_quote" sty=
le=3D"margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); paddi=
ng-left: 1ex;">On 16/02/2022 14:08, Heinrich M wrote:
<br>&gt; Thank you very much for your quick response.
<br>&gt; It would probably be a miracle, if such a driver will be release s=
oon/ever?
<br>
<br>It would be a miracle.  There hasn&#39;t been much support for addition=
al NI=20
<br>devices for about 15 years apart from simple changes to support PCIe,=
=20
<br>PXI and PXIe variants of existing PCI cards.
<br>
<br>Perhaps you could get the NI DAQmx drivers working, but Debian is not=
=20
<br>officially supported, and the library API will be rather different to=
=20
<br>comedi.
<br>
<br>&gt;=20
<br>&gt; Ian Abbott schrieb am Mittwoch, 16. Februar 2022 um 14:59:14 UTC+1=
:
<br>&gt;=20
<br>&gt;     Hello Heinrich,
<br>&gt;=20
<br>&gt;     On 16/02/2022 13:26, Heinrich M wrote:
<br>&gt;      &gt; Hello everybody
<br>&gt;      &gt;
<br>&gt;      &gt; We recently acquired three new PC for using our old but =
gold NI
<br>&gt;     PCI-6120
<br>&gt;      &gt; cards. Two of them will run on Windows with LabVIEW, so =
no problems
<br>&gt;      &gt; there. However one was meant to work under Debian 11.2 w=
ith an in
<br>&gt;     house
<br>&gt;      &gt; comedi based feedback program. So far this program was u=
sed in a
<br>&gt;      &gt; slightly older PC with a PCI-6031E and works just fine.
<br>&gt;      &gt;
<br>&gt;      &gt; Now with the PCI-6120 i can not access the device. The e=
rror message
<br>&gt;      &gt; &quot;/dev/comedi0: No such file or directory&quot; pops=
 up. When looking for
<br>&gt;      &gt; solutions it first seemed like the card just needs to be=
 configured
<br>&gt;      &gt; manually. I was in the middle of the process as explaine=
d at
<br>&gt;      &gt; <a href=3D"http://relacs.sourceforge.net/doc/api/comedi/=
index.html" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"http=
s://www.google.com/url?hl=3Dde&amp;q=3Dhttp://relacs.sourceforge.net/doc/ap=
i/comedi/index.html&amp;source=3Dgmail&amp;ust=3D1645117901554000&amp;usg=
=3DAFQjCNFHJQzxxGZbqzG24yPzTQanqx5C6A">relacs.sourceforge.net/doc/api/comed=
i/index.html</a>
<br>&gt;     &lt;<a href=3D"http://relacs.sourceforge.net/doc/api/comedi/in=
dex.html" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https:=
//www.google.com/url?hl=3Dde&amp;q=3Dhttp://relacs.sourceforge.net/doc/api/=
comedi/index.html&amp;source=3Dgmail&amp;ust=3D1645117901554000&amp;usg=3DA=
FQjCNFHJQzxxGZbqzG24yPzTQanqx5C6A">http://relacs.sourceforge.net/doc/api/co=
medi/index.html</a>&gt;
<br>&gt;      &gt; at step 11, however there is no file called
<br>&gt;     /etc/init.d/boot.local which
<br>&gt;      &gt; was referd to in the tutorial. I guess, that I could jus=
t create
<br>&gt;     my own
<br>&gt;      &gt; script, which is used during the system start up.
<br>&gt;      &gt;
<br>&gt;      &gt; Now I didn&#39;t know, that comedi doesn&#39;t support a=
ll NI cards. The
<br>&gt;     6120 is
<br>&gt;      &gt; unfortunately also not listed. So before I waste more of=
 my work
<br>&gt;     hours
<br>&gt;      &gt; for this: Will the card be able to work at all with come=
di? If
<br>&gt;     so, what
<br>&gt;      &gt; would be the steps I need to take? Does the support list=
 only
<br>&gt;     refer to
<br>&gt;      &gt; autoconfigs? If not, is there an alternative?
<br>&gt;      &gt;
<br>&gt;      &gt; Thanks in advance
<br>&gt;      &gt;
<br>&gt;      &gt; Heinrich M
<br>&gt;      &gt;
<br>&gt;      &gt; The system:
<br>&gt;      &gt; Debian 10 with the real time kernel 4.19.0-17-rt-amd64
<br>&gt;      &gt; i5-9600k (HTT disabled)
<br>&gt;      &gt; Some Asus Board with two PCI slots (lspci shows the pci-=
6120)
<br>&gt;      &gt; 16 GB of RAM
<br>&gt;=20
<br>&gt;     Unfortunately, you are correct that comedi currently does not =
support
<br>&gt;     the 6120. I think the hardware is similar to 6115 (they share =
some NI
<br>&gt;     manuals), but 6115 is not supported either. There is a comment=
 in
<br>&gt;     comedi&#39;s ni_pcimio driver code that reads &quot;The 6115 b=
oards probably
<br>&gt;     need
<br>&gt;     their own driver&quot; so I don&#39;t think ni_pcimio.c (and n=
i_mio_common.c)
<br>&gt;     could be easily modified to support these cards. It probably r=
eally
<br>&gt;     does need a new driver to support the 6115 and 6120 cards.
<br>&gt;=20
<br>&gt;     --=20
<br>&gt;     -=3D( Ian Abbott &lt;<a href data-email-masked rel=3D"nofollow=
">[email protected]</a>&gt; || MEV Ltd. is a company )=3D-
<br>&gt;     -=3D( registered in England &amp; Wales. Regd. number: 0286226=
8. )=3D-
<br>&gt;     -=3D( Regd. addr.: S11 &amp; 12 Building 67, Europa Business P=
ark, )=3D-
<br>&gt;     -=3D( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || <a href=3D"ht=
tp://www.mev.co.uk" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=
=3D"https://www.google.com/url?hl=3Dde&amp;q=3Dhttp://www.mev.co.uk&amp;sou=
rce=3Dgmail&amp;ust=3D1645117901555000&amp;usg=3DAFQjCNGDKawZLKjJ4La_Be17_c=
6tszbTIQ">www.mev.co.uk</a>
<br>&gt;     &lt;<a href=3D"http://www.mev.co.uk" target=3D"_blank" rel=3D"=
nofollow" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dde&amp;q=
=3Dhttp://www.mev.co.uk&amp;source=3Dgmail&amp;ust=3D1645117901555000&amp;u=
sg=3DAFQjCNGDKawZLKjJ4La_Be17_c6tszbTIQ">http://www.mev.co.uk</a>&gt; )=3D-
<br>&gt;=20
<br>&gt; --=20
<br>&gt; You received this message because you are subscribed to the Google=
=20
<br>&gt; Groups &quot;Comedi: Linux Control and Measurement Device Interfac=
e&quot; group.
<br>&gt; To unsubscribe from this group and stop receiving emails from it, =
send=20
<br>&gt; an email to <a href data-email-masked rel=3D"nofollow">comedi_list=
[email protected]</a>=20
<br>&gt; &lt;mailto:<a href data-email-masked rel=3D"nofollow">comedi_list.=
[email protected]</a>&gt;.
<br>&gt; To view this discussion on the web visit=20
<br>&gt; <a href=3D"https://groups.google.com/d/msgid/comedi_list/80a92acc-=
b84f-4be2-84c8-686ed20b91c4n%40googlegroups.com" target=3D"_blank" rel=3D"n=
ofollow" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dde&amp;q=
=3Dhttps://groups.google.com/d/msgid/comedi_list/80a92acc-b84f-4be2-84c8-68=
6ed20b91c4n%2540googlegroups.com&amp;source=3Dgmail&amp;ust=3D1645117901555=
000&amp;usg=3DAFQjCNFn0sl2tdHjJaOjC5on5QL1x97nSw">https://groups.google.com=
/d/msgid/comedi_list/80a92acc-b84f-4be2-84c8-686ed20b91c4n%40googlegroups.c=
om</a>=20
<br>&gt; &lt;<a href=3D"https://groups.google.com/d/msgid/comedi_list/80a92=
acc-b84f-4be2-84c8-686ed20b91c4n%40googlegroups.com?utm_medium=3Demail&amp;=
utm_source=3Dfooter" target=3D"_blank" rel=3D"nofollow" data-saferedirectur=
l=3D"https://www.google.com/url?hl=3Dde&amp;q=3Dhttps://groups.google.com/d=
/msgid/comedi_list/80a92acc-b84f-4be2-84c8-686ed20b91c4n%2540googlegroups.c=
om?utm_medium%3Demail%26utm_source%3Dfooter&amp;source=3Dgmail&amp;ust=3D16=
45117901555000&amp;usg=3DAFQjCNFqCr6c1shwiNjZGAD6LzwHLmn4sA">https://groups=
.google.com/d/msgid/comedi_list/80a92acc-b84f-4be2-84c8-686ed20b91c4n%40goo=
glegroups.com?utm_medium=3Demail&amp;utm_source=3Dfooter</a>&gt;.
<br>
<br>
<br>--=20
<br>-=3D( Ian Abbott &lt;<a href data-email-masked rel=3D"nofollow">abb...@=
mev.co.uk</a>&gt; || MEV Ltd. is a company  )=3D-
<br>-=3D( registered in England &amp; Wales.  Regd. number: 02862268.  )=3D=
-
<br>-=3D( Regd. addr.: S11 &amp; 12 Building 67, Europa Business Park, )=3D=
-
<br>-=3D( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || <a href=3D"http://www.=
mev.co.uk" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https=
://www.google.com/url?hl=3Dde&amp;q=3Dhttp://www.mev.co.uk&amp;source=3Dgma=
il&amp;ust=3D1645117901555000&amp;usg=3DAFQjCNGDKawZLKjJ4La_Be17_c6tszbTIQ"=
>www.mev.co.uk</a> )=3D-
<br></blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Comedi: Linux Control and Measurement Device Interface&quot; group.<br=
 />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">comedi_=
[email protected]</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/comedi_list/5621a336-0c41-47b2-a587-61b5a6b4d31fn%40googlegroups=
.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/ms=
gid/comedi_list/5621a336-0c41-47b2-a587-61b5a6b4d31fn%40googlegroups.com</a=
>.<br />

------=_Part_2879_1682090730.1645031534698--

------=_Part_2878_753468654.1645031534698--