60 likes | 290 Views
System ID object name classname Services to suscribe. Launch. ON Global.vi. Do this only, if there´s no dummy-input detected. Launch. Launch. Observer. DIM Listener.vit. DIM Listener.vit. Observer. Control Ref vi-path Service name.
E N D
System ID object name classname Services to suscribe Launch ON Global.vi Do this only, if there´s no dummy-input detected Launch Launch Observer DIM Listener.vit DIM Listener.vit Observer Control Ref vi-path Service name If a while loop is used inside the Net, the Object Net get´s executed twice (to make use of shift registersCircet-Connections) Step 1 : Objects register to the Global.vi´s, observers
ON Global.vi ON Global.vi ON Global.vi publish the net via DIM remove doubles write down "data to publish" Create ON Publish & ON Shutdown Service Step 2 Removing of all double enties, etc, and publish the information
On Every CS-System used by the Object Net a "CSON-LocalControl" must be loaded Proc Cases listen to the updateNet & the Shutdown Service constructor get ON-name from DB register to On-Specific Service Proc Periodic use the watchdog to get the status of all objects if nessesarry reboot objects which are not responding continously write "data to Suscribe" to the Objects If shutdown command is recieved, ensure that all Objects shut down Step 3 (On the CSON-LocalControl´s ) Start Objects & Provide Information
Publish Shutdown command Go to Step 5 "Shutdown" pushed "Stop" pushed Go to Step 5 timeout (1sec) Update Observers (call vi via VI-Server Methods) Step 4 : The Object Net wait´s for further input
remove "Shutdown" and "Net update" Services STOP VI sent a stop Notifier, so that all "DIM Listener.vit"´s can stop Step 5 : Shutdown & Stop
Fragen: 1. Soll man programmatisch (am Output der Launch.vi´s) die Service namen wählen können? 2. Kann man die "current vi path" constatnte auch in einer exe verwenden? 3. Ist es ausreichen einen Service pro .vi nur 1x zu observieren (mehrere observe auf den gleiche Service in einem .vi sind derzeit nicht möglich) 4. Soll das Netz schauen, auf welchen Systemen "CSON-LocalControl" Objecte benötigt werden, und diese automatisch starten? (Load Process/Load Object)