Scaling file

PicoLog

Scaling file

Top  Previous  Next

This file is a text file containing information in the following format.

The first few lines define a number of keyword parameters. These lines are in the same format as a Windows .ini file, with a keyword, an equals sign and then a value, for example:

Units=°C

One of the keyword parameters is the scaling method and must always be included. The remaining parameters are optional. The keywords for the optional parameters are listed below.

After the optional parameters, the actual scaling information appears in the same format as it is entered in the scaling dialog box.

The scaling method can be specified either in English or in the currently selected language. If the scaling method is specified in English, it will be understood regardless of what language is selected.

For a lookup table with just two pairs, the file would look like this:

Notes=LM35CZ Temperature sensor

Type=Table

Units=°C

-0.02-20
0.1100

 

For an equation, the file would look like this:

Notes=Temperature in Fahrenheit from LM35CZ

Type=Equation

32 + x *0.005555

 

The  optional parameters are:

blueballNotes. You can include one or more lines of notes to explain what this scaling file is to be used for. The first few lines of the scaling file are displayed when the file is loaded, so the notes give the user an indication that they have loaded the correct scaling file.
blueballUnits. The unit text to be shown on graphs, spreadsheets etc
blueballWidth. The field width when the parameter appears in spreadsheets
blueballPlaces. The number of decimal places to display
blueballMinValue. The minimum value for graphs
blueballMaxValue. The maximum value for graphs

Some of the optional parameters will automatically set the fields on the Parameter options dialog box, for example the units, range etc. See the Parameter options dialog box for more information on these parameters