Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 6
»
Ports kind of working but only after running Matlab, any ideas?
Ports kind of working but only after running Matlab, any ideas?
Post Reply
Like
4
Ports kind of working but only after running Matlab, any ideas?
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Andrew Papale
Andrew Papale
posted 2 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 66,
Visits: 233
Hi Inquisit Team,
We've gotten Inquisit to send parallel port commands to our EEG system using the following code. However, we discovered during troubleshooting that the port is only 'activated' correctly after running a Matlab script that outputs to the same parallel port. I'm thinking that Matlab has some configuration setting that we are not thinking of that is getting saved. Any help is appreciated. The trigger needs to be configured for a BIOsemi EEG setup with:
Data Rate: 115200
Data Bits: 8
Stop Bits: 1
Parity: none
Flow Control: off
https://www.biosemi.com/faq/USB%20Trigger%20interface%20cable.htm
Again, we got it to work with Inquisit, so it's not a problem with BioSemi or cables or anything like that, but only after running Matlab to do (presumably the exact same thing) first.
<defaults>
combaudrates = (COM4 = 115200)
</defaults>
<port sendtrialstart>
port = COM4
items = (10)
subport = data
</port>
<trial experiment>
/ stimulustimes = [ sendtrialstart, *other stimuli*]
</trial>
Also as a plug for Inquisit vs Psychtoolbox, the timing jitter for Inquisit was far superior on our setup, coming in at ~1-2ms of jitter compared to 20-40ms for PTB.
Best,
Andrew
Reply
Like
4
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Ports kind of working but only after running Matlab, any ideas?
AndrewPapale
-
2 Years Ago
What's the exact Inquisit build you are using? See Tools -> System...
Dave
-
2 Years Ago
Inquisit 6.6.1 64 bit build 6581 on Windows NT 10.0
AndrewPapale
-
2 Years Ago
Hmm, that's weird. I recall there being an issue with some FTDI...
Dave
-
2 Years Ago
Post Reply
Like
4
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search