Home→Forums→MonoBrick Communication Library→x64 Support?
- This topic has 8 replies, 2 voices, and was last updated 10 years, 6 months ago by Anders Søborg.
-
AuthorPosts
-
April 28, 2014 at 17:08 #4189
Chris M. MuenchParticipantIs there a 64 Bit Version of the monobrick library available? If not, is there a version that only uses BT (Virtual Com Port) and Wifi – no USB (as it looks like all the monobrick USB dependencies are 32Bit only).
Thanks
ChrisApril 28, 2014 at 18:34 #4190
Anders SøborgKeymasterHi
Just download the test project and build your own version – source code will be available from GIT at some point. But are you getting any error using the dll?
Anders
April 28, 2014 at 19:59 #4192
Chris M. MuenchParticipantYes, I do get a “System.BadImageFormatException” when I try to create a new instance of the “Brick”.
Even if I use “Wifi” as the Connection.if I compile and run my code using x86 it works just fine.
Also, is there a way to get sensor “change events” instead of polling the sensor data?
Thanks
ChrisApril 29, 2014 at 20:20 #4195
Anders SøborgKeymasterOk use the test project. It includes the source – then you should be able to build the way you want it. Why is it important that it is x64?
Also, is there a way to get sensor “change events” instead of polling the sensor data?
No the EV3 can not “send” an event when a sensor value changes – so polling is the only way.
Anders
May 9, 2014 at 04:53 #4274
Chris M. MuenchParticipantI am working on a Rapid Application Development Platform for the Internet of Things (check out http://www.c-labs.com/c-dengine). It runs on all platforms that run .NET including Mono, Xamarin and the Azure Cloud.
The Engine can manage many things and creates a lot of data. It is build to run on “Any CPU” and runs on 64Bit windows automatically at 64bit. The C-DEngine provides access to “Things” via plugins – so I wrote a MonoBrick Lego Plugin. When the plugin instantiates, it will run as the host in x64 bit mode – and fails.
If you run it on a 32Bit PC (which is VERY rare these days), it runs just fine.
What test project are you referring to? Where can I find it?
Thanks for your great supportCheers
Chris
C-LabsMay 9, 2014 at 04:59 #4275
Chris M. MuenchParticipantdoh! found the test project:)
May 9, 2014 at 18:41 #4277
Anders SøborgKeymasterOk Great
May 9, 2014 at 18:52 #4278
Chris M. MuenchParticipantAnd I got it to work on my PC just fine! THanks,
You should recompile your dll with “Any CPU” in the settings by replacing the “x86” (and prefer 32bit) with “Any CPU”. That will make your dll work in 64 bit apps as well.
I created a plugin for the C-DEngine and will post this (with a reference to your site) in my forums as soon as my public beta will be available (target date May 28th). Is this ok with you?
In my test scenario I can control my EV3 with an arduino based Joystick and change my office HUE lights to a color that the Color sensor of the EV3 sees.
Cheers,
ChrisMay 10, 2014 at 17:48 #4285
Anders SøborgKeymasterHey
I created a plugin for the C-DEngine and will post this (with a reference to your site) in my forums as soon as my public beta will be available (target date May 28th). Is this ok with you?
Sounds great. Please post a link when it is ready.
You should recompile your dll with “Any CPU” in the settings by replacing the “x86″ (and prefer 32bit) with “Any CPU”. That will make your dll work in 64 bit apps as well.
Sure but right now I am busy with the next release of the MonoBrick firmware…
Anders
-
AuthorPosts
You must be logged in to reply to this topic.
Follow