The following code does not do the expected behaviour:
a = dataIO("DummyGrabber") [i,h] = plot(dataObject.randN([100,100])) h["camera"] = a #internal object of plot will be invalidated and the new data object will be created once the first image from the camera arrive. h.call("setLinePlot", 0,0,100,100) #does not work, since no image is currently arrived at this point.
Usually, we would expect a line cut to popup. However the assignment of a camera immeditaly
resets the internal data object of the 2d plot. The object is only re-created once the first image of
the camera arrives. However this is after the ‘setLinePlot’ slot, therefore no line cut is created.