This commit is contained in:
sfop
2017-09-05 08:47:27 +02:00
parent e5658685f5
commit 3acc64bb7a
5 changed files with 27 additions and 11 deletions

View File

@@ -6,8 +6,8 @@ print "Starting"
#Creating averaging devices
av_hamp_x = create_averager(hamp_x, count = 10, interval = -1, name = "av_hamp_x")
av_xbpm_x = create_averager(xbpm_x, count = 10, interval = -1, name = "av_xbpm_x")
av_hamp_x = create_averager(hamp_x, count = 20, interval = -1, name = "av_hamp_x")
av_xbpm_x = create_averager(xbpm_x, count = 20, interval = -1, name = "av_xbpm_x")
#av_hamp_x.monitored = True
av_xbpm_x.monitored = True

View File

@@ -6,8 +6,8 @@ print "Starting"
#Creating averaging devices
av_hamp_y = create_averager(hamp_y, count = 10, interval = -1, name = "av_hamp_y")
av_xbpm_y = create_averager(xbpm_y, count = 10, interval = -1, name = "av_xbpm_y")
av_hamp_y = create_averager(hamp_y, count = 20, interval = -1, name = "av_hamp_y")
av_xbpm_y = create_averager(xbpm_y, count = 20, interval = -1, name = "av_xbpm_y")
av_xbpm_y.monitored = True

View File

@@ -0,0 +1,12 @@
cam_server.start("SAROP21-PPRM102")
cam_server.stream.waitCacheChange(10000)
print cam_server.stream.take().identifiers
SENSORS = [cam_server.stream.getChild("x_rms"), cam_server.stream.getChild("x_rms"), adc_xh1]
tscan(SENSORS, 10, 0.5)
cam_server.stop()