Hi Anders, and hello to the Monobrick Community After the failure with the Monobrick remote connecting to the Ev3, I recently downloaded the Monobrick Test Project. I connected the EV3 via USB to the PC, but when I open the Test Application and debug it, I got the message, that the application cannot build a connection to the brick. The compiler says: An exception of the type “System.BadImageFormatException” appeared in TestApplication.exe. An exception of the type “MonoBrick.ConnectionException” appeared in TestApplication.exe. So, do you know what the problem could be. I’m using the EV3 (Education set), firmware 1.03E and the EV3 software is running on my PC.
And by the way, thank you very very much again for the whole Monobrick project and for your help. Greets, Konne. Hello, all, Without an EV3 at hand to test, my best guess, after digging it a bit, is that you need to make sure you are running a windows OS that is compatible the hidapi.dll in the download package, which was compiled with VS2008 and require the VS 2008 redist dlls that a newer system may not have. For example, I am running windows 8.1 64bit and I had trouble loading the dll.
For your system I recommend you go to hidapi download the source and compile it for yourself. I hope the author of Monobrick can comment on this topic. Hi The error that you are getting implies that you failed to load the hidapi.dll. The hidapi.dll in the MonoBrick download comes from my LEGO Software installation folder.
I have tested this on two different Windows machines running Windows 7 64-bit and 32-bit and it worked in both Visual Studio and MonoDevelop. Try to compile your own hidapi.dll or maybe copy the dll file that comes with your LEGO EV3 installation. Just to make things clear the MonoBrick Remote does not support the EV3 yet. Anders.
Fix EV3 Rover is a fun game where you get to program a robot vehicle using instructions loosely based on the Mindstorms® EV3 programming language. Completing each level of this game will help you learn basic coding techniques that are particularly useful for participating in.
This reply was modified 5 years ago. Hi, my EV3 is connected via usb, when I run TestApplication I just get “Failed to open connection” error. I’m using Visual Studio 2012 and Windows 8.1. I know it’s probably the hidapi related error, I already tried copying hidapi.dll and hidapi.dylib files from my LEGO MINDSTORMS EV3 Home Edition HidApi folder to TestApplication folder but it doesn’t fix the problem. I also tried compiling my own hidapi library according to instruction on but it doesn’t give the.dylib file and compiled hidapi.dll alone also doesn’t fix the problem.
What am I doing wrong? Could you give me step-by-step instruction how to do it? Or should I switch to different software (Win7/VS2008)?
Fix Ev3 Rover Mac Fix Ev3 Rover For Mac Download
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.
Fix Ev3 Rover Mac Fix Ev3 Rover For Mac
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.