import  ch.psi.pshell.bs.Scalar as Scalar
import  ch.psi.pshell.bs.Waveform as Waveform
import ch.psi.pshell.bs.Stream as Stream
import ch.psi.pshell.bs.Provider as Provider
a
url = camtool.getInstance(camtool.getInstances()[0])["stream"]
p=Provider(None, url)
s1 = Stream("stream1", p)
d = Scalar("x_fit_mean", s1, "x_fit_mean", 10)
s1.start()

