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

Method trigger

lantz/drivers/legacy/vxi11.py:407–416  ·  view source on GitHub ↗

Send trigger command.

(self)

Source from the content-addressed store, hash-verified

405 return stb
406
407 def trigger(self):
408 """Send trigger command.
409 """
410
411 flags = 0
412
413 error = self.client.device_trigger(self.link, flags, self.lock_timeout, self.io_timeout)
414
415 if error:
416 raise Vxi11Error("error triggering: %d" % error)
417
418 def clear(self):
419 """Send clear command.

Callers

nothing calls this directly

Calls 2

Vxi11ErrorClass · 0.85
device_triggerMethod · 0.80

Tested by

no test coverage detected