Questo sito utilizza i cookie per migliorare servizi ed esperienza degli utenti. Se decidi di continuare la navigazione consideriamo che accetti il loro uso.

Panoramica Cerca Sopra
Dettagli del download
Sample11a: module communication: C-module invokes a method in C-mo Sample11a: module communication: C-module invokes a method in C-module
(0 voti)

The project contains three modules:

The instance of class CModuleDataProvider is hosting the data and protects the access via methods "Retrieve" and "Store" with a critical section.
The instance of module class "CModuleDataRead" is reading the data from the DataProvider by calling the method Retrieve.
The instance of module class "CModuleDataWrite" is writing the data from the DataProvider by calling the method Store.

The Read/Write instances are configured to access the instance DataProvider, which could be seen at the menu "Interface Pointer" on the instance configuration.
There one could also configure the context (task) the instances should be executed in. Within the sample, two tasks TaskRead and TaskWrite are used.
The parameters "DataWriteCounterModulo" of "CModuleDataWrite" and also DataReadCounterModulo ("CModuleDataRead") allow to control at which moment the module instances initiate the access.

Informazioni

Versione:
Dimensione31.59 KB
Downloads0
Lingua
Licenza
Autore
Sito Web
Prezzo
Creato17-02-2015
Creato da
Modificato il17-02-2015
Modificato daroby

Solo gli utenti registrati e loggati possono scaricare questo file.

.

.