<div dir="ltr"><div>Hi all,</div><div> </div><div> I am having trouble getting a stimulus delivery/response signal to show up on Biopac for the second part of our n-back experiment. The first task, zero back, asks the subject to press a certain key when a neutral face is presented (non-target) and another key when a scared face is presented (target). The inline script is as follows and works perfectly in connection with Biopac: </div><div> </div><div>Const OutPort As Integer = &hD800<br>'Const BioPacTrigger As Integer = &h01 </div><div> </div><div>WritePort OutPort, 0</div><div> </div><div>TaskStimZERO.OnsetSignalEnabled = True<br>TaskStimZERO.OnsetSignalPort = OutPort<br>TaskStimZERO.OnsetSignalData = c.GetAttrib("BioStim")</div><div> </div><div>TaskStimZERO.OffsetSignalEnabled = True<br>TaskStimZERO.OffsetSignalPort = OutPort<br>TaskStimZERO.OffsetSignalData = 0</div><div> </div><div>Next, the one back section asks the subject to only press the target assigned key after <strong>two</strong> scared faces have been presented in a row. This is where Biopac is not collecting a signal. The inline script is as follows:</div><div> </div><div>Const OutPort As Integer = &hD800<br>'Const BioPacTrigger As Integer = &h01 </div><div> </div><div>WritePort OutPort, 0</div><div> </div><div>TaskStimONE.OnsetSignalEnabled = True<br>TaskStimONE.OnsetSignalPort = OutPort<br>TaskStimONE.OnsetSignalData = c.GetAttrib("BioStim")</div><div> </div><div>TaskStimONE.OffsetSignalEnabled = True<br>TaskStimONE.OffsetSignalPort = OutPort<br>TaskStimONE.OffsetSignalData = 0</div><div> </div><div> </div><div>I have tried numerous ways to get this to work but have failed. If anyone has any advice, please let me know. Your help would be GREATLY appreciated!</div><div> </div><div> </div><div>Thanks in advance, </div><div>Ashley</div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe@googlegroups.com.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/d53d8de5-2b05-4ee2-a466-9a15a471e6f8%40googlegroups.com">https://groups.google.com/d/msgid/e-prime/d53d8de5-2b05-4ee2-a466-9a15a471e6f8%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />
 <br />
 <br />