Click here to Skip to main content
15,909,199 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I want to control/Operate External Lighting using I/O Controller.
I don't know how to write programming about it. I want to be used by Radio Buttons under C# Window Forms.
Please help me to give advice.
Posted
Comments
Ron Beyer 15-Nov-13 10:58am    
What I/O controller?
Sergey Alexandrovich Kryukov 15-Nov-13 11:08am    
I don't think it is going to be as serious :-) I already answered, please see. Will gladly clarify if and when it comes to controllers...
—SA
Sergey Alexandrovich Kryukov 15-Nov-13 11:07am    
Any specific concern?
—SA
Member 10404120 18-Nov-13 10:25am    
Thanks ,Sergey Alexandrovich Kryukov

My controller(1018 Phidget Interfacekit) is produced by Phidgets.
www.phidget.com

Can u check for me? What should be learn?
I really dont know about programming, just learning and writing programming.

Thanks
Sergey Alexandrovich Kryukov 18-Nov-13 12:31pm    
This is something else, unrelated to hardware, related to Web hosting of this site. Look at this site yourself. You probably mixed up something, or the site is under construction...
—SA

1 solution

  • Learn factory documentation for the controller; this is the main part of it.
  • Find out .NET API for control. If it is not available, write it using native API, which may require you to know P/Invoke:
    http://en.wikipedia.org/wiki/P/Invoke[^],
    http://msdn.microsoft.com/library/en-us/vcmxspec/html/vcmg_PlatformInvocationServices.asp[^].

    Chances are, your hardware operates on well-known hardware interface (like serial port), then the hardware-level software is already available, and your API would be just on the application level.
  • If you got a .NET API, you may need to write a wrapper for it, encapsulating primary part of functionality you need, focusing on your application requirements.
  • Develop a simple application to be used to test the API/wrapper. Do the testing and bug fixing.
  • If your application is not purely interactive and should run some scenario (say, display text marquee), do it in a separate thread. If you have to, learn threading and thread synchronization. In most cases, you do need it, and will have to learn and use, sooner or later.
  • Develop, test and debug your application.
  • PROFIT!


—SA
 
Share this answer
 
v2
Comments
Ron Beyer 15-Nov-13 11:09am    
PROFIT +5! :)
Sergey Alexandrovich Kryukov 15-Nov-13 12:02pm    
:-)
Thank you, Ron.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900