MCT showing a picture before skip


Author
Message
pprat
pprat
Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)
Group: Forum Members
Posts: 26, Visits: 1

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.


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

Is there a glitch in Inquisit 3 or am I just not doing the timing right?


I would suspect the latter. But that is pure speculation.


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

the stimuli count is bigger or equal to the total number of stimuli wanted && script.elapsed time is bigger or equal to total_runtime


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 (||).


pprat
pprat
Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)
Group: Forum Members
Posts: 26, Visits: 1

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.



Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

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.


pprat
pprat
Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)
Group: Forum Members
Posts: 26, Visits: 1

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.


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

Put everything in a zip file and attach it to this thread via the 'options' tab.


pprat
pprat
Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)
Group: Forum Members
Posts: 26, Visits: 1

I'm sorry, where is the options tab?


pprat
pprat
Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)
Group: Forum Members
Posts: 26, Visits: 1

Oh I got it.  My apologies.


pprat
pprat
Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)
Group: Forum Members
Posts: 26, Visits: 1

Attached is the zip file.  Thank you!


Attachments
MCT with Visual.zip (239 views, 23.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search