Hi Dave,
I am attaching the program which i use for an electrophysiological AV experiment. Now the triggers are coming well, my system hangs or the end frame of my video stays long and i am not able to interrupt the experiment in between. And everytime i have to restart my system for next presentation of experiment. can you please help me to get rid of this problem.
<port oddballsignal>
/ port = LPT1
/ subport = data
/ items = ("00000001")
</port>
<port bitstolow>
/ port = LPT1
/ subport = data
/ items = ("00000000")
</port>
<video oddball>
/ items = ("da- da (1000- 350).wmv")
/size = (100%, 100%)
/ volume =100
</video>
<trial oddball>
/ skip = [ if (values.lasttrial == trial.oddball.name) values.skipcount = values.skipcount + 1 else false ]
/ stimulustimes = [350= oddball, oddballsignal; 370=bitstolow; 1350= oddball, oddballsignal; 1370=bitstolow; 2350=oddball, oddballsignal; 2370=bitstolow; 3350=oddball, oddballsignal; 3570=bitstolow; 4350=oddball, oddballsignal; 4370=bitstolow; 5350= oddball, oddballsignal; 5370=bitstolow; 6350= oddball, oddballsignal; 6370=bitstolow; 7350=oddball, oddballsignal; 7370=bitstolow; 8350=oddball, oddballsignal; 8370=bitstolow; 9350=oddball, oddballsignal; 9370=bitstolow; 10350= oddballsignal; 10370= bitstolow; 11350= oddball, oddballsignal; 11370=bitstolow; 12350=oddball, oddballsignal; 12370=bitstolow; 13350=oddball, oddballsignal; 13370=bitstolow; 14350=oddball, oddballsignal; 14370=bitstolow; 15350= oddball, oddballsignal; 15370=bitstolow; 16350= oddball, oddballsignal; 16370=bitstolow; 17350=oddball, oddballsignal; 17370=bitstolow; 18350=oddball, oddballsignal; 18370=bitstolow; 19350=oddball, oddballsignal; 19370=bitstolow; 20350= oddball, oddballsignal; 20370=bitstolow; 21350= oddball, oddballsignal; 21370=bitstolow; 22350=oddball, oddballsignal; 22370=bitstolow; 23350=oddball, oddballsignal; 23370=bitstolow; 24350=oddball, oddballsignal; 24370=bitstolow; 25350= oddball, oddballsignal; 25370=bitstolow; 26350= oddball, oddballsignal; 26370=bitstolow; 27350=oddball, oddballsignal; 27370=bitstolow; 28350=oddball, oddballsignal; 28370=bitstolow; 29350=oddball, oddballsignal; 29370=bitstolow; 30350= oddballsignal; 30370= bitstolow; 31350= oddball, oddballsignal; 31370=bitstolow; 32350=oddball, oddballsignal; 32370=bitstolow; 34350=oddball, oddballsignal; 34370=bitstolow; 35350=oddball, oddballsignal; 35370=bitstolow;36350= oddball, oddballsignal; 36370=bitstolow; 37350= oddball, oddballsignal; 37370=bitstolow; 38350=oddball, oddballsignal; 38370=bitstolow; 39350=oddball, oddballsignal; 39370=bitstolow; 40350=oddball, oddballsignal; 40370=bitstolow; 41350= oddball, oddballsignal; 41370=bitstolow; 42350= oddball, oddballsignal; 42370=bitstolow; 43350=oddball, oddballsignal; 43370=bitstolow; 44350=oddball, oddballsignal; 44370=bitstolow; 45350=oddball, oddballsignal; 45370=bitstolow; 46350= oddball, oddballsignal; 46370=bitstolow; 47350= oddball, oddballsignal; 473370=bitstolow; 48350=oddball, oddballsignal; 48370=bitstolow; 49350=oddball, oddballsignal; 49370=bitstolow; 50350=oddball, oddballsignal; 50370=bitstolow; 51350= oddballsignal; 51370= bitstolow; 52350= oddball, oddballsignal; 52370=bitstolow; 53350=oddball, oddballsignal; 53370=bitstolow; 54350=oddball, oddballsignal; 54370=bitstolow; 55350=oddball, oddballsignal; 55370=bitstolow; 56350= oddball, oddballsignal; 56370=bitstolow; 57350= oddball, oddballsignal; 57370=bitstolow; 58350=oddball, oddballsignal; 58370=bitstolow; 593350=oddball, oddballsignal; 59370=bitstolow; 60350=oddball, oddballsignal; 60370=bitstolow; 61350= oddball, oddballsignal; 61370=bitstolow; 62350= oddball, oddballsignal; 62370=bitstolow; 63350=oddball, oddballsignal; 63370=bitstolow; 64350=oddball, oddballsignal; 64370=bitstolow; 65350=oddball, oddballsignal; 65370=bitstolow; 66350= oddball, oddballsignal; 66370=bitstolow; 67350= oddball, oddballsignal; 67370=bitstolow; 68350=oddball, oddballsignal; 68370=bitstolow; 69350=oddball, oddballsignal; 69370=bitstolow; 70350=oddball, oddballsignal; 70370=bitstolow; 71350= oddballsignal; 71370= bitstolow;72350= oddball, oddballsignal; 72370=bitstolow; 73350=oddball, oddballsignal; 73370=bitstolow; 74350=oddball, oddballsignal; 74370=bitstolow; 75350=oddball, oddballsignal; 75370=bitstolow; 76350= oddball, oddballsignal; 75370=bitstolow; 76350= oddball, oddballsignal; 77370=bitstolow; 78350=oddball, oddballsignal; 78370=bitstolow; 79350=oddball, oddballsignal; 79370=bitstolow; 80350=oddball, oddballsignal; 80370=bitstolow]
/ validresponse = (" ")
/ correctresponse = (" ")
/ trialduration = 500
</trial>
<block oddball>
/ trials = [1 = replace(oddball)]
/ stop = [block.oddball.trialcount > 1]
</block>
<expt oddball>
/ blocks = [1=oddball]
</expt>
*************************************************************************************************
************* GLOBAL SETTINGS AND VARIABLES ******************************************
*************************************************************************************************
<values>
/ lasttrial = ""
/ skipcount = 0
</values>