Skip to content

Bug fix for multiple channels #1

@maresb

Description

@maresb

Line 115 of client.py should read:

self.clients[clId] = tuple([[] for _ in range(nSampl)]) # tuple of empty lists

Using [[]]*nSampl creates several references to just a single list. As a result, data from all channels is appended to each channel. This works for a single-channel device, but makes garbage for any device with more than one channel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions