I’m trying to write a program for a task that I’m developing using a DRL schedule. Basically I want the program to run in such a way that if an animal breaks 1 photobeam before a given amount of time, the clock resets, however, I don’t want the clock to reset until a separate photobeam has been broken, indicating that the animal has returned to a waiting area. Due to certain constraints, I cannot use the same photobeam to define this contingency. Is it possible to use a DRL schedule which is built around 2 inputs? I’ve tried, but have thus far been unsuccessful.
I apologize, but I think that I need more information before I can help you answer this question. The following code might help, but I’m not 100% certain what you are looking for:
S.S.1,
S1, \ Wait 1 minute.
\ If beam is broken animal is not in waiting area
1': ---> S3
#R1: ---> S2
S2, \ Wait for animal to return to the waiting area
#R2: ---> S1