Task Breaks Upon User Input


Author
Message
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: 104K
Interesting. Can you put those files in a ZIP archive and attach the archive to this thread. I'll see if I can reproduce the issue / narrow it down then.

DCole9
DCole9
Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)
Group: Forum Members
Posts: 42, Visits: 220
Here is the zipped files.  Thanks a lot for looking into this Dave.  It is a very weird issue.
Attachments
DS.zip (268 views, 2.00 MB)
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: 104K
Thanks for providing the files. I'll get back to you ASAP, but I suspect this is going to take a while to figure out...

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: 104K
Okay, here's what I've got so far. Using the image files you provided:

(1) I am *not* able to reproduce the issue with the script version you initially provided (attached here: https://www.millisecond.com/forums/FindPost15727.aspx ).
(2) I am able to reproduce the issue using the script included in the ZIP archive (attached here: https://www.millisecond.com/forums/FindPost15745.aspx ).
(3) As far as I can tell, the issue is *not* caused by either <trial initialselect> or <trial reselecttrial>. It is <trial patchtrial>'s setup.
(3a) In the latest script version (under #2 above), you insert a <clock> element into <trial patchtrial>'s frames

/ontrialbegin = [if (...)
{trial.patchtrial.insertstimulusframe(clock.choose, 1); ...}
...

while you already have that <clock> in the trial's regular /stimulusframes attribute:

/stimulusframes = [1 = choose]

This is what causes the crash for me. You can provoke the same behavior by foregoing insertstimulusframe() and simply doing

/stimulusframes = [1 = choose, choose]

(3b) With that said, removing the redundant clock insertion-logic from the /ontrialbegin attributes resolves the issue for me. The script then runs as expected. A file with those modifications is attached to this response and I'd be interested to learn how that script behaves on your system.

Attachments
DemandSelection.new2.iqx (191 views, 53.00 KB)
DCole9
DCole9
Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)
Group: Forum Members
Posts: 42, Visits: 220
That worked Dave!  I don't know how you find these things but you are truly an Inquisit guru.  I owe you one big time.
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: 104K
Awesome -- glad to hear that!

> I don't know how you find these things [...]

I can neither confirm nor deny that my methods involve a healthy portion of black magic. No animals were harmed in the process. :)

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search