ChimeraTK-ApplicationCore
04.01.00
ovenInit.py
Go to the documentation of this file.
1
#!/bin/env python3
2
import
deviceaccess
as
da
3
import
time
4
5
# Set DMAP file name
6
da.setDMapFilePath(
"demo_example.dmap"
)
7
8
# Open the oven device directly, without logical name mapping, to access all registers
9
dev = da.Device(
"device"
)
10
dev.open()
11
12
# reset the device
13
print(
"Resetting oven device..."
)
14
dev.write(
"BOARD.RESET_N"
, 0)
15
time.sleep(0.1)
16
dev.write(
"BOARD.RESET_N"
, 1)
17
18
# (inverted) reset line is released now. Additional initialisation would go here.
19
print(
"Reset done, device is now ready."
)
sources
ChimeraTK-ApplicationCore
example
config
ovenInit.py
Generated by
1.8.17