I am having some issues with the duration of the experiment. I have set a variable called total_runtime to 60000, which is 60 seconds. So I expect that when I run my code, it will be for 60 seconds.
I also have set a condition in my code that it should end when the following condition is met:
the stimuli count is bigger or equal to the total number of stimuli wanted && script.elapsed time is bigger or equal to total_runtime
However, everytime I start Inquisit and immediately run the code, there's always an issue. It would run shorter than the total_runtime that I have set, and also it does not even present the stimuli for the wanted number of times.. This happens when I sign off of the computer and sign back in, and also when I lock the computer and unlock it later on (using Windows). After a few runs though, I notice that the code starts working as I intended to.
Is there a glitch in Inquisit 3 or am I just not doing the timing right?
Thanks.
I would suspect the latter. But that is pure speculation.
FWIW, if this is indeed the stop condition you are testing for, note that a logical AND (&&) means *both* statements must be true for the script to stop. If any single true statement is supposed to stop the script you need to apply a logical OR (||).
Yes, that is indeed what I am intending. All the more reason the script shouldn't stop.
Thanks anyway. I will look at my script and see if I can find the error.
You are welcome to attach the script to this thread. I'll gladly check if I can reproduce the issue (or spot an error) running it through Inquisit 3 on my system.
Great, that would awesome! What is the best way to do that? Copy and paste the script? Or should I send the file through email? There is also a picture file (.jpg) that I'll need to send you as well.
Put everything in a zip file and attach it to this thread via the 'options' tab.
I'm sorry, where is the options tab?
Oh I got it. My apologies.
Attached is the zip file. Thank you!