strutture:lnf:da:chaos:hardware_description_in_chaos
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
strutture:lnf:da:chaos:hardware_description_in_chaos [2011/07/26 14:20] – bisegni@infn.it | strutture:lnf:da:chaos:hardware_description_in_chaos [2011/07/26 14:22] (current) – bisegni@infn.it | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Hardware Description in !CHAOS ====== | ||
+ | A JSON representation of a CU initial setup with: | ||
+ | |||
+ | * General Information | ||
+ | * Dataset Description | ||
+ | * Actions Description | ||
+ | |||
+ | === General Information === | ||
+ | |||
+ | < | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | </ | ||
+ | |||
+ | === Dataset Description === | ||
+ | Insieme di attributi dell' | ||
+ | * Dominio, | ||
+ | * Codice, (Volt, Ampere) (definiti a priori) | ||
+ | * Descrizione (Voltaggio misurato) | ||
+ | * Tipo (int32, int64, string, double, byte buffer)/ | ||
+ | * Input, Output, Iunout/ | ||
+ | * Range | ||
+ | Nel Dataset può essere specificata anche Lista di classi in modo da ereditare automaticamente tutti gli attributi della classe definita nel metadata server.Tali attributi andranno a sommarsi a quelli specificati nel modo sopra descritto. Oltre a questi definiti dalle CU, CHAOS associa ad ogni dataset due ulteriori parametri: | ||
+ | * Timestamp | ||
+ | * Tag di trigger | ||
+ | < | ||
+ | " | ||
+ | { " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } ] | ||
+ | </ | ||
+ | === Actions Description === | ||
+ | < | ||
+ | " | ||
+ | { " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | { " | ||
+ | " | ||
+ | " | ||
+ | } ] | ||
+ | }, | ||
+ | { " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | { " | ||
+ | " | ||
+ | " | ||
+ | } ] | ||
+ | } ] | ||
+ | </ |