Inquisit and Polybench


Inquisit and Polybench

Author
Message
Christine.Nothelfer
Christine.Nothelfer
New Member
New Member (34 reputation)New Member (34 reputation)New Member (34 reputation)New Member (34 reputation)New Member (34 reputation)New Member (34 reputation)New Member (34 reputation)New Member (34 reputation)New Member (34 reputation)

Group: Forum Members
Posts: 4, Visits: 18
Hello, 

I'm planning which I have programmed with Inquisit. In this study I want to record the skin conductance with Polybench.

Now I have added the codes (port) in my script and have defined the ports in the surveypages "skin_conductance1", "skin_conductance2", "skin_conductance3" and "skin_conductance4" in order to set markers in Polybench. The aim is that when the surveypages "skin_conductance1", "skin_conductance2", "skin_conductance3", "skin_conductance4" appear, that there appears a marker in Polybench.

Now the problem is that the surveypages "skin_conductance1", "skin_conductance2", "skin_conductance3" and "skin_conductance4" won't appear if I run the script and there appear no markers in Polybench.

Do you have an idea what I have to change so that the surveypages and the marker will appear?

And is it necessary that I define the exact name of the program (Polybench) in the script in which the markers should be set? If yes, do you know where and how I can do that?

Thank you very much.

C.

 
Attachments
SAM.png (3 views, 23.00 KB)
Dave
Dave
Supreme Being
Supreme Being (578K reputation)Supreme Being (578K reputation)Supreme Being (578K reputation)Supreme Being (578K reputation)Supreme Being (578K reputation)Supreme Being (578K reputation)Supreme Being (578K reputation)Supreme Being (578K reputation)Supreme Being (578K reputation)

Group: Administrators
Posts: 9.4K, Visits: 41K
Christine.Nothelfer - Monday, March 11, 2019
Hello, 

I'm planning which I have programmed with Inquisit. In this study I want to record the skin conductance with Polybench.

Now I have added the codes (port) in my script and have defined the ports in the surveypages "skin_conductance1", "skin_conductance2", "skin_conductance3" and "skin_conductance4" in order to set markers in Polybench. The aim is that when the surveypages "skin_conductance1", "skin_conductance2", "skin_conductance3", "skin_conductance4" appear, that there appears a marker in Polybench.

Now the problem is that the surveypages "skin_conductance1", "skin_conductance2", "skin_conductance3" and "skin_conductance4" won't appear if I run the script and there appear no markers in Polybench.

Do you have an idea what I have to change so that the surveypages and the marker will appear?

And is it necessary that I define the exact name of the program (Polybench) in the script in which the markers should be set? If yes, do you know where and how I can do that?

Thank you very much.

C.

 

You're displaying the <port> signals via the <surveypage>s' /stimulusframes, which is the correct way to do it.

<surveypage skin_conductance1>
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 1.9%, false, false, false, false, 5, 1)
/ txcolor = (0, 0, 0)
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (90%, 95%)
/ backbuttonposition = (80%, 95%)
/ nextlabel = "weiter"
/ backlabel = "zurück"
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
/ ontrialbegin = [values.currentpage = values.currentpage+1]
/ stimulusframes = [1=Konditionierungssignal1_Baseline]
</surveypage>

i.e. they are being sent. It may be that the signal is too short for your external equipment to pick it up, try setting /erase to false in the <port> elements to ensure the signal remains raised:

<port Konditionierungssignal1_Baseline>
/ port = LPT1
/ subport = data
/ items = ("00000001")
/ erase = false
</port>

If that does not do the trick, you can also try delaying the signal for a frame or two

<surveypage skin_conductance1>
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 1.9%, false, false, false, false, 5, 1)
/ txcolor = (0, 0, 0)
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (90%, 95%)
/ backbuttonposition = (80%, 95%)
/ nextlabel = "weiter"
/ backlabel = "zurück"
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
/ ontrialbegin = [values.currentpage = values.currentpage+1]
/ stimulusframes = [3=Konditionierungssignal1_Baseline]
</surveypage>

and/or raising it again after a frame or two:

<surveypage skin_conductance1>
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 1.9%, false, false, false, false, 5, 1)
/ txcolor = (0, 0, 0)
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (90%, 95%)
/ backbuttonposition = (80%, 95%)
/ nextlabel = "weiter"
/ backlabel = "zurück"
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
/ ontrialbegin = [values.currentpage = values.currentpage+1]
/ stimulusframes = [1=Konditionierungssignal1_Baseline; 3=Konditionierungssignal1_Baseline]
</surveypage>

Lastly, make sure the receiving equipment is configured correctly.

> And is it necessary that I define the exact name of the program (Polybench) in the script in which the markers should be set?

No. Inquisit has no and needs no knowledge of the software. Raising a signal on a data pin on the parallel port is agnostic as to any specific software or equipment.

GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search