This commit is contained in:
2018-08-24 12:07:28 +02:00
parent 3e41debde1
commit c6cd6123b0
22 changed files with 1010 additions and 132 deletions

View File

@@ -14,7 +14,7 @@ import ch.psi.pshell.crlogic.CrlogicSensor as CrlogicSensor
###################################################################################################
import ch.psi.pshell.data.LayoutSF as LayoutSF
LayoutSF.setExperimentArguments([PiezoRoll1, testd, pv, motor, pe, cv, en, sin])
LayoutSF.setExperimentArguments([pv, motor, pe, cv, en, sin])
@@ -121,7 +121,7 @@ class SimulatedInput(Readable):
sout = SimulatedOutput()
sinp = SimulatedInput()
for m in mu, delta, gam, eta, chi, phi:
for m in mu, delta, gamma, eta, chi, phi:
m.setSpeed(m.config.defaultSpeed)
#Controler Evenrt Listener
@@ -756,4 +756,11 @@ waveform1.setPolling(1000)
image1.setPolling(-200)
add_device(DummyPositioner("phase"),True)
"""
"""
class DigitalInput(ReadonlyRegisterBase):
def doRead(self):
return False if (int(time.time()) %2 == 0 ) else True
add_device(DigitalInput("di"),True)
di.polling=1000