To build a ObjectNet
-able object you have to inherit form "CSON-BaseClass"
Now your class has a "Lauch.vi" and further the old BaseProcess functionallity, as ProcCases..etc. In the I-Attribute of the CSON-BaseClass, the Services you have to provide and the Services you do listen to, are stored.
The Object Net itself also is a CS-Object. All Data, collected inside the net, is published via DIM. Now every "CSON-LocalControl"-Object which has suscribed to this Net, starts itŽs corresponding objects.
Here we can see the current UML-Design of the NetŽs
And here a detailed view of the unbundle mechanism of the Port Observers is given.
Port Observers get executed twice. The first time from the ObjectNet
, there they start a DIM-Listener. And the second call is from the Dim-Listener, to unbundle the Data.
This id done to have only one instance, where the data type has to be specified.
- 29 Sep 2006