Dear Josh,
first of all: thanks a lot for your help so far. We now have a complete visual stimulation / 3d tracking system with BPod at its core that I am rather happy with.
One thing, though:
It seems as if the poke detection is rather jittery sometimes (not always...). We have a .7 state machine with custom-printed ports. Everything (incl. electric parts) is by-the-book. The problem is that sometimes port in & out events are triggered in rapid succession when the mouse enters a port. Finger-poking the ports then leads to jittery detection as well. All of our 8 ports are similarly affected. I bound ttl events to the port state changes and the changes seem to jitter around 10-100ms. In our script this triggers early withdrawal events en masse which is problematic. This seems to come and go, though, which makes me believe that this is an electrical issue. Also: the problem does not seem to be consistent - with pokes being detected just fine on some occasions.
I know that this is tricky to troubleshoot - but are there obvious steps I could follow to see what the problem is?
Cheers,T