BNC input of given frequency

32 views
Skip to first unread message

Tarun Kamath

unread,
Sep 10, 2024, 3:01:18 PM9/10/24
to FEDforum
Hi all,

We have recently started using the FED3 device for operant conditioning + progressive ratio and it works wonderfully! We are hoping to synchronize the behavior with photometry recordings - typically we have our photometry system send a TTL every 2 seconds to the behavior system for alignment. How would I be able to set the BNC port on the FED device to input such that it logs these incoming events independent of whether the mouse is interacting with the device and working that into the progressive ratio script on the ExampleMenu? thanks! 

Tarun Kamath

Lex

unread,
Sep 10, 2024, 5:27:08 PM9/10/24
to Tarun Kamath, FEDforum
Hi Tarun,
Recordings pulses with FED3 would be a bit tricky because you'll have to modify how FED3 logs data to accommodate this new data stream.  Would it be possible for you to instead send TTL pulses from FED3 at relevant times (poke, pellet, etc) and record them with your photometry system?  That's the approach that most people have taken, which doesn't require any modification to the FED3 library.  Let me know if this might work for you? -Lex

--
You received this message because you are subscribed to the Google Groups "FEDforum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fedforum+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fedforum/e292ad22-919e-4095-9aea-409e82ba5a15n%40googlegroups.com.

Tarun Kamath

unread,
Sep 11, 2024, 11:10:48 AM9/11/24
to FEDforum
Hey Lex - thanks! Thats what we have tried for now but unfortunately our system is rather sensitive and we notice that the TTLs induce a bit of artifact noise into the signal. How would I be able to change how the FED3 logs the data to include a new TTL stream? 

Lex

unread,
Sep 11, 2024, 2:16:52 PM9/11/24
to Tarun Kamath, FEDforum
Hi Tarun,
Unfortunately I don't think it will work to record your pulses with FED3, as it wasn't designed to record external data. The biggest issue is that the real time clock inside FED3 only has a 1s resolution.  So you would not be able to timestamp the pulses from your photometry system accurately enough to align with your photometry data later.  

So unfortunately I think you will have to figure out why your photometry system produces artifacts when you give it TTL pulses.  This shouldn't happen and may be worth nailing down anyway.  Best, -Lex

Tarun Kamath

unread,
Sep 11, 2024, 2:35:09 PM9/11/24
to FEDforum
Got it thanks Lex! 
Reply all
Reply to author
Forward
0 new messages