Skip to content
Snippets Groups Projects
Commit 7a4038d2 authored by (INACTIVE) Marcel Bajdel (new marcel.bajdel)'s avatar (INACTIVE) Marcel Bajdel (new marcel.bajdel) :rocket:
Browse files

add secop devices to the beamline tools

parent 91cb75d6
No related branches found
No related tags found
No related merge requests found
......@@ -88,4 +88,25 @@ from beamlinetools.devices.mca_old import xMap
# from beamlinetools.devices.eiger import MyDetector
# prefix = 'EIG:'
# eiger = MyDetector(prefix, name="eiger")
\ No newline at end of file
# eiger = MyDetector(prefix, name="eiger")
### SECoP-Ophyd Device ###
from .base import RE
from ophyd_async.core import DeviceCollector
from secop_ophyd.SECoPDevices import SECoP_Node_Device
import asyncio
from beamlinetools.devices.genNodeClass import Reactor_cell, Gas_dosing
from pprint import pprint
# # Connect to Gas Dosing SEC Node and generate ophyd device trees
gas_d = SECoP_Node_Device.create('localhost','10800',RE.loop)
# # Connect to Reactor Cell SEC Node and generate ophyd device tree
reactor_c = SECoP_Node_Device.create('localhost','10801',RE.loop)
gas_d.class_from_instance()
reactor_c.class_from_instance()
reactor_c:Reactor_cell = reactor_c
gas_d:Gas_dosing = gas_d
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment