View Single Post
  #5  
Old 07-18-2014, 05:38 AM
hfarmer hfarmer is offline
Member
 
Join Date: Jan 2014
Posts: 6
Hi Jeff,

Sorry for the delay in getting back to you, thanks for the example code, I didn't know about the condition command before but can see that it would be very useful. However I have one more question which is how to remove the "True" condition after each trial so that the program moves on to the next trial.

At the moment I am getting the information logged but the program seems to stick on the first condition rather than timing out after 3 seconds. Could you let me know what the "while True" part of the code refers to? I assume it just means while in that function but am a bit unclear on how to end the function with a command.

Best,

Harry
Reply With Quote