-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Via slack:
I'm seeing this on the host - pattern 7 is an intertrial, it's showing the intertrial parameters are received, the start display is received, and .03 seconds later the parameters for the next condition are received, like the code is continuing to run even though the start display with a duration of 1 second has just been received.
I checked that the duration is right. Here's a picture of the stream on the host. I was thinking of setting the
waitforendmanually just in case but if it's true by default it shouldn't make a difference.This is for
G4_run_protocol_blockLogging.m. The conditions are spaced appriopriately in the host's feed and there's no difference in theirstartDisplaycommand and the intertrial's, but for some reason the host stream for every intertrial looks the same - no time between the start display being received and the next commands being received.Thing is it works fine with the code on the master branch, so I would think it has to be something to do with the run protocol, but I don't know. HM was having the exact same problem, but only a couple flies in. Today she ran ten flies and didn't have the problem at all. But with the new protocols it happens every time. I thought if commands are being sent to the host while the intertrial's start display is still going, maybe it was getting backed up after several flies, but with the new code it happens from the beginning so I'm just not sure.
it just looked from the timestamps in the host stream like the
waitForEndthing was not working with the intertrial'sstartDisplaycommand, that was the only thing I could think of that would cause it. But i have no idea how that would happen, so it could be something else.
