Port installation


Author
Message
JuliaJuliaJulia
JuliaJuliaJulia
Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)
Group: Forum Members
Posts: 24, Visits: 82
Hey there,

I have a huge problem concerning setting the ports.

Here is my Code:

**************************************************************************************************************
**************************************************************************************************************
  Stimulus Items
**************************************************************************************************************
**************************************************************************************************************
<port nirs_port>
/port = LPT1
/ subport = data
/ items = ("10101010")
</port>
<item resonant_masterpieces>
/1 = "Campbell_soup_can.jpg"
/2 = "Der_Wanderer_ueber_dem_Nebelmeer.jpg"
/3 = "Fuenfzehn_Sonnenblumen.jpg"
/4 = "The_Birth_of_Venus.jpg"
/5 = "The_creation_of_Adam.jpg"
/6 = "The_Kiss.jpg"
/7 = "The_Persistence_of_Memory.jpg"
/8 = "The_Scream.jpg"
/9 = "The_starry_night.jpg"
/10 = "The_Water_Lily_Pond.jpg"
</item>
<item nonresonant_masterpieces>
/1 = "Armored_Train.jpg"
/2 = "Bacchus_and_Ariadne.jpg"
/3 = "Ballet_Rehearsal.jpg"
/4 = "Bonjour_Monsieur_Courbet.jpg"
/5 = "Boulevard_des_Italiens_Morning_Sunlight.jpg"
/6 = "Boy_Bitten_by_a_Lizard.jpg"
/7 = "Chalk_Cliffs_on_Ruegen.jpg"
/8 = "Cornelia_Presenting_Her_Children_as_Her_Treasure.jpg"
/9 = "Cut_with_the_Kitchen_Knife.jpg"
/10 = "Dido_building_Carthage.jpg"
/11 = "Interieur_au_violon.jpg"
/12 = "La_Montagne_Saint_Victoire_Barnes.jpg"
/13 = "Laokoon.jpg"
/14 = "Les_Glaneuses.jpg"
/15 = "Les_Majas_at_the_balcony.jpg"
/16 = "Oath_of_the_Horatii.jpg"
/17 = "pier-and-ocean.jpg"
/18 = "Quince_Cabbage_Melon_and_Cucumber.jpg"
/19 = "Raft_of_the_Medusa.jpg"
/20 = "Raphael_Galatea.jpg"
/21 = "Self-Portrait_with_Vanitas_Symbols.jpg"
/22 = "Suprematist_Composition.jpg"
/23 = "Swing-Renoir.jpeg"
/24 = "The_Annunciation.jpg"
/25 = "The_Banquet_of_Cleopatra.jpg"
/26 = "The_Coronation_of_Napoleon.jpeg"
/27 = "The_Daughters_of_Edward_Darley_Boit.jpg"
/28 = "The_Embarakation_for_Cythera.jpg"
/29 = "The_Hay_Wain.jpg"
/30 = "The_Thankful_Poor.jpg"
/31 = "The_Third_Class_Carriage.jpg"
/32 = "The_Valpincon_Bather.jpg"
/33 = "Three_Philosophers.jpg"
/34 = "View_from_Mount_Holyoke.jpg"
/35 = "Vision_after_the_Sermon.jpg"
</item>
<item japanese>
/1 = "8_Famous_Sights_of_Xiao_&_Xiang_Rivers.jpg"
/2 = "Actor_Ichikawa_Danjuro.jpg"
/3 = "Autumn_and_Winter_Landscapes.jpg"
/4 = "Cypress_Trees.jpg"
/5 = "Eight_Famous_Sights_of_Omi.jpg"
/6 = "Hawk_on_a_pine_tree.jpg"
/7 = "Maiko.jpg"
/8 = "Merrymaking_Under_the_Cherry_Blossoms_-_Google_Art_Project.jpg"
/9 = "Morning_view_of_the_Uji_River.jpg"
/10 = "Narrow_ivy_road.jpg"
/11 = "Popular_Geisha_at_the_Pleasure_Quarters.jpg"
/12 = "Portrait_of_Ashikaga_Yoshimasa.jpg"
/13 = "Spring_Ridge.jpg"
/14 = "Sundial_of_Young_Women.jpg"
/15 = "Yoroboshi.jpg"
/16 = "Zhou_Maoshu_Appreciating_Lotuses.jpg"
</item>
<item kitsch>
/1 = "Christian Riese Lassen_1.jpg"
/2 = "Christian Riese Lassen_2.jpg"
/3 = "Christian Riese Lassen_5.jpeg"
/4 = "Christian Riese Lassen_7.jpg"
/5 = "Christian Riese Lassen_8.jpg"
/6 = "lamplight_bridge.jpg"
/7 = "moonlight_cottage.jpg"
/8 = "moonlight_lane.jpg"
/9 = "Stairway-To-Paradise.jpg"
/10 = "Stepping-Stone-Cottage.jpg"
</item>
<text fixationCross>
/ items = ("+")
/ fontstyle = ("Arial", 300px)
/ color = (0, 0, 0)
</text>
<text baseline>
/ items = ("test")
/ fontstyle = ("Arial", 300px)
/ color = (0, 0, 0)
</text>
<values>
/ myvalue = 0
/ currentendtime = 0
</values>
<picture resMas>
/items = resonant_masterpieces
/select = noreplace
/position = (50%, 50%)
/height = 1556px
/width = 1556px
/select = noreplace
</picture>
<picture nonresMas>
/items = nonresonant_masterpieces
/select = noreplace
/position = (50%, 50%)
/height = 1556px
/width = 1556px
/select = noreplace
</picture>
<picture japanese>
/items = japanese
/select = noreplace
/position = (50%, 50%)
/height = 1556px
/width = 1556px
/select = noreplace
</picture>
<picture kitsch>
/items = kitsch
/select = noreplace
/position = (50%, 50%)
/height = 1556px
/width = 1556px
/select = noreplace
</picture>
<radiobuttons ratingquestionLiking>
/ caption="Wie sehr gefällt Ihnen das Kunstwerk?"
/ options=("1", "2", "3", "4", "5", "6", "7")
/ optionvalues = ("1", "2", "3", "4", "5", "6", "7")
/ orientation=horizontal
/ required=true
</radiobuttons>
<radiobuttons ratingquestionUnderstanding>
/ caption="Wie sehr verstehen Sie das Kunstwerk?"
/ options=("1", "2", "3", "4", "5", "6", "7")
/ optionvalues = ("1", "2", "3", "4", "5", "6", "7")
/ orientation=horizontal
/ required=true
</radiobuttons>
<radiobuttons ratingquestionWTP>
/ caption="Wie sehr sind Sie bereit, Geld dafür zu zahlen, dieses Kunstwerk im Museum zu sehen?"
/ options=("1", "2", "3", "4", "5", "6", "7")
/ optionvalues = ("1", "2", "3", "4", "5", "6", "7")
/ orientation=horizontal
/ required=true
</radiobuttons>
<radiobuttons questionPaintingFamilarity>
/ caption="Wie sehr sind Sie mit dem Kunstwerk vertraut?"
/ options=("1", "2", "3", "4", "5", "6", "7")
/ optionvalues = ("1", "2", "3", "4", "5", "6", "7")
/ orientation=horizontal
/ required=true
</radiobuttons>
<systembeep>
</systembeep>
<page instruction1>
^^^Im folgenden Teil des Experiments werden Ihnen einige Kunstwerke für jeweils 30 Sekunden präsentiert. Bitte betrachten Sie diese so wie Sie es mit Kunstwerken in einem Museum oder einer Gallerie tun würden. ^^Nach der Präsentation jedes Kunstwerks werden Ihnen vier Rating-Fragen gestellt. Beantworten Sie diese bitte so ehrlich wie möglich. Nachdem Sie die Fragen beantwortet haben, wird Ihnen das nächste Kunstwerk präsentiert bis Sie alle gesehen und bewertet haben.
^^^^Bitte drücken Sie die Leertaste, um fortzufahren.
</page>
<page instruction2>
^^Während der Betrachtung und Bewertung der Kunstwerke wird Ihre Gehirnaktivität gemessen. Bitte versuchen Sie, Ihren Kopf und die Kabel nicht zu berühren und sich nicht ruckartig zu bewegen.
^^Sie dürfen Ihre Hände frei bewegen und eine Sitzhaltung einnehmen, die Ihnen angenehm ist.
^^Bitte drücken Sie die Leertaste, um fortzufahren.
</page>
<page instruction3>
^^Nach Drücken der Leertaste werden wir Ihre Gehirnaktivität im Ruhezustand messen. Bitte setzen Sie sich bequem hin, halten Sie Ihre Augen geöffnet und versuchen Sie, sich nicht zu bewegen oder über allzu komplexe Dinge nachzudenken.
^^Nach Ablauf der 20 Sekunden werden Sie ein Signal hören. Die Test-Messphase ist damit beendet und das Experiment wird automatisch gestartet.
^^Wenn Sie noch Fragen haben, wenden Sie sich bitte nun an die Versuchsleiterin.
^^Bitte drücken Sie die Leertaste, wenn Sie bereit sind, das Experiment zu starten.
</page>
<page end>
^^^^Sie haben nun alle Kunstwerke gesehen, dieser Teil des Experiments ist damit beendet.
^^^^Bitte wenden Sie sich an die Versuchsleiterin.
</page>
<instruct>
/windowsize = (90%, 90%)
/nextkey=(" ")
/nextlabel = "Leertaste"
/ prevkey = ("z")
/ prevlabel = "Drücken Sie 'z', um zur vorherigen Seite zurückzugelangen"
/finishlabel = "Leertaste"
/ fontstyle = ("Arial", 4%, true)
/txcolor = (0, 0, 0)
</instruct>
**************************************************************************************************************
**************************************************************************************************************
TRIALS
**************************************************************************************************************
**************************************************************************************************************
<trial baseline>
/ stimulustimes = [0=nirs_port, nirs_port, baseline; 20000 = nirs_port, nirs_port, systembeep]
/timeout = 20050
</trial>
<trial resMas>
/ stimulustimes = [0=fixationCross, nirs_port, nirs_port; 500=resMas, nirs_port, nirs_port; 34500= nirs_port, nirs_port]
/branch = [surveypage.ratingPage]
/timeout = 34500
/pretrialpause= 4000
</trial>
<trial nonresMas>
/ stimulustimes = [0=fixationCross, nirs_port, nirs_port; 500=nonresMas, nirs_port, nirs_port; 34500=nirs_port, nirs_port]
/branch = [surveypage.ratingPage]
/timeout = 34500
/ pretrialpause= 4000
</trial>
<trial japanese>
/ stimulustimes=[0=fixationCross, nirs_port, nirs_port; 500=nonresMas, nirs_port, nirs_port; 34500=nirs_port, nirs_port]
/branch = [surveypage.ratingPage]
/timeout = 34500
/ pretrialpause= 4000
</trial>
<trial kitsch>
/ stimulustimes=[0=fixationCross, nirs_port, nirs_port; 500=nonresMas, nirs_port, nirs_port; 34500=nirs_port, nirs_port]
/branch = [surveypage.ratingPage]
/timeout = 34500
/ pretrialpause= 4000
</trial>
<trial send_nirs_port>
/timeout = 10
/stimulustimes = [0 = nirs_port, nirs_port]
</trial>
<surveypage ratingPage>
/itemfontstyle = ("Arial", 4%, false)
/ showquestionnumbers = false
/questions=[1=ratingquestionLiking; 2=ratingquestionUnderstanding; 3=ratingquestionWTP; 4=questionPaintingFamilarity]
/finishlabel="Weiter"
/branch = [trial.send_nirs_port]
/caption = "Bitte beantworten Sie die folgenden Fragen über das zuletzt gezeigte Bild. ^^Zur Beantwortung steht Ihnen eine Skala von 1 bis 7 zur Verfügung, wobei 1 für "Gar nicht" und 7 für "Sehr" steht."
/itemspacing = 50px
</surveypage>
<block EXP>
/trials = [1-71 = noreplace(resMas, resMas, resMas, resMas, resMas, resMas, resMas, resMas, resMas, resMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, nonresMas, japanese, japanese, japanese, japanese, japanese, japanese, japanese, japanese, japanese, japanese, japanese, japanese, japanese, japanese, japanese, japanese, kitsch, kitsch, kitsch, kitsch, kitsch, kitsch, kitsch, kitsch, kitsch, kitsch)]
</block>
<block BAS>
/trials = [1 = baseline]
</block>
<expt>
/blocks = [1=BAS; 2 = EXP]
/preinstructions = (instruction1, instruction2, instruction3)
/ postinstructions = (end)
</expt>



----------------------------------------------------------------------------------------------------------------------

Most of my triggers don't work.

For the baseline trial, only the first trigger is set but not the one with the systembeep.

Also in the resMas-trial only the first trigger is set (the one with the Fixation cross) but any of the triggers afterward in this trial.

Does anybody know where the problem is?

I would be soooo thanksful if anybody could help, I am a little bit desperate at the moment...

Best

Julia

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search