discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Discuss-gnuradio] comedilib question


From: Ulf Lindgren A
Subject: RE: [Discuss-gnuradio] comedilib question
Date: Fri, 22 Aug 2008 11:00:17 +0200

Hi,

I have made a fix for the change in comedilib. The fix is as follows,
the struct cmd in comedilib has been extended with the variable
chanlist_len (in version 0.8) and it is this variable that is missing in
the calls to "comedi_get_cmd_generic_timed" made in the files
gr-comedi/src/comedi_source_s.cc and gr-comedi/src/comedi_sink_s.cc. 

The current call in comedi_source_s.cc is:
        ret =
comedi_get_cmd_generic_timed(d_dev,d_subdevice,&cmd,(unsigned
int)(1e9/sampling_freq));
fix
        ret =
comedi_get_cmd_generic_timed(d_dev,d_subdevice,&cmd,cmd.chanlist_len,(un
signed int)(1e9/sampling_freq));

and the current call in comedi_sink_s.cc is 
        ret =
comedi_get_cmd_generic_timed(d_dev,d_subdevice,&cmd,(unsigned
int)(1e9/sampling_freq));
fix 
        ret =
comedi_get_cmd_generic_timed(d_dev,d_subdevice,&cmd,cmd.chanlist_len,(un
signed int)(1e9/sampling_freq));

/Ulf

-----Original Message-----
From: Johnathan Corgan [mailto:address@hidden 
Sent: den 14 augusti 2008 21:42
To: Ulf Lindgren A
Cc: address@hidden
Subject: Re: [Discuss-gnuradio] comedilib question

On Wed, Aug 13, 2008 at 1:08 AM, Ulf Lindgren A
<address@hidden> wrote:

> I have started to build the gnuradio package and encountered a problem

> relating to comedilib, in the gnuradio file "comedi_sink_s.cc" the 
> call

It appears that an incompatible API change between comedilib 0.7 and
0.8 breaks the gr-comedi component.

Please file a bug in the GNU Radio tracker.  What system are you running
that now has 0.8 installed?

gr-comedi was originally written and last updated in 2005, and doesn't
currently have a maintainer.  Would you be willing to work on a fix,
with some email guidance from myself and Eric?

--
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]