Sending event markers from Inquisit script to Acqknowledge via parrallel port


Author
Message
Jin
Jin
Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)
Group: Forum Members
Posts: 26, Visits: 103
Hi all,

I wanted ask and see if anyone knows how to send an event marker after each stimuli is presented from an Inquisit script to Acqknowledge?

Our experiment has participants watch 1 minute videos and have them describe what they just saw, and we would like to collect physiological data in conjunction with the video viewing and response. The issue we are having is figuring out a way for Inquisit to send an event marker into Acqknowledge after each stimuli is presented and ends, so that we can accurately see the timepoints where a video started and ended, and when the response section started and ended.

In a nutshell, what type of code would I need to use in order for Inquisit to send an event marker to Acqknowledge after each stimuli is presented?

Any help would be appreciated!!
- Jin



Here is our code for our experiment (without putting ports in). We have 6-7 videos in "FormA"

**********Trials***********

<trial introduction>
/ pretrialpause = 250
/ posttrialpause = 250
/ stimulustimes = [1=introduction]
/ validresponse = (57)
/ inputdevice = keyboard
/ recorddata = false
</trial>

**NA Video Trials**

<trial NA_Intro>
/ stimulustimes = [0=NA_Intro]
/ responseinterrupt = false
/ validresponse = (57)
/ inputdevice = keyboard
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial FormA>
/ stimulustimes = [0=FormA]
/ branch = [trial.q_NA]
/ responseinterrupt = trial
/ validresponse = ("t")
/ timeout = 4000
/ inputdevice = keyboard
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

**NA Questions**

<trial Group_ANA>
/ branch = [trial.FormA]
/ stimulustimes = [1=Intro_NA]
/ responseinterrupt = immediate
/ validresponse = (57)
/ inputdevice = keyboard
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

**Wait+Questions**

<trial Q_NA>
/ branch = [trial.wait]
/ stimulusframes = [1=Q_NA]
/ responseinterrupt = immediate
/ validresponse = (57)
/ inputdevice = keyboard
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial wait>
/ stimulustimes = [0=wait; 0=waiting; 30000=beep]
/ validresponse = ("t")
/ inputdevice = keyboard
/ responseinterrupt = immediate
/ timeout = 30000
/ pretrialpause = 250
/ posttrialpause = 250
</trial>


**********Blocks***********

<block NA>
/ trials = [1=NA_Intro]
</block>

<block Group_ANA>
/ trials = [1=Group_ANA; 2=Group_ANA; 3=Group_ANA; 4=Group_ANA; 5=Group_ANA; 6=Group_ANA; 7=Group_ANA; 8=Group_ANA]
/ recorddata = true
</block>

<block trial_end>
/ trials = [1 = trial_end]
</block>


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Jin - Thursday, June 29, 2017
Hi all,

I wanted ask and see if anyone knows how to send an event marker after each stimuli is presented from an Inquisit script to Acqknowledge?

Our experiment has participants watch 1 minute videos and have them describe what they just saw, and we would like to collect physiological data in conjunction with the video viewing and response. The issue we are having is figuring out a way for Inquisit to send an event marker into Acqknowledge after each stimuli is presented and ends, so that we can accurately see the timepoints where a video started and ended, and when the response section started and ended.

In a nutshell, what type of code would I need to use in order for Inquisit to send an event marker to Acqknowledge after each stimuli is presented?

Any help would be appreciated!!
- Jin



Here is our code for our experiment (without putting ports in). We have 6-7 videos in "FormA"

**********Trials***********

<trial introduction>
/ pretrialpause = 250
/ posttrialpause = 250
/ stimulustimes = [1=introduction]
/ validresponse = (57)
/ inputdevice = keyboard
/ recorddata = false
</trial>

**NA Video Trials**

<trial NA_Intro>
/ stimulustimes = [0=NA_Intro]
/ responseinterrupt = false
/ validresponse = (57)
/ inputdevice = keyboard
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial FormA>
/ stimulustimes = [0=FormA]
/ branch = [trial.q_NA]
/ responseinterrupt = trial
/ validresponse = ("t")
/ timeout = 4000
/ inputdevice = keyboard
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

**NA Questions**

<trial Group_ANA>
/ branch = [trial.FormA]
/ stimulustimes = [1=Intro_NA]
/ responseinterrupt = immediate
/ validresponse = (57)
/ inputdevice = keyboard
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

**Wait+Questions**

<trial Q_NA>
/ branch = [trial.wait]
/ stimulusframes = [1=Q_NA]
/ responseinterrupt = immediate
/ validresponse = (57)
/ inputdevice = keyboard
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial wait>
/ stimulustimes = [0=wait; 0=waiting; 30000=beep]
/ validresponse = ("t")
/ inputdevice = keyboard
/ responseinterrupt = immediate
/ timeout = 30000
/ pretrialpause = 250
/ posttrialpause = 250
</trial>


**********Blocks***********

<block NA>
/ trials = [1=NA_Intro]
</block>

<block Group_ANA>
/ trials = [1=Group_ANA; 2=Group_ANA; 3=Group_ANA; 4=Group_ANA; 5=Group_ANA; 6=Group_ANA; 7=Group_ANA; 8=Group_ANA]
/ recorddata = true
</block>

<block trial_end>
/ trials = [1 = trial_end]
</block>


You need to set up <port> elements for the various markers you wish to send, and then "display" those <port> stimuli at the desired points in time via your <trial> elements' /stimulustimes or /stimulusframes -- exactly like you display any other kind of stimulus (<text>, <picture>, <video>, etc.).

See e.g. https://www.millisecond.com/download/library/oddball/

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search