LMS Test - Lab Configuration and Unit System
LMS Test - Lab Configuration and Unit System
User manual
16A
16A 3
Chapter 1 The LMS Configuration and Unit System
In This Chapter
Concept of the LMS Configurations System......................5
Concept of the LMS Unit System ......................................8
Editing LMS Units .............................................................10
In the LMS Configuration System, different files and settings that are relevant
for the LMS TEST applications, will be managed automatically by the software.
The system consists of 3 management levels :
16A 5
Chapter 1 The LMS Configuration and Unit System
Central or Factory level : this level will always be available and it contains
the LMS Factory files and settings. This level will be installed through the
install procedure and its content should never be updated manually.
Group level (which is optional): this level can be enabled (optional) by the
user or administrator and it contains the configuration files and settings that
you want to share within a certain team.
User level: this level will always be available and it contains all individual
configuration files and settings of a specific user.
For every level, a specific location (folder) needs to be defined. During
installation of the "LMS Configuration and Units Editor" tool, the administrator
has the possibility to define these locations for all users on that system.
You can change these locations for yourself with the command
"File->Configuration …". You will get the following dialog where you can
change it.
The typical configuration files which are managed by this system are :
The Active Units system: ActiveUnitSystem.xml
Tools->Options …. Settings: Configuration\Loader.cfg
Column visibility of Time data selection:
Configuration\DynamicAttributes.txt
Column visibility of Block processing:
Configuration\DataBlockProcessingVisibilityMap
User attribute visibility: Configuration\UserAttributes.txt
User attribute List types: Configuration\ListAttributes.txt
Favorite Displays: Layout\SelectedLayoutFiles.txt
Template for Documentation: Attachment Templates\MemoInventory.txt
The typical file types which are managed by this system are :
When you are running one of the LMS Test applications (LMS Configuration
and Unit System tool, Test.lab), these applications will always write the
configuration files and settings on the User level.
When you are running one of the LMS applications and when it needs a specific
setting (or file that contains that setting), then the following strategy will be
handled by default (File access priority = Local) :
Step 1
First the system will look on Local level. If it is found, it will be used.
Step 2
If it is not found, then the system will look on Group level. If it is found, it will
be used.
Step 3
If it is not found, then the system will use the Factory value which is always
available on central level.
Note: If File access priority = Group, then the system will first look on Group
and then on Local level.
When you are running one of the LMS applications and when you need a list of
available configuration files of a specific file type, then the following strategy
will be handled by default (File access priority = Local) :
Step 1
First the system will look which files are available on Local level. These are
always added to the list.
Step 2
16A 7
Chapter 1 The LMS Configuration and Unit System
Then the system will look on Group level. These are added to the list, except
when a version of this file was already available on Local.
Step 3
Then the system will look on Central level. These are added to the list, except
when a version of this file is already available.
Note: If File access priority = Group, then the system will first look on Group
and then on Local level.
In the LMS Unit System, quantities are determined by their base quantity terms:
length, mass, time, angle, current, temperature, light, and mol. For the same
quantity multiple quantity cases can exist. One of these quantity cases is the
default quantity case, the others are defined by a number of unit rules. Each
quantity case maps with a set of unit cases. One of these unit cases is the default
unit case, the others are visible or invisible. A unit system (lu5) file contains all
the quantity cases, the unit rules, the lists of unit cases and their unit case status.
Unit label:
Linear conversion: scale factor, offset
User(si) = si * <scale factor> + <offset>
Level conversion: log reference, log scale factor, log base, level string, flag
for power or linear unit.
Examples:
Sound pressure’: unit label: “Pa”
scale factor: 1, offset: 0 Pa
log reference: 2e-5 Pa, log base: 10, log scale factor: 20, level string “dB
(2e-5)”, power: no
‘Temperature’: unit label: “deg C”
scale factor: 1, offset: -273.15 degC (0 K = -273.15 degC),
log reference: 1 degC, log base: 10, level scale factor: 20, level string “dB”,
power: no
Example:
Label Unit Loudness
Unit label: "sones", Level label: "phones", Log reference: 0.0625, Log base:
2, Level scale factor: 10, Power: yes
16A 9
Chapter 1 The LMS Configuration and Unit System
A Quantity Case has a related list (1 or more) of Units. We call this list of
Units belonging to the same Quantity Case the Unit Cases of this Quantity
Case.
There is one and only one default unit case for each quantity case.
Unit Case can be set to be visible or invisible. The default unit case has to
be visible.
The unit labels of all Unit Cases belonging to one Quantity Case have to be
unique.
Example:
Unit cases km and hm for quantity case Distance
A unit system contains all the quantity cases, the unit rules, the lists of unit
cases and their unit case status.
A unit system is not saved in the project database of the application, but in a
separate (lu5) file with a specific format. This unique unit system file is
accessible by each LMS Test application.
The predefined unit system files: SI, Technical, English, ISO 1683-1983
The stand-alone LMS Configuration and Unit System tool can be used to create
and modify unit system (lu4 and lu5) files. The LMS Configuration and Unit
System tool is also used to select the active unit system file. This active unit
system is notified when the LMS Test application like Test.Lab is started. When
changing this active unit system the LMS Test application needs to be re-started
in order to be aware of this change.
LMS Unit System version 1.0.0 includes Factory unit system files of type ‘lu4’.
LMS Unit System version 2.0.0 includes new Factory unit system files of type
‘lu5’ and an upgrade of the LMS Configuration and Unit System tool. In these
new Factory unit system files, the name of the existing ‘MicroStrain’ quantity
cases into ‘Strain’ quantity cases has been changed. The new Factory unit
system files also contain extra quantity cases, extra unit cases, and a number of
improved unit parameters.
LMS Unit System version 2.1.0 includes extended Factory unit system files of
type ‘lu5’ and a minor upgrade of the LMS Configuration and Unit System tool.
LMS Unit System version 2.2.0 includes extended Factory unit system files of
type ‘lu5’.
16A 11
Chapter 1 The LMS Configuration and Unit System
Note: Please refer to the section about the concept of the LMS configuration.
On File => Select active unit system…, a list is shown with all available unit
system files. Unit system files only appear once in the list and on selection, the
priority Local=>Group=>central is followed. An example of this logic is given
below:
English.lu5 Visible
SI.lu5 Visible
ISO_1683_1983.lu5 Visible
Company.lu5 Visible
Technical.lu5 Visible
The above situation for user ‘user1’ will result in a list with the following four
items listed in alphabetic order:
Company.lu5 (GroupConfiguration)
English.lu5 (central)
SI.lu5 (central)
ISO_1683_1983.lu5 (central)
Technical.lu5 (UserConfiguration)
Ultimate.lu5 (UserConfiguration)
Old unit system files of type ‘lu4’ can be imported and upgraded into type ‘lu5’
starting from a chosen unit system on the Central folder (Technical, SI, English,
or ISO 168301983):
16A 13
Chapter 1 The LMS Configuration and Unit System
Dynamic quantity cases and dynamic unit cases can be recognized by the unit
case status ‘Dynamic’. The user can change this status into ‘Default’, ‘Case
default’, Visible, or ‘Invisible’ to make this case static. Only the static units will
be saved afterwards (see later).
When dynamic quantity cases and/or unit cases have been imported, they will
not be saved unless they have been made static by the user (by changing the
Unit Case Status field).
system files is shown including an input field containing the name of the unit
system file that was opened originally. The unit system file is saved on the
UserConfiguration folder.
With Find Next, the next row will be highlighted containing a hit. This row will
be in the center of the visible list or higher when the list is too short.
16A 15
Chapter 1 The LMS Configuration and Unit System
confirmation.
Section 1.3.3.17 Help => LMS Configuration and Unit System Help
Launches the help of the LMS Configuration and Unit System tool application.
Section 1.3.3.18 Help => About LMS Configuration and Unit System
tool
Shows the ‘About’ of the LMS Configuration and Unit System tools
application.
Length
Mass
Time
Angle
Temperature
Electric current
Luminous intensity
Mole
Step 3
Quantity Case Name (*): first default quantity case, then the static ones in
alphabetic order; case sensitive, then the dynamic ones in alphabetic order; case
sensitive.
Note: A set of compatible quantity cases belong to the same quantity when they
all have the same base quantity terms (Length, Mass, Time, Angle,
Temperature, Electric current, Luminous intensity, and Mole). One quantity
case of such a set is the Default quantity case. The corresponding default unit
has status ‘Default’ (standing for general default unit). The corresponding
default units of the other (not-default) quantity cases have status ‘Case default’
(standing for case specific default unit).
Step 4
Unit Case Status (**) in sequence:
Default
Case default
Visible
Invisible
Dynamic
Notes: A Label Unit can only have Label Status Visible or Dynamic. The
Dynamic option for the Unit Case Status is only available in case of an
imported unit case. (The option is Dynamic after importing the unit case and
can be changed by the user into another option.)
Step 5
Unit Case Name: alphabetic order; case sensitive
1.3.4.1.1.1 Presentation of unit cases per Quantity
The sorting algorithm makes sure that all unit cases of the same quantity are
next to each other. These groups of unit cases belonging to the same quantity
are displayed with alternating background colors: white and light grey.
The font colours are also optimized: red for all dynamic info and green for all
dynamic info which has been changed into static (Default, Case default, Visible,
or Invisible) by the user.
16A 17
Chapter 1 The LMS Configuration and Unit System
Note: A set of compatible quantity cases belong to the same quantity when they
all have the same base quantity terms (Length, Mass, Time, Angle,
Temperature, Electric current, Luminous intensity, and Mole). One quantity
case of such a set is the Default quantity case. The corresponding default unit
has status ‘Default’ (standing for general default unit). The corresponding
default units of the other (not-default) quantity cases have status ‘Case default’
(standing for case specific default unit). The default quantity case is the quantity
case for which the default unit case is the quantity default, called ‘Default’ and
not only the default unit case for the quantity case, called the ‘Case default’.
The Dynamic option for the Unit Case Status is only available in case of an
imported unit case. (The option is Dynamic after importing the unit case and
can be changed by the user into another option.)
Step 4
Unit Case Name: alphabetic order; case sensitive
1.3.4.1.2.1 Presentation of unit cases per quantity case
The sorting algorithm makes sure that all unit cases of the same quantity case
are next to each other. These groups of unit cases belonging to the same
quantity case are displayed with alternating background colors: white and light
grey.
The font colours are also optimized: red for all dynamic info and green for all
dynamic info which has been changed into static (Default, Case default, Visible,
or Invisible) by the user.
dB dB dB
dB<(W)> dB dB(A)
dB<[W]> dB dB[A]
When adding a unit, the values of the active selection are taken over in case a
unit is selected (and not a label). If no such selection is made, all values are put
to the defaults.
16A 19
Chapter 1 The LMS Configuration and Unit System
The consistency check will be the verification of the uniqueness of the quantity
case name and the unit case name for the given quantity case and the validation
of the input parameters according the table above.
When adding a label, the values of the active selection are taken over in case a
label is selected (and not a unit). If no such selection is made, all values are put
to the defaults.
The consistency check will be the verification of the uniqueness of the quantity
case name and the label name and the validation of the input parameters
according the table above.
16A 21
Chapter 1 The LMS Configuration and Unit System
When adding a Rule, the values of the active selection are taken over. If no
selection is made, all values are put to the defaults.
The calculation of this list of resulting quantity cases depends on the base
quantities obtained from the proposed unit calculation. All quantity cases that
16A 23
Presentation of unit cases per quantity case •
Index 18
Presentation of unit rules per resulting quantity
B case • 21
Base Quantity • 9 Q
C Quantity • 9
Quantity Case • 10
Columns selection • 21
Concept of the LMS Configurations System • R
5 Read strategy • 7
Concept of the LMS Unit System • 8 Rows selection • 21
E S
Edit => Add label… • 15 Sorting according to base quantities • 17
Edit => Add rule… • 15 Sorting according to name • 18
Edit => Add unit… • 15 Sorting of the Unit Cases • 16
Edit => Delete… • 16 Sorting of the Unit Rules • 21
Edit => Edit… • 16
Edit => Find • 15 T
Edit…/Add... Labels panel • 20 The LMS Configuration and Unit System • 5
Edit…/Add... Unit Rules panel • 22
Edit…/Add...Unit Cases panel • 19 U
Editing LMS Units • 10 Unit • 8
F Unit Case • 10
Unit Cases panel • 16
File => Exit • 15 Unit Rules panel • 21
File => Import dynamic units • 14 Unit system • 10
File => Save • 14
File => Save as… • 15 V
File => Select active unit system • 12 Versioning of LMS Unit System • 11
File => Upgrade unit system • 13 View => Show • 16
File =>Configuration • 12 View => Sort • 16
Format of the Level String • 19 View => Toolbar • 16
H Visibility Checkboxes of the Unit Cases tab •
21
Help => About LMS Configuration and Unit
System tool • 16 W
Help => LMS Configuration and Unit System Write strategy • 7
Help • 16
L
Label Unit • 9
M
Main panel logic • 11
Major upgrade • 13
Menu bar • 12
Minor upgrade • 14
P
Presentation of unit cases per Quantity • 17
16A 25