Scripts - LMI Technologies Gocator 3210 User Manual

Snapshot sensors
Table of Contents

Advertisement

Parameters
Parameter
Stream
Line
Reference Feature
Angle Range
(Angle measurement only)
Filters
Decision

Scripts

Scripts use outputs from other measurement tools to produce custom measurements.
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 153 or Surface Measurement on page
189.
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:
Supported Elements
Elements
Control Operators
Data Types
Arithmetic and Logical
Operator
Function Declarations
Gocator Snapshot Sensors: User Manual
Supported
if, while, do, for, switch and return.
char, int, unsigned int, float, double, long long (64-bit integer).
Standard C arithmetic operators, except ternary operator (i.e., "condition? trueValue:
falseValue"). Explicit casting (e.g., int a = (int) a_float) is not supported.
Standard C function declarations with argument passed by values. Pointers are not
supported.
Description
The data that the tool will apply measurements to.
In Surface mode, this setting is only displayed when a
section is defined on the surface data.
If you switch from one type of data to another (for example,
from section profile data to surface data), currently set
input features will become invalid, and you will need to
choose features of the correct data type.
A line
geometric feature
generated by another tool.
A line or plane
geometric feature
For the Angle measurement, the angle is measured from the
reference feature.
Determines the angle range.
The filters that are applied to measurement values before
they are output. For more information, see Filters on page
143.
The Max and Min settings define the range that determines
whether the measurement tool sends a pass or fail decision
to the output. For more information, see Decisions on page
142.
generated by another tool.
Gocator Web Interface • 256

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Gocator 3210 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Gocator 3506

Table of Contents

Save PDF