Next, in the automatic alternator test settings menu, you need to set the appropriate "User script"
checkbox opposite the alternator type for which the user script is written.
ATTENTION!
If scripts are accidentally deleted, new template files will be created when the
software is launched. This also applies to reports discussed in section 2.
Script writing is done using a special scripting language, which includes:
26 functions;
•
4 data types;
•
1 loop;
•
1 conditional operator.
•
For a better understanding of how the scripting language works, after studying the manual, it is
recommended to analyze the provided scripts in the folder C:\UserFiles\Scripts.
As in many programming languages, this language has its own data type system used for creating
variables. Data types define the internal representation of data, the range of values an object can
take, and even the permissible operations that can be applied to an object.
In this language, there are the following basic data types:
#iVariable: stores an integer from 0 to 4294967295, representing a UInt32.
•
#fVariable stores a floating-point number from -3.4·10
•
#sVariable: stores a textual value.
•
Declaring variables is done as follows:
#fMaximumTemperature=15.2, we declare a floating-point number named MaximumTemperature,
which equals 15 integers and 2 tenths. Similar to the integer type but without a fractional part.
1. Writing a script
1.1. Data types
# + type +
tо 3.4·10
.
38
38
name. For example, when declaring
English
User manual
45