# dics.ini # # Configuration file for DICS, used to store information about which # subsystems of which type are connected, their configuration information, # and their status. # # On initialisation DICS will parse this file, using the ConfigParser module, # to initialise the correct sub-system objects in the correct state. On # (clean) shutdown DICS will save the current status information of all the # sub-systems to the file. # Instrument level configuration options [dics] # Lists of required sub-system instances of each type [tc08] instances: tc08_1 [cortex] instances: cortex_1 [mechanism] instances: mech_1 [ptest] instances: ptest_1,ptest_2 # Details of ptests [ptest_1] magic_number: 42 [ptest_2] magic_number: 10000 # Details of tc08 temperature loggers [tc08_1] channels: T------- channel_names: lab_temp portname: /dev/ttyS0 filename: dics.temps_1 interval: 60 # Details of cortex controller daisy chains [cortex_1] portname: /dev/ttyUSB0 units: 2 # Details of basic mechanism instances. These should be for testing only. [mech_1] cortex: cortex_1 icu_num: 2 axis_num: 1 base_speed: 200 max_speed: 400 acceleration: 200 deceleration: 200 position: 0 # Logging configuration [loggers] keys=root [handlers] keys=console,file [formatters] keys=basic [logger_root] level=NOTSET handlers=console,file [handler_console] class=StreamHandler level=NOTSET formatter=basic args=() [handler_file] class=FileHandler level=DEBUG formatter=basic args=('dics.log', 'w') [formatter_basic] format=%(asctime)s %(name)-12s %(levelname)-8s %(message)s datefmt=