14.02.2013 Views

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 8 / Simulation<br />

_ _<br />

WIN_RATE, and target wire frame visualisation by TGT_RATE, initially set<br />

to 20 Hz and 10 Hz respectively. Between 1 km and 100 m the refresh rate<br />

for all the windows passes to END_RATE initially set to 50 Hz. Thereafter,<br />

and until the point of closest approach, the windows refresh rate is fixed at<br />

1 kHz. The user may change the initial setting of WIN_RATE, TGT_RATE<br />

and END_RATE to any of the clocks provided between 1 Hz and 4 kHz<br />

(clocks 2 to 23 defined in §22.2.1). If a value is entered outside this range<br />

they are reset to their initialisation values.<br />

8.7.1 Parameter Visualisation Window<br />

Using a GCB makes it possible to display and change most of the simulation<br />

data during program execution. The window shown in Figure 8-9 has been<br />

designed to display GCB variables, their definitions and units. When the<br />

simulation is in STEP mode the scrollable parameter area lists all the GCB<br />

variables. The real and integer variables are partitioned and displayed by<br />

activating the radio box REAL or INTG buttons using the left mouse button.<br />

The program converts its internal data representation into the units<br />

displayed in the sub-windows. Parameters are displayed in GCB order, with<br />

the first page visible without scrolling. If a parameter is selected using the<br />

left-hand mouse button it remains as the first variable displayed on<br />

subsequent presentations until another is selected. When a parameter is<br />

selected the scrollable text output area below displays its definition, current<br />

value, units, and in the case of integers, their 32-bit pattern. The simulation<br />

time is updated at the windows refresh rate and is permanently displayed in<br />

a sub-window. It is presented with an accuracy that is consistent with the<br />

precise value of the clocks provided.<br />

8.7.1.1 RUN TO ? Facility<br />

When paused in STEP mode this facility allows the user to enter a future<br />

time at which the simulation should re-enter STEP mode. Once the field has<br />

been selected using the left mouse button, and a valid time keyed in<br />

followed by , a green indicator bar is displayed. When<br />

this time is reached the simulation re-enters STEP mode, the indicator<br />

disappears, and the future time text field is cleared. If the time entered has<br />

already passed, the indicator light immediately disappears and the text field<br />

is cleared.<br />

8.7.1.2 VAR ? Facility<br />

When paused in STEP mode this facility allows the user to search through<br />

the GCB for a variable by name. Once the field has been selected using the<br />

left mouse button, a variable is keyed in followed by .<br />

The program then searches through the GCB for it. Once found the<br />

scrollable parameter selection area is refreshed and the variable displayed at<br />

the top. If the variable requested is not in the GCB a message to this effect<br />

is displayed in the scrollable text output area.<br />

8-21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!