FG1000: Difference between revisions

36 bytes added ,  1 January 2019
m
→‎Load and start the FG1000 system: used named arguments to make the example more self-explanatory, as per Stuart's original approval: https://forum.flightgear.org/viewtopic.php?f=71&t=32764&p=327789&hilit=fg1000+named#p327871
m (→‎Load and start the FG1000 system: used named arguments to make the example more self-explanatory, as per Stuart's original approval: https://forum.flightgear.org/viewtopic.php?f=71&t=32764&p=327789&hilit=fg1000+named#p327871)
Line 162: Line 162:


# Map the devices to placement objects Screen{i}, in this case Screen1 and Screen2
# Map the devices to placement objects Screen{i}, in this case Screen1 and Screen2
fg1000system.display(1);
fg1000system.display(index:1);
fg1000system.display(2);
fg1000system.display(index:2);


# Show the devices
# Show the devices
fg1000system.show(1);
fg1000system.show(index:1);
fg1000system.show(2);
fg1000system.show(index:2);


#  Display a GUI version of device 1 at 50% scale.
#  Display a GUI version of device 1 at 50% scale.
#fg1000system.displayGUI(1, 0.5);
#fg1000system.displayGUI(index:1, scale:0.5);
</syntaxhighlight>
</syntaxhighlight>