PennController for IBEX › Forums › Support › running penncontroller locally › Reply To: running penncontroller locally
December 2, 2020 at 9:38 pm
#6430
mat646
Participant
Correction, I lied before (without realizing), following the steps above you SHOULD change something about the image referencing:
You should now refer to the stimuli as follows (like Jeremy pointed out also in this thread):
PennController(
newImage("my image",
"http://127.0.0.1:3000/server.py?resource=Image.png")
.print()
,
newButton("continue", "Continue")
.print()
.wait()
)
(127.0.0.1 refers to your local host and :3000 stands for port 3000)