Ephys Link setup error #443
Replies: 15 comments
-
Yeah unfortunately this only works on standalone builds right now -- you're running into a cross-origin request issue (browser security really restricts this kind of cross-app communication). The 0.8.4 build on this page should work for you: https://github.com/VirtualBrainLab/Pinpoint/releases, if it doesn't let us know and we'll build a copy of the latest version for you to test. We're working on figuring out a workaround so that it works in the browser as well, we'll keep you updated. |
Beta Was this translation helpful? Give feedback.
-
@kjy5 let's discuss options here -- it's possible that the server can accept cross-origin requests actually as long as no data is being streamed back from Pinpoint? |
Beta Was this translation helpful? Give feedback.
-
Making a basic plan here:
|
Beta Was this translation helpful? Give feedback.
-
Hi, unfortunately I am still getting the same error using the 0.8.4 build. |
Beta Was this translation helpful? Give feedback.
-
Sorry I meant the Windows desktop build, not the web build! |
Beta Was this translation helpful? Give feedback.
-
Okay confirming here @BlakeRussell98 :
I was able to get ephys link running and connected to Pinpoint. We've updated the documentation to make this more obvious, and we're hoping to push an update in the next week or two so that ephys link works through the browser. Happy to jump on zoom to debug if that's helpful, you can email me at [email protected] |
Beta Was this translation helpful? Give feedback.
-
I managed to get it to run and connected to Pinpoint. And when I move the Sensapex motors, the on-screen probe moves. But when I click 'enable control' in the probe UI panel, move the position of the motor (and therefore also the probe in Pinpoint), and click GO, it seems very hit or miss whether the on-screen probe and the Sensapex motor will move back to the starting position; sometimes they do not move at all and sometimes they move perfectly. Additionally, is there a way to move the target probe position in pinpoint? For example, let's say I have both the real-life Neuropixel and the pinpoint probe at Bregma, but I want to move the real-life Neuropixel to -1.9, +3.8. Can I move the target (grey) Pinpoint probe to that position, so that when I press GO, the real-life Neuropixel moves to -1.9, + 3.8? Another thing I've noticed is that when I change the zero coordinates in the ephys link menu, they revert back to the original coordinates when I click the home button in the probe UI panel. So the probe always moves back to its original home coordinates (i.e. Bregma). I.e. I cannot change the home position of the probe. Sorry for the long message! I'm also happy to have a zoom call to discuss further if that would be easier. Unfortunately, I am not back in the lab until the 15th of February but happy to call anytime from then onwards! |
Beta Was this translation helpful? Give feedback.
-
Okay glad it's working! We've got a long way to go still in terms of making all of the ephys link functionality user friendly, but it's coming. Here's the current situation (for the build you are on): In general the Sensapex -> Pinpoint "position echoing" features should all work fine. To use that during surgery our recommended approach is to:
That should all work so that you can see where probes are in the mouse brain live during your experiments. The Pinpoint -> Sensapex "probe control" direction is experimental at this point. We're developing two things right now in parallel: (a) just basic controls where you can move a probe in Pinpoint and have the position echoed in real life, and (b) automation where you have a set of planned insertions and you can let Pinpoint run the whole show. Neither of those new UI systems are in the build you are using, but we can get you a development build if those would be useful to test out. The "GO" feature that is in the build you have now is just a basic demo of movement control that we built for SfN -- it doesn't have any safety features or speed control, so use it at your own risk. To move the target probe you should be able to click on it and move it around like a normal probe, then click back on the original real probe and hit GO to make the movement happen. The zero coordinate/bregma issue sounds like a bug -- I will reproduce it and make sure it gets fixed, thanks |
Beta Was this translation helpful? Give feedback.
-
Thanks for all the help and all the hard work you guys are putting in behind the scenes. I am excited to use it during surgery! If you have a demo build with some level of Pinpoint -> Sensapex 'probe control' functionality, I would be more than happy to test it out and give you any feedback that you need. Having an automated set of insertions would be amazing for my experiments so if you want me to help you out in any way my end then just let me know! |
Beta Was this translation helpful? Give feedback.
-
Sounds good, we've done one in-lab recording with the new automation so far. We're hoping to get at least one or two more recordings done to work out the user experience issues and then we'd be happy to send you a test version! We'll ping you within a few weeks |
Beta Was this translation helpful? Give feedback.
-
Hi @BlakeRussell98 just wanted to let you know that this is fully functional now, if you follow the instructions here you should be able to install the ephys-link Python package and then connect Pinpoint to manipulators. Both Sensapex and New Scale manipulators are working. Please let us know if you end up testing it, we'd be happy to jump on a zoom call to answer questions and help debug any issues you encounter! Also a heads up this only works right now with the Windows desktop build of Pinpoint, it doesn't work with the website. |
Beta Was this translation helpful? Give feedback.
-
Hi Dan, it's great to see the progress you are making! I have tested it in the lab today but unfortunately encountered some problems.
FYI this is on the latest desktop build |
Beta Was this translation helpful? Give feedback.
-
Hey Blake -- I'm assuming here that you are up-to-date on the latest Pinpoint release, either from Github here: https://github.com/VirtualBrainLab/Pinpoint/releases/tag/v0.9.0 or from Steam. Please double check that first! for 1, do you have the handedness set correctly for your manipulator after connecting? See: https://virtualbrainlab.org/pinpoint/tutorial.html#sensapex-handedness. If that's correct, then there could definitely be a bug, let us know. For 2, I think we should jump on a zoom call, since we don't have a tutorial right now for the copilot features. Can you email me [email protected] some times that work for you this week (or next) and Kenneth and I will help you debug? If you'd prefer we can also send you a written explanation of the steps, but a zoom call might make it easier since we can show you the steps on our end and then have you replicate them on your side. |
Beta Was this translation helpful? Give feedback.
-
Hi Dan,
I am free anytime on Wednesday if that works for you to jump on a zoom call? I appreciate your help with this.
Kind regards,
Blake
…________________________________
From: Dan Birman ***@***.***>
Sent: Monday, July 24, 2023 2:16:30 AM
To: VirtualBrainLab/Pinpoint ***@***.***>
Cc: Blake Russell ***@***.***>; Mention ***@***.***>
Subject: Re: [VirtualBrainLab/Pinpoint] Ephys Link setup error (Issue #285)
Hey Blake --
I'm assuming here that you are up-to-date on the latest Pinpoint release, either from Github here: https://github.com/VirtualBrainLab/Pinpoint/releases/tag/v0.9.0 or from Steam. Please double check that first!
for 1, do you have the handedness set correctly for your manipulator after connecting? See: https://virtualbrainlab.org/pinpoint/tutorial.html#sensapex-handedness. If that's correct, then there could definitely be a bug, let us know.
For 2, I think we should jump on a zoom call, since we don't have a tutorial right now for the copilot features. Can you email me ***@***.******@***.***> some times that work for you this week (or next) and Kenneth and I will help you debug?
—
Reply to this email directly, view it on GitHub<#285 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A4BUJZLYOXOTCOKEY33U4HLXRXEG5ANCNFSM6AAAAAAUT5HNNM>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi @BlakeRussell98, |
Beta Was this translation helpful? Give feedback.
-
I am trying to set up a connection between Pinpoint and a Sensapex manipulator in the lab. I can successfully start an ephys_link server, but when I try to connect to it using the Pinpoint web app (or even just open the Pinpoint web app while the server is running), I get the error "https://data.virtualbrainlab.org is not an accepted origin". Have you seen this error before and do you have any advice? Thanks.
FYI the Sensapex manipulator is connected to the PC by an ethernet to USB-c connection
Beta Was this translation helpful? Give feedback.
All reactions