
Gocator Line Profile Sensors: User Manual
Gocator Web Interface • 312
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
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 Functions
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
double Measurement_Value (int id)
Gets the value of a measurement by its ID.
Parameters:
id - Measurement ID
Returns:
Measurement Functions
Summary of Contents for Gocator 2130
Page 250: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 250...
Page 262: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 262 2D View 3D View...
Page 263: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 263 Measurement Panel...
Page 279: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 279 Measurement Panel...
Page 285: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 285...
Page 292: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 292 Measurement Panel...
Page 298: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 298 2D View 3D View...
Page 305: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 305 2D View 3D View...
Page 309: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 309 2D View 3D View...
Page 586: ...Gocator Line Profile Sensors User Manual Specifications 587 Dimensions Envelope...
Page 588: ...Gocator Line Profile Sensors User Manual Specifications 589 Envelope...
Page 590: ...Gocator Line Profile Sensors User Manual Specifications 591 Dimensions Envelope...
Page 592: ...Gocator Line Profile Sensors User Manual Specifications 593 Dimensions Envelope...
Page 594: ...Gocator Line Profile Sensors User Manual Specifications 595 Dimensions...
Page 595: ...Gocator Line Profile Sensors User Manual Specifications 596 Envelope...
Page 597: ...Gocator Line Profile Sensors User Manual Specifications 598 Dimensions...
Page 598: ...Gocator Line Profile Sensors User Manual Specifications 599 Envelope...
Page 600: ...Gocator Line Profile Sensors User Manual Specifications 601 Dimensions...
Page 601: ...Gocator Line Profile Sensors User Manual Specifications 602 Envelope...
Page 603: ...Gocator Line Profile Sensors User Manual Specifications 604 Dimensions...
Page 604: ...Gocator Line Profile Sensors User Manual Specifications 605 Envelope...
Page 608: ...Gocator Line Profile Sensors User Manual Specifications 609 Dimensions...
Page 609: ...Gocator Line Profile Sensors User Manual Specifications 610 Envelope...
Page 611: ...Gocator Line Profile Sensors User Manual Specifications 612 Dimensions...
Page 612: ...Gocator Line Profile Sensors User Manual Specifications 613 Envelope...
Page 615: ...Gocator Line Profile Sensors User Manual Specifications 616 Dimensions...
Page 616: ...Gocator Line Profile Sensors User Manual Specifications 617 Envelope...