08-03-2014 06:23 AM
Hi guys, im currently using labview for my final year project for school. Im tasked to create a software for a integrated security alarm system. I had done u my own version, but the ideas i have, i cant apply it to the software as ive been using labview for only 6 months. i will attach a copy of my VI but i need ways and suggestions to complete the circuit. So far my VI is pretty straightforward, and i want to include these ideas.
1. When a switch is pressed, the value stays, even when the switch is released
2. Create a reset button for the alarm itself where is resets the switches value.
3. Create a circuit that can generate a sound for the alarm using a external speaker attached to my breadboard.
4. Create flashing lights when the switches are pressed.
5. Create a circuit to send a text message or email to the user informing the house has been broken in.
Any other suggestions a welcome.
Thanks in advance.
08-03-2014 07:08 AM
Sorry, but I can't look at your code, but based on your descriptions, I can give you a list of topics that will give you the skills needed to get started on your project -- which sounds very cool...
Let's see, you need to know about: The mechanical actions of buttons, event driven programming, VI server (at least the bits dealing with things you can do with control references), and DAQ.
Oh yes, and some things to avoid: sequence structures, express VIs, messy block diagrams (neatness DOES count), and error clusters that aren't connected to anything.
Mike...
08-03-2014 08:15 AM
Ive screenshot the VI for your view. Been fiddling around with it but this is as far as i can get.
08-03-2014 08:26 AM
Please don't tell me this is due Monday.
You really need to think in terms of dataflow. Hopefully the following links will help you out. But you won't be ready by Monday. 😉
08-03-2014 09:03 AM
i have until 19th august before the final presentation. Thanks, will look into the links given.
08-03-2014 09:36 AM
Please don't be discouraged. Post your code even as you are learning the stuff so we can help you out!
08-03-2014 11:17 AM
08-04-2014 12:22 AM - edited 08-04-2014 12:24 AM
You'll note that the four sequence frames all do exactly the same thing -- the only difference is the radius. This logic should be in a loop. Also what are Numeric and Numeric2? Give controls meaningful names.
08-12-2014 01:11 PM
Alright, im done with some stuff, but still having problems having a latching feature with a start (from mydaq) and stop button and playing a audio file from mydaq through a speaker. tried flat sequence for the latching but cant seem to figure out which goes to which frame, and tried using play sound file but it cant let me read from mydaq. any ideas guys?
08-12-2014 01:30 PM - edited 08-12-2014 01:31 PM
everyone here has suggested a LOOP, have you done so? you are still using your flat sequence...
to latch, try using a shift register in a LOOP?