Hi there,
I don't understand the port definitions and use of binary numbers for inquisit scripting . I am designing a fear conditioning experiment and require Powerlab to automate electrical stimuli for particular trials.
So in terms of putting this into my script, I am unsure of what the binary numbers indicate (under items). I have been given a demo script with these port definitions, however I don't quite understand what they mean. here are a few examples:
<port prestimulus_habit>
/ port = lpt1
/ subport = data
/ items = ("00011000")
/ erase = "00000000"
</port>
<port stimulus_onsetred>
/ port = lpt1
/ subport = data
/ items = ("00001000")
/ erase = "00000000"
</port>
<port stimulus_onsetblue>
/ port = lpt1
/ subport = data
/ items = ("00010000")
/ erase = "00000000"
Hope that makes sense.