Data Acquisition
Summary
This example demonstrates how to acquire capacitance data with the Harp FlyPAD.
Workflow
Details
- Creates a subject node to send commands to the
Harp FlyPADand publishes all the events from the device. ThePortNameproperty in theFlyPADnode needs to be set to the COM device on the computer. To create the subject node, right-click on theFlyPADnode ->Create Source->Behavior Subject, and name it accordingly.- Filters event messages associated with the capacitance values acquired.
- Starts the acquisition of capacitance data.
- Ensures that command messages are sent only when the device is ready.
- Saves all of the messages sent by the
Harp FlyPADinto binary files. - Saves the device metadata of the
Harp FlyPADto the same folder as the binary files so that these can be easily parsed with the harp-data Python package.
Requirements
This example requires the following Bonsai packages:
- Harp - FlyPAD