FlyBoy Posted October 29, 2004 Posted October 29, 2004 hi all! is there anyway to connect, i mean to work with external instuments using c#?? (like if i want to build something that will turn on a light that is connected to a USB port....or to connected to the COM1\2\ or Parrallel???) 10x in advance. p.s: i dont want to know,i just want to know if its possible. Quote
Joe Mamma Posted October 29, 2004 Posted October 29, 2004 hi all! is there anyway to connect, i mean to work with external instuments using c#?? (like if i want to build something that will turn on a light that is connected to a USB port....or to connected to the COM1\2\ or Parrallel???) 10x in advance. p.s: i dont want to know,i just want to know if its possible.To answer your question, Yes, everything is poassible. My guess is that you need to p/invoke the API, I dont think there are native C# calls for low level I/O. Quote Joe Mamma Amendment 4: The right of the people to be secure in their persons, houses, papers, and effects, against unreasonable searches and seizures, shall not be violated, and no warrants shall issue, but upon probable cause, supported by oath or affirmation, and particularly describing the place to be searched, and the persons or things to be seized. Amendment 9: The enumeration in the Constitution, of certain rights, shall not be construed to deny or disparage others retained by the people.
jdegama Posted July 7, 2005 Posted July 7, 2005 com ports I am using com ports in my C# windows applications, It is not the most elegant solution, but I use the mscomm control that comes with Visual Basic to send and receive data to instruments and PLC's using com 1 or com 2. jerry hi all! is there anyway to connect, i mean to work with external instuments using c#?? (like if i want to build something that will turn on a light that is connected to a USB port....or to connected to the COM1\2\ or Parrallel???) 10x in advance. p.s: i dont want to know,i just want to know if its possible. Quote
FZelle Posted July 7, 2005 Posted July 7, 2005 In the VB-ResourceKit was a COM-Control ( SAX ) ( for free ). And the guys of #sharpdev have developed a usb-Lib. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.