Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

Posted
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.

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.

  • 8 months later...
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...