I am starting with C# language (rather hard, to be honest). I am using Visual Express C# download 2008.
My basic intention is to get a decent interface to a peripheral device I designed, through USB.
My request: I am looking for a (free) control able to deal with USB like MSComm did with serial ports in VB.
My questions:
a) Any concrete link that I could follow? I goolged for too long time already. No sucess.
b) Finding info on this seems rather difficult. Why is that?
c) What is the actual name of that control?
d) Is it any list with the available controls for C#?
Gracias.
MRK MRKPosted Jan 31, 2009, 10:11 AM
if you visit tis link, you can see a project that is made by 18f2550 and c# control program.
i tried it. it is ok and it is run...
http://translate.google.com/translate?hl=en&sl=es&tl=en&u=http://www.hobbypic.com/index.php%3Foption%3Dcom_content%26task%3Dcategory%26sectionid%3D3%26id%3D25%26Itemid%3D27
Agustin FerrariPosted Jul 10, 2008, 6:14 AM
I am asking this from my ignorance: is it possible that what I am looking for (see my initial post) is solved by using an API from Windows? (Have no idea how to use them yet, anyway).
Or, is that an "old" solution to the problem?
Can anyone give a tip on this?
Gracias.
Agustin FerrariPosted Jul 9, 2008, 12:04 PM
Thanks for replying. What I understand is that I need something dedicated to USB not the legacy COM ports. For me those are gone.
I decided to go the USB way so I need something dealing directly with it.
Could you help on that?
Scott LyslePosted Jul 9, 2008, 10:15 AM
You can use the serial port control included in the toolkit (System.IO.Ports). You can look at this article to see an example of using the control to talk to a GPS device:
http://www.c-sharpcorner.com/UploadFile/scottlysle/ReadGPS09052007011539AM/ReadGPS.aspx?ArticleID=c252cd2b-9a78-4c3b-84dc-af396665b98d