Skip to content

For Hub 0 devices, use hub clock instead of frame time #141

@bparks13

Description

@bparks13

For devices at hub 0 (in the case of this plugin, that means the breakout board) the hub clock and the frame->time are the same thing, it just depends on when they are used. The hub clock is used by the device to record the sample time, and the frame clock is used by a module that creates frames from each of the devices. Therefore, the hub clock is a better timing source in this hub.

We cannot do this for headstages because the hub clock is then a completely asynchronous clock running at whatever rate.

The devices that will be updated are:

  • AnalogIO
  • DigitalIO
  • MemoryMonitor
  • HarpSyncInput

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions