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 />

8.6.2 Output Control<br />

OUT_CONTROL in Figure 8-8 performs the following functions providing<br />

data up to a maximum rate of 4 kHz:<br />

• Updates the Windows interface described in §8.7 if (INTACT := 1), and<br />

starts the on-line statistical analyser on request.<br />

• When automated ASCII data logging is requested (NPRINT > 0) the<br />

functions described in §8.6.5.1 are performed.<br />

• When MATLAB automated data logging is requested (NPLOT > 0) the<br />

functions described in §8.6.5.2 are performed.<br />

8.6.3 Simulation I/O Data Files<br />

The infrastructure supports two user interfaces. The first involves program<br />

control by pre-defined external data files for precise initiation and time<br />

stamping of events. The second is an interactive interface using DEC Xwindows<br />

dealt with in §8.7. The program first requests a 9-character string<br />

via channel LUNSCR containing the name of the I/O files to be accessed or<br />

created. The user responds via channel LUNINT and OPEN_IO_FILES<br />

opens the required I/O data files. Initialisation follows using the following<br />

ASCII input data files via the channels identified:<br />

• Control ASCII data file ( LUNDAT : Ch. 11 )<br />

• Characterisation ASCII data file ( LUNOVR : Ch. 12 )<br />

• Monte-Carlo ASCII data file (master seed) ( LUNMON : Ch. 23 )<br />

• GCB ASCII source code ( LUNCOM : Ch. 18 )<br />

If any of these files are missing the program stops. The simulation then<br />

reads the following external data files on request:<br />

• Digital Terrain Elevation Data ( LUNMAP : Ch. 10 )<br />

• Target wire frame co-ordinates ( LUNTWF : Ch. 72 )<br />

The following output data files are automatically provided:<br />

• ASCII Data Logging file ( LUNOUT : Ch. 16 )<br />

• Simulation progress data to a monitor ( LUNSCR : Ch. 6 )<br />

The following output data files are provided on request:<br />

• Monte-Carlo ASCII data file (updated master seed) ( LUNMON : Ch. 23 )<br />

• MATLAB graphics ASCII data file ( LUNMTB : Ch. 24 )<br />

• Temporary binary data file for formatted printing ( LUNPRT : Ch. 15 )<br />

• Temporary binary data file for MATLAB plotting ( LUNPLO : Ch. 14 )<br />

8-13

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

Saved successfully!

Ooh no, something went wrong!