LinuxCNC Documentation
This page is 27% translated. Untranslated text is shown in English.

SYNTAX

int rtapi_task_start(int task_id, unsigned long period_nsec);

ARGUMENTS

task_id

A task ID returned by a previous call to rtapi_task_new

period_nsec

The clock period in nanoseconds between iterations of a periodic task

BESKRIVELSE

rtapi_task_start starts a task in periodic mode. The task must be in the paused state.

SANNTIDSBETRAKTNINGER

Call only from within init/cleanup code, not from realtime tasks.

RETURVERDI

Returns an RTAPI status code.

SE OGSÅ

rtapi_task_new(3), rtapi_task_pause(3), rtapi_task_resume(3)