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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4b12bc9a1cc5c6c3 X-Google-Attributes: gid103376,public From: Scott Ingram Subject: Re: Spawning a subprocess and communicating with it. Date: 1998/10/13 Message-ID: <36238F64.398DEBEF@silver.jhuapl.edu>#1/1 X-Deja-AN: 400685277 Content-Transfer-Encoding: 7bit References: Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@houston.jhuapl.edu X-Trace: houston.jhuapl.edu 908300133 2185 128.244.21.103 (13 Oct 1998 17:35:33 GMT) Organization: Johns Hopkins University Applied Physics Laboratory Mime-Version: 1.0 NNTP-Posting-Date: 13 Oct 1998 17:35:33 GMT Newsgroups: comp.lang.ada Date: 1998-10-13T17:35:33+00:00 List-Id: Condic, Marin D. wrote: > I don't think the Distributed Annex is appropriate - although somebody might > suggest a model which would allow things to work with minimal fuss. The > embedded software is already in existence, but to run it on the workstation > would require some wrapper software to hide the lack of physical devices. > (mostly, at this juncture, the 1553 bus) So I'm not totally against any > modification to the embedded side - I'd just like to minimize it. > Although its been a while since I fiddled with GLADE, it seems to me that the DA is exactly what you are asking for. Make your Monitor program the main partition, and the embedded software your remote partition. (Note that partitions can reside on the same machine or be truly remote.) GLADE's configuration language takes care of the RPC calls that are used start the remote partition when the main partition begins execution, and the RPC calls that shut it down. Communication between the partitions is accomplished via Ada.Streams, simulating the serial data stream that your embedded hardware normally sends. > World" level. If you've got any examples or suggestions, I'm listening. > > Thanks > Obviously its not as easy as my paragraph above makes it sound, but looking at the GLADE sources might be an excellent resource. -- Scott Ingram Sonar Processing and Analysis Laboratory Johns Hopkins University Applied Physics Laboratory