I am trying to record the latency to reach the lever. I think it is correctly written in the code but for some reason, rather I am running a rat or just run the program, the output always has 0.30 for all the latencies to reach the lever. I am attaching the code in case it is the issue. Any help would be appreciated. Thanks!
In S.S.14 you are looking for a Response on Input 4. No where else in your program do you use this input. Input 3 is being used as the Lever input in S.S.4.
In S.S.15 you are looking for a Response on Input 3, but this is the Lever input. Input 5 is being used as the Magazine input in S.S.5.
Please let me know if this helps solve your problem.
Gary