GetModelName

GetModelName 1:

Syntax

Definition:

METHOD GetModelName : BOOL
VAR_INPUT
    sDstModelNameBuffer : Reference To T_MaxString;
    pnStringLen         : Pointer To UDINT;
END_VAR

GetModelName 2: Inputs

Name

Type

Description

sDstModelNameBuffer

Reference To T_MaxString

Name of the loaded model

pnStringLen

Pointer To UDINT

(Optional) Actual length of the string attribute

GetModelName 3: Return value

BOOL

The method reads the model name of the loaded ML description file. The model name is an identifier of the machine learning model type. Returned strings can be for example ‘support_vector_machine’ or ‘mlp_neural_network’.