Beispiel #1
0
    def read(self):
        if DaqAsyncTurn.is_my_turn(self.name):
            DaqMultiPlotter.send_data(self.data)

            # Wait for new data on Ring Buffer
            DaqDictRingBuffer.status(status=False)
            DaqAsyncTurn.next_turn()
Beispiel #2
0
    def read(self):
        if DaqAsyncTurn.is_my_turn(self.name):
            DaqMultiPlotter.send_data(self.data)

            # Wait for new data on Ring Buffer
            DaqDictRingBuffer.status(status=False)
            DaqAsyncTurn.next_turn()
Beispiel #3
0
    def handle_read(self):
        if DaqAsyncTurn.is_my_turn(self.name):
            data = DaqDictRingBuffer.extract(chunk=self.samples_per_channel)

            DaqMultiPlotter.send_data(data)

            # Wait for new data on Ring Buffer
            DaqDictRingBuffer.status(status=False)
            DaqAsyncTurn.next_turn()
Beispiel #4
0
    def handle_read(self):
        if DaqAsyncTurn.is_my_turn(self.name):
            data = DaqDictRingBuffer.extract(chunk=self.samples_per_channel)

            DaqMultiPlotter.send_data(data)

            # Wait for new data on Ring Buffer
            DaqDictRingBuffer.status(status=False)
            DaqAsyncTurn.next_turn()