Bottom     Previous     Contents

Chapter 6 - Using Setup Files.

A setup file is a file containing values for some or all of the menu settable parameters of this software. On loading a setup file, the default and current values of each parameter represented in the file become set to the values in it. This feature can be used:

In addition, one of the parameters featured in a setup file is the name of the next setup file. When this name is defined (i.e. has been given at least one character), and the setup file is loaded, then the next setup file is also loaded automatically, this operation being repeated for up to 10 setup files or until no name is defined for the next set up. If the JCI155 Charge Decay Test Unit is in computer controlled mode, then at the end of each charge decay run, a new run is executed automatically, using parameters set by the next setup file. This process allows sequences of measurements to be made with e.g. gradually increasing corona voltage, to simulate real situations within the capability of the instrument.

The software takes its initial parameter values from a particular setup file at start up. This file may be stored with any desired parameters to give the user customized parameter values at start up. Setup files may be stored conveniently along with the Charge Decay Data files generated using the setup file, so that it is convenient and easy to repeat runs and analyse them with the original parameters. They may also be stored in a special sub-directory set aside for them, and classified by using sub-directories within that sub-directory.

Saving current parameters in a setup file along with Charge Decay Data

It is convenient to store the current setup along with Charge Decay Data where numerous Charge Decay Runs have taken place using the same run parameters (and instrument parameters if in computer controlled mode). The following example leads you through the actions required to save your current setup along with the Charge Decay Data you are generating. After having performed a few Charge Decay runs:

Figure 6.1 - Data File / Directory Picker

Figure 6.2 - Drive / Directory Selection Menu

Figure 6.3 - Save a setup .. (Menu)

Figure 6.4 - Data File / Directory Picker with setup file


Using the setup file

Saving current parameters in a setup file along with the program

It is frequently convenient to save setup files along with the program, since

However, there may eventually be space limitations, requiring these files to be periodically transferred to floppies! To avoid cluttering the program directory, such setup files are saved in a sub-directory "SETUP" within the program directory. To further categorize the setup files, they may be stored in sub-directories within sub-directory "SETUP". The following example leads you through the actions required to save your current setup in this way:

Figure 6.5 - Setup File / Directory Picker (compressed vertically)

Figure 6.5 - Entering new setup file name.

Figure 6.6 - Saving a setup file in SETUP sub-directory.

Figure 6.7 - Setup File / Directory Picker after saving.

Saving current parameters for program start up

Referring to figures 6.3, 6.6 above you can see that selection 4 allows a setup file to be Saved as startup. This causes the setup to be saved in a directory "startup" in the same directory as the program, under the name "JCISTART.155", and means that the setup file is loaded whenever the program is started, and in this way can automatically provide the user with a customised set of parameters. In fact one item in the setup file, the serial port setting, is only read at this time, so that imported set up files will not disturb it.

It is also possible to have any setup file in the setup sub-directory or in any of its sub-directories loaded automatically at startup by mentioning its sub-directories and name in the command line that invokes the program, which is normally a line in a batch file. By way of example, here is a line in a batch file to load the setup file in the examples above at program start up:

C:\D18\DECAY18 /Smysubdir\mysetup

Note that the /S is required to introduce a setup file name, with directories if required, on the command line. You can write several different batch files, each of which must have its own name, and start up the program with a required setup by using the appropriate name to invoke the appropriate batch file.

Making and using a sequence of setups

We here lead you through an example of making and using a simple sequence of setups. In this example, 3 charge decay runs are to be made with different values of corona voltage 5kV, 7kV and 9kV in ascending order, no other parameters changing.

N.B. this requires a JCI155 Charge Decay Test Unit capable of being computer controlled.



Note that sample identities are best nulled, since they are overridden by the sample identity entered.

Figure 6.8 - Creating a sequence of setups

Figure 6.9 - The complete sequence of setups has been saved in sub-directory "trial".

Figure 6.10 - Main Menu at start of a setup sequence


Next     Top