Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Logger 1.0 Released (XML->HDD->XML)

Featured Replies

Bob,tried a small test, but no results, probably doing something wrong.1. placed Logger9.dll in the fs9 modules folder.2. made a logger map in Flight Simulator 9.3. added an xml gauge "logger" in the panel.cfg. gauge36=main!logger, 0, 0, 50, 50 (The gauge works, made it visible with a pic)

<Gauge Name="logger" Version="1.0"><Size X="50" Y="50"/><Macro Name="Path">'C:Program Files (x86)Microsoft GamesFlight Simulator 9Logger'</Macro><Update Frequency="18" Hidden="No">(L:SaveInitialValues, bool) 1 ==if{@Path 'MyInitValues.txt' scat (>C:LOGGER:openWrite)(L:Left Hydraulic Reservoir Quantity,number) (>C:LOGGER:number)(L:Center Hydraulic Reservoir Quantity,number) (>C:LOGGER:number)(L:Right Hydraulic Reservoir Quantity,number) (>C:LOGGER:number)1 (>C:LOGGER:closeWrite)0 (>L:SaveInitialValues,bool)}(L:LoadInitialValues, bool) 0 ==if{  @Path 'MyInitValues.txt' scat (>C:LOGGER:openRead)(C:LOGGER:number) (>L:Left Hydraulic Reservoir Quantity,number)(C:LOGGER:number) (>L:Center Hydraulic Reservoir Quantity,number)(C:LOGGER:number) (>L:Right Hydraulic Reservoir Quantity,number)1 (>C:LOGGER:closeRead)1 (>L:LoadInitialValues,bool)}</Update></Gauge>

But, no file "MyInitValues" appears somewhere??Jan

Edited by phjvh

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • Author
But, no file "MyInitValues" appears somewhere??
Not completely sure at first look. But, the problem may be that the first thing that your gauge does is to try to read a file that does not exist yet. Usually, I perform a InitValue save first, then load it after that.If that is the problem, then there are a few ways to deal with it. One way would be to use Windows NotePad or WordPad to create a three line file saved as MyInitValues.txt in that directory path with three place holder values:100200300Then, your gauge will find that file when it tries to read it with the LOGGER:openRead. The values will be overwritten with the correct Hydraulic Fluid level values when you do the SaveInitValues sequence.You will also need some way, like a mouse click area, that sets (L:SaveInitialValues, bool) to 1 so that the save sequence runs.Try that and see if it works.Bob

Edited by Propwash

Bob,The gauge reads as predicted.For writing it seems necessary to <click> 1 (>L:SaveInitialValues,bool) before quitting the sim.So it needs a timer to write automatically till the end of flight.Tested this and it works.ThanksJan

Edited by phjvh

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • Author
For writing it seems necessary to 1 (>L:SaveInitialValues,bool) before quitting the sim.So it needs a timer to write automatically till the end of flight.
Hi Jan,Yeah, I agree with you that a timed, repeating (C:LOGGER:openWrite), (L:Var, number) (>C:LOGGER:number), 1 (>C:LOGGER:closeWrite) sequence running in the background within Update seems like the way to do that. Very glad it works for you.Many new gauge capabilities to add now, huh? I hope people post how they make use of Logger - there may be some very creative ideas out there.Regards,Bob

Bob,First test:crashed, caused by oxygen lack as result of a too high cabin altitude.This gives an automatic gradual blackout of the computer screen.I forgot on purpose to do a refill.....Imagination is the limit!Jan

Edited by phjvh

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Nice Jan!! Yes this module has so many possibilities! Attached is the test my partner and I did so I can figure out the engines between SP2 & Accel. Couldn't have been done without the module.Thanks again Bob & Robbie!Roman

20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

  • Author
Nice Jan!! Yes this module has so many possibilities! Attached is the test my partner and I did so I can figure out the engines between SP2 & Accel.
Niceeee! The diagnostic possibilities are significant! BB3 will be delayed until this weekend when I return to Jakarta. It's complete, but Robbie still needs to update the website ... and he just got back to University. Anyway, BB3 is even better for the charts you just prepared because you simply click the variables you want to record, and the output .csv file has the variable type, name and units in the first row so it is always clear what they are. Makes charting in excel even easier.Jan's example is pretty neat, too. And he is right - there will be a lot of updating our xml gauges now.Bob

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.