Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Building a Graphic User Interface with Visual Studio and Visual Micro (Read 4682 times)
GeneL
Newbies
*
Offline


Posts: 2
Location: East Coast USA
Joined: Sep 5th, 2015
Building a Graphic User Interface with Visual Studio and Visual Micro
Dec 7th, 2016 at 8:56pm
Print Post  
Hello I need some real basic information regarding MS Visual Studio 2013 with Visual Micro.  I have installed it, now I am trying to build a GUI for an Arduino UNO ProMini.  But I cannot find any sort of tutorial (step by step guide).  I don't see how to build the gui, much less input the code associated with the "dongels" text boxes, buttons, LEDs etc.
Can anyone please send links or advice on how to build a User Interface for an Arduino project.  Is it not a GUI builder?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Building a Graphic User Interface with Visual Studio and Visual Micro
Reply #1 - Dec 7th, 2016 at 9:18pm
Print Post  
Hi,

You have a few options all need a little study.

The basic principal is to create a new C# windows forms, wpf or cross platform project that allows you to design using controls such as buttons, textboxes, charts etc. The c# application will need to use the System.IO.Serial  and SerialPort namespaces so that you can read and write data to a COM/Serial port. The arduino will also have the usual arduino c++ code uploaded that uses the Serial object to wait for or send commands /data to the C# application.

If you don't want to write any Arduino code then try the Arduino Firmata library which allows you to control or query the arduino using serial commands.  If you use Firmata then you will find plenty of app examples on the web.

Hope this helps.
  
Back to top
IP Logged
 
GeneL
Newbies
*
Offline


Posts: 2
Location: East Coast USA
Joined: Sep 5th, 2015
Re: Building a Graphic User Interface with Visual Studio and Visual Micro
Reply #2 - Dec 8th, 2016 at 6:10pm
Print Post  
Thanks Tom.
I'm still working on this.  Perhaps I've bitten off more than I can chew here. I use the Arduino IDE to generate code but the Visual studio IDE is SOOOOOO much more!  Then I jumped into the deep end trying to generate a GUI using Visual Micro with Visual Studio.
I think your saying to generate the GUI then link it to Arduino via Serial but I need to learn how that link is established. So thanks for the point in the right direction!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Building a Graphic User Interface with Visual Studio and Visual Micro
Reply #3 - Dec 8th, 2016 at 6:19pm
Print Post  
That's right Arduino ide and visual.micro perform similar tasks. However visual studio also allows you to create other types of apps. Then use serial to communicate unless you have a WiFi board then can use tcp.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint