Skip to content

_count is undefined in sample for Cyton #156

@nateGeorge

Description

@nateGeorge

Trying to run the timesync examples, I've found that _count in sample, sample._count is undefined. I think what this can be replaced with is sampleNumber, but it doesn't exactly work the same. It's in this file: https://github.com/OpenBCI/OpenBCI_NodeJS/blob/2.0.0/openBCICyton.js
and the only place I see it is
sampleObject._count = this.sampleCount++;

The other problem I noticed is that the 'timestamp' property of 'sample' is always null, even after syncing. Is this supposed to take some value other than null after syncing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions