Why visit Java, that's next to the C, when a Python is more dangerous!
Hi Ivor,
Would it be possible to attach your script to this message thread? That would allow me to see more clearly what you are trying to do and determine whether there is a more efficient way.
Thanks,Sean
IvoR: The second question is a bit of the same: is it possible to make a timer without implementing every possible time?
"To understand recursion, you must first understand recursion." - Unknown Zen Master
Dave: IvoR: The second question is a bit of the same: is it possible to make a timer without implementing every possible time? With a little bit of lateral thinking, yes. I've used the <video> element and the <block> element's '/bgstim' command in the past to provide participants with continuous information about the elapsed time across trials. You'd basically have a video or (even better) a flash file that serves as a digital clock. I can email you these files as well as an example script if you want.Regards,~Dave
Dave:You'd basically have a video or (even better) a flash file that serves as a digital clock.
A flash file! I hadn't thought of this before. Great idea.
-Sean
seandr: A flash file! I hadn't thought of this before. Great idea.
IvoR:Hey Dave,I checked out the file you sent. I wasn't that impressed with the timer (although the idea of a flash tile or movie is still quite clever ;)), but really with the Tower of Hanoi problem! It looks really great. Hopefully I'll get the chance myself to have to make something like that (but only if my employer wants that of course).I also hope you could answer my other answer. But take your time, there's no time pressure since the program is working, I'm just curious about a more... 'beautiful' way of programming it.Kind regards,Ivor
IvoR:I know the timer is simplistic and functional. Just one catch: I'm not familiar with flash, so I won't be able to fully integrate the timer into my script. And since we want total control (sounds really bad), I think hard-scripting it is the only method here. And since I do know a little Python, hard-scripting isn't all that bad since Python makes the <item>-element :)
IvoR:What form would you like the Tower to have? More flashy?
IvoR:And I'll hear from you soon than, but as mentioned: take your time!
Hi Dave,
I want to make an experiment where continious information about the time elapsed it's provide. Following your advices, I used <video> and /bgstim command, but my video is to large and low quality. I don't know if it's possible, but could you send me your flash file and an example script, please?
Thank you very much for your help, and sorry for my english,
Barbara.
The file along with a demo script is available for download at my profile page:
http://www.millisecond.com/community/members/Dave/files/ToH_5F00_Rev2_5F00_Timer.zip.aspx
Let me know if that helps,
~Dave
Thank you very much Dave, It's very helpful!
Thanks again for your help,
I'm a complete noob to Inquisit, but this answer in a prior Forum seems relevant to my question. I've previously written code in QB45, Pascal, VB, and C# but am still catching on to Inquisit.
I want to show a video of an ambiguous stimulus and have participants press one of two keys to report its percieved direction of motion. The video would run continuously for about 4 minutes, during which roughly 50 key presses need to be recorded and time-stamped. The goalis to estimate the proportions of time associated with each of the two possible reports. My speculation has been to start the video in a block with block duration specified, which block calls a do-loop of trials each instance of which writes a data record of its key press. However, you may have implemented a more elegant solution in your script to answer this prior question.
I will be very grateful for advice or an example how to script in Inquisit.
Thanks & Best, Keith White (kdwhite@ufl.edu).