
Gocator Line Profile Sensors: User Manual
Gocator Web Interface • 316
Function
Description
float cos(float x)
Calculates cos(x) (x in radians)
float tan(float x)
Calculates tan(x) (x in radians)
float asin(float x)
Calculates asin(x) (x in radians)
float acos(float x)
Calculates acos(x) (x in radians)
float atan(float x)
Calculates atan(x) (x in radians)
float pow (float x, float y)
Calculates the exponential value. x is the base, y is the exponent
float fabs(float x)
Calculates the absolute value of x
Example: Accumulated Volume
The following example shows how to create a custom measurement that is based on the values from
other measurements and persistent values. The example calculates the volume of the target using a
series of box area measurement values.
/* Calculate the volume of an object by accumulating the boxArea measurements*/
/* Encoder Resolution is 0.5mm. */
/* BoxArea Measurement ID is set to 1*/
long long encoder_res = 500;
long long Volume = Memory_Get64s(0);
Memory_Set64s(0, Volume);
if (Volume > 1000000)
{
Output_Set(Volume, 1);
}
else
{
Output_Set(Volume, 0);
}
Содержание Gocator 2130
Страница 250: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 250...
Страница 262: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 262 2D View 3D View...
Страница 263: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 263 Measurement Panel...
Страница 279: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 279 Measurement Panel...
Страница 285: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 285...
Страница 292: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 292 Measurement Panel...
Страница 298: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 298 2D View 3D View...
Страница 305: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 305 2D View 3D View...
Страница 309: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 309 2D View 3D View...
Страница 586: ...Gocator Line Profile Sensors User Manual Specifications 587 Dimensions Envelope...
Страница 588: ...Gocator Line Profile Sensors User Manual Specifications 589 Envelope...
Страница 590: ...Gocator Line Profile Sensors User Manual Specifications 591 Dimensions Envelope...
Страница 592: ...Gocator Line Profile Sensors User Manual Specifications 593 Dimensions Envelope...
Страница 594: ...Gocator Line Profile Sensors User Manual Specifications 595 Dimensions...
Страница 595: ...Gocator Line Profile Sensors User Manual Specifications 596 Envelope...
Страница 597: ...Gocator Line Profile Sensors User Manual Specifications 598 Dimensions...
Страница 598: ...Gocator Line Profile Sensors User Manual Specifications 599 Envelope...
Страница 600: ...Gocator Line Profile Sensors User Manual Specifications 601 Dimensions...
Страница 601: ...Gocator Line Profile Sensors User Manual Specifications 602 Envelope...
Страница 603: ...Gocator Line Profile Sensors User Manual Specifications 604 Dimensions...
Страница 604: ...Gocator Line Profile Sensors User Manual Specifications 605 Envelope...
Страница 608: ...Gocator Line Profile Sensors User Manual Specifications 609 Dimensions...
Страница 609: ...Gocator Line Profile Sensors User Manual Specifications 610 Envelope...
Страница 611: ...Gocator Line Profile Sensors User Manual Specifications 612 Dimensions...
Страница 612: ...Gocator Line Profile Sensors User Manual Specifications 613 Envelope...
Страница 615: ...Gocator Line Profile Sensors User Manual Specifications 616 Dimensions...
Страница 616: ...Gocator Line Profile Sensors User Manual Specifications 617 Envelope...