Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
In order to have Task_Info2 of a task, I get the RTS_IEC_HANDLE of the task with only having the name of the task.
When I call IecTaskGetInfo3 function to get Task_Info2 of the task with the RTS_IEC_HANDLE from SchedGetTaskHandleByName function, there is an error and the Error ID is ERR_PARAMETER.
Could you tell me where the problem is ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In order to have Task_Info2 of a task, I get the RTS_IEC_HANDLE of the task with only having the name of the task.
When I call IecTaskGetInfo3 function to get Task_Info2 of the task with the RTS_IEC_HANDLE from SchedGetTaskHandleByName function, there is an error and the Error ID is ERR_PARAMETER.
Could you tell me where the problem is ?