MCPcopy Create free account
hub / github.com/LabPy/lantz / waitbuffer

Method waitbuffer

lantz/drivers/andor/andor.py:148–152  ·  view source on GitHub ↗

Wait for next buffer ready.

(self, ptr, bufsize)

Source from the content-addressed store, hash-verified

146 self.lib.AT_QueueBuffer(self.AT_H, ct.byref(bufptr), value)
147
148 def waitbuffer(self, ptr, bufsize):
149 """Wait for next buffer ready.
150 """
151 timeout = ct.c_int(20000)
152 self.lib.AT_WaitBuffer(self.AT_H, ct.byref(ptr), ct.byref(bufsize), timeout)
153
154 def command(self, strcommand):
155 """Run command.

Callers 1

andor.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected