Link to Discovery Machine Team pageLink to Business Areas pageLink to Partners pageLink to Intellectual Property pageLink to News page

Foreign Function Interface

The Discovery Machine Modeler allows you to specify your own functions that link to other software applications or libraries using the Foreign Function Interface (FFI). These functions can then be used in the actions of procedures, or in conditions.

  • A static Java method in a Java Archive (.jar)
  • A dynamic link library (.dll, .so)
  • An executable

The Foreign Function also specifies the function argument names, types and default values, and the return type. The argument type and return type can be any primitive, array, or class. An API for Java and C/C++ is provided for working with classes as the type in the function code.

The Foreign Function Interface Manager provides a dialog for interacting with the library of Foreign Functions. It provides the ability to view and edit the existing functions, add new functions, or delete functions.

Once created, a Foreign Function can be used in any expression in conditions or procedures. The user can open the condition editor or procedure editor and insert the function by name.

Transferring Foreign Functions

The DM Modeler also comes with utilities that will assist you in deploying your foreign functions. These capabilities are centered around InstallShield X Universal ProfessionalT.