Program Description

Initialisation - language, time and date

When the program starts up the user is prompted to select one of five languages for the user interface. The language selection is done graphically by selecting from a set of country flags. There after the dialogue and all textual information will be in the chosen language. Once this task is complete, the welcome panel is replaced by a screen displaying the system time and date. The user is prompted to check that these values are correct. If either parameter is incorrect then the user should exit the program by pressing the appropriate button, correct the system time and date and restart the program. If both date and time are correct the panel is replaced by the building input panel when the check button is pressed..

Setting up for data gathering - naming the day file

The operations in this phase name the output data file "day file" or label the building, depending on whether the file for the current date already exists. If the file exists data from the current station* is appended to it. If not a new day file is created and a further input panel is shown for the input of the station label.

Instrument Integrity checking and data gathering

At this point the user is given the opportunity to verify that the instruments are responding by:

observing a panel of dials and gauges (the data obtained is dumped to a file called Test Panel Data.txt) or to continue to the main acquisition panel. The main acquisition phase is initiated by pressing the start button. Acquisition begins with sound where LEQ lin and LEQ A are monitored for2 minutes. Immediately after this the environmental data and question acquisition are started simultaneously. The environmental data is monitored for 3 minutes and the questions are allowed take as long as necessary (minimum roll-overtime just over 5 minutes).

Subjective data gathering

The questions are displayed on the screen in a series of panels in the selected language using a� lookup table, an ASCII tab delimited file stored in the setup directory. The possible responses are displayed in rings and are selectable by the tab cursor and return keys or mouse and mouse buttons. Once both the environmental data acquisition is complete and the question session is finished all the data is written to the "day file" and the user is given the opportunity to quit or input the next station.

* station - the name for each location at which data is taken and a questionnaire session performed.

Note:

To minimise offset, gain, and linearity drifts an onboard referencevoltage is used to self-calibrate the card between each DAQ sampling sequence (need to define this better)

Sampling Frequency

Sound1 second LEQ A LEQ Lin
DAQ1 second on all channels
Verification panel1 second on all channels

Program flow chart

Directory Structure

Files

C:\Virtual InstrumentsLEARN*.exeMain vitual instrument exicutable
Diagnostics.exeDiagnostic program for checking instrument
daqdrvDAQ Driver
serpdrvSerial port driver
C:\Virtual Instruments\Setuplookup table.txtLanguage lookup table
Channel Config.daqConfiguration file (sets gain etc.)
C:\Virtual Instruments\Setuplookup table.txtLanguage lookup table
C:\Virtual Instruments\Day Files*.txtOutput data file
C:\Virtual Instruments\DataTest Panel Data.txtOutput data form Verification Panel
C:\Windows\Systemnitpan32.exeDAQ Test panel program
nidaqcfg32.exeDAQ Configuration program

Note:

For those of you who are unfamiliar with the Windows 95 operating system:
UnderStart > Help > Contents tab > How To... you'll find many helpful Step-by-step guides on how to use your computer.