Re: [comedi] Re: DAQCArd-700 & DAQCard-1200 comedi drivers appear broken on Ubuntu 13.04 3.8 kernel

Greg McGee <[email protected]> Fri, 7 Apr 2023 20:52:53 -0700 (PDT)
Newsgroups gmane.linux.comedi
Message-ID <[email protected]>
------=_Part_4496_1841926599.1680925973695
Content-Type: multipart/alternative; 
	boundary="----=_Part_4497_1882447736.1680925973695"

------=_Part_4497_1882447736.1680925973695
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Finally found my daqcard700 and related DAQ cables and stuff after moving 6=
=20
years ago.
Had a minor epiphany and realized the 700 is essentially an earlier 1200,=
=20
same except with fewer voltage ranges, even have same quirk for channel=20
order
Slapped the ids for the 700 into the 1200 driver source and limited the=20
ranges, looks OK.

Now I just need to remember how to ifdef the code so they can coexist in=20
the driver, haven't touched any code other that fixing typos etc in 30=20
years, wasn't any good at it then, i'm a hardware guy.

It works fine in the expresscard adapter I have in my X201T.

On Monday, February 16, 2015 at 4:07:06=E2=80=AFAM UTC-6 Ian Abbott wrote:

> On 16/02/15 06:39, Greg McGee wrote:
> > I used the one in 3.18.5 or such, has all the latest fixes, and it work=
s
> > fine with Fred Brooks' test program.
> > It also auto-creates the /dev entry now, saves some manual
> > configuration//headscratching.
> >
> > Sadly it won't work with apps like xoscope, qtscope etc due to not
> > having the comedi_cmd interface.
> >
> > This means it will work if you write a program for it, the example Mr
> > Brooks provides is likely a good starting point.
> >
> > Curious:
> > Is there a possibility of adding the comedi_cmd structures to the
> > daqcard-700 driver, to allow using it with the various existing virtual
> > instruments out there, or is it just missing to many features in=20
> hardware?
> >
> > I took a pass at it awhile back and it just reminded me I'm thankfully
> > far better working on metal in meatspace than I am at C, or I would hav=
e
> > starved long ago.
>
> It's technically possible. It has the hardware facilities to support=20
> it. There's even a register-level programming manual for it:=20
> http://www.ni.com/pdf/manuals/340698.pdf
>
> The main problem is finding someone with the hardware, skills, and=20
> motivation to implement and test the changes.
>
> --=20
> -=3D( Ian Abbott @ MEV Ltd. E-mail: <[email protected]> )=3D-
> -=3D( Web: http://www.mev.co.uk/ )=3D-
>

--=20
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 e=
mail to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/=
comedi_list/9a37d8cd-4294-4896-a1af-c9e95556418fn%40googlegroups.com.

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

Finally found my daqcard700 and related DAQ cables and stuff after moving 6=
 years ago.<div>Had a minor epiphany and realized the 700 is essentially an=
 earlier 1200, same except with fewer voltage ranges, even have same quirk =
for channel order</div><div>Slapped the ids for the 700 into the 1200 drive=
r source and limited the ranges, looks OK.</div><div><br /></div><div>Now I=
 just need to remember how to ifdef the code so they can coexist in the dri=
ver, haven't touched any code other that fixing typos etc in 30 years, wasn=
't any good at it then, i'm a hardware guy.</div><div><br /></div><div>It w=
orks fine in the expresscard adapter I have in my X201T.<br /><br /></div><=
div class=3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_attr">On Monday,=
 February 16, 2015 at 4:07:06=E2=80=AFAM UTC-6 Ian Abbott wrote:<br/></div>=
<blockquote class=3D"gmail_quote" style=3D"margin: 0 0 0 0.8ex; border-left=
: 1px solid rgb(204, 204, 204); padding-left: 1ex;">On 16/02/15 06:39, Greg=
 McGee wrote:
<br>&gt; I used the one in 3.18.5 or such, has all the latest fixes, and it=
 works
<br>&gt; fine with Fred Brooks&#39; test program.
<br>&gt; It also auto-creates the /dev entry now, saves some manual
<br>&gt; configuration//headscratching.
<br>&gt;
<br>&gt; Sadly it won&#39;t work with apps like xoscope, qtscope etc due to=
 not
<br>&gt; having the comedi_cmd interface.
<br>&gt;
<br>&gt; This means it will work if you write a program for it, the example=
 Mr
<br>&gt; Brooks provides is likely a good starting point.
<br>&gt;
<br>&gt; Curious:
<br>&gt; Is there a possibility of adding the comedi_cmd structures to the
<br>&gt; daqcard-700 driver, to allow using it with the various existing vi=
rtual
<br>&gt; instruments out there, or is it just missing to many features in h=
ardware?
<br>&gt;
<br>&gt; I took a pass at it awhile back and it just reminded me I&#39;m th=
ankfully
<br>&gt; far better working on metal in meatspace than I am at C, or I woul=
d have
<br>&gt; starved long ago.
<br>
<br>It&#39;s technically possible.  It has the hardware facilities to suppo=
rt=20
<br>it.  There&#39;s even a register-level programming manual for it:=20
<br><a href=3D"http://www.ni.com/pdf/manuals/340698.pdf" target=3D"_blank" =
rel=3D"nofollow" data-saferedirecturl=3D"https://www.google.com/url?hl=3Den=
&amp;q=3Dhttp://www.ni.com/pdf/manuals/340698.pdf&amp;source=3Dgmail&amp;us=
t=3D1681011848238000&amp;usg=3DAOvVaw0adNuYfEjdtHsPCmV3-074">http://www.ni.=
com/pdf/manuals/340698.pdf</a>
<br>
<br>The main problem is finding someone with the hardware, skills, and=20
<br>motivation to implement and test the changes.
<br>
<br>--=20
<br>-=3D( Ian Abbott @ MEV Ltd.    E-mail: &lt;<a href data-email-masked re=
l=3D"nofollow">[email protected]</a>&gt; )=3D-
<br>-=3D(                          Web: <a href=3D"http://www.mev.co.uk/" t=
arget=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https://www.googl=
e.com/url?hl=3Den&amp;q=3Dhttp://www.mev.co.uk/&amp;source=3Dgmail&amp;ust=
=3D1681011848238000&amp;usg=3DAOvVaw1buNuReP6VT6F-KUF1y2Z2">http://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/9a37d8cd-4294-4896-a1af-c9e95556418fn%40googlegroups=
.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/ms=
gid/comedi_list/9a37d8cd-4294-4896-a1af-c9e95556418fn%40googlegroups.com</a=
>.<br />

------=_Part_4497_1882447736.1680925973695--

------=_Part_4496_1841926599.1680925973695--