MicroControl:API Documentation

From KitwarePublic
Revision as of 22:22, 7 January 2011 by Dhanannjay.deo (talk | contribs) (Created page with "[[category::MircoControl]] A typical callback to request lots of data from <source lang="python"> def OnRequest(self, evt): TCP.Send(XML.Request('get',position=(),...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

[[category::MircoControl]]

A typical callback to request lots of data from

<source lang="python">

   def OnRequest(self, evt):
       TCP.Send(XML.Request('get',position=(),scan=(),image=(),field=(), size=(), lasers=()))
       print 'Starting to read ..'
       TCP.Read(self.TopParent,DataReadyEvent(num=0))

</source>