Versions Compared

Key

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

...

This key contains the timing status 

Source

DEVIL387, General Timing Window

Keys

Key nameSource

Write freq. [Hz]

Data size [byte]

Throughput
[kbyte/s]

FomatNotes
DAFNESTATE_JDATDEVIL387 (Apple DEVIL controlling the TIM class)

General Timing Window: it fetches from the DEVIL387 the GTIMDyn global and combines some of its data with information obtained from the Timing Status Word register. The result is a Json document written to Memcached.

~0~512~0

The key is updated when a user sets some parameter from the General Timing Window. The key content is a Json document with the following format.
{
  "bunch_seq_1_32":0,
  "bunch_seq_33_64":0,
  "bunch_seq_65_96":0,
  "bunch_seq_97_120":0,
  "accumulator_pulses":0,
  "linac_freq":0,
  "extraction_freq":0.0,
  "equidistant":0,
  "mode":0,
  "execution":0,
  "stand_by_state":0,
  "run":0
}

Values for the various fiedls are as consistent as possible with the "Timing Status Word" corresponding bitfields. In some cases the representation is modified in order to make it more intuitive (e.g. mode: -1=electrons, 1=positrons) or even directly usable (e.g. linac_freq: 25, 50 [Hz]). In other cases (execution, stand_by_state) the value is equal to the corresponding bitfield.

linac_freq: 25, 50 [Hz]
extraction_freq: 0.2, 0.5, 1.0, 2.0 [Hz]
equidistant: 0=contiguous, 1=equidistant
mode: -1=electrons, 1=positrons
execution: 1, 2, 4, 8, 16 (see table below)
stand_by_state: 1, 2, 4 (see table below)
run: 0=standby ,1=run

...