Hi Everyone.
I have written three tasks that work great. I need to create a fourth task and I want to re-use one of the existing tasks by calling it from within my new task. I will allow the calling task to continue, or exit the task depending on the results from the called task.
My question is: will the calling task wait to complete its' code until the called task has completed?
The called task is a loop that scans a database for a matching part number. It returns either the index of a match, or a bit that states "no match found".
If there is no match, then the calling task has an index pointing to an empty space at the end of the database. It will then write the new entry and exit.
If the called task indicates a match, I trigger a pop-up screen and exit the task.
I await breathlessly for your reply!
Glenn