Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Page properties


Document status

Status
colourGreenYellow
titleFINALIN PROGRESS

Document owner
DesignerAlessandro Stecchi
DevelopersAlessandro Stecchi
QAAlessandro Stecchi


...

The DAFNE orbit is acquired by 4 front-end DEVILs (364, 365, 366, 367) and post processed by the DEVIL204DEVIL704.
The basic elements created by the 4 front-end DEVILs are:

...

and the final element created by the DEVIL204 DEVIL704 is:

  • GOD**001002

The DEVIL204DEVIL704, besides the two conventional GOD**001002_STA and GOD**001002_DYN forks, builds also a circular buffer some live buffers of data (containing the actual real-time X and Y orbit projections) accessible in the VME address space. To have this data also available on non-VME processors, a dedicated proxy constantly reads the GOD**001_STA and GOD**001_DYN forks, as well as the circular buffer from VME, and transfers them to memcached.

Source

[DEVIL364, 365, 366, 367] > [DEVIL204] > [Orbit_Proxy> [DEVIL704]

...

Keys

Key nameSource

Write freq. [Hz]

Data size [byte]

Throughput
[kbyte/s]

FomatNotes
GOD**002_STADEVIL704-2624-typeDef

LV cluster [flattened to str]

GOD**002_DYN

DEVIL7045.5460.25typeDefLV cluster [flattened to str]

ORB-E_INFO
ORB-P_INFO

DEVIL704-~2500
~2500
-

Json document

Static description of the orbit with name, ascissa and index of each element.

  • name: name of the BPM [8-characters srting];
  • s: curvilinear abscissa (along the ring) [m];
  • i: index of the component corresponding to the element "name" in the 64-DBL array. An example of the Json document is:
Expand
titleDetailed description
[
   {
      "name":"BPBEL101",
      "s":2.531,
      "i":0
   },
  {
    "name":"BPBEL102",
    "s":6.205,
    "i":1
  },

...

  {
    "name":"BPBEL209",
    “s":96.228,
    "i":59
  }
]



ORBE*NOD_BUF
It will be ORB-E-MEAN_BUF
DEVIL7045.510245.5
Electrons: average(N) of the orbit (hor + ver)
2 rows of 64 DBL (row 0: hor, row 1: ver) [flattened to str]
64-components array with moving average calculated on the last N samples.

ORBP*NOD_BUF
It will be ORB-E-MEAN_BUF
DEVIL7045.510245.5

Positrons: average(N) of the orbit (hor + ver)
2 rows of 64 DBL (row 0: hor, row 1: ver) [flattened to str]
64-components array with moving average calculated on the last N samples.

ORB-E-STDDEV_BUFDEVIL7045.510245.5
Electrons: Std. Dev. of the orbit (hor + ver)
2 rows of 64 DBL (row 0: hor, row 1: ver) [flattened to str]
64-components array with standard deviation calculated on the last N samples.
ORB-P-STDDEV_BUF

DEVIL7045.510245.5
Positrons: Std. Dev. of the orbit (hor + ver)
2 rows of 64 DBL (row 0: hor, row 1: ver) [flattened to str]
64-components array with standard deviation calculated on the last N samples.
ORB-E-USER_BUF

DEVIL7045.5~7003.9
Electrons: average(8) of the orbit for users (hor + ver)
2 rows of 64 DBL (row 0: hor, row 1: ver) [flattened to str]
64-components array with moving average calculated on the last 8 samples.
ORB-P-USER_BUFDEVIL7045.5~7003.9
Positrons: average(8) of the orbit for users (hor + ver)
2 rows of 64 DBL (row 0: hor, row 1: ver) [flattened to str]
64-components array with moving average calculated on the last 8 samples.

...