config.cfg 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. [Machine]
  2. # Bunches per turn of accelerator (integer value)
  3. bunches_per_turn = 184
  4. # Save headerinformation in file (bool value)
  5. save_header = True
  6. # Revolution time (double value)
  7. tRev =3.6825476109875985e-07
  8. [Ui]
  9. # NOTE: This value will be overwritten when the language is changed in the gui-settings
  10. # possible languages:
  11. # en_GB - English
  12. # de_DE - German
  13. language ="en_GB"
  14. # default_save_location: use "pwd" for current working
  15. # directory KCG will always save in a subdirectory to
  16. # this given path and save files in this directory
  17. default_save_location = "pwd"
  18. # default_subdirectory_name_format: this is the
  19. # naming scheme for the subdirectory in which the
  20. # files are saved. Format of this string:
  21. # "{tag1}text{tag2}text" etc.
  22. # possible tags:
  23. # {dateG} will produce e.g. 04.01.2015
  24. # {dateGd} will produce e.g. 04_01_2015
  25. # {dateA} will pdoduce e.g. 01-04-2015
  26. # {times} will produce e.g. 14_04
  27. # {timel} will produce e.g. 14_04_12
  28. # {d} the Day in 2 digit format
  29. # {m} the Month in 2 digit format
  30. # {y} the Year in 4 digit Format
  31. # {H} the Hour in 2 digit format
  32. # {M} the minute in 2 digit format
  33. # {S} the seconds in 2 digit format
  34. # {timestamp} unix timestamp without msec
  35. # {user} the current logged in user
  36. # {sessionname} Ask for session name at startup
  37. # {ask} always ask for a foldername
  38. #default_subdirectory_name = "{user}_{dateGd}-{timel}_{sessionname}"
  39. default_subdirectory_name = "{sessionname}"
  40. # reask on cancel in dialog or use {user}_{dateGd}-{timel} as default when cancel is pressed?
  41. force_ask = False
  42. # Show advanced table view per default? (boolean value)
  43. show_advanced_control = False
  44. [Logging]
  45. # These are PVs that will be possible to insert into log files
  46. # This variable is to be a list consisting of touples of two entries,
  47. # the first ist the Text that describes the value and the second is the EPICS PV that
  48. # holds that value
  49. epics_log_entry_pvs = [
  50. ("Beam Energy (GeV)", "A:SR:BeamInfo:01:Energy"),
  51. ("Beam Current (mA)", "A:SR:BeamInfo:01:Current"),
  52. ("Beam Lifetime (s)", "A:SR:BeamInfo:01:Lifetime"),
  53. ("Beam Lifetime (H:M:S)", "A:SR:BeamInfo:01:Lifetime:String"),
  54. ("Injection Rate (mA/s)", "A:SR:BeamInfo:01:InjRate"),
  55. ("Injection Rate (mA/5s)", "A:SR:BeamInfo:01:InjRate:5s"),
  56. ("Fill Number", "A:SR:OperationStatus:01:FillNumber")
  57. ]
  58. # This pv is used to determine if epics pvs are accessible
  59. epics_test_pv = "A:SR:BeamInfo:01:Current"
  60. # Path to your epics base installation
  61. epics_base_path = "/opt/epics/base/"
  62. # List of Entries that are default to save in Log
  63. # Possible Values are:
  64. # "Number of Orbits"
  65. # "Number of Skipped Orbits"
  66. # "Number of Acquisitions"
  67. # "Time between Acquisitions"
  68. # "Pilot Bunch Simulator"
  69. # "Header saved"
  70. # "T/H Delay"
  71. # "ADC 1 Delay"
  72. # "ADC 2 Delay"
  73. # "ADC 3 Delay"
  74. # "ADC 4 Delay"
  75. # All of the description text entries in epics_log_entry_pvs, see above
  76. # NOTE: These entries have to match the aforementioned strings exactly
  77. default_log_entries = [
  78. "Number of Orbits",
  79. "Number of Skipped Orbits",
  80. "Number of Acquisitions",
  81. "Time between Acquisitions",
  82. "Fill Number",
  83. "Beam Energy (GeV)",
  84. "Beam Current (mA)"
  85. ]
  86. [Misc]
  87. newPlotLiveIcon= "icons/graph.svg"
  88. newPlotDataIcon= "icons/folder.svg"
  89. timingIcon = "icons/clock.svg"
  90. singleReadIcon = "icons/project.svg"
  91. acquireSettingsIcon = "icons/wrench.svg"
  92. startIcon = "icons/media-play-black.svg"
  93. stopIcon = "icons/media-stop.svg"
  94. logIcon = "icons/clipboard.svg"
  95. logCommentIcon = "icons/clipboard_comm.svg"
  96. guiIcon = "icons/KCG_Logo_r.png"
  97. # style = 'blue'
  98. style = 'default'
  99. # board_detection_method has to be one of 'dev', 'dummy', 'list'
  100. # 'dev' means: search for /dev/fpga# (# is a number) and use each result as board
  101. # (be careful when /dev/fpga devices could exist other than for KAPTURE boards)
  102. # 'dummy' means: create a set of dummy boards all use the device file /dev/fpga0
  103. # 'list' means: use boards specified with board_list
  104. # (board_list has to be a python list with device files as strings (e.g. '/dev/fpga0'), becareful the
  105. # specified /dev/ files will be used with pci without validation)
  106. board_detection_method = 'dev'
  107. device_list = []
  108. # device_names is a mapping for device ids to pretty names, this makes the use of boards more intuitive
  109. # format is: device_names = {'device id': 'device name', ...}
  110. # if this is an empty dict it won't be used
  111. device_names = {'test0': 'ich_bin_toll', 'test1': 'ne'}