View Single Post
  #3  
Old 05-16-2016
mark.gormley mark.gormley is offline
Flexsim User
 
Join Date: Oct 2008
Posts: 58
Downloads: 12
Uploads: 0
Thanks: 32
Thanked 63 Times in 29 Posts
Rep Power: 180
mark.gormley has a spectacular aura aboutmark.gormley has a spectacular aura about
Default

Hi,


I have a few pointers for you:

  • You will want to set a reset position on the TaskExecutor5 so that he always begins from the same position. This will ensure the model behaves the same way each time you run. Right click on it to do this.
  • When you create a task sequence it needs to be dispatched, your code is missing the dispatch step.
  • You may want to make the new task sequence a higher priority than the one from the source so that TaskExecutor5 does the new task before any other tasks
Reply With Quote
The Following User Says Thank You to mark.gormley For This Useful Post:
SayedMohammad Ayati (05-16-2016)