Reply To: Fail to connect Ev3 via USB

HomeForumsMonoBrick Communication LibraryFail to connect Ev3 via USBReply To: Fail to connect Ev3 via USB

#4404
Author Image
Itay Asayag
Participant

Hello fellows,
I changed the target platform to 32 bit as well, and still getting this exception.
Although I have to mention that I am developing on VB.NET 2013.
I’ve tried to write a simple vehicle program and compiled it.
It worked perfectly.
Now I am trying to remote control my EV3 with a program I wrote on VB.Net, and I am getting this exception:

An unhandled exception of type 'MonoBrick.ConnectionException' occurred in MonoBrick.dll

Additional information: Failed to open connection

The relevant code is in here:

        Dim brick As New Brick(Of Sensor, Sensor, Sensor, Sensor)("usb")
        Dim userInput As String
        brick.Connection.Open()
Posted in

Make a donation