Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Windows Form help


  • Please log in to reply
5 replies to this topic

#1 zemuss

zemuss

    Advanced Member

  • Members
  • PipPipPip
  • 69 posts

Posted 07 May 2013 - 01:31 AM

I am trying to add a reference to my form and wondering what I am doing wrong?

 

Error: Warning 1 The project 'ANC.NetDuino.Go.GUI' cannot be referenced. The referenced project is targeted to a different framework family (.NETFramework) ANC.NetDuino.Go.Controller

 

I understand the error, however, does this mean that I can't interface with the GUI application. I am using the GUI as a Dash board.



#2 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

Posted 07 May 2013 - 09:52 AM

Hi!

 

You cannot reference assemblies compiled for .NET Microframework (.NETMF) from a project written for Windows Forms and vice versa.

 

Netduino and .NETMF in general does not support Windows Forms. The purpose of the USB connection between your Netduino and your PC is primarily to allow programming and debugging from your PC running Visual Studio.

 

This does not mean the Netduino can't can't interface with a GUI application running on your PC but you have to establish some kind of communication link between the two parties. Usually, this is done via either Ethernet or a serial link.

 

Also, you can write a GUI to run on your Netduino, but you'll need a display (LCDs are commonly used) and probably a library for it. There are quite a few options for this, have a look at this post:

 

http://forums.netdui...cd-suggestions/


  • zemuss likes this

#3 zemuss

zemuss

    Advanced Member

  • Members
  • PipPipPip
  • 69 posts

Posted 07 May 2013 - 04:24 PM

Thanks Han. 

 

I understand the issue and was looking for advice on the work around. I figured it out today. Thanks for your insight as well.

 

I also went your site which helped too. 



#4 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

Posted 07 May 2013 - 04:34 PM

Great, what was the solution you found? Sorry if I sounded like your 3rd grade teacher before, it's just hard to try and determine how much people already know.
  • zemuss likes this

#5 zemuss

zemuss

    Advanced Member

  • Members
  • PipPipPip
  • 69 posts

Posted 07 May 2013 - 05:35 PM

I believe that people are using the serial port functionality. 

 

Also this http://forums.netdui...tion-using-usb/

 

The only thing is you lose the USB debugging functionality when using the USB port. 

 

So when the ethernet port is finished I might just purchase that and communicate through it. 

 

Han do not worry about sounding like a 3rd grade teacher besides you didn't to me. 

 

Hey do you know if there is a good tutorial on creating a GUI for a LCD device?



#6 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

Posted 07 May 2013 - 06:30 PM

Yes, I've seen that post and find it very appealing.

If you are familiar with GDI+ in Windows, I'd recommend Mario's library, assuming it works for graphical displays too which I think it does:
http://tinyclr.it/th...lcd-module.aspx




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.