Creating output to circuit using VB.NET

Posted on 2004-11-20
Last Modified: 2010-04-24

I am developing a system that is designed to trigger off switches on an independant circuit, dpending upon the values received from it.

For example, if i want switch 1 to be powered on i send a signal that would say power pin1 on a parallel connection?

Is there anyway of sending signals to several switches that are on/off using an output from a PC, e.g. USB, parallel port etc. Using visual basic programming?


Question by:willbdman
    1 Comment
    LVL 6

    Accepted Solution

    You have no direct access to the workings of teh hardware in quite that way but can exploit some of their standard functionality

    You can use the CRs232 ( ) class which controls comm ports primarily to alter the DTR and RTS lines of the comm port to on or off which is essentially what you are asking for... unfortunately that limits you to 2 switches unless you use some and or logic gates.

    hope this helps just ask for more info or ideas

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
    Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now