-
Notifications
You must be signed in to change notification settings - Fork 2
SyncFED3
Kravitz Lab edited this page Mar 12, 2026
·
3 revisions
Use fed3.BNC(DELAY_MS, loops) to send sync signals from FED3 to a photometry or ephys recording system (or even another FED!) through the BNC output.
fed3.BNC(DELAY_MS, loops);
Examples:
-
fed3.BNC(20, 1)= one 20ms pulse -
fed3.BNC(20, 3)= three 20ms pulses -
fed3.BNC(500, 1)= one 500ms pulse
Useful for marking different behavioral events. Examples:
-
fed3.BNC(50, 1);// 1 pulse means Pellet -
fed3.BNC(50, 2);// 2 pulses means Left poke -
fed3.BNC(50, 3);// 3 pulses mean Right poke
Also useful for marking different behavioral events.
-
fed3.BNC(50, 1);// 50ms means Pellet -
fed3.BNC(100, 1);// 100ms means Left poke -
fed3.BNC(200, 1);// 200ms means Right poke
fed3.pulseGenerator(pulse_width, frequency, repetitions) to send a pulse train with more precise control over pulse timing than fed3.BNC().
-
pulse_width: pulse duration in milliseconds -
frequency: pulse frequency in Hz -
repetitions: number of pulses in the train
Example:
fed3.pulseGenerator(10, 20, 20);
This sends:
- 10 ms pulses
- at 20 Hz
- for 20 repetitions
-
fed3.BNC()andfed3.pulseGenerator()are blocking because they uses delays internally. This means that no other code will run during the pulses. If you make a 2s pulse, the FED will be unresponsive for 2s while it is making the pulse. Use pulses short enough that they do not interfere with the behavioral task. - It is a good idea to test everything in your recording setup before assuming it works - improper grounding, inputs, etc, may mean your pulses won't show up as you expect them to.
- It is a good idea to verify you can decode your pulse scheme before doing a billion recordings and learning there's an issue :)
π§ Home
- Onboarding Guide
- Lab Manual
- NRB Printer setup
- Travel Guidelines
- Software Setup
- Poster Printing
- Poster Templates/examples
- Reviewing Papers
- Making Figures
- Transnetyx info
- Onboarding WashU Undergraduates
- Cage cards
- Red Hazard cards
- Surgery cards
- Mouse Transfer Procedure
- Cage Check
- IACUC Protocols
- Mouse Genotyping
- Autoclave
- Diet nutritional information
-- Chow diet
-- FED3 grain pellets (Bioserv)
-- FED3 chocolate crispies (ViaCheff)
-- High fat diet
- RNA extraction (Trizol)
- cDNA synthesis with Biorad reagent
- Designing primers
- Setting up the qPCR and analysis
- Localizing injections with DiI
- GCaMP8
- ChR2 (H134R)
- GrabDA
- dLight
- Caspase
- mCherry / YFP Controls
- retroCre
Acquisition
Analysis
- Electrode array construction
- Attaching fibers to Inn NeuroPhys arrays
- NanoZ Impedance Testing
- NanoZ Gold Plating
- Recording Setup
- Data Analysis
- Electrode lesions for histology
- Antibody stocks
- Cryostat
- Freezing microtome
- SST & PV immunostaining
- GFP immunostraining
- IHF troubleshooting
- FED3 Troubleshooting
- FED3 Human Bandit Code
- Synchronizing FED3 with recordings
- FED3 Bandit Code for recordings
- FED3 Artwork
Ex Vivo
- Overview
- Current Clamp
- Voltage Clamp
- Clampex Protocols
- Solutions & Recipes
- Troubleshooting
- Post-patching IHC
- PPR with ClampFit
In Vivo