Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose headstage port status data stream #217

Merged
merged 2 commits into from
Aug 20, 2024
Merged

Expose headstage port status data stream #217

merged 2 commits into from
Aug 20, 2024

Conversation

jonnew
Copy link
Member

@jonnew jonnew commented Aug 15, 2024

- Fixes #156
- Rename *FmcLink* to *Port*
- Improve error string when SERDES lock cannot be established
- Move PortName enum into ConfigurePortController.cs
@jonnew jonnew requested a review from glopesdev August 15, 2024 13:53
Copy link
Member

@bparks13 bparks13 left a comment

Choose a reason for hiding this comment

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

Looks good on my end, just a comment on whether or not to change the variable names to match.

/// </summary>
[Description("Configures an ONIX headstage-64 in the specified port.")]
public class ConfigureHeadstage64 : MultiDeviceFactory
{
PortName port;
readonly ConfigureHeadstage64LinkController LinkController = new();
readonly ConfigureHeadstage64PortController LinkController = new();
Copy link
Member

Choose a reason for hiding this comment

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

Is it worth updating the name of the variable itself to reflect the class name change?

Copy link
Member Author

Choose a reason for hiding this comment

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

I considered this but PortController would conflict with the type of the same name. I was thinking about it and then gave up. If you have an idea for replacement ill take it.

OpenEphys.Onix1/ConfigureNeuropixelsV1eHeadstage.cs Outdated Show resolved Hide resolved
- PortController was prefereable but clashed with the static class
  PortController, requiring its namespace prefix to be used to
  disinguish it.
@jonnew jonnew removed the request for review from glopesdev August 20, 2024 19:20
@jonnew jonnew merged commit 70a29e5 into main Aug 20, 2024
6 checks passed
@jonnew jonnew deleted the issue-156 branch August 20, 2024 19:21
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.

Use FMC Link Controller data stream
2 participants