Hi,
I can get the text box to run at all on version (v2020.2.4) either from using the new feature button or by inserting written code.
I watched the utube video by Jason Ozubko, "Getting typed responses in your experimentā, to try insert a blank box for typed responses for a āFree Recallā session in my experiment and inserted the respective code: It was my first time ever writing code
Begin Routine Tab
screen_text = āā
Each Frame Tab
if("backspace"in key_Resp.keys):
key_Resp.keys.remove(ābackspaceā)
if(len(key_Resp.keys)>0):
key_Resp.keys.pop()
elif(āspaceā in key_Resp.keys):
key_Resp.keys.remove(āspaceā)
Key_Resp.keys.append(ā ')
elif(āreturnā in key_Resp.keys):
key_Resp.keys.remove(āremoveā)
screen_text = ".join(key_Resp.keys)
thisExp.addData(ārecall_respā,screen_text)
continueRoutine=False
screen_text = āā.join(key_Resp.keys)
When I ran the experiment, I couldnāt get the experiment to advance from the second routine to the third routine. No error message or anything, just a blank screen at the end of the second trial, that I had to end the experiment to get off.
Then I watched the newer utube video "How to get typed responses in PsychoPy, 19th Oct 2020ā. So I created a small experiment to trial this feature, with a conditional loop that repeated ten times (Iām aware there is a bug now). As I wanted to change the text that appeared above the typed response textbox each time (Iāve ten questions Iām looking to get typed responses for), I inserted ā$A1ā into the ordinary textbox feature and attached an excel file in the conditional loop (to be a different question). When I ran the experiment, the āDefault Textā appeared on the screen, no sign of the end button either and the experiment ended.
I then went back and removed the excel file, and replaced the $A1 from the document column in the textbox feature and typed in āThis is a testā, saved the experiment, exited out, went back in and then tried running it again. Same thing happened, grey screen, āDefault Textā, no endbutton to click on and then the experiment ends. I noticed that althogh i sent the time duration to the text, textbox and endbutton (mouse) to infinite duration, the blue line that appears in the routing, was extremely short and not a strip like it usually is, is this something.
So thereās three problems here
- Cant get the text inserted into the textbox feature to even appear once, just 'Default Text.
2.Cant get the mouse endbutton and that text to appear on the screen either
- Cant get the text that appears to change with each repeat on a loop. ( Is there a better way than using a column of an attached excel document?).