Cicode Programming Reference > Cicode Function Categories > Task Functions Introduction > TaskGetSignal


Retrieves a value that indicates the signal that is currently set for a specific task. This function can be used to check the value of the current signal before using TaskSetSignal to apply a new signal.




The task's handle. To retreive this use the function TaskHnd().

Return Value

The value of the current signal. (0 (zero) represents normal operation, 1 indicates the task is stopped).

Related Functions

TaskSetSignal, TaskHnd, TaskKill, TaskNew, TaskResume

See Also

Task Functions