Inquist sending TTL signals to Acqknowledge


Author
Message
sazevedo91
sazevedo91
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: 6, Visits: 23
Hi,

I'm conducting a psychophys experiment using Acqknowledge and Biopac to record EMG whilst viewing stimuli presented in Inquisit 4.
Basically I would like Inquisit to send biomarkers to Acqknowledge every time a new stimulus is presented. I'm having trouble doing so.


Below is my script for the TTL parallel signal. I have 16 stimuli presentations where I would like Inquisit to send biomarkers to acqknowledge. 

*************************************************************
TTL Parallel Signal
*************************************************************

<port targetsignalA>
/ port = lpt1
/ subport = data
/ items = ("00000001")
</port>

<port targetsignalB>
/ port = lpt1
/ subport = data
/ items = ("00000101")
</port>

<port targetsignalC>
/ port = lpt1
/ subport = data
/ items = ("00010101")
</port>

<port targetsignalD>
/ port = lpt1
/ subport = data
/ items = ("01010101")
</port>

<port targetsignalE>
/ port = lpt1
/ subport = data
/ items = ("11010101")
</port>

<port targetsignalF>
/ port = lpt1
/ subport = data
/ items = ("11111010")
</port>

<port targetsignalG>
/ port = lpt1
/ subport = data
/ items = ("11111101")
</port>

<port targetsignalH>
/ port = lpt1
/ subport = data
/ items = ("10101010")
</port>

<port targetsignalI>
/ port = lpt1
/ subport = data
/ items = ("10010010")
</port>

<port targetsignalJ>
/ port = lpt1
/ subport = data
/ items = ("10010011")
</port>

<port targetsignalK>
/ port = lpt1
/ subport = data
/ items = ("10010110")
</port>

<port targetsignalL>
/ port = lpt1
/ subport = data
/ items = ("11001100")
</port>

<port targetsignalM>
/ port = lpt1
/ subport = data
/ items = ("01001001")
</port>

<port targetsignalN>
/ port = lpt1
/ subport = data
/ items = ("00011000")
</port>

<port targetsignalO>
/ port = lpt1
/ subport = data
/ items = ("00001111")
</port>

<port targetsignalP>
/ port = lpt1
/ subport = data
/ items = ("11110000")
</port>

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

<trial trial1>
/ stimulusframes = [1 = targetWhite]
/ trialduration = 6000
</trial> 

<trial trial2>
/ stimulusframes = [1 = targetA, targetsignalA] 
/ trialduration = 10000
</trial>

<trial trial3>
/ stimulusframes = [1 = targetB, targetsignalB]
/ trialduration = 10000
</trial> 

<trial trial4>
/ stimulusframes = [1 = targetC, targetsignalC] 
/ trialduration = 10000
</trial>

<trial trial5>
/ stimulusframes = [1 = targetD, targetsignalD]
/ trialduration = 10000
</trial> 

<trial trial6>
/ stimulusframes = [1 = targetE, targetsignalE] 
/ trialduration = 10000
</trial>

<trial trial7>
/ stimulusframes = [1 = targetF, targetsignalF]
/ trialduration = 10000
</trial> 

<trial trial8>
/ stimulusframes = [1 = targetG, targetsignalG] 
/ trialduration = 10000
</trial>

<trial trial9>
/ stimulusframes = [1 = targetH, targetsignalH]
/ trialduration = 10000
</trial> 

<trial trial10>
/ stimulusframes = [1 = targetI, targetsignalI] 
/ trialduration = 10000
</trial>

<trial trial11>
/ stimulusframes = [1 = targetJ, targetsignalJ]
/ trialduration = 10000
</trial> 

<trial trial12>
/ stimulusframes = [1 = targetK, targetsignalK] 
/ trialduration = 10000
</trial>

<trial trial13>
/ stimulusframes = [1 = targetL, targetsignalL]
/ trialduration = 10000
</trial> 

<trial trial14>
/ stimulusframes = [1 = targetM, targetsignalM] 
/ trialduration = 10000
</trial>

<trial trial15>
/ stimulusframes = [1 = targetN, targetsignalN]
/ trialduration = 10000
</trial> 

<trial trial16>
/ stimulusframes = [1 = targetO, targetsignalO] 
/ trialduration = 10000
</trial>

<trial trial17>
/ stimulusframes = [1 = targetP, targetsignalP]
/ trialduration = 10000
</trial> 

<trial trial18>
/ stimulusframes = [1 = targetWhite]
/ trialduration = 3000
</trial> 



I'm just not sure how to set up from Inquisit's end to have the two systems communicate.

I'm unsure of how to use the Parallel Port Monitor and which pins to tick, presumably in the 'data register'.
I've checked the forum for help and consulted the help function in inquisit (particularly on how to present signals through the parallel port), as well as had a look at the sample scripts.

Please help!

Thanks,
Suzanna

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
sazevedo91 - 10 Years Ago
Dave - 10 Years Ago
sazevedo91 - 10 Years Ago
Dave - 10 Years Ago
Dave - 10 Years Ago
                         Hi, Thank you for your help so far. I've managed to get Inquisit...
sazevedo91 - 10 Years Ago
                             There are no obvious mistakes in the code snippets you posted. Also,...
Dave - 10 Years Ago
                                 Hello, The /port and /subport settings in the parallel port monitor...
sazevedo91 - 10 Years Ago
                                     Offhand, no, I don't have any further suggestions. If you can't get it...
Dave - 10 Years Ago
                                         I've attached the entire script. Thank you so much for all of your...
sazevedo91 - 10 Years Ago
                                             Hmm, nothing normatively wrong w/ the script as far as I can see, BUT...
Dave - 10 Years Ago
                                                 You are amazing! The new script with all of the simplification works...
sazevedo91 - 10 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search