Rte_IrvRead and Rte_IrvWrite
Note |
|---|
ASCET supports explicit read and write access for scalar interrunnable variables. For composite (array, matrix) and complex (record) interrunnable variables, only read access can be explicit. Write access to composite and complex interrunnable variables must be implicit. |
Rte_IrvRead implements explicit data read access on an interrunnable variable.
Explicit data read access of a runnable entity means that the current value of the data element is read from the RTE. Subsequent explicit read access operations within the same runnable entity may result in different values of the data element.
Rte_IrvWrite implements explicit data write access to an interrunnable variable.
Explicit data write access of a runnable entity means that the value of the scalar interrunnable variable is published immediately; (other) runnable entities can access the new value when they read the interrunnable variable afterwards. Subsequent explicit write operations change the value of the interrunnable variable.
In the ESDL editor for software components, explicit write1 and read access to a scalar interrunnable variable can be specified, e.g., as follows:
IRV_expl = A;
B = IRV_expl;
In the block diagram editor for software components, explicit read/write access to an interrunnable variable can be specified as follows:


See also