Sending this behalf of my student, Zoe Fokakis, who is using FED3 combined with fiber photometry in the striatum. I think this may be due to the pulsegenerator function not working while there is a pellet in the hopper and device is in standby? We are seeing some events logged on the FED but not in our event interpreter via Bonsai.
Hi Lex,Our lab is working on a project combining FED FR1 training and neurophotometric recording. We are using the ClassicFED3_TTLpulses_30secTO.ino file to record Pellet Retrieval as 0.001 ms pulsewidths, Left Poke as 0.002 ms pulsewidths, and 0.003 ms pulsewidths in a csv file with their timestamps that we can then analyze in conjunction with the photometry signals. In this system, the left poke triggers a pellet dispense and the right poke yields no reward. I have noticed that during the FR1 training there is a time out occurring so that 1) no pokes occurring before the first pellet retrieval are recorded and 2) no pokes between an active poke and pellet retrieval are recorded.For example, if a mouse were to engage with the FED in the sequence L poke, R poke, Pellet retrieval, L poke, L poke, R poke, Pellet retrieval, Right poke, then what would be recorded in Bonsai is timestamps corresponding to "pellet retrieval, L poke, Pellet retrieval, R poke". So essentially, no actions between the poke that initiates a reward and the retrieval of that pellet are recorded, as well as any pokes before the first pellet retrieval.We were wondering if you could assist us in altering the code on the FED so that it does not time out while the pellet is sitting in the hopper, so that all interactions with the FED device are recorded on Bonsai. Thanks in advance for your help.Best,