EasyManuals Logo

LMI Technologies Gocator 2500 Series User Manual

Default Icon
800 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #428 background imageLoading...
Page #428 background image
Gocator Line Profile Sensors: User Manual
Gocator Web Interface • 428
Similar to other measurement tools, a script measurement can output multiple measurement values and
decisions. Scripts are added, configured, and removed much like other measurement tools; for more
information on this, see Script under Profile Measurement on page 220 or Surface Measurement on page
276.
Scripts must be less than 27,000 characters long.
Scripts use a simplified C-based syntax. The following elements of the C language are supported:
Elements Supported
Control Operators if, while, do, for, switch and return.
Data Types char, int, unsigned int, float, double, long long (64-bit integer).
Arithmetic and Logical
Operator
Standard C arithmetic operators, except ternary operator (i.e., "condition? trueValue:
falseValue"). Explicit casting (e.g., int a = (int) a_float) is not supported.
Function Declarations Standard C function declarations with argument passed by values. Pointers are not
supported.
Supported Elements
Built-in Script Functions
The script engine provides the following types of functions:
l Measurement
l Output
l Memory
l Runtime variable
l Stamp
l Math
Function Description
int Measurement_Exists(int id) Determines if a measurement exists by ID.
Parameters:
id – Measurement ID
Returns:
0 – measurement does not exist
1 – measurement exists
int Measurement_Valid(int id) Determines if a measurement value is valid by its ID.
Parameters:
id - Measurement ID
Returns
0 - Measurement is invalid
1 - Measurement is valid
Measurement Functions

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the LMI Technologies Gocator 2500 Series and is the answer not in the manual?

LMI Technologies Gocator 2500 Series Specifications

General IconGeneral
BrandLMI Technologies
ModelGocator 2500 Series
CategoryAccessories
LanguageEnglish

Related product manuals