Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 4
»
Getting inquisit to communicate to Power Lab
Getting inquisit to communicate to Power Lab
Post Reply
Like
131
Getting inquisit to communicate to Power Lab
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
dk57
dk57
posted 10 Years Ago
ANSWER
Topic Details
Share Topic
Group: Awaiting Activation
Posts: 2,
Visits: 2
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"
</port>
Hope that makes sense.
Any help appreciated :)
Dk57
Tags
port
Reply
Like
131
seandr
seandr
posted 10 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 1.3K,
Visits: 5.6K
Hi there,
The binary strings are numbers written in base 2 rather than the standard base 10. For port signals, each bit maps to a pin, so with binary you can tell which pin is set high.
However, you can also present stimuli as standard 10-base digits. For example:
<port prestimulus_habit>
/ port = lpt1
/ subport = data
/ items = (20)
/ erase = "00000000"
</port>
Perhaps that helps?
-Sean
Reply
Like
132
Dave
Dave
posted 10 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
Also see the "How to Present TTL Signals Through the Parallel Port" and "How to Use the Parallel Port Monitor Tool" topics in the Inquisit documentation (How To-section), as well as the language reference for the <port> element.
Reply
Like
128
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
131
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search