====== Delay ====== A block that takes the value of a any other block and delays it for a number of time units specified by the user. ===== Creating a delay block ===== From the [[Projects_window|Projects window]] * Expand the Project to which you wish to add the delay block by clicking the + symbol next to it. Right-click on ‘Blocks’, or a [[Sub-system|sub-system]] in ‘Blocks’, and select **Delay** from the pop-up menu. From the [[Matrix_window|Matrix window]] * Right click an empty diagonal cell of the matrix and select **Delay** from the the pop-up menu. From the [[Blocks_window|Blocks window]] * Place the mouse cursor over the table and right-click on it. Select **Create | Delay** from the pop-up menu, //or// * In the title bar, select **Delay** from the **Type** drop-down list and click on the {{:New24.png|New}} button. ===== Editing a delay block ===== The block editor is shown by right-clicking the block in a window and selecting **Edit**. In the [[Blocks_window|Blocks window]], you can also show the block editor by selecting the block and clicking the {{:Edit24.png|Edit}} button, or by double-clicking the right-most “validation” column of the block. The block editor has three tabs: ==== Properties ==== This page lets you edit basic properties such as name, sub-system and base unit. See [[Editing_properties|editing properties]] for more information. ==== Appearance ==== This page lets you edit the visual properties of the block in the [[Matrix_window|matrix window]] and [[Graph_window|graph window]]. See [[Editing_appearance|editing appearance]] for more information. ==== Values ==== **Target** - select the block that you wish to delay. The dimension of the [[Delay|delay]] block is always the same as that of the delayed block. **Delay time** - enter a numerical value or an expression for the time to delay the block with. You can use the [[Expression_editing_tool|Expression editing tool]] to find objects and functions that can be used in the expression. |Note|Most block properties can be edited directly in the [[Blocks_window|Blocks window]].| ===== See also ===== * [[Block|Blocks]] * [[Blocks_window|Blocks window]] * [[Matrix_window|Matrix window]] * [[Graph_window|Graph window]]