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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9df73b918245e620,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!l64g2000hse.googlegroups.com!not-for-mail From: Jochen Hayek Newsgroups: comp.lang.ada Subject: Ada and CANopen Date: Tue, 5 Aug 2008 01:42:49 -0700 (PDT) Organization: http://groups.google.com Message-ID: <61f0e81c-5921-40d6-b872-f0894f57307d@l64g2000hse.googlegroups.com> NNTP-Posting-Host: 82.210.237.30 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1217925769 32764 127.0.0.1 (5 Aug 2008 08:42:49 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 5 Aug 2008 08:42:49 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l64g2000hse.googlegroups.com; posting-host=82.210.237.30; posting-account=DB1mJQoAAADtHh8SLNXta8MzzQC5bgKo User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 mu10iwss01:8080 (IWSS), 1.1 proxy.kmweg.de:3128 (squid/2.5.STABLE10-CVS) Xref: g2news2.google.com comp.lang.ada:7176 Date: 2008-08-05T01:42:49-07:00 List-Id: Is there any (other) project using Ada to communicate over the CAN-Bus via CANopen? My project is in an automotive niche area. My focus is on the object dictionary and the PDO list. and I started specifying them in my own XML dialect, formally described using RELAX-NG. My approach is to derive all the (Ada, ...) code from that central data structure, all the code, that has been hand-written traditionally. A lot of 'unsigned ints' in the object dictionary are actually records with rep. specs, and I extended my object dictionary definition by such records rep. specs; the "extra value" from that is to derive / generate record component accessors from that. Of course, the object dictionary can also be made use of to specify GUIs from them, implemented in a script language. Such a GUI can ease in the assembly of a PDO to be sent resp. in the disassembly of a PDO received. That's good for manual, interactive testing, maybe even for future GUI interfaces. A by-product can also be scripted testing.