Skip to content

Conversation

@bruno-f-cruz
Copy link
Member

No description provided.

@bruno-f-cruz bruno-f-cruz requested a review from glopesdev May 10, 2024 21:16
The [`Device`](xref:Bonsai.Harp.Device) operator is the first node you will probably add to your workflow when using any Harp Device. This source is responsible for establishing a serial connection link with the device and providing an interface that can be used to send and receive messages, represented by [`HarpMessage`](xref:Bonsai.Harp.HarpMessage) objects. Messages sent from the host application into the node represent commands to be sent to the device, whereas message objects emitted by the device node represent command replies or events sent by the device to the host.

> [!Note]
> Using the high-level interface `Device` operator is the recommended way to connect to a Harp device. This operator runs an additional validation step that ensures that the device you are attempting to connect to matches the interface you are trying to use. For cases where this check is not necessary, you can use the generic Device operator, which is available in the Bonsai.Harp package.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> Using the high-level interface `Device` operator is the recommended way to connect to a Harp device. This operator runs an additional validation step that ensures that the device you are attempting to connect to matches the interface you are trying to use. For cases where this check is not necessary, you can use the generic Device operator, which is available in the Bonsai.Harp package.
> Using the `Device` operator provided by each device-specific interface package is the recommended way to connect to a Harp device. This operator runs additional validation steps to ensure the interface matches the device you are attempting to connect to.

Simplified wording and focused recommendation only on the device-specific operator. I was thinking we might want to keep the discussion about the generic Device operator to a different section (e.g. development and debugging) to avoid confusing people.

@CLAassistant
Copy link

CLAassistant commented Jun 9, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants