I am wondering whether the t_end time point is included if it corresponds to a gate_rising point incidently,or just stop there?Do the sentence include both the starting point and ending point?
`t_end = self.ttl0.gate_rising(10*ms) #opens gate for rising edges to be detected on TTL0 for 10ms
#sets variable t_end as time(in MUs) at which detection stops
t_edge = self.ttl0.timestamp_mu(t_end) #sets variable t_edge as time(in MUs) at which first edge is detected
#if no edge is detected, sets t_edge to -1
if t_edge > 0: #runs if an edge has been detected
at_mu(t_edge) #set time cursor to position of edge
delay(5*us) #5us delay, to prevent underflow
self.ttl6.pulse(5*ms) #outputs 5ms pulse on TTL6
`