Send TTLs via (Virtual) Serial Port? (case 26512)
Send TTLs via (Virtual) Serial Port? (case 26512)
Hello!
I am using Medialab to send TTL signals to Biopac Acqknowledge software. Since I don't have a computer with a parallel port, I purchased the Cedrus Stimtracker. This device emulates a serial port. Is it possible to send TTL signals from Medialab via a serial port, rather than a parallel port?
Any insights would be greatly appreciated!
Leanne
You can use the comport.txt feature to send ttl signals from MediaLab over a serial port. See the section named "Sending Streams of Serial Data" here in the MediaLab manual:
http://www.empirisoft.com/medialab/help/miscellaneous_features.htm#serialdata
Thanks for the advice!
When I was previously using a parallel port to send the signals to Acqknowledge, I would write something like this in the parameters field to send a signal of 20 for one second: ,(<20:888:1000>). What would be the equivalent for sending it through the parallel port? (<{20:888:1000}>)?
And, am I correct in understanding that my comport.txt file needs only the following information:
comPort, baudRate, parity, dataBit, stopBit
1,19200,n,8,1
input code (1-255), response value (1-12)
0,0
Thanks again,
Leanne
Leanne,
When using the comport.txt file, the only thing you need between the braces-{}- and angular brackets-<> is the value you want to send. In you example, that should be the value 20, which should look like this:
<{20}>
Other than that, give everything else you have a try to see if the ttl signal sends.