Security System CLD Exam Problem Solution? Insane?

I just started working on the CLD example problems.  I've been using Labview for about 10 years - so everything I do is old-school.
I'm posting this solution for the Security System example.  There are arrays of switches to represent the alarm, bypass, and tamper
signals - and then a loop to go through each "zone" to logically determine the state (normal, alarm, bypass or tamper).  To make the
"zone status" indicator an easily scalable indicator I have the "zone" loop change the color of a boolean LED indicator.  Then I take a 
picture of it and display an array of pix.  
Question:  This works fine, good response - but would it pass?  Is there a better way? I attached the diagram...
Solved!
Go to Solution.
Attachments:
security system.png ‏43 KB

I don't like the detour over an array of images and property nodes. Seems indirect and inefficient. Is that a requirement or your idea?
Also I assume that the FOR loop executes quickly, so you should probably do the timestamping once before the loop.
The "wait for FP activity is really "old school" and not very good. You typically get extra triggers, which is expensive since you write to the file every time. I would strongly suggest an event structure instead.
The small FOR loop can be replaced by "search array". Much cleaner!
It might be better and more efficient to open/create the file once before the loop, write using lowlevel functions during the loop, and close after the while loop has finished.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Security system CLD exam review

    This is similar to solution online
    Please let me know if you have any general comments on the solution or any other comments to my questions below
    1. I have created a project. Was it necessary or does it matter.
    2. I put data in a Data folder. Does I need to create a separate folder?
    3. It asked for test file. I used a .csv file instead of .txt. Is it ok to do that?
    4. I used only one case for alarm, bypass and tamper switch instead of using 3 cases for solution online.
    Code is in LabVIEW 8.6
    Thanks
    Attachments:
    Security system.zip ‏67 KB

    Overall this is a pretty elegent solution. There are a few things that you will want to improve though.
    1. This one jumped out at me immediately. Be very aware of extra and unnecessary bends in your wires. Try to line things up better and avoid all the extra bends.
    2. I would use better names for your subVIs. Use names that are descriptive yet meaningful. Logic.vi is not very meaningful or descriptive.
    3. I would not modify or change the requirements of the test. If they specify a text file then use a text file. Part of the exam is to determine if you can follow requirements. Changing them is not receommended.
    4. Avoid objects overlapping each other. For example look at the labels in your Initialize state.
    5. Avoid using "Use default if unwired" for your tunnels on structures.
    6. Make sure to add descriptions for all of your controls and indicators including the ones in your subVIs.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • MY LVOOP solution to CLD- Security System

    Hi All,
    Today , I gave a shot at the security system example from CLD. I did it using LVOOP. Do leave your comments on the code. (I havent done much documentation. Also, I have given the flexibility to the program to log file in any format, as per extension entered by user. The code has been written in a hurry, so pls ignore any cleanups of BD remaining ).
    Thanks in advance!
    -FraggerFox!
    Certified LabVIEW Architect, Certified TestStand Developer
    "What you think today is what you live tomorrow"
    Attachments:
    Test_Security.zip ‏100 KB

    Pretty good all in all, some comments though.
    They like comments and descriptions in controls and indicators, points are deducted for not having this.
    They also like block diagram constants to be labelled (again points off for not doing this).
    Your error cluster is not handled too well, if there is an error in any of the states it will just propogate through continuously, probably not what you want. I think the app is supposed to stop on error (cant remember exactly).
    The Array local variable in the "get status" state is unnecessary, you could just move the control outside, into the while loop. Locals are generally discouraged.
    In the "get status" I would not recommend hiding the index display of the string array you are passing on. At first glance it seems the same state is being queued regardless!
    You are not closing the file reference.
    One thing to note, my CLD was a lot longer than the pratice examples (a lot!, and I code quite quickly).
    Good effort though!
    nrp
    CLA

  • Can't update iOS 8 on my iPhone5 through iTunes on Windows 8 (error 3004, 3194). Updated host file, opened port 80, 443; turned off security system and firewall, etc. But nothing works. How to solve this problem?

    Can't update iOS 8 on my iPhone5 through iTunes on Windows 8 (error 3004, 3194). Updated host file, opened port 80, 443; turned off security system and firewall, etc. But nothing works. How to solve this problem?

    Hi the_mad_movies,
    It seems like this article will be the best option for addressing this issue:
    Error 3194, Error 17, or "This device isn't eligible for the requested build"
    http://support.apple.com/kb/ts4451
    Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • I have a problem in the security question I hope a solution as soon as Lee does not respond change ÓćÇá Secretariat

    I have a problem in the security question I hope a solution as soon as Lee does not respond change ÓćÇá Secretariat

    Welcome to the Apple Community.
    Start here (change country if necessary) and navigate to 'Password and Security', reset your security questions using the link provided, you will receive an email to your rescue address, use the link in the email and reset your security questions.
    If that doesn't help, you don't receive a reset email or you don't have a rescue address, you should contact AppleCare who will initially try to assist you with a reset email or if unsuccessful will pass you to the security team to reset your security questions for you.
    If you are in a region that doesn't have international telephone support try contacting Apple through iTunes Store Support.

  • I have a MacBook Air with OS X and am having trouble accessing the ADT Pulse Home Security System cameras.  The mobile (iPhone and iPad) apps allow access no problem, but I can't get a picture on the MacBook.  Have tried Safari and Firefox browsers.

    I have a MacBook Air with OS X and am having trouble accessing the ADT Pulse Home Security System cameras.  The mobile (iPhone and iPad) apps allow access no problem, but I can't get a picture on the MacBook.  Have tried Safari and Firefox browsers.  Anyone have any ideas?  Thanks.

    From a Catherine to Katherine -- Had the exact same problem!!  I had to enable Java twice - both in Safari and then on the MacBookAir itself.

  • Car wash CLD exam solution?

    Hello,
      Like a lot of people I'm trying to prepare for the CLD exam.  I'd like feedback on my solution - particularly where the exam graders are likely to take points off. So first I'd like an overal "grade" for what I'm posting here (labview 9).
    This took me about 6 hours to do - too long.  Part of that was deciding on the overall structure, and getting hung up on how to implement the "universal all stop" button.  
    Are there too many wire bends?  For me it can be a very time consuming
    process to re-arrange everything to reduce the number of bends.
    The description/tips and icon things also sucked up too much time.  
    Some specific things that I'm not sure about are:
    Is it ok to use property nodes for the "stop" button and "main power-wash" switches?  This solution works, but is it undesireable for some reason?  I had difficulty comming up with an alternative structure that allowed the stop button to activate in the middle of any part of the cycle.  I had worked on using an event structure to do this, but got frustrated and went with the property node.
    Does anyone have any sense if using a queue to sequence the cycle is considered any better than using a numerically sequenced case structure?  If I only have 4 hours, using a queue structure seems to be a little more labor intensive... (propagating error, initializing and releasing queue...).   I can see the advantage of using a queue (flexibility), but functionally a regular sequence would also work.  To phrase this better:  are points awarded for using more flexible programming structures?
    The timing sequences are rather primitive polling loops.  Does anyone think that I'd get docked for that lameness?  Is there a better way to do that?  I thought about using timing VI's and event structures, but the added complexity didn't seem worth it.  Well, ok, that and I couldn't implement it because there's still some things I really don't get with more sophisticated event structures.
    Attachments:
    car_wash.zip ‏50 KB

    Here are a few more suggestions after reviewing your code.
    Clean up your wires. There are unnecessary bends all over the place as well as wires that run back on themselves (Out of position property node).
    Definitely get reid of all the property nodes. You really aren't using data flow with property nodes all over the place.
    As mentioned earlier, everything including the subVIs eed to be documented.
    Verify your functionality. This application doesn't meet the requirements. The out of position LED is not light properly for one. As mentioned your stop is not a graceful shutdown of the application.
    Use a project for your application.
    Consider placing your timing control in a subVI. You effectively have multiple copies of this functionality in your code.
    Don't use the Wait VI for timing control.
    As mentioned this really isn't a producer/consumer architecture. Take a look at the examples for how this normally looks.
    All constants should be labeled.
    Resize the front panel. Front panels should be size appropriately and shouldn't be a huge window with a few controls and indicators on it.
    Resize the block diagram to fit on a single screen and avoid the need to scroll to see everything.
    Make sure to align the controls and indicators are aligned on the front panel.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Security System Review

    Hi Guys,
    My CLD is on Wednesday and here i attached security system solution for review. Please review as early as possible, am running out of time.
    Yes, I know its an older exam but in CLD 2012 Prep Guide its states that one of the possible exam scenario and don't know how much it differs.
    Attached Back saved version in 2010
    Waiting for reply.
    Attachments:
    Security Systems LV 2010.zip ‏361 KB

    Quickly,
    Discriptions and tip strips for every object the user sees.  Get into the habit fast.
    I would have used an array of round color boxes and clusters of switches (and filter events to allow the overridden conditions to be expelled you are missing some functiality there)
    Overall not too bad
    Good Luck
    Jeff

  • Security system

    Hi,
    Will anyone please go through my security system solution
    Just started my preparation for CLD, initially lets ignore documentation and style
    I just want to know is this kind of programming is OK
    Thank you
    Attachments:
    Security System.zip ‏56 KB

    Hey,
    Please see the following as some hints
    - Use a Statemachine Framework with an Initialize and Shutdown state instead of a Sequence Frame.
    - The Event Structure then can be placed in a kind of "Running" state.
    - As far as I know the Controls/Indicators should be part of Clusters. Save them as Typedefs.
    - Create Documentation and Tip Strip immediately when you place a Control/Indicator on the FP
    - Use the 4224 Connector Pane Pattern for your SubVI.
    - Place Controls/Indicators into the Event Frame which handles them
    - Do the Initalization of the Controls in a SubVI by pasing their References
    - Create FGV for FileIO which you call in the Init state for creating the header and in the Running State for saving the data
    Good luck for the CLD Exam!
    Christian

  • Solman 7.1: Who deleted/added system  in a specific solution?

    Does anybody know, if there is a change/activity log available in solution manager to track changes to solutions, i.e. to see:
    - When was system XYZ added/deleted to the solution/logical components ?
    - Who added/deleted a system  XYZ  to a solution/ logical component ?
    Edited by: Uta Hedemann on Mar 1, 2012 10:24 PM

    Hi Benoit,
    Have you try on other workcenter ?
    Solution Manager Administration -> Solutions -> Click on Object ID column -> solman_directory will be open trough sapgui.
    On your first post, i can saw your need to open a solution, only that you need to maintain it. on the others comments yo told about to add logical components in a Solution. If it's that I think that you can do that on solman_directory transaction.
    I think that if you can see a "ghost" popup that is closed immediately, that can be due to a Internet Browser Security options that block you to download the sap shortcut to acces using sapgui to solman_directory transaction.
    Hope that can solve your problem,
    Regards,
    Lluis

  • Dynamic image security system

    May I know how to add dynamic image security system in signup pages like facebook, yahoo...?
    please advice...

    Hi all,
    The google recaptcha plugin has a security problem. If I delete the tag containing the recaptch with Firebug, I can authorize myself without validating with recaptcha.
    If someone knows how to fix this problem, I'll be be very thankful.
    Thanks in advance,
    Regards
    Ivan
    P.P. Problem fixed with the help of Patrick Wolf :)
    Here is the solution - Security problem with Google Recaptcha plugin
    Edited by: ivansev on Mar 7, 2011 5:15 PM

  • Disappointment about the security system

    Dear Apple,
    Myself Gokulakrishnan, I am a new I Phone user, i am very very disappointment about your security system because of your siri application.
    i have this problem i need a perfect explaination about this,
    here i stated my problem,
    I use passcode lock for the security purpose, but when i try to call my friend using siri before enter the passcode. the call is activated i am really shacked, how come the calling is going? if any one use my phone like this who will bare that charges?
    i already check the options but i can find the way. please give the prapare solution or explanation.
    i am witing for your reply.
    thanks
    krishnan

    I'm not aware of any built in method to accomplish this. You'd have to come up with the custom way of doing it. You could put a web page in front of the main peoplebooks page that asks for login credentials and link that to PS somehow. Maybe use LDAP? In any case, it sounds messy and doesn't really seem like it's worth the investment. -Mike

  • Oops the system encountered a problem (#104) in Gmail

    just recently i've been having problem sending and saving messages on gmail. the message that appears on the top of the screen says "oops the system encountered a problem (#104)" and it counts down seconds and nothing happens at last.
    anybody having the same problem and know of a solution?

    I haven't seen that error, but here's some general advice on website problems:
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    orange Firefox button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    In the dialog that opens, you can remove your Google cookies individually.
    Then try reloading the page. Does that help?

  • Setting up a security system via Airport Extreme...

    So I'm setting up an in-home security system called ingrid and everything is cool but the ingrid system does not detect the internet. I have everything set up as per the instructions for airport and ingrid... I'm a assuming it must be some kind of setting that just isn't allowing the phone that the system works off of to access the internet... I put in the phone's MAC address and gave it everyday all day timed access.. Still nothing... please help.

    Most Guest Network problems are a result of not using the correct type of modem with the AirPort Extreme.
    Apple is expecting you to use a simple modem.....not a modem/router or gateway type of device.....with the AirPort Extreme.
    So, let's first confirm on what type of device that you have to make sure that it will be compatible with the Guest Network feature.
    If you are not sure of your modem type, post back with the make and model number of the device that you call your "modem"......so we can check compatibility with that device.

  • System Monitoring Setup in Solution Manager

    Hello Experts,
    We are going to implement and configure Solution Manager - System monitoring setup for pre testing purpose
    Currenly we have installed below SAP Systems
    1.Solution Manager Server
    2.ECC server (Without Ides) - Abap
    3.CRM Server (Without Ides) -Abap + Java
    We need to setup below tasks in Solution Manager
    1.Early watch alert
    2.System Monitoring
    3.Central System Administration
    4.Business Process Monitoring
    5.Service Level reporting
    1.Is it possible to setup the solution manager -above mentioned tasks without Ides system ?
    Could you please someone give input reg this.
    Thanks
    Thirumal
    Edited by: Thiru Thirumal on Aug 6, 2008 4:56 AM
    Edited by: Thiru Thirumal on Aug 6, 2008 4:57 AM

    Hi,
    Q. Is it possible to setup the solution manager -above mentioned tasks without Ides system ?
    A. Yes.
    Check with links for
    1.Early watch alert
    This process helps you to identify potential problems early, avoid bottlenecks, and monitor the performance of your ABAP and JAVA systems and your most important business processes, regularly, automatically and effectively. The data collection infrastructure comprises the ABAP Service Data Control Center and the JAVA function module Data Provider. The SAP EarlyWatch Alert in the SAP Solution Manager is a service provided by SAP.
    To be able to use it, you have:
    maintained the non-ABAP systems correctly in the system landscape maintenance (transaction SMSY)
    RFC u2013 Connections between: and an RFC u2013 Connections established.
    your satellite systems and the SAP Solution Manager system
    SAP Solution Manager and the SAP Service Marketplace
    Solution Manager system and Solution Manager Diagnostics
    Cf: Solution Manager IMG (transaction SPRO).
    checked the availability of the tools required for the SAP Service sessions (add-on ST-A/PI), with the report RTCCTOOL.
    activated Alert Monitoring and set-up the Automatic Session Manager (ASM) in the Service Data Control Center (SDCCN) of your satellite systems, for all SAP satellite systems and the central SAP Solution Manager of your solution
    set-up your systems in a solution landscape in the SAP Solution Manager
    configured Solution Manager Diagnostics
    2.System Monitoring
    The system monitoring in the SAP Solution Manager is, as described above, like a system-wide central CCMS. It can also contain the central CCMS (CEN) of satellite systems. These CENs can then monitor other components.
    The graphical display in the SAP Solution Manager gives you access to the alerts of all systems in a solution. You can go to the local or central CCMS of the satellite systems.
    The system proposes the most important alerts in the CCMS monitor collection, according to SAP experience, and their alert thresholds, for each system in the solution, in the system monitoring Session. You can activate or deactivate these alerts. The connection between the local CCMS and the SAP Solution Manager allows you to maintain the alert thresholds directly in the SAP Solution Manager, overwriting the values in the local CCMS.
    3.Central System Administration
    You activate the customizing for business processes in your solution, in the Business Process MONITORING session in the SAP Solution Manager. A monitoring tree element (MTE), or a monitor collection, u201EBPMu201C of several monitoring objects, is created in the local or central (CEN) CCMS of the satellite system.
    The data is collected for the monitoring types of the business process monitoring in contrast to system monitoring, as follows:
    ● The system collects performance (dialog transactions), posting cancellations (V1 and V2) and u201EOther CCMSu201C and interface data, in the local CCMS of the satellite systems.
    ● The system collects background processing, application list, application monitors, delivery lists, and document size data, in the central SAP Solution Manager CCMS.
    The SAP Solution Manager system copies the data from the local CCMS.
    The graphical display in the SAP Solution Manager simplifies access to the alerts for the business processes, business process steps or the interfaces between the systems in a solution. You can go to the local CCMS of the satellite systems.
    The connection between the local CCMS and the SAP Solution Manager allows you to maintain the alert thresholds directly in the SAP Solution Manager. These overwrite the values in the local CCMS.
    4.Business Process Monitoring
    The system and business process monitoring (including interface monitoring) in the SAP Solution Manager, both use the Computing Center Management System (CCMS) (transaction RZ20) architecture. This means that system alerts which occur in the local CCMS, are passed to the SAP Solution Manager via RFC connections between the SAP Solution Manager and the satellites. The system shows these alerts in a graphic or in Sessions. You can also handle the alerts centrally, without having to go to the local CCMS of the satellite systems.
    You can see the alerts from several systems in a solution landscape in the SAP Solution Manager, in a graphical overview, in contrast to the local CCMS of the SAP Solution Manager satellite systems. This is the view of a central CCMS (CEN). You can also monitor non-SAP systems in a central CCMS (CEN) of a satellite system
    5.Service Level reporting
    http://service.sap.com/solutionmanager for all solman tasks as given below.
    http://www.asap.net.cn/homepage_en/Solution%20Manager%20EN.pdf
    http://help.sap.com/saphelp_sm32/helpdata/en/1b/f02c41ab78f66fe10000000a1550b0/content.htm
    http://help.sap.com/saphelp_sm32/helpdata/en/9f/1f46570f8a4a268b3154e0e0f07280/content.htm
    Regards,
    Srini Nookala

Maybe you are looking for