|
Task Properties |
Top Previous Next |
|
You can view and change properties of a task by double-clicking the task name in the Diamond source view. This brings up a task edit pane:
Properties of tasks vary depending upon the type of processor on which they have been placed. Regardless of the type, all tasks allow you to define the number and properties of their input and output ports. You can create and delete ports and give them names. Declarations for named ports are automatically added to the main header file for the task.
Port binding Diamond allows integer values to be passed into a task by binding constants to ports. You can do this by selecting the port, clicking Bind, and entering the constant. |