Serial in C#

To cut a long story short I thought I could interface Arduino and C# so I decided to write a little program hooking some third-party components. It's not finished yet, nevertheless I'm posting it to get some feedbacks.

It simply gets values from arduino and displays them, only numbers at the moment and the "send" to arduino feature is still under develpment.

Downlaod:

http://www.megaupload.com/?d=342XQOYJ
http://ifile.it/l5mzrj3

Here's the sketch I used for testing, values from an anolog pin (photoresistor)

#define SENSOR 0 
int val = 0; 

void setup() {
 Serial.begin(9600); 
}

void loop() {

  val = analogRead(SENSOR);
                          
  Serial.println(val, DEC); 
  
  delay(500); 
}

A special thanks goes to my friend Stove who bravely tested it in order to save as many PCs as possible ;D

subscribed.

I guess stove doesn't use Win8 x64...
:o

EDIT: Now back from future: No work under Win7 too. :slight_smile:

Win8

Huh?

Anyway, looks good. I will take a look once the send is sorted :slight_smile:

Mowcius

I guess stove doesn't use Win8 x64...

That's strange, I thought it would have worked on any CPUs. Do you have the .net framework 3.5 installed?

hmm, of course not... Haha.

I will do it, and post again after installing.

Most excellent!

Looks great, can you provide a link to where you got thoes .NET component's from. They look great!

These .Net components look cool. Can you point us to where u got them from?

They aren't open source, you can buy them on the National Instruments website.

Boo... at that price... this isn't even slightly geared towards hobbyists.

A new (final?) version of this tool. I'm sorry, it doesn't work on x64 systems.

http://www.megaupload.com/?d=J9SBS2PR
http://ifile.it/hvkbeoi

If you find some bugs or want to see some features, feel free to reply. I might be able to do something about it.

I've fixed some stuff and added some new measures, gauges and options

download:

http://ifile.it/rl2z6ye
http://www.megaupload.com/?d=ET75DOBH

Can the graph scale be changed?

sure, you can switch the "scale mode" to fixed, then zoom in or out, pan, etc...

cool. nice work. I'll give it a try.

New version.

download

http://ifile.it/n3fwkaj
http://www.megaupload.com/?d=7NVZ9NX5