Class Library for WinForms App
#1
Posted 14 September 2011 - 10:53 AM
#2
Posted 14 September 2011 - 11:05 AM
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#3
Posted 14 September 2011 - 11:41 AM
Hi F4r14 and welcome to the Netduino boards!
If I read this correctly you want a windows app controlling the Netduino-pins? That will be difficult; the Netduino runs code on it's own board without computer. So you deploy an application to the Netduino and will be executed there, not on the PC.
You could create a link, with a serial port for example, but then you need to code both a windows app and a netduino app.
Thank you for your quick reply. Yes, that was what i inteded. For some reason i got the idea i could access the pins state through USB using the code shown in the examples.
If i was using Netduino plus would i be able to send the data through TCP/IP? The methods used to program TCP/IP communication in Netduino are the System.Net.Sockets?
Regards.
#4
Posted 14 September 2011 - 12:37 PM
Yes you could open a socket over TCP/IP and send data in both ways.If i was using Netduino plus would i be able to send the data through TCP/IP? The methods used to program TCP/IP communication in Netduino are the System.Net.Sockets?
With a normal Netduino you could use a serial connection (can also be USB!) but it won't be using the Netduino API on the Windows PC; you should write your own transfer protocol and communicate from the PC to the app inside the netduino.
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#5
Posted 14 September 2011 - 03:10 PM
Yes you could open a socket over TCP/IP and send data in both ways.
With a normal Netduino you could use a serial connection (can also be USB!) but it won't be using the Netduino API on the Windows PC; you should write your own transfer protocol and communicate from the PC to the app inside the netduino.
Just found an example using a "FTDI Basic breakout 3.3V". If i got it right it uses a Serial Port Emulator (PC) to receive the data sent from Netduino. It's a regular USB cable, right? So I would need a Netduino, the FTDI BB 3.3, USB cable, VCP driver and some lines of code for Netduino and PC app. Am I missing something?
[http://forums.netdui...t-code-review/]
Regards.
#6
Posted 14 September 2011 - 03:16 PM
You are quite correct. The break-out offers a serial-to-mini-USB connector:Just found an example using a "FTDI Basic breakout 3.3V". If i got it right it uses a Serial Port Emulator (PC) to receive the data sent from Netduino. It's a regular USB cable, right? So I would need a Netduino, the FTDI BB 3.3, USB cable, VCP driver and some lines of code for Netduino and PC app. Am I missing something?
[http://forums.netdui...t-code-review/]
Regards.
http://wiki.netduino...-to-Serial.ashx
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users