Edit Object find page
Object module page

# Object program

This window is displayed when user click on Edit button on Object module window. If object was created, command window is empty. If Object program was created before and it is edit, program with commands will be display in the command window.

### Object program explanation

- When is object program running is run step by step from the first line to the next line
- Program must have at least one CONDITION command
- Between two condition must be one AND or OR command
- Program is run for all active contours
- Result of condition command is TRUE or FALSE
- AND or OR between condition do logical operation which result is TRUE or FALSE
- It result of all program is TRUE
object (according Object name) is set to calculated contour.
- MATH command can be place in any line on the program.
- Commands in brackets are calculated separately and result of bracket operation are add to total results according logical math
- It can be used 10 brackets in one program

- Line Object name display object name. This line is read only, object name can not be edited on this window
- Line Object descriptiondisplay object description.This line is read only, object description can not be edited on this window

### Insert line button

Click on this button display list of command which can be insert. Select some command and click OK
New command will be insert to the line next to cursor line.
If you click Cancel on select command window no command will be insert.

### Edit line button

This button will active only on line where is command CONDITION or MATH
Click on this button display selected command window.

### Copy line button

Click on this button copy block of commands to line next to cursor line

- Put cursor on the line where you want to put copied block
- It can be copy block only before cursor line
- Click on Copy line button
- Dialog with start block line number will display
- Select start block line
- Dialog with end block line number will display
- Select end block line number
- Selected block will be copy to line next to cursor line.

### Delete line button

Click on this button delete line where is put cursor.

- Put cursor on the line which you want to delete
- Click on button Delete line
- Confirmation dialog will display
- If you click YES selected line will delete
- If you click NO nothing happens

### Update-Exit button

Click on this button close Object program window and display dialog where you can select if you want to Save changes or not.

### Commands description

#### Command AND

This command do logical AND between CONDITION before AND command and CONDITION after AND command. If both condition is TRUE result of and command is TRUE , if at least one condition is FALSE result is FALSE

#### Command OR

This command do logical OR between CONDITION before OR command and CONDITION after OR command. If at least one condition is TRUE result of OR command is TRUE, if both condition is false result of OR command is FALSE.

#### Command ()

This command is bracket command. It insert two lines. One is start bracket and second is end of bracket. Insert commands between those two lines and those lines will be executing in bracket.It can be maximal 10 brackets in one program.

#### Command MATH

This command do mathematical operation between contours parameters or system variables or temporary variables or constant numbers Result of this command is store to the system variable or temporary variable and it can be used during next line calculation (CONDITION command or next MATH command)

- Mathematical calculation is done between Parameter 1 and Parameter 2.
- MATH operand sets mathematical calculation
- Result window select where result of mathematical operation is stored.

- System variable. It will store result to system variable. It can be select Variable 0 to Variable 99. This variable will be set in all eli program
- Temporary variable . It can be write any string (maximal 30 characters), and this string will be used as a temporary variable.Temporary variable can be use only in object find command.

Parameters options:

- Contour parameter: Description of contour parameter is here:Contour parameters .
  There are two more parameters on the end of list:
  - Number of inside contours. Result is number of contour which are inside of calculated contour
  - Number of outside contours. Result is number of contour which are outside of calculated contour
- System variable. It can be select system variable which will be used as a parameter. It can be select Variable 0 to Variable 99. This variables can be set in eli program or also before start eli program
- Temporary variable. It can be write any string (maximal 30 characters), and this string will be used as a temporary variable.Temporary variable can be use only in object find command.
- Number. Constant number can be write to the line. This constant will be used as a parameter.

#### Command CONDITION

This command do logical operation between Parameter 1 and Parameter 2. Type of logical operation is select in Comparison option. Result of this comparison can be TRUE or FALSE
Parameters options:

- Contour parameter: Description of contour parameter is here:Contour parameters .
  There are two more parameters on the end of list:
  - Number of inside contours. Result is number of contour which are inside of calculated contour
  - Number of outside contours. Result is number of contour which are outside of calculated contour
- System variable. It can be select system variable which will be used as a parameter. It can be select Variable 0 to Variable 99. This variables can be set in eli program or also before start eli program
- Temporary variable. It can be write any string (maximal 30 characters), and this string will be used as a temporary variable.Temporary variable can be use only in object find command.
- Number. Constant number can be write to the line. This constant will be used as a parameter.