WOLFRAM SYSTEM MODELER

createTask

Create a real-time kernel task (called during initialization)

Wolfram Language

In[1]:=
SystemModel["Modelica_Synchronous.WorkInProgress.Incubate.TrueTime.ExternalC.Kernel.createTask"]
Out[1]:=

Syntax

errNo = createTask(kernelHandle, taskID, taskName, period, priority, deadline, offset)

Inputs (7)

kernelHandle

Type: Kernel

Description: Handle to kernel simulator object

taskID

Type: Integer

Description: Task ID

taskName

Type: String

Description: Task name

period

Type: Real

Description: Task period

priority

Type: Integer

Description: Task priority

deadline

Type: Real

Description: Task (relative) deadline

offset

Type: Real

Description: Task offset

Outputs (1)

errNo

Type: Integer

Description: To indicate success