Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Creating output to circuit using VB.NET

Posted on 2004-11-20
2
Medium Priority
?
248 Views
Last Modified: 2010-04-24
Hi,

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?

thanks,

Will
0
Comment
Question by:willbdman
1 Comment
 
LVL 6

Accepted Solution

by:
The_Biochemist earned 375 total points
ID: 12636665
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 ( http://www.codeworks.it/net/VBNetRs232.htm ) 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
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Loops Section Overview
Suggested Courses

564 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