Return-Path: Received: from [65.173.216.71] (HELO mtasmtp1-clev.cle.ms.philips.com) by logan.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 2785013 for lml@lancaironline.net; Fri, 05 Dec 2003 13:28:05 -0500 Received: from picker.com ([149.59.192.105]) by mtasmtp1-clev.cle.ms.philips.com (Lotus Domino Release 5.0.11) with SMTP id 2003120513241558:61389 ; Fri, 5 Dec 2003 13:24:15 -0500 Received: from [149.59.251.202] (HELO Philips.com) by picker.com (CommuniGate Pro SMTP 3.3b1) with ESMTP id 16524229 for lml@lancaironline.net; Fri, 05 Dec 2003 13:28:01 -0500 Sender: rob Message-ID: <3FD0CE1C.8CDD8727@Philips.com> Date: Fri, 05 Dec 2003 13:27:40 -0500 From: Rob Logan Reply-To: Rob@Logan.com X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.5.1 sun4u) X-Accept-Language: en, pdf MIME-Version: 1.0 To: Lancair Mailing List Subject: Re: [LML] Chelton macro/conversion utility References: X-MIMETrack: Itemize by SMTP Server on mtasmtp1-clev/P/SERVER/PHILIPS-CLE(Release 5.0.11 |July 24, 2002) at 12/05/2003 01:24:15 PM, Serialize by Router on mtasmtp1-clev/P/SERVER/PHILIPS-CLE(Release 5.0.11 |July 24, 2002) at 12/05/2003 01:24:19 PM, Serialize complete at 12/05/2003 01:24:19 PM Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii > Chelton system bothered to make a macro mine are dumped into http://rob.com/lancair/flights/2003/ to do graphs and such... I was working on converter to fltplay xml sets for playback in MS FS with http://www.avsim.com/hangar/utils/nav/ but it had no engine (oops, large exothermic air pump) data so I changed to their binary "screen dump" format.. MS then changed the format of that file in FS2004.. it wasn't very smooth at one frame every 5sec... but now that CFS v4.1 does one frame a second I converted another flight last week.. its fun eye candy but not real useful... the cool part is the playback is a cute yellow bird... :-) anyway, to make the log file a CSV file use: echo Date, Lat, Lon, MSL, Pitch, Bank, Heading, TRK, IAS, TAS, GS, VSI, Glide, G, WindS, WindD, OAT, DA, Fuel, RPM, FF, MAP, FuelL, FuelR, FuelPrs, Aux5, OilT, OilPrs, Volts, e1, c1, e2, c2, e3, c3, e4, c4, e5, c5, e6, c6, TIT1, TIT2, CarbT cat LOG00.DAT | nawk '{ if ($NF+0 == "-999") {print ""} else { if (NF == "2") {printf $0 ", " } else { if ($2+0 > -50 ) {for (i = 1; i <= NF ; i++) printf $i+0 ", "} else { printf $1 " " $2 " " for (i = 3; i <= NF ; i++) printf $i+0 ", " } } } }' -- Utopian Maturity: Eternity, Liberty, Equality now Fraternity & Altruism.