# \#io

**URL:** https://psychtoolbox.discourse.group/tag/io/14.md

[Latest](https://psychtoolbox.discourse.group/latest.md) · [Categories](https://psychtoolbox.discourse.group/categories.md) · [Tags](https://psychtoolbox.discourse.group/tags.md)

---

## [Serial port interface code -- a performance comparison](https://psychtoolbox.discourse.group/t/serial-port-interface-code-a-performance-comparison/3781)

<div class="topic-metadata">

**Author:** [@Ian-Max-Andolina](https://psychtoolbox.discourse.group/u/Ian-Max-Andolina)\
**Replies:** 20\
**Last updated:** [July 1, 2025, 6:59pm UTC](https://psychtoolbox.discourse.group/t/serial-port-interface-code-a-performance-comparison/3781 "2025-07-01T18:59:43Z")

</div>

MATLAB has a fairly new (R2019B+) serial port interface, Serialport. Some of my arduino control code had previously used the serial command that MATLAB has now deprecated. So I was curious to compare the old and new inte…

---

## [Sending triggers through parallel port to EEG amplifier](https://psychtoolbox.discourse.group/t/sending-triggers-through-parallel-port-to-eeg-amplifier/4909)

<div class="topic-metadata">

**Author:** [@Maria\_Coelho](https://psychtoolbox.discourse.group/u/Maria_Coelho)\
**Replies:** 7\
**Last updated:** [June 20, 2025, 12:06am UTC](https://psychtoolbox.discourse.group/t/sending-triggers-through-parallel-port-to-eeg-amplifier/4909 "2025-06-20T00:06:12Z")

</div>

Hi! I am running my experiment in PTB, while EEG is recording in brain vision recorder. I am having some difficulties in sending triggers through a parallel port. In previous topics I found this possible code: ioObj =…

---

## [Waiting forever for data transmission with Cedrus RB](https://psychtoolbox.discourse.group/t/waiting-forever-for-data-transmission-with-cedrus-rb/5319)

<div class="topic-metadata">

**Author:** [@Cemre](https://psychtoolbox.discourse.group/u/Cemre)\
**Replies:** 5\
**Last updated:** [April 5, 2024, 7:51am UTC](https://psychtoolbox.discourse.group/t/waiting-forever-for-data-transmission-with-cedrus-rb/5319 "2024-04-05T07:51:06Z")

</div>

Hi there! I am trying to setup a new experiment in which I will use a Cedrus response box. My code is stuck, I don’t get any response. I have waited for 1,5 hour at most but PTB doesn’t do anything. After adjusting all…

---

## [Configuration of MRI button box to record subject response](https://psychtoolbox.discourse.group/t/configuration-of-mri-button-box-to-record-subject-response/5273)

<div class="topic-metadata">

**Author:** [@Henrike96](https://psychtoolbox.discourse.group/u/Henrike96)\
**Replies:** 3\
**Last updated:** [February 29, 2024, 12:24pm UTC](https://psychtoolbox.discourse.group/t/configuration-of-mri-button-box-to-record-subject-response/5273 "2024-02-29T12:24:56Z")

</div>

Dear community, I am trying to record subject responses with a MR compatible Current Designs button box. The software I am using is PTB 3.0.18, MATLAB 2016b, and Windows 10. I am using the KbCheck() function and have t…

---

## [Usb2ttl8 triggers with IOPort](https://psychtoolbox.discourse.group/t/usb2ttl8-triggers-with-ioport/5136)

<div class="topic-metadata">

**Author:** [@gopie](https://psychtoolbox.discourse.group/u/gopie)\
**Replies:** 2\
**Last updated:** [October 20, 2023, 2:35am UTC](https://psychtoolbox.discourse.group/t/usb2ttl8-triggers-with-ioport/5136 "2023-10-20T02:35:49Z")

</div>

Hi All, Im using a USB2TTL8 device (LabHackers Research Equipment : USB2TTL8 Adapter) to send TTL triggers to our EEG amp. This works fine when using matlabs serial and serialport functions, but IOPort wont generate a t…

---

## [Sampling frequency of analogue input](https://psychtoolbox.discourse.group/t/sampling-frequency-of-analogue-input/4780)

<div class="topic-metadata">

**Author:** [@Daq](https://psychtoolbox.discourse.group/u/Daq)\
**Replies:** 13\
**Last updated:** [May 29, 2023, 2:16am UTC](https://psychtoolbox.discourse.group/t/sampling-frequency-of-analogue-input/4780 "2023-05-29T02:16:40Z")

</div>

License key: 2ZAAPNME-2022128104537:0f59a7e0837da42ff3195a04b23c18988b796d8138f8cd4b6c6f36cc08710913 Dear Psychtoolbox Experts, I am using PTB3 in my behavioral experiment with monkey. The eye position of the animal …

---

## [How to install/use the io64 function](https://psychtoolbox.discourse.group/t/how-to-install-use-the-io64-function/4992)

<div class="topic-metadata">

**Author:** [@DonutMan](https://psychtoolbox.discourse.group/u/DonutMan)\
**Replies:** 8\
**Last updated:** [May 20, 2023, 6:51am UTC](https://psychtoolbox.discourse.group/t/how-to-install-use-the-io64-function/4992 "2023-05-20T06:51:17Z")

</div>

Hello, i’m quite new in Matlab/PTB. I need to send some triggers to the parallel port for EEG data. Most people in my lab use io64 function like this : ioObj = io64; status = io64(ioObj); address = hex2dec(‘E010’); io…

---

## [Arduino + PTB Wiki Information](https://psychtoolbox.discourse.group/t/arduino-ptb-wiki-information/3234)

<div class="topic-metadata">

**Author:** [@Ian-Max-Andolina](https://psychtoolbox.discourse.group/u/Ian-Max-Andolina)\
**Replies:** 3\
**Last updated:** [January 28, 2023, 12:59am UTC](https://psychtoolbox.discourse.group/t/arduino-ptb-wiki-information/3234 "2023-01-28T00:59:40Z")

</div>

Hi, I just made a new wiki page for the Arduino: I included info on how I use it, using the legacy Mathworks code interface that still works well. But I’m aware many others use the Arduino with PTB and perhaps some mo…

---

## [Synchronization failure only when external USB device connected](https://psychtoolbox.discourse.group/t/synchronization-failure-only-when-external-usb-device-connected/4260)

<div class="topic-metadata">

**Author:** [@aladdin](https://psychtoolbox.discourse.group/u/aladdin)\
**Replies:** 25\
**Last updated:** [December 9, 2022, 12:03pm UTC](https://psychtoolbox.discourse.group/t/synchronization-failure-only-when-external-usb-device-connected/4260 "2022-12-09T12:03:02Z")

</div>

Hello, I am using PTB on Windows 10, Matlab R2020b, GPU Radeon ™ Pro WX 5100. Synchronization error shows up only when I plug in my EEG device via USB. No error shows up otherwise. Weird thing is that some months back…

---

## [BioSemi USB Trigger Interface with PsychToolBox on Linux](https://psychtoolbox.discourse.group/t/biosemi-usb-trigger-interface-with-psychtoolbox-on-linux/4292)

<div class="topic-metadata">

**Author:** [@hantaow](https://psychtoolbox.discourse.group/u/hantaow)\
**Replies:** 10\
**Last updated:** [March 13, 2022, 6:45pm UTC](https://psychtoolbox.discourse.group/t/biosemi-usb-trigger-interface-with-psychtoolbox-on-linux/4292 "2022-03-13T18:45:44Z")

</div>

Hello everyone, Has anyone used the BioSemi USB trigger interface (BioSemi EEG ECG EMG BSPM NEURO amplifiers systems) to send triggers from PsychToolBox running on a Linux computer to a BioSemi amplifier? Our lab is cur…

---

## [USB-1208FS-Plus and DaqTest](https://psychtoolbox.discourse.group/t/usb-1208fs-plus-and-daqtest/4033)

<div class="topic-metadata">

**Author:** [@tak8210](https://psychtoolbox.discourse.group/u/tak8210)\
**Replies:** 4\
**Last updated:** [October 29, 2021, 5:53pm UTC](https://psychtoolbox.discourse.group/t/usb-1208fs-plus-and-daqtest/4033 "2021-10-29T17:53:40Z")

</div>

Hi! I recently bought a USB-1208FS-Plus to send a TTL signal from my MacBook Pro (macOS Mojave) to a TMS Magstim device. I plug it in and run DaqTest (via Matlab 2020b), but it keeps saying that - “Sorry. Couldn’t find …

---

## [TTL triggers in Linux](https://psychtoolbox.discourse.group/t/ttl-triggers-in-linux/1744)

<div class="topic-metadata">

**Author:** [@andrecravo2002](https://psychtoolbox.discourse.group/u/andrecravo2002)\
**Replies:** 15\
**Last updated:** [August 31, 2021, 8:17pm UTC](https://psychtoolbox.discourse.group/t/ttl-triggers-in-linux/1744 "2021-08-31T20:17:58Z")

</div>

Hello, I was wondering if there is an easy way to send TTL triggers via parallel port in Linux (I'm currently using Ubuntu 10.10). I have seen the LabJack options, but if I understood correctly you have to use a USB D…

---

## [Wireless keypad latency](https://psychtoolbox.discourse.group/t/wireless-keypad-latency/3803)

<div class="topic-metadata">

**Author:** [@sfo](https://psychtoolbox.discourse.group/u/sfo)\
**Replies:** 2\
**Last updated:** [April 12, 2021, 7:16pm UTC](https://psychtoolbox.discourse.group/t/wireless-keypad-latency/3803 "2021-04-12T19:16:49Z")

</div>

Windows 10, but also have Kubuntu on same machine. Does anyone know if wireless 10-key pads have tolerably equivalent response latency compared to wired? With KbCheck unless there’s a better way. We are willing to toler…

---

## [Can USB-1208FS-Plus be a substitute for USB-1208FS?](https://psychtoolbox.discourse.group/t/can-usb-1208fs-plus-be-a-substitute-for-usb-1208fs/3230)

<div class="topic-metadata">

**Author:** [@ucosabeen](https://psychtoolbox.discourse.group/u/ucosabeen)\
**Replies:** 6\
**Last updated:** [May 25, 2020, 12:37pm UTC](https://psychtoolbox.discourse.group/t/can-usb-1208fs-plus-be-a-substitute-for-usb-1208fs/3230 "2020-05-25T12:37:41Z")

</div>

Hello, USB-1208FS is one of the DAQ devices compatible with PTB3, but there is also a device with a similar name, USB-1208FS-Plus. If I try to control an external input device and a LED light emitter, is it okey to use…

---

## [PsychPhotodiode() Recommended Card?](https://psychtoolbox.discourse.group/t/psychphotodiode-recommended-card/2849)

<div class="topic-metadata">

**Author:** [@Ian-Max-Andolina](https://psychtoolbox.discourse.group/u/Ian-Max-Andolina)\
**Replies:** 4\
**Last updated:** [January 18, 2020, 2:17am UTC](https://psychtoolbox.discourse.group/t/psychphotodiode-recommended-card/2849 "2020-01-18T02:17:09Z")

</div>

Hi Mario, In your new simple method for measuring timing fidelity: What are your recommendations for type of photodiode and USB soundcard?
