- Code: Select all
<group>
<layout>hbox</layout>
<checkbox>
<label>Pitot Tube Frozen</label>
<binding>
<command>nasal</command>
<script>
setprop("fbw/active-law", ALTERNATE LAW);
setprop("instrumentation/airspeed-indicator/serviceable", false);
setprop("flight-management/control/ap1-master", off);
setprop("flight-management/control/ap2-master", off);
setprop("flight-management/control/a-thrust", off);
setprop("flight-management/control/fd", false);
</script>
</binding>
</checkbox>
</group>
I'm trying to model the effects of the Pitot Tube freezing in the Airbus A330 (alternate law, no airspeed, no autopilot, no autothrust, no flight director, no altitude). This is what I have so far.
The silly thing refuses to work.
It is simply an addition to an old file; not a new file.
Any ideas why it will not work?
Console output:
- Code: Select all
Nasal parse error: parse error in /sim/bindings/gui/binding[6], line 2
Failed to execute command nasal