01-20-2020, 02:47 PM
(01-23-2019, 06:37 AM)Josh Wrote: Hi Sara,
I can think of two ways to solve this -
1. Re-design your protocol to use TrialManager. This should reduce the dead-time between trials to ~200-500 microseconds; less than 1 frame
2. If your microscope hardware has a TTL input, you can have the state machine send sync pulses from any available digital output (e.g. BNC, port LED). That way you'd have timestamps for Bpod events on the microscope clock along with the camera frame timestamps. The sync channel can either toggle its logic level once per trial (precisely indicating trial start and end), or once per state, indicating each state's onset time. To configure the channel and sync scheme, open the settings menu from the Bpod console and click the 'sync' icon.
Re scenario 2 above: you refer to configuring the 'sync scheme', which is not an option with the r0.5 board - is there a way to achieve the same result in this older model with the fixed sync port?
I am trying to link Bpod (r0.5) with the PXIE acquisition module used with Neuropixels to sync timing. The NP acquisition module has an SMA connector for this purpose, I'm just not sure how to connect it to Bpod - would a simple RJ45 to SMA adapter work in this case? Alternatively, is there an easy way to configure a BNC output for syncing in this older version?
Thank you in advance for your help.