


--
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/b83692ed-e52a-411b-b11b-5684974d1081n%40googlegroups.com.
Hi all,
I am currently working on a task that involves keeping a nose poke light on until the mouse pokes the port with the light on. This is the second out of four tasks that are being used to train mice to work up to eventually interacting with a go/no-go task, hence why I am posting it here. The side is randomized each time the light comes on. This task is only active between the hours of 9-11 am, which we have done using the fed3.currentHour function. I have run into one main issue with this that I have been unable to solve.
The first is regarding the nose poke light. It will stay on after 11 am, even though the device does not register pokes or deliver pellets. I am unsure if this has to do with an issue of the RTC not updating, as I have noticed that sometimes the time seems to be frozen on the screen of the FED3.1 device. In order to fix this, we have tried to use:
if fed3.currentHour < 11 {
( fed3.pixelsOff();
break; } //we have also tried to use exit; here
in a few different places. However, this has not solved the issue.
I have attached the code to this post and appreciate any insight you might have.
Best,
Caitlin Ottaway
Delevich Lab