Versions Compared

Key

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

...

Excerpt

Timing Status Word register

bit [0-31]Variablebit valuescorresponding
value
bit valuescorresponding
value
bit valuescorresponding
value
bit valuescorresponding
value
bit valuescorresponding
value
0LINAC freq. [Hz]1

25

050





101





2extraction freq. [Hz]10.200.50102

30100

40010

50001

6contiguous/equidistant0contiguous1equidistant





7mode -/+0e-1e+





8execution1Single cycle first bunch0Single cycle same bunch0Single cycle next bunch0Single sequence0Go forever
901000
1000100
1101010
1200001
13standby state (*)1All Off LINAC standby0Spectrometer only 1Hz0Disable gun



14010



15001



16run/standby1run0standby





1701





18...31










  (*) "standby state" is the condition which is reached when a "standby" command is issued


Code Block
languagecpp
[10:10 AM] Alessandro D'Uffizi
switch (status)
    {
        case 0: return "DAFNE: STDBY";
        case 1: return "DAFNE: E- INJECT";
        case 2: return "DAFNE: E+ INJECT";
        case 3: return "DAFNE: E- STORED";
        case 4: return "DAFNE: E+ STORED";
        case 5: return "DAFNE: FILLED";
        case 6: return "DAFNE: COLLIDING";
        case 7: return "DAFNE: BTF DELIVERING";
        case 8: return "DAFNE: BTF DELIVERING & COLLIDING";
        default: return "DAFNE: UNKNOWN";
    }