slim
12-19-2001, 07:17 PM
Here is my problem. I have had only one year of VB 6.0 programming. For a final project I decided to work with some electronic fellows. Here is the plan:
We wanted to develop a home security system using VB and some electronic sensors. The sensors would be connected to the computer through a RS232 connection. They would be hooked up in series, and if one of the sensors were to be broken, the VB program would recognize this and spew out a .wav file. Now my problem is (besides the fact I bit off more than I can chew) I have no idea how to make such a program. My instructor advised me that I would have to read the pins on the serial port somehow (0V 5V) etc. to see if everything was connected properly. This of course would be done in a loop and checked every second or so. The program can be shut off by some kind of password (like a user who has the correct passcode). Would this be done by manipulation the com port in some way (i.e. turning it on and off)? Can anyone HELP!! I will pay a reasonable fee to those who can help out.
Kyle
We wanted to develop a home security system using VB and some electronic sensors. The sensors would be connected to the computer through a RS232 connection. They would be hooked up in series, and if one of the sensors were to be broken, the VB program would recognize this and spew out a .wav file. Now my problem is (besides the fact I bit off more than I can chew) I have no idea how to make such a program. My instructor advised me that I would have to read the pins on the serial port somehow (0V 5V) etc. to see if everything was connected properly. This of course would be done in a loop and checked every second or so. The program can be shut off by some kind of password (like a user who has the correct passcode). Would this be done by manipulation the com port in some way (i.e. turning it on and off)? Can anyone HELP!! I will pay a reasonable fee to those who can help out.
Kyle