70 likes | 160 Views
New FSM v24r1. Major Changes. Problem: 1 CU = 1 smiSM process + 1 Ctrl Manager So: Many CUs => Too much memory used Solution: New Concept: Logical Units – LU A Logical Unit can be seen as a light weight Control Unit To be used at the bottom levels of a Tree (just above the DUs).
E N D
Major Changes • Problem: • 1 CU = 1 smiSM process + 1 Ctrl Manager • So: Many CUs => Too much memory used • Solution: • New Concept: Logical Units – LU • A Logical Unit can be seen as a light weight Control Unit • To be used at the bottom levels of a Tree (just above the DUs). • One Ctrl Manager for all DUs in a system
Types of FSM Nodes • CU – Control Unit • Can be Included, Excluded, etc and Taken in stand-alone mode • corresponds to one smiSM process • LU - Logical Unit: • Can contain children, but not of type CU • Can be Enabled/Disabled (can not run in stand-alone) • Corresponds to an object within an smiSM • Obj - Logical Object: • Basically a Logical Unit without children • DU - Device Unit • A tree leave corresponding to a "real" device in PVSS • Can be Enabled/Disabled (can not run in stand-alone) • Behaviour defined via PVSS scripts (instead of SML code)
DU Ctrl Scripts • Before: 1 Ctrl Manager per CU • Now: 1 Ctrl Manager per System • Drawback: • PVSS doesn't allow dynamic reloading of libraries (at the moment) • So when modifying a device unit script it is necessary to "Stop ALL" and restart the (sub)tree for the new scripts to be taken into account.
Implications for Users • Should be backward compatible, except: • Changes in Libraries: • fwFsmTree didn't change. • But there are some new functions: • fwFsmTree_addMajorityNode (for example) • fwCU HAS changed • Would like to change more (can I ?) • Changes in the main panel: fwUi.pnl • Slight changes=> if users have their own, please update it. • Details in:http://clara.home.cern.ch/clara/fw/FwFSM_v24r1.readme.txt