LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NEEEED HELP!! IM NEW!!!

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.

Message 1 of 14
(4,226 Views)

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...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 14
(4,219 Views)

Ive screenshot the VI for your view. Been fiddling around with it but this is as far as i can get. 

0 Kudos
Message 3 of 14
(4,200 Views)

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.  😉

 

Unit 1 - Getting Started

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 14
(4,186 Views)

i have until 19th august before the final presentation. Thanks, will look into the links given.

0 Kudos
Message 5 of 14
(4,175 Views)

Please don't be discouraged.  Post your code even as you are learning the stuff so we can help you out!

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 14
(4,161 Views)
Your first problem is that you don't have a while loop around your code. It will only run once. Do NOT use the run continuous button. What is the point of reading the same image over and over again? What is the image? Your Boolean logic is convoluted. Build an array of Booleans and use the Boolean array to number function.

Please don't refer to the block diagram as a 'circuit'.
0 Kudos
Message 7 of 14
(4,138 Views)

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.


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 8 of 14
(4,089 Views)

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?

 

0 Kudos
Message 9 of 14
(3,967 Views)

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?  Smiley Surprised

0 Kudos
Message 10 of 14
(3,950 Views)