File: rtapi_task_start.3rtapi

package info (click to toggle)
linuxcnc 1%3A2.9.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 285,604 kB
  • sloc: python: 202,568; ansic: 109,036; cpp: 99,239; tcl: 16,054; xml: 10,631; sh: 10,303; makefile: 1,255; javascript: 138; sql: 72; asm: 15
file content (25 lines) | stat: -rw-r--r-- 785 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.TH rtapi_task_start "3rtapi" "2006-10-12" "LinuxCNC Documentation" "RTAPI"
.SH NAME

rtapi_task_start \- start a realtime task in periodic mode

.SH SYNTAX
.HP
int rtapi_task_start(int \fItask_id\fR, unsigned long \fIperiod_nsec\fR)
.SH  ARGUMENTS
.IP \fItask_id\fR
A task ID returned by a previous call to \fBrtapi_task_new\fR
.IP \fIperiod_nsec\fR
The clock period in nanoseconds between iterations of a periodic task
.SH DESCRIPTION
\fBrtapi_task_start\fR starts a task in periodic mode.  The task must be in the
\fIpaused\fR state.

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

.SH RETURN VALUE
Returns an RTAPI status code.

.SH SEE ALSO
\fBrtapi_task_new(3rtapi)\fR, \fBrtapi_task_pause(3rtapi)\fR, \fBrtapi_task_resume(3rtapi)