From siewerts@rodin.Colorado.EDU Wed Sep 10 02:23 MDT 1997 Received: (from siewerts@localhost) by rodin.Colorado.EDU (8.8.7/8.8.7/UnixOps/Hesiod/(SDM)) id CAA25745; Wed, 10 Sep 1997 02:22:51 -0600 (MDT) From: Sam Siewert Message-Id: <199709100822.CAA25745@rodin.Colorado.EDU> Subject: A couple more things ... To: Bruce.Gilland@colorado.edu (Bruce Gilland), luckey@ucsu.colorado.edu (Dave Luckey), hermanc@ucsu.colorado.edu (Chris Herman), willisj@colorado.edu (Jason Willis), shepperd@rodin.Colorado.EDU (Ryan Shepperd), sturmc@nag.cs.Colorado.EDU (Chris Sturm), ebers@ucsub.colorado.edu (Bradon Ebers), bryanth@cs.colorado.edu (Heather Bryant), hartmann@spot.colorado.edu (Jason Hartmann), molgaard@rintintin.colorado.edu (Jason Molgaard), millarda@rintintin.colorado.edu (Andrew Millard), riddle@rodin.Colorado.EDU (Ellen Riddle), ehansen@rodin.Colorado.EDU (Elaine Hansen), faberj@rodin.Colorado.EDU (Jack Faber), siewerts@rodin.Colorado.EDU (Sam Siewert), height@rodin.Colorado.EDU (Tom Height), antell@rodin.Colorado.EDU (Joe Antell), looneyk@rodin.Colorado.EDU (Looney Karen), wilklow@rintintin.colorado.edu (Colette Wilklow), muckentj@ucsub.colorado.edu (Jason Muckenlteiler), vandermi@rintintin.colorado.edu (Bill Vanderminden), grusin@rodin.Colorado.EDU (Mike Grusin), dnnelson@ball.com (David Nelson), grahamca@nag.cs.Colorado.EDU (Colin Graham) Date: Wed, 10 Sep 1997 02:22:50 -0600 (MDT) X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Content-Length: 906 Status: RO Hi, Also, there is a script called "target_check" which you can run when you log into rodin to make sure a target server is running. It will tell you if one is already running or start one if one isn't already running. We will have WindView installed and available by Thursday -- perhaps near the end of class I can provide a demo -- it gives you a graphic visualization of tasks and events related to task communication, signalling, shared buffer semaphores, etc. -- real cool. --Sam ________________________________________________________________________ Sam Siewert -- Software/Aerospace Engineer Colorado Space Grant Consortium -- University of Colorado Boulder e-mail: siewerts@rodin.colorado.edu WWW home page: http://www-sgc.colorado.edu/people/siewerts/me.html voice: (303) 492-1243 fax: (303) 492-5456 ________________________________________________________________________ From siewerts@rodin.Colorado.EDU Wed Sep 10 02:09 MDT 1997 Received: (from siewerts@localhost) by rodin.Colorado.EDU (8.8.7/8.8.7/UnixOps/Hesiod/(SDM)) id CAA25644; Wed, 10 Sep 1997 02:09:04 -0600 (MDT) From: Sam Siewert Message-Id: <199709100809.CAA25644@rodin.Colorado.EDU> Subject: Updates on Tornado/VxWorks To: Bruce.Gilland@colorado.edu (Bruce Gilland), luckey@ucsu.colorado.edu (Dave Luckey), hermanc@ucsu.colorado.edu (Chris Herman), willisj@colorado.edu (Jason Willis), shepperd@rodin.Colorado.EDU (Ryan Shepperd), sturmc@nag.cs.Colorado.EDU (Chris Sturm), ebers@ucsub.colorado.edu (Bradon Ebers), bryanth@cs.colorado.edu (Heather Bryant), hartmann@spot.colorado.edu (Jason Hartmann), molgaard@rintintin.colorado.edu (Jason Molgaard), millarda@rintintin.colorado.edu (Andrew Millard), riddle@rodin.Colorado.EDU (Ellen Riddle), ehansen@rodin.Colorado.EDU (Elaine Hansen), faberj@rodin.Colorado.EDU (Jack Faber), siewerts@rodin.Colorado.EDU (Sam Siewert), height@rodin.Colorado.EDU (Tom Height), antell@rodin.Colorado.EDU (Joe Antell), looneyk@rodin.Colorado.EDU (Looney Karen), wilklow@rintintin.colorado.edu (Colette Wilklow), muckentj@ucsub.colorado.edu (Jason Muckenlteiler), vandermi@rintintin.colorado.edu (Bill Vanderminden), grusin@rodin.Colorado.EDU (Mike Grusin), dnnelson@ball.com (David Nelson), grahamca@nag.cs.Colorado.EDU (Colin Graham) Date: Wed, 10 Sep 1997 02:09:04 -0600 (MDT) X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Content-Length: 1796 Status: RO Hi, I have added 2 pseudo drivers to the code in /usr/wind/asen4519 and example code for how to open and read from them. I have also added an example program soft_wd_test.c which demonstrates the use of POSIX timers a little better -- does not use SIGALRM. Note that you can declare multiple timer_t timers and use timer_connect to connect each one and timer_settime to set the interval timer for each one. The example kills tasks that don't reset their timers, but think about creating timers that spawn tasks or activate tasks when they go off on a periodic basis. Also note that the handlers can be unique for each timer_connect, but you can also pass an ID and use a single handler. You will need to set up 2 interval timers in HW #1 -- 1 for Nav Monitor at 100000 nanosecs and 1 for H&S Monitor at 1000000 nanosecs to release each task periodically. Open these drivers and read from them rather than files. A couple of minor corrections to HW #1 Programming Assignment: 1) Nav Buffer = 12 bytes (6 16 bit values; 6 short) 2) Eng Buffer = 7 bytes (7 8 bit values; 7 char) Open /tyCo/1 and write your output to it instead of a file in the TLM task. This is the serial port B on the PC -- consider it your downlink channel. If anyone plans to implement HW #1 in Solaris, you can still use files instead of pseudo devices! New code is posted on WWW. Enjoy. --Sam ________________________________________________________________________ Sam Siewert -- Software/Aerospace Engineer Colorado Space Grant Consortium -- University of Colorado Boulder e-mail: siewerts@rodin.colorado.edu WWW home page: http://www-sgc.colorado.edu/people/siewerts/me.html voice: (303) 492-1243 fax: (303) 492-5456 ________________________________________________________________________