registerFunctionEx

[ Function ]

function registerFunctionEx (
    name: string,
    namespace: string,
    func: (...args: any[]) => any
): void;

Registers a function created within a TwinCAT HMI project in the framework.

Parameter

Name

Type

Description

name

string

The name with which the function is registered in the framework.

namespace

string

The namespace under which the function is registered in the framework.

func

(...args: any[]) => any

A reference to the function to be registered.

Return value

Type

Description

void

No return value

registerFunctionEx 1:

Available from version 1.12