Skip to main content

K-A End User Help

Defining Functions/Alarms

  1. Switch to Automation mode.

  2. To create a Function click on Create, inl_function.png, in the Functions tab at the top. To create an Alarm switch to Alarms tab and click on Create, inl_notifications.png.

    Defining_Functions.png
    Defining_Alarms.png
  3. Give the new function/alarm a Name. Name must be unique and can be a combination of letters, symbols and numbers.

    Creat_a_new_function.png
    Create_a_new_alarm.png
  4. Define the function/alarm Formula. It is a character string with variables and a large choice of functions (arithmetic, logic, etc), which can be viewed under the Formula definitions panel. The output data type for alarm is “alarm”, so the formula should contain a binary relation.

    Note

    KAPPA-Automate functions are compliant with mXparser library.

  5. Click on Parse.

  6. Define the different variables in the Formula. Each input formula parameter can be either a Dataset , a Well property or a Constant. Dataset Type, Units and Label can be selected from the corresponding dropdown list. New labels can also be defined here by simply typing in the new name and hitting Enter.

    Important

    The Constant value entered here will be the default value when an instance of the function is created. This value can be edited when creating an instance of the function.

    Labels can be added to well property inputs in function definition.

  7. For a function define the Output Data type and Unit .

  8. If the default Data Synchronization needs to be edited, it can be done under the Advanced settings panel.

  9. Click on Create.