beautypg.com

File access, 1 file new, 2 file open – Measurement Computing WavePort 312P rev.1.0 User Manual

Page 18: 3 file save as, 2 file access

background image

3-2 Software Framework

PowerVista/312 User’s Manual

3.2 File

Access

File access for EasyPower Measure follows standard Windows convention for a multiple document interface
(MDI) application with only one significant exception. Since data collection is considered mission critical, and
loss of data is to be avoided at all costs, once a database has been saved with a supplied name using File Save
As, no additional saving is necessary.

With this method, if collected data appears in the shot list, then it has already been written to the database file on
disk. This is true even if additional data captures have been snapped into the database. When terminating the
application or an acquisition window under this condition, the user will not be prompted to save a database file.
Thus, if the database file is in tact and not corrupted, then data has been archived successfully.

Figure 3-2. File pull down menu.

3.2.1 File New

File New opens a new Acquisition Window with an associated EasyPower Measure database file assuming
default parameters for all configuration settings. The user can now collect data into this temporary database. To
save collected data permanently on the hard drive, the user must save the database using File Save As. It is
recommended that as soon as a new database is created with File New that the database be saved. If Win95
were to crash with a temporary file in use, the data collected in that temporary file will be lost. If the database
has already been saved and named, then collected data will always be written directly to the database file on
disk. No additional saving is necessary, and the user is not prompted to save when terminating the application
or an Acquisition Window.

3.2.2 File Open

File Open opens an existing database file and associates it with an Acquisition Window. Collected shots will be
displayed in the Database View. All data collected from this point will be appended to the opened file.

3.2.3 File Save As

File Save As is used to supply a registered disk file name to the database associated with the presently selected
Acquisition Window. When using File New, File Save As should be executed next. Without this action,
captured data is snapped and stored into temporary files. Upon exiting the application or Acquisition Window,
the user will be prompted to supply a registered disk file name through the File Save As dialog window.