how to send data from arduino to visual studio and save as in array

hi,
Im getting data in arduino serial monitor as below. Now i want read that data in visual studio and save as an array. Please anyone help me. It will be a big help.

X = 658 Y = 750 Pressure = 414
X = 647 Y = 748 Pressure = 416
X = 633 Y = 744 Pressure = 402
X = 613 Y = 730 Pressure = 413
X = 595 Y = 712 Pressure = 396
X = 590 Y = 694 Pressure = 397
X = 581 Y = 666 Pressure = 392
X = 582 Y = 643 Pressure = 388
X = 590 Y = 629 Pressure = 390
X = 602 Y = 598 Pressure = 400
X = 628 Y = 567 Pressure = 387
X = 650 Y = 538 Pressure = 381
X = 672 Y = 511 Pressure = 380
X = 692 Y = 483 Pressure = 404
X = 696 Y = 460 Pressure = 382
X = 705 Y = 444 Pressure = 385
X = 713 Y = 415 Pressure = 378
X = 706 Y = 382 Pressure = 379
X = 690 Y = 356 Pressure = 378

Now i want read that data in visual studio and save as an array.

Not possible. Visual Studio is a programming environment. Visual Studio does NOT have the ability to read from, or write to, the serial port.

What it CAN do is help you write applications that CAN read from and write to the serial port, in C, C++, C#, and/or VB.

So, tell us about the application YOU are developing. We really don't give a rat's ass what IDE you are using to develop the application.

hi PaulS

Thank you loads for replying. I am using arduino uno and TFT touch screen. my project is automated attendance system for class. for that i want to recognize student signature using pressure profile. I thought to develop it using visual studio. I can get those data to visual studio console. but dont know how to save as an array. Is this explanation clear. Sorry for my english. Please help me

Thank you

I can get those data to visual studio console

No, you can't. Visual Studio can NOT read from the serial port.

Once you get over the fact that you have to develop an application, using Visual Studio, in some language, and you are prepared to talk about your application, we can make some progress. Until then, you are wasting our time insisting that Visual Studio can do things that it can't.

Like below video I sent the arduino value to c# visual studio.

Ok then now i am going to send arduino values to matlab and save as an array

Please tell me about that how can we read eeprom data with c#. i have checked your video but it is not support therefor any solution for my question ?

1 Like