Inquist sending TTL signals to Acqknowledge


Author
Message
sazevedo91
sazevedo91
Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)
Group: Forum Members
Posts: 6, Visits: 23
Hi,

Thank you for your swift reply!

Does this mean that I only need one <port> script for the test but would still need the 16 '<port signals>' to send a unique biomarker for each different stimulus presentation (total of 16 picture presentations)?

How do I check that the port system is LPT1 or LPT2? Is this something I do on the computer with Inquisit or Acqknowledge?
It is a real parallel port as the Acqknowledge and Inquisit are connected via a ribbon "LapLink" cable.

Apologies for not being specific. These are the issues I am facing:

1. Acqknowledge is not receiving any data from Inquisit. The channels are set-up correctly on Acqknowledge.
2. I am unsure whether this is an issue with my script or the set-up of the port through the parallel port monitor.
3. I do not understand how to have a biomarker present in acqknowledge for each photo stimulus I present in inquisit 

I'm not sure about the "wrong pins appear to be raised" example. Could you please explain this in a bit more detail? I am a novice with psychophys and am at a loss for what to do!

Thank you,
Suzanna

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: 108K
The parallel port monitor is for testing communications only. It does not affect how your script works.

To reproduce the signal specified in

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


via the parallel port monitor, set port number to 1, check if the port address is correct (you can find the port's address via the OS's device manager), tick Pin 2 and Pin 4 in the Data Register field (you will see the number 5 in the port field below it -- binary 00000101 is 5 in decimal) and hit Send.

Things you need to ascertain for communication to work out:

- Are port number and address correctly specified? I.e. is the port on the system in fact LPT1? Or is it LPT2, etc.?

- Is it a "real" parallel port? USB to parallel adapters are usually insufficient.

- Are your cables wired and connected correctly? You'll probably want to use a "LapLink" cable.

- Is the receiving Acqknowledge device set up and configured correctly? (I can't help with that.)

Finally, please try to be as specific as possible about any problems. I.e., is the Acqknowledge not receiving  any data? Do the wrong pins appear to be raised? etc.

sazevedo91
sazevedo91
Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K 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...




Reading This Topic

Explore
Messages
Mentions
Search