70 likes | 199 Vues
The FSM v24r1 update introduces significant changes to optimize memory usage by implementing Logical Units (LUs) to replace traditional Control Units (CUs). Logical Units serve as lightweight controls positioned above Device Units (DUs) in the system hierarchy, allowing for streamlined management with one Control Manager overseeing all DUs. While the update aims for backward compatibility, there are adjustments needed for library changes and users are advised to update their custom scripts based on new functionalities. For comprehensive details, visit the provided documentation link.
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