diff --git a/AircraftConfig/acconfig.nas b/AircraftConfig/acconfig.nas
index eca83c2f..ab3c31ac 100644
--- a/AircraftConfig/acconfig.nas
+++ b/AircraftConfig/acconfig.nas
@@ -89,6 +89,11 @@ setprop("/systems/acconfig/mismatch-reason", "XX");
setprop("/systems/acconfig/options/keyboard-mode", 0);
setprop("/systems/acconfig/options/adirs-skip", 0);
setprop("/systems/acconfig/options/welcome-skip", 0);
+setprop("/systems/acconfig/options/pfd-rate", 1);
+setprop("/systems/acconfig/options/nd-rate", 1);
+setprop("/systems/acconfig/options/uecam-rate", 1);
+setprop("/systems/acconfig/options/lecam-rate", 1);
+setprop("/systems/acconfig/options/iesi-rate", 1);
var main_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/main/dialog", "Aircraft/IDG-A32X/AircraftConfig/main.xml");
var welcome_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/welcome/dialog", "Aircraft/IDG-A32X/AircraftConfig/welcome.xml");
var ps_load_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/psload/dialog", "Aircraft/IDG-A32X/AircraftConfig/psload.xml");
@@ -102,6 +107,7 @@ var update_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/update/dialog", "Aircr
var updated_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/updated/dialog", "Aircraft/IDG-A32X/AircraftConfig/updated.xml");
var error_mismatch = gui.Dialog.new("sim/gui/dialogs/acconfig/error/mismatch/dialog", "Aircraft/IDG-A32X/AircraftConfig/error-mismatch.xml");
var groundservices_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/groundsrvc/dialog", "Aircraft/IDG-A32X/AircraftConfig/groundservices.xml");
+var du_framerate = gui.Dialog.new("sim/gui/dialogs/acconfig/du-framerate/dialog", "Aircraft/IDG-A32X/AircraftConfig/du-framerate.xml");
spinning.start();
init_dlg.open();
diff --git a/AircraftConfig/du-framerate.xml b/AircraftConfig/du-framerate.xml
new file mode 100644
index 00000000..82f0961e
--- /dev/null
+++ b/AircraftConfig/du-framerate.xml
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+ aircraft-config-du-framerate
+ vbox
+
+
+ hbox
+
+ left
+
+
+
+
+
+
+
+
+ vbox
+
+
+ left
+
+
+
+
+ table
+
+
+ 0
+ 0
+ left
+
+
+
+
+ 0
+ 1
+ 250
+ /systems/acconfig/options/pfd-rate
+ 1
+ 5
+ 0.5
+ true
+
+ dialog-apply
+
+
+
+
+ 0
+ 2
+ left
+ 1
+
+ /systems/acconfig/options/pfd-rate
+ 1
+
+
+
+ 1
+ 0
+ left
+
+
+
+
+ 1
+ 1
+ 250
+ /systems/acconfig/options/nd-rate
+ 1
+ 5
+ 0.5
+ true
+
+ dialog-apply
+
+
+
+
+ 1
+ 2
+ left
+ 1
+
+ /systems/acconfig/options/nd-rate
+ 1
+
+
+
+ 2
+ 0
+ left
+
+
+
+
+ 2
+ 1
+ 250
+ /systems/acconfig/options/uecam-rate
+ 1
+ 5
+ 0.5
+ true
+
+ dialog-apply
+
+
+
+
+ 2
+ 2
+ left
+ 1
+
+ /systems/acconfig/options/uecam-rate
+ 1
+
+
+
+ 3
+ 0
+ left
+
+
+
+
+ 3
+ 1
+ 250
+ /systems/acconfig/options/lecam-rate
+ 1
+ 5
+ 0.5
+ true
+
+ dialog-apply
+
+
+
+
+ 3
+ 2
+ left
+ 1
+
+ /systems/acconfig/options/lecam-rate
+ 1
+
+
+
+ 4
+ 0
+ left
+
+
+
+
+ 4
+ 1
+ 250
+ /systems/acconfig/options/iesi-rate
+ 1
+ 5
+ 0.5
+ true
+
+ dialog-apply
+
+
+
+
+ 4
+ 2
+ left
+ 1
+
+ /systems/acconfig/options/iesi-rate
+ 1
+
+
+
+
+
+
+
+
+
+ hbox
+
+
+
+
+
+
diff --git a/AircraftConfig/main.xml b/AircraftConfig/main.xml
index a0df2ade..0837a11c 100644
--- a/AircraftConfig/main.xml
+++ b/AircraftConfig/main.xml
@@ -75,6 +75,17 @@
+
diff --git a/Models/Instruments/IESI/IESI.nas b/Models/Instruments/IESI/IESI.nas
index f14386b1..124c7f83 100644
--- a/Models/Instruments/IESI/IESI.nas
+++ b/Models/Instruments/IESI/IESI.nas
@@ -182,8 +182,15 @@ setlistener("sim/signals/fdm-initialized", func {
IESI = canvas_IESI.new(group_IESI, "Aircraft/IDG-A32X/Models/Instruments/IESI/res/iesi.svg");
IESI_update.start();
+ if (getprop("/systems/acconfig/options/iesi-rate") > 1) {
+ rateApply();
+ }
});
+var rateApply = func {
+ IESI_update.restart(0.07 * getprop("/systems/acconfig/options/iesi-rate"));
+}
+
var IESI_update = maketimer(0.07, func {
canvas_IESI_base.update();
});
diff --git a/Models/Instruments/Lower-ECAM/Lower-ECAM.nas b/Models/Instruments/Lower-ECAM/Lower-ECAM.nas
index 3f9dd58d..467129eb 100644
--- a/Models/Instruments/Lower-ECAM/Lower-ECAM.nas
+++ b/Models/Instruments/Lower-ECAM/Lower-ECAM.nas
@@ -1384,8 +1384,15 @@ setlistener("sim/signals/fdm-initialized", func {
lowerECAM_test = canvas_lowerECAM_test.new(group_test, "Aircraft/IDG-A32X/Models/Instruments/Common/res/du-test.svg");
lowerECAM_update.start();
+ if (getprop("/systems/acconfig/options/lecam-rate") > 1) {
+ l_rateApply();
+ }
});
+var l_rateApply = func {
+ lowerECAM_update.restart(0.05 * getprop("/systems/acconfig/options/lecam-rate"));
+}
+
var lowerECAM_update = maketimer(0.05, func {
canvas_lowerECAM_base.update();
});
diff --git a/Models/Instruments/ND/canvas/ND.nas b/Models/Instruments/ND/canvas/ND.nas
index b9d42a43..707ec273 100644
--- a/Models/Instruments/ND/canvas/ND.nas
+++ b/Models/Instruments/ND/canvas/ND.nas
@@ -295,8 +295,15 @@ setlistener("sim/signals/fdm-initialized", func {
ND_2_test = canvas_ND_2_test.new(group_nd2_test, "Aircraft/IDG-A32X/Models/Instruments/Common/res/du-test.svg");
nd_update.start();
+ if (getprop("/systems/acconfig/options/nd-rate") > 1) {
+ rateApply();
+ }
});
+var rateApply = func {
+ nd_update.restart(0.05 * getprop("/systems/acconfig/options/nd-rate"));
+}
+
var nd_update = maketimer(0.05, func {
canvas_nd_base.update();
});
diff --git a/Models/Instruments/PFD/PFD.nas b/Models/Instruments/PFD/PFD.nas
index 4d778823..ebfea309 100644
--- a/Models/Instruments/PFD/PFD.nas
+++ b/Models/Instruments/PFD/PFD.nas
@@ -1206,8 +1206,16 @@ setlistener("sim/signals/fdm-initialized", func {
PFD_update.start();
PFD_update_fast.start();
+ if (getprop("/systems/acconfig/options/pfd-rate") > 1) {
+ rateApply();
+ }
});
+var rateApply = func {
+ PFD_update.restart(0.15 * getprop("/systems/acconfig/options/pfd-rate"));
+ PFD_update_fast.restart(0.05 * getprop("/systems/acconfig/options/pfd-rate"));
+}
+
var PFD_update = maketimer(0.15, func {
canvas_PFD_base.updateSlow();
});
diff --git a/Models/Instruments/Upper-ECAM/Upper-ECAM.nas b/Models/Instruments/Upper-ECAM/Upper-ECAM.nas
index 54c68e81..5dbf1893 100644
--- a/Models/Instruments/Upper-ECAM/Upper-ECAM.nas
+++ b/Models/Instruments/Upper-ECAM/Upper-ECAM.nas
@@ -915,8 +915,15 @@ setlistener("sim/signals/fdm-initialized", func {
upperECAM_test = canvas_upperECAM_test.new(group_test, "Aircraft/IDG-A32X/Models/Instruments/Common/res/du-test.svg");
upperECAM_update.start();
+ if (getprop("/systems/acconfig/options/uecam-rate") > 1) {
+ u_rateApply();
+ }
});
+var u_rateApply = func {
+ upperECAM_update.restart(0.05 * getprop("/systems/acconfig/options/uecam-rate"));
+}
+
var upperECAM_update = maketimer(0.05, func {
canvas_upperECAM_base.update();
});
diff --git a/revision.txt b/revision.txt
index 49739a0c..08363570 100644
--- a/revision.txt
+++ b/revision.txt
@@ -1 +1 @@
-4401
\ No newline at end of file
+4402
\ No newline at end of file