Skip to content

Open failed: BaudRate could not be set to the specified value #26

@hieukien212

Description

@hieukien212

Hello,

I was trying to set up external control of the a MagVenture machine using Psychtoolbox. I was following the instruction as documented here:
https://mahdialavi.com/index.php/tutorial-external-control-of-tms-device-by-using-magic-toolbox/

Here are my codes:
myMV = magventure('/dev/ttyUSB0');
myMV.connect();

At the second line, I got the following error:
Error using serial/fopen (line 72)
Open failed: BaudRate could not be set to the specified value

Error in magventure/connect (line 60)
fopen(self.port);

After some search I figured the problem is in serial communication but I'm not sure how to tackle it. Please let me know if anyone has a clue! Thanks!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions