From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,603faa0ab50152a0 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.74.79 with SMTP id r15mr1720950wiv.4.1358655610730; Sat, 19 Jan 2013 20:20:10 -0800 (PST) Path: o9ni8430wio.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.teledata-fn.de!weretis.net!feeder1.news.weretis.net!eu.feeder.erje.net!feeder.erje.net!us.feeder.erje.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!s09-11.readnews.com!unm2.readnews.com.POSTED!not-for-mail X-Trace: DXC=C`X8CKS>Ga8GUDj=Lkn_I9[3OhcoN[H00X44`8^\]>7:25[I[UfBM:5 Newsgroups: comp.lang.ada Subject: Re: from LabView to Ada? HowTo? Message-ID: <20130112212834.7fdce61f@lufsen.sandat.dyndns.org> References: X-Newsreader: Claws Mail 3.9.0 (GTK+ 2.24.8; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Organization: readnews.com - News for Geeks and ISPs NNTP-Posting-Host: 5182cc72.newsreader.readnews.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: 2013-01-12T21:28:34+01:00 List-Id: Well given a few prerequisites: * The card manufacturer: - has provided a driver - has provided a header file to be used to interface their product in the language C and are providing some interface in an .so- or .dll- file. * You are using a fairly modern GCC/GNAT. I would use the "-fdump-ada-spec" option to gcc to get specs representing the manufacturers API. And with those specs you will be able to do what ever you want. You might have a look on https://github.com/persan/zeromq-Ada to get some ideas. /P On Sat, 12 Jan 2013 00:57:59 +0000 (UTC) Mutek wrote: > Hello, > > I wuold like to investigate if is possible to migrate or just restart > over from an actual LabView Windows environment to a multiplatform > Ada/ Gnu/Linux based solution. > > I use LabView to do very simple datalogging with a lot transducers: > analog hight pressure transducers, thermocouple/temperature > transducers, LVDT analog and PWM/digital datalogging and so on. > I'm just using some very expensive NI boards but I would like to stay > away from them. > > Is there a way to use Analog/Digital IO boards with GNU/Linux and > program direct with Ada? > Do you know if it's possible and how? (pointing me to some working > reference) > > I mean something very closed to Arduino hardware but more > professional in terms of measurement precision. > Arduino needs to load the firmware via Processing so it's a bit far > from what I mean (using Ada to metacompile Processing and then inject > into the board)...I mean something closed to what you can do in C > when vendors give you the drivers and the .h to develop direct your > solution... So how can I do this in Ada? > > Thank you in advance for your feedback, > > m