예제 #1
0
    def __init__(self, samples_per_channel=1000):
        self.samples_per_channel = samples_per_channel
        self.name = 'plotter'

        DaqAsyncTurn.bind(self.name)

        DaqMultiPlotter.configure(samples_per_channel)
        DaqMultiPlotter.start()
예제 #2
0
    def __init__(self, samples_per_channel=1000):
        self.samples_per_channel = samples_per_channel
        self.name = 'plotter'

        DaqAsyncTurn.bind(self.name)

        DaqMultiPlotter.configure(samples_per_channel)
        DaqMultiPlotter.start()
예제 #3
0
    def __init__(self, samples_per_channel=1000):
        asyncore.dispatcher.__init__(self)
        self.create_socket(socket.AF_INET, socket.SOCK_STREAM)
        self.samples_per_channel = samples_per_channel
        self.name = 'plotter'

        DaqMultiPlotter.configure(samples_per_channel)
        DaqMultiPlotter.start()
예제 #4
0
    def __init__(self, samples_per_channel=15000, tree_channels={}):
        self.samples_per_channel = samples_per_channel
        self.name = 'async-plotter'
        self.data = defaultdict(dict)

        for group_name in tree_channels:
            for channel_name in tree_channels[group_name]:
                self.data[group_name][channel_name] = [0] * samples_per_channel

        DaqAsyncTurn.bind(self.name)

        DaqMultiPlotter.configure(samples_per_channel)
        DaqMultiPlotter.start()
예제 #5
0
    def __init__(self, samples_per_channel=15000, tree_channels={}):
        self.samples_per_channel = samples_per_channel
        self.name = 'async-plotter'
        self.data = defaultdict(dict)

        for group_name in tree_channels:
            for channel_name in tree_channels[group_name]:
                self.data[group_name][channel_name] = [0] * samples_per_channel

        DaqAsyncTurn.bind(self.name)

        DaqMultiPlotter.configure(samples_per_channel)
        DaqMultiPlotter.start()