comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: what does your Ada + hardware look like ?
Date: Wed, 7 Oct 2015 15:22:22 +0200
Date: 2015-10-07T15:22:22+02:00	[thread overview]
Message-ID: <1qqftuemkkogu$.16rnow6siulru$.dlg@40tude.net> (raw)
In-Reply-To: 4c54c2a9-050c-41ba-82ef-8bedc1eb3416@googlegroups.com

On Wed, 7 Oct 2015 04:50:29 -0700 (PDT), halfmaddad@gmail.com wrote:

> You work with landing gear correct?

No, we are doing automation and control.

> Do you run with an OS?

Yes. Windows, VxWorks, Linux/Debian

> I know we can run without one but then we lose
> tasking, nested subprograms and exception handling, no?

Possibly not, but it does not worth the efforts, especially regarding the
BSP.

> So I work with scientific instruments. Sometimes I modify them for people
> but I basically just repair them. I have thought about designing one for a
> long time. It would take a lot less time and I would end up with a better
> product if I could do it in Ada rather then C/C++.

More so. Small firms have no resources to keep a huge stash of boards. The
key advantage of having an OS is that you can switch the board any time
without much trouble and pretty quick. Cheap boards go out of stock in each
2-5 years. You simply would not be able to keep that pace.

> I was wondering about using SPI with a GPIO card but I have not done this
> before. I know there are also USB-GPIO adapters.

If digital I/O is all you need a BB or a RPI has plenty of. Linux drivers
are garbage from the SW POV, but serve the purpose when the frequency is
moderate.

Quality analogue I/O would be problematic. We are using EtherCAT or
MODBUS/TCP terminals. They are relatively inexpensive and for industrial
use have one essential advantage that you can always exchange a terminal if
it burns down.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  parent reply	other threads:[~2015-10-07 13:22 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06 22:18 what does your Ada + hardware look like ? halfmaddad
2015-10-06 23:40 ` Luke A. Guest
2015-10-07  7:23 ` Dmitry A. Kazakov
2015-10-07 11:40   ` halfmaddad
2015-10-07 11:50     ` halfmaddad
2015-10-07 12:40       ` Jacob Sparre Andersen
2015-10-07 13:22       ` Dmitry A. Kazakov [this message]
2015-10-07 14:21       ` Simon Wright
2015-10-07 16:07         ` brbarkstrom
2015-10-07 17:22         ` Jeffrey R. Carter
2015-10-07 17:17       ` Luke A. Guest
2015-10-07 17:17     ` Luke A. Guest
2015-10-07 19:42 ` Tero Koskinen
2015-10-07 21:19 ` Björn Lundin
2015-10-07 23:38   ` halfmaddad
2015-10-10  1:35 ` justin%jsquirek.info
2015-10-10  8:41   ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox