Hi I am looking for a Burglar Alarm System program on Labview, I have found this one example however it is missing a Sub Vi named Arm.vi
Any help would be greatly appreciated if anyone has any programs or could work out how to get this one running. I am no expert on Labview so need loads of help.
EDIT: Link removed
The "Arm.vi" sub-vi is the heart of the program! The rest is just a rather messy wiring of the "entry" switches. Not sure why the "panic" button is set to stop the program, they usually set off the alarm. Judging from what is in the vi you supplied (apparently a school project) the "Arm.vi" allows the user to enter a "security code" from the keypad, waits some time after that, then starts monitoring the status of the "entry switches". If you have LabVIEW I would suggest making a simple program that loops at a specific rate (use a timed loop if available (I think it is only in the Full Dev package), otherwise a loop with a "wait (ms)" function set to a reasonable time (don't need to scan too fast, once every 200mS is More than fast enough I would think), and if it detects a "breech" sets a latched boolean (shift registers can be used to latch a boolean). Give it a try, it is the way you grow to be "an expert at LabVIEW". It is unlikely that you will get a complete solution here, but if specific, incremental questions are asked you probably will.
Is this for a school project?
If so, you can ask for help and learn how to program LabVIEW, which is likely the purpose of the project.
The first step would be to define the requirements.
Define all your inputs & outputs (including events).
Then select the code architecture best suited to meet the requirements.
That's when you start coding from scratch. It will be a lot faster and beneficia than copying bad code.
Rays comments are valid even if this isn't a school project! This (LabVIEW) is a wonderful skill to learn, has been increasing in popularity and useage in industry the entire 17 years I have been using it.
Can you send me the Arm.vi is not included... while running the program is showing error as subvi is missing\???
Mail to the owner & try to get it.
EDIT: email address removed
Thank you for contacting National Instruments. I think you should be able to find the vi arm.vi at the address I've linked below. LabVIEW is a great language to learn and is used in a huge variety of different industries, I wish that I'd had the option to learn it when I was at school.
If you are interested in learning LabVIEW there are some really good resources that I have linked here. I would recommend looking at them and seeing how you get on. You may need to register on the website to access this page but it is worth it as the number of resources is huge. I would also recommend looking here at some of the case studies which give a good idea of just how diverse a career with LabVIEW can be.
I wish you well with your project.
Common sense prevails!
Instead, I could only show the circuitous route to get it.
EDIT: link removed
Thank you all for replying you have been so much help to me. This isn't a school project just a bit of fun so I am glad I got the arm.vi but I think I will now go on to try and build by own system to try and improve my knowledge of labview. I have previously built a traffic light system and pH level controller system but have so much yet to learn. Thank you all for your help and if I get stuck in the future i'm sure I will be in touch.