04-02-2007 01:35 PM
04-02-2007 02:12 PM
since you have two seperate tasks sharing a resource you must stop and clear the first task befor configuring and starting the second task. This should be no problem if you dont mind the overhead of recreating tasks.
Paul
04-02-2007 03:46 PM
04-02-2007 10:43 PM
04-04-2007 07:01 AM
Yes you dont need to stop and restart a task if all you are doing is changing a property, I do this often when I am controlling a stepper motor where I change the timing of a continious digitasl pulse train out without stopping the output. There are a few good examples of this for digital output where the buffer is updated on the fly (inside of the write loop).
Paul