Hi, (maybe not so helpfull message from newbies)
we are working on a little PID controller project using rtlinux and CAN-Bus.
The results (programm code, circuit schematics etc.) will be GPL'ed, but at the
moment
we don't have the possibility to make it accessible to the public :-(.
I think there is much more usefull code around here which would help beginners
like us
and save the gurus some time, but it's very hard to find.
Is there some chance to set up an application archive for rtlinux (maybe similar
to CPAN or CTAN)?
BTW, we first wanted to start with a CAN-Dongle using the parallel port but
couldn't find any usefull starting point (I _bet_ it's somewhere around), so now
we are using an ISA-Card as CAN-Bus interface.
(The CAN-Dongle is still here, maybe next year we find the time......)
Regards,
Peter
Phil Wilshire wrote:
> Hi,
> I can help a bit here.
> I have a nice little "logic analyser" display that works from fifo's.
> It would not take much to make this use the parallel port.
> I can package it all up for you if you wish.
Looks like we can use it as CAN-Dongle starting point, if you package itI would
appreciate very much getting a copy.
> It does use QT1.44 so you'll have to get that from <www.troll.no>
>
> Regards
> Phil
>
> "Estabridis, Janet P" wrote:
> >
> > Hi Fulko,
> > Are you saying you want to check these bits every 1 msec and if there is a
> > change then record the time and the change ?
> >
> > If so, yes, you will be able to do this quite easily with rt-linux. You can
> > set up a periodic task that will read the parallel port every 1msec and then
> > check the bits and do whatever you need to do. If this is all that is going
> > on you'll have no trouble. The rt task could communicate via fifo or shared
> > memory to an application and the application could print status information
> > to the screen along with writing the required data and time to disk. Even
> > if there is a flood of changes, the fifo can be set up large enough (or
> > shared memory) to handle this.
> >
> > If you need some example code, I have something simple that I hacked to
> > toggle bits on the parallel port to see the accuracy of the real time timer
> > functions.
> >
> > Let me know --
>
Hi Janet, maybe this is another piece of code which could help us very much(and a
canditate for "CRAN")
> >
> > Janet Estabridis
> > Electrical Engineer
> > NAWC Code 473E00D
> > China Lake, CA 93555
> > [EMAIL PROTECTED]
> > (760) 939-2896 FAX (760) 939 -3075
> >
> > > -----Original Message-----
> > > From: Fulko van Westrenen [SMTP:[EMAIL PROTECTED]]
> > > Sent: Wednesday, September 15, 1999 6:38 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: [rtl] data-logging through parallel port
> > >
> > > Hello,
> > >
> > > I have a problem that looks to me like a FAQ so I would like
> > > to know if someone knows the answer before I learn
> > > by extensive trial and error.
> > >
> > > For an experiment I have to read at least two signals (TTL),
> > > preferably more but eight at most, with <=1ms accuracy (the 1ms
> > > is essential, missing an event is ``unacceptable'').
> > > When the signal goes low (or high when that is easier), this
> > > event must be written to disk together with the time.
> > > The signal-rate is about 2Hz and one experiment lasts from 1-4 hours.
> > >
> > > It looks to me that the parallel port on a PC together with rtlinux
> > > can do the job but I'm not sure. Does someone have some experience
> > > with this and knows how it can be done?
> > >
> > > Thank you very much for your time and for any information you
> > > can give me.
> > >
> > > Sincerely,
> > >
> > > Fulko
> > >
> > > --
> > > Fulko van Westrenen
> > > email: [EMAIL PROTECTED]
>
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/