FG1000: Difference between revisions

31 bytes added ,  1 January 2019
Line 129: Line 129:
This is what your Nasal file may look like at the end:
This is what your Nasal file may look like at the end:


<nowiki>
<syntaxhighlight lang="nasal">
# Load custom Interface controller, which will refer to the EISPublisher.
# Load custom Interface controller, which will refer to the EISPublisher.
io.load_nasal('AircraftInterfaceController.nas');
io.load_nasal('AircraftInterfaceController.nas');
Line 144: Line 144:
# Create the FG1000 using custom EIS
# Create the FG1000 using custom EIS
var fg1000system = fg1000.FG1000.getOrCreateInstance(EIS_Class, "Nasal/EIS.svg);
var fg1000system = fg1000.FG1000.getOrCreateInstance(EIS_Class, "Nasal/EIS.svg);
</nowiki>
</syntaxhighlight>


=== Load and start the FG1000 system ===
=== Load and start the FG1000 system ===