wiki:DsxTasks

Tasks

Tasks are instanciations of TaskModels. At instanciation, tasks must have all their resources connected.

exemple_inst = Task( "exemple_task_instance_name", "exemple_task_model_name",
                     portmap = {
                        "port1" : resourceA,
                        "port2" : resourceB
                     },
                     defines = {
                        "DEF_NAME": "value"
                     }
                   )

In order to match the definition done in model (DsxTaskModel), there must be:

  • one connection per port
  • one define string per define

They are grouped to form a task and control graph

Last modified 15 years ago Last modified on Mar 10, 2009, 5:49:25 PM