コード例 #1
0
ファイル: hostparams.py プロジェクト: gsmcmullin/magictpa
	def get_set_string(self):
		if not self.running:
			if self.value:
				capture.pause()
			else:
				capture.resume()
		return "TPA capture is " + ("gated" if self.value else "not gated")
コード例 #2
0
ファイル: hostparams.py プロジェクト: gsmcmullin/magictpa
	def cont_handler(self, event):
		self.running = True
		capture.resume()