flybywiresim / aircraft

The A32NX & A380X Project are community driven open source projects to create free Airbus aircraft in Microsoft Flight Simulator that are as close to reality as possible.
https://flybywiresim.com
GNU General Public License v3.0
4.98k stars 1.04k forks source link

Add simulation variables for the Clock #6049

Closed MedicoreV8 closed 2 years ago

MedicoreV8 commented 2 years ago

Aircraft Version

Stable

Description

Currently the Clock/Chronograph has two events: A32NX_CHRONO_TOGGLE and A32NX_CHRONO_RST. The display is done via JS or something? It would be nice to have all the events/vars at our disposal as explained on the Documentation: https://docs.flybywiresim.com/pilots-corner/a32nx-briefing/flight-deck/front/clock/

References (optional)

No response

Additional info (optional)

No response

Discord Username (optional)

Wokkel#7194

kacpersurf commented 2 years ago

Hi, just been advised of this request and it would great to have it as i'm trying to map the clock with chrono, utc and ET on 7seg displays in my home cockpit, but seems there is no ref available. is there a plan to introduce this? only inputs are available but not outputs

is there any plans to implement it in near future?

ssewell commented 2 years ago

I'm currently working on a digital clock module for my A320 MIP. I'll look into adding the simvars for the CHR and ET clock displays to the Clock component.

kacpersurf commented 2 years ago

that is awesome! what about the UTC part?

ssewell commented 2 years ago

@kacpersurf The UTC portion of the Clock instrument is already accessible, as the FBW A32NX uses the Generic MS/Asobo simvars. Here's the list with their corresponding data types.

(E:ZULU TIME, second)
(E:ZULU DAY OF MONTH, number)
(E:ZULU MONTH OF YEAR, number)
(E:ZULU YEAR, number)