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.

Sim paused (or is it?)

Featured Replies

Seasons greeting to you allThis CWS steering code runs with the sim paused, I sure its the two elevator events up & down.(A:Autopilot master, bool) (L:CWSwitch,bool) & if{ (A:YOKE Y POSITION, percent) abs 80 < if{ (A:ATTITUDE INDICATOR PITCH DEGREES,degrees) (L:ATTcontrol,number) 0.75 - < | if{ (>K:ELEV_TRIM_DN) } (A:ATTITUDE INDICATOR PITCH DEGREES,degrees) (L:ATTcontrol,number) 0.75 + > | if{ (>K:ELEV_TRIM_UP) } }I can't find any XML sim variables to control this are they any?

Paul EGLD

This works as long as FSUIPC ,or some other program is not trying to synch system time to FS time. It checks whether the stored saved time equals the now current sim time, if so it's paused ( 'cuz time is standing still ) otherwise it is not paused. It then updates the stored time to FS time.

(P:ABSOLUTE TIME, seconds)  (L:Last_Time, number) == if{ 1 (>L:Sim_Paused, bool) } els{ 0 (>L:Sim_Paused, bool) } (P:ABSOLUTE TIME, seconds) (>L:Last_Time, number)  

Roman

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

 

  • Author
This works as long as FSUIPC ,or some other program is not trying to synch system time to FS time. It checks whether the stored saved time equals the now current sim time, if so it's paused ( 'cuz time is standing still ) otherwise it is not paused. It then updates the stored time to FS time.
(P:ABSOLUTE TIME, seconds)  (L:Last_Time, number) == if{ 1 (>L:Sim_Paused, bool) } els{ 0 (>L:Sim_Paused, bool) } (P:ABSOLUTE TIME, seconds) (>L:Last_Time, number)  

Roman

Thanks again Roman that works great.Paul

Paul EGLD

Thanks again Roman that works great.Paul
Hi Paul,I always use exactly what Roman suggests as well.Maybe as a reminder: I guess you want the code also to stop running when SLEW is active ??(use (A:IS SLEW ACTIVE,bool) ).Because in SLEW mode, FS time keeps running...Rob
  • Author

Thanks RobI didn't know that.

Paul EGLD

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.