Skip to content

Commit

Permalink
Work
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylmasson committed Mar 26, 2021
1 parent 129cc05 commit 1a9fb6d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions dispatcher/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ def main():

# Declare necessary classes
sh = daqnt.SignalHandler()
Hypervisor = daqnt.Hypervisor(control_mc[config['ControlDatabaseName']], logger,
hypervisor = daqnt.Hypervisor(control_mc[config['ControlDatabaseName']], logger,
config['MasterDAQConfig']['tpc'], vme_config, sh=sh, testing=args.test)
MongoConnector = MongoConnect(config, logger, control_mc, runs_mc, Hypervisor, args.test)
DAQControl = DAQController(config, MongoConnector, logger, Hypervisor)
MongoConnector = MongoConnect(config, logger, control_mc, runs_mc, hypervisor, args.test)
DAQControl = DAQController(config, MongoConnector, logger, hypervisor)
# connect the triangle
hypervisor.mongo_connect = MongoConnector
hypervisor.daq_controller = DAQControl

sleep_period = int(config['PollFrequency'])

Expand Down

0 comments on commit 1a9fb6d

Please sign in to comment.