曝光台 注意防骗
网曝天猫店富美金盛家居专营店坑蒙拐骗欺诈消费者
currently loaded flight model in FS)
COLD/DARK, EXT PWR – can be linked to your pmSystems setup
SIM RATE – opens a menu which allows you to set the simulation rate within FS
From here on, user-defined commands are added on the first and following pages. These definitions can be
found in the controls.txt file in the pmInst Sub-Folder Configs. The structure is as follows:
[text_upper/text_lower], [offset], [length], [value on], [value off]
FLAPS/INHIB, 32F8, .0, 1, 0
GEAR/INHIB, 32F8, .1, 1, 0
SPLRS/INHIB, 32F8, .2, 1, 0
ELEC/OFF, 510, 2, 1, 0
PARK/BRKS, BC8, 2, 32767, 0
FAIL/AVIO, 2E80, 4, 0, 1
PITOT/FAIL, B71, 1, 1, 0
The buttons added in this way must always contain a text for identification, the format is, for instance
YAW/DAMPER, which creates a box with YAW in the upper part, DAMPER in the lower part.
The “offsets” for these features can be found on www.projectmagenta.com/pmoffsets.html (for the Project
Magenta offsets), the FSUIPC SDK (for the FS offsets) and sysvar.txt (pmSystems offsets).
Project Magenta Revision: 26-May-07
93
An offset is a memory location for a given variable, option or feature that can be changed to have an effect
on any of the connected programs. These offsets can have various lengths… bits, bytes, words, dwords. To
find out what the length of a given offset is, check it in the documentation.
Offsets are always to be understood as a hexadecimal value. For instance, from the FSUIPC SDK the FS
Yaw Damper is defined as offset 0x808 and as a WORD has a length of 4 bytes. It is 1 when it is on and 0
when it is off.
A new button would thus look as follows:
YAW/DAMPER, 808, 4, 1, 0
When the defined value is switched on, a box is drawn around the text.
To display a value, you can use this format:
YD/####, 808, 4
Then no action will be performed, as no on/off value is defined.
Bits are defined as a period sign (.) follow by the number of the bit you want to manipulate – thus an offset
you want to use e.g. 0x5627 bit 4 is defined as:
MY/OFFSET, 5627, .4, 1, 0
Bytes have a length of 1, WORDs of 2 and DWORDs of 4.
The positioning of these commands can be controlled by additional entries such as:
page,TEST PAGE
1ST/COMM, 56F8, .0, 1, 0
2ND/COMM, 56F8, .1, 1, 0
space
3RD/COMM, 56A3, 1, 5, 0
return
4TH/COMM, 56A4, 1, 7, 2
In this case, on the page with the name TEST PAGE you would have a first row with the 1st and 2nd
commands, an empty space and then the third command… followed by a fourth one on the next line.
Editing the controls.txt file from within the program is disabled by default. If you want to enable the option,
thus getting an EDIT FILE prompt, you have to edit the pmInst.INI file and change AllowEdit from Off to
On.
The SYSTEMS/FAIL screen operates in a very similar fashion, the most important difference is that in the
CONTROLS screen, the activation of the particular command takes place immediately, a failure is controlled
by a condition such as a time delay or others…
Project Magenta Revision: 26-May-07
94
In this example, you can click on PITOT fail, and make it depend on an altitude or speed or a given delay in
seconds.
The failure then becomes active and changes its colour in the screen. To clear a failure or several failures
at the same time, you can click on CLEAR FAILURES.
You have the option to force the system to only initiate a failure when all conditions are met, i.e. the
aircraft is above a given altitude and faster than a certain speed.
The file for these commands is also in the Configs folder, called fail.txt.
Project Magenta Revision: 26-May-07
95
Instructor DATA LOGGER
The instructor station allows logging of data of various composition and in various intervals. The logged
data can be saved and loaded for later review. A wide array of data is logged as soon as you click on the
PAUSE command, it will switch into logging mode. The data is logged whether it is visible or not.
To select which colour coded data is displayed, click on the NONE entry on the left side of the graph and
select which value you want to be assigned to a particular colour. You can re-assign the value at all times.
The first three selected values are also displayed in their absolute value to the left and right of the graphs.
In some cases, such as current speed, altitude etc. the target value is shown as a dotted line (e.g. 243
knots current speed, 250 selected speed).
The sampling time can be changed by clicking on SAMPLE TIME… the choices are 5 seconds, 2s, 1s, 500
ms, 250 ms, 200 ms. You can display the complete data over time, or the last 60, 120, 180 or 300 seconds.
中国航空网 www.aero.cn
航空翻译 www.aviation.cn
本文链接地址:
航空资料12(116)