Can someone please check my VI??

Purpose of the VI is to generate  and random numbers on graph, and also to compute the average of the random numbers.
Since i am a learner, i want someone to check it for me.
Thanks........
Attachments:
hhiyu.vi ‏305 KB

Yes, it is fine.  As a general rule of thumb, if it works....
As with any language there are good habits and bad habits.  Your VI is pretty simple and works as it should.
Now for constructive critisism:
Try to minimize unneccessary bends in the wires.
Apply comments to your code.  You can utilize the Free label decoration in the decorations palette, so as to provide for a standardized color...but feel free to adopt your own color codes.
Do not create unneccessary tunnels in loops as it will create increase your memory allocation.  In your example you ran the same data out twice, thus causing twice the memory to be utilized.
Get used to using the error clusters.  If a VI has error out, it should be wired.  You can also use these to sync your data flow (error out to error in.)
Once you get better at this and in the short term, I would also recommend the following.
Standardize your naming conventions for VIs and sub-Vis.  Usually very descriptive names are better.
Turn off the automatic error handling in LabVIEW.  You should control when and where errors are handled.  Some errors are OK and can be handled by your application.  Auto error handling will put up a prompt every time an error is passed out.
Turn off the auto-wiring and auto-wire routing.  This usually leads to unnecessary bends in wires and frustration from LabVIEW wanting to wire to the wrong terminal, especially when they are close together.
Use the VI icons.  Set the default font in the Icon editor to small fonts 10 point and at least type in some text.  If you are a creative individual, draw pretty pictures.
Always include extra terminals when setting up the inputs and outputs to allow you expandability without having to re-compile.  I personally perfer the 10 or 12 terminal block as it is nice and symetrical.
Always, always, always document your VI and what it does in the VI documentation property.
I could go on and on, but this should be enough to get you started.  Remember, good habits are easy to follow, bad habits are hard to break!
My $0.02
Paul <--Always Learning!!!
sense and simplicity.
Browse my sample VIs?
Attachments:
pictures.PNG ‏1112 KB

Similar Messages

  • Can someone please check this podcast episode?

    My podcast site is: https://itunes.apple.com/podcast/jah-works-radio-reggae-radio/id418751172
    On my iTunes, I can't get my 2 most recent podcast episodes to play or download.  Can someone please check on their iTunes?  I think on Macs it may be playing, but I would love to hear if people can get them to play or download on a PC.
    Much Thanks,
    Dave

    Found another case in Mac OS X Technologies
    Notice the second post Re: Display Random Numbers This is Overview no refinement.
    Now
    Refine to Applescript the post is gone. (Trust me it doesn't show up in any other refinement either)
    Click the X next to Applescript and its back:
    The same behavior happens in All Content or Discussions.
    Thought it might be related to tags but this post is tagged applescript so that wouldn't appear to be it.
    Part of the problem is that the 'subgroups' aren't really groups anymore only groupings of post. You use to be able to go to an actual physically group Applescript which was a sub group of the category OS X  Technologies now the only thing that really exists is the top group OS X  Technologies the subgroups are really views into the main group.

  • Mac InDesign CS5.5: can someone please check if variables do not cause crash when copied

    Hello
    There is a bug in Mac InDesign CS4 and CS5 which causes InDesign to crash if text containing a variable is copied. I am hoping this bug is fixed in CS5.5.
    So can someone with Mac CS5.5 try this for me and report back:
    1. create a variable, or use one already created by Adobe
    2. insert it into some text
    3. copy the text
    4a. try pasting it into another part of the same document
    4b. try pasting it into an external document, for example an Excel file.
    Hopefully it won't crash and you will be able to tell me whether it is fixed or not! If variables do not cause InDesign to crash when copied then it might be worthwhile for me to upgrade to CS5.5.

    These problems are rarely easy to debug.
    It appears from your crash report:
    5   com.adobe.PDFL                     0x216ef8e3 PDDocGetMergedXAPKeywords + 86221
    That the problem is in the Adobe PDF Library (not surprising, this is what reads PDF files) when getting "merged XAP keywords," whatever those are.
    I believe the XAP: metadata has been superceded by XMP metadata, so this suggests your PDF files have corrupt XMP metadata, or XMP metadata that InDesign cannot deal with.
    You might try running some of the preflights and fixups in Acrobat that relate to analysis of XMP metadata,
    or simply removing XMP Metadata from the PDF entirely, again in Acrobat.
    It sounds like this is a genuine InDesign bug (even if your PDF file was damaged, it should not crash ID!), so you should open a case with Adobe Support and get them to file a bug (http://adobe.com/go/supportportal). Optimistically, such a bug is unlikely to be fixed in time for CS6, so don't expect miracles. Think of it as making sure your bug doesn't hurt other people two years from now.

  • Can someone please check track listings on Daniel O' Donnell's new album 'A picture of You' ?

    Some incorrect track listings on Daniel O' Donnell's new album 'A picture of You' . A song "The band played an old time Waltz' is listed as track '2'. It should be track '12'' I want to purchase the song. Just listened to the samples. Please help.
    Thank you...

    Since you're a newcomer to the Mac, see these:
    Switching from Windows to Mac OS X,
    Basic Tutorials on using a Mac,
    Mac 101: Mac Essentials,
    Mac OS X keyboard shortcuts,
    Anatomy of a Mac,
    MacTips,
    Switching to Mac Superguide, and
    Switching to the Mac: The Missing Manual, Lion Edition.
    Additionally, *Texas Mac Man* recommends:
    Quick Assist,
    Welcome to the Switch To A Mac Guides,
    Take Control E-books, and
    A guide for switching to a Mac.

  • Can someone please check this out

    This topic,   https://discussions.apple.com/thread/3008511?tstart=0    titled "Tech Tools Deluxe" in the iMac Intel forum,  https://discussions.apple.com/community/desktop_computers/imac_intel?view=all
    appears listed under All Content.
    However, when I use Refine this list and select Using your iMac Intel, which is where it belongs, it disappears. it is not listed in any of the other subforums. It may sometimes shows up in Overview. I have no idea why or when it will.
    After opening and then closing Refine this list, it doesn't appear any longer in All Content.
    If I use my browser bookmark, which is set for iMac Intel> Overview>Using your iMac Intel, it may appear for a split second and then disappear.
    I don't know if this matters: I start my visit to Using your iMac Intel through my browser bookmark. Then, from there, I may navigate to All Content.
    This behavior, of which this particlar thread is only one example, is really driving me nuts.
    I'm wondering if anyone else can reproduce or has seen this.
    EDIT: I just moved from All Content to Overview and, inexplicably, it is now showing up.

    Found another case in Mac OS X Technologies
    Notice the second post Re: Display Random Numbers This is Overview no refinement.
    Now
    Refine to Applescript the post is gone. (Trust me it doesn't show up in any other refinement either)
    Click the X next to Applescript and its back:
    The same behavior happens in All Content or Discussions.
    Thought it might be related to tags but this post is tagged applescript so that wouldn't appear to be it.
    Part of the problem is that the 'subgroups' aren't really groups anymore only groupings of post. You use to be able to go to an actual physically group Applescript which was a sub group of the category OS X  Technologies now the only thing that really exists is the top group OS X  Technologies the subgroups are really views into the main group.

  • Can someone please assist me. I was given an iPod 3G as a gift and I tried to download various apps and it told me that my iPod needs to be iOS 7 or more but I checked and my iPod is at its latest upgrade which is 6.1.6, how can I get those app?

    Can someone please assist me. I was given an iPod 3G as a gift and I tried to download various apps and it told me that my iPod needs to be iOS 7 or more but I checked and my iPod is at its latest upgrade which is 6.1.6, how can I get those app?

    See a a version compable with your iPod is available:
    Starting when iOS 7 was released, Apple now allows downloading the last compatible version of some apps (iOS 4.2.1 and later only)
    App Store: Downloading Older Versions of Apps on iOS - Apple Club
    App Store: Install the latest compatible version of an app
    You first have to download the non-compatible version on your computer. Then when you try to purchase the version on your iPod you will be offered a compatible version if one exists.
    Also, if you have iOS 6.1.6 yo have a 4G (has cameras). A 3G does not have cameras and can only go to 5.1.1

  • I'm trying to transfer the music from my iPhone 3G to my iPod shuffle but I don't know how. I checked on websites but i dont really trust them cause I don't want all my music to be erased (cause i spent a lot of money on them) can someone PLEASE help me.

    'm trying to transfer the music from my iPhone 3G to my iPod shuffle using iTunes but I don't know how. I checked on websites but i dont really trust them cause I don't want all my music to be erased (cause i spent a lot of money on them) can someone PLEASE help me. Why is iTunes so complicated.

    iTunes match - http://www.apple.com/itunes/itunes-match/ - see FAQ at end too
    http://arstechnica.com/apple/2011/11/itunes-match-your-questions-answered/
    http://ipod.about.com/od/UsingiOS5/a/Itunes-Match-Frequently-Asked-Questions.htm
    http://forums.macrumors.com/showthread.php?t=1277415 - deleting items from your computer but saving them in iCloud.  Yes, but risky.

  • Hi, can someone please tell me why the spell check in pages doesn't work. I went to preferences and enabled this auto spell checker and have set the language to british english. But still it doesn't work while it works perfectly in TextEdit.

    Hi, can someone please tell me why the spell check in pages doesn't work. I went to preferences and enabled this auto spell checker and have set the language to british english. But still it doesn't work while it works perfectly in TextEdit.

    Inspector > Text > More > Language
    Only applies to selected text, like making it a particular font.
    It is not a setting that sticks. If you continue to paste in text from elsewhere particularly the Internet it will have a different or None language set to it. You need to select it and make it B.E.
    Peter

  • I just got the macbook air for christmas and i also got the dr dre headphones so i am trying to enable my soundcheck on my iTunes but i cannot figure out how to find where sound check is located can someone please help!!

    i just got the macbook air for christmas and i also got the dr dre headphones so i am trying to enable my soundcheck on my iTunes but i cannot figure out how to find where sound check is located can someone please help!!

    Go to the iTunes menu > Preferences > Playback.

  • How do i set up email on iphone. i keep on getting an error that says, "We couldn`t connect to the server. Check your information and make sure it`s correct." all my info is correct, can someone please assit. it is the app OWA

    how do i set up email on iphone. i keep on getting an error that says, "We couldn`t connect to the server. Check your information and make sure it`s correct." all my info is correct, can someone please assit. it is the app OWA

    Is this a company email account?  If so you may need to talk their technical support, as there may be additional layers of security which are preventing a connection.

  • Why is it that I can't receive the email to reset my security questions and answers.. My email information is all accurate but I'm not receiving the email and I've even checked spam and junk folders.. Can someone please help me please???

    Why is it that I can't receive the email to reset my security questions and answers.. My email information is all accurate but I'm not receiving the email and I've even checked spam and junk folders.. Can someone please help me

    Are you able to receive any mail at all? If not, make sure that all of your information for mail is accurate in settings again. if you still have nothing, go to your email through safari. (example: www.yahoo.com) If you do not see the emails here either, it is a problem with the password reset server not your mail app.

  • HT1414 i am in the process of getting my iphone4 unlocked from att to use it on straighttalk. why do i need to "back up" the iphone and all of this? i dont have an apple computer sooo, im a little confused on why i need to do this. can someone please help

    Can someone please explain and help me? I am unlocking an iphone4 from at&amp;t to use it on the straight talk network. They've confirmed my request to do this and I am now a little confused as to what to do next. They want me to back up the phone using itunes on either a MAC or PC. I do not have an aplle computer but I do have an acer. Sooo, can I use it to do this? Or do I even have to do this to unlock and switch the iphone4 over to a new network? If I do have to what can I do to do this because like I said I do not have a computer by apple? Can anybody walk me through what I need to do next please? I've been waiting to do this for a very long time and I now have the option to have an iphone and use it. Thanks to my awesome boyfriend who Gave me his old iphone when he swapped back to an android. Hahahaha! Please anybody!? Because I sooo don't know what I'm doing and really do not want to mess the phone Or the process up. Thanks to any and all who read this and help me! It is greatly appreciate it!

    Install iTunes on your Acer and you can back up the iPhone. Or back it up to iCloud. If you do not back it up you can get it unlocked, but you will lose all of your content.
    You can get iTunes from http://www.apple.com/itunes.
    Even after unlocking I'm not sure it will work on Straight Talk, because last time I checked ST used Verizon as its carrier, and an AT&T iPhone 4 is not compatible with Verizon's network. You can probably use it on Net 10 or T-Mobile once it is unlocked.

  • My iPhone 4 will not sync my new voice memos from the "Voice Memos" app to my computer. This is frustrating, should not be so hard, can someone please help. I use PC with windows 7 with iPhone version 6.1.3 and iTunes most recent. Thanks.

    My iPhone 4 will not sync my new voice memos from the "Voice Memos" app to my computer. This is frustrating, should not be so hard, can someone please help. I use PC with windows 7 with iPhone version 6.1.3 and iTunes most recent. Thanks.

    In the Music tab of iTunes, do you have 'Include Voice Memos' checked?

  • My MacBook Pro iTunes movie purchase is not showing in iTunes store movie purchases nor does it show on my iPad or Apple TV.  Can someone please help me with a solution?  Thanks.

      First of all, I live in Ho Chi Minh City, Vietnam. Sometimes, I use a VPN to search on the web here. I purchased Toy Story 3 on my MacBook Pro 2011 OS/X - Lion through iTunes.  I initially had trouble downloading it which may be due to being on and off the VPN but after a while it finally downloaded and shows up in my iTunes library on my MacBook. 
      Under my Apple ID account (which is the only Apple ID account I have), I look under purchase history and it shows that I paid for Toy Story which is where I got my Order # from.  But if you go to the iTunes Store then to the Quick Links then click on Purchased, under all my Movies, it does NOT show Toy Story 3 as one of my movies.
      Now when I go to my iPad (3rd gen.), Toy Story 3 does not show up under purchased movies (all or not on my iPad).  It does not show up on my Apple TV as well.  If I want to have Toy Story 3 on my iPad or Apple TV, then it says I have to purchase it again.
      I have searched for help via Apple support communities but so far none of their solutions have worked for me.  I have tried logging off iTunes & App Store on iPad and also shutting down the iPad.  I also made sure that under iTunes Preferences>Store that iTunes in the Clouds purchases is checked. Can someone please help me with this?  Your consideration is greatly appreciated.  Thanks.

    Thanks King_Penguin for taking time to read and reply. 
    I just purchased this movie on Thursday, May 15, so just a few days ago.  I have never had any trouble whatsoever since I have been in Vietnam.  I have downloaded several movies and even music and they have all synced to my respected Apple products except for this purchase. 
    Sorry, I don't quite understand what you mean by studios and different versions.  Could you please explain? 
    I checked my purchased list in my purchase history under my account and there are no hidden items. 

  • Can Someone PLEASE Tell Me Why My Muse Site Will Not Work Upon HTML Export?

    Sorry for the long title!
    I've had a few threads going regarding troubles with my Muse site. These issues have been on-going, and once I was no longer able to upload to Fetch—and had to export to html via FileZilla—it just seems the problems continue to snowball.
    I have a web site. I will disclose the URL here now: www.jamescdarling.com
    When this site was html-based (its original form), using my yahoo small business web host and Fetch, it worked like a charm. All Flash files functioned at 100%, embedded videos/players all played great, etc. Then, I switched over to Muse 1.) because I was excited by the potential, and 2.) I wanted to re-design my site, anyway.
    So, I created my site in Muse, and uploaded it all into Fetch. I soon found that some of my Flash files and videos were not working. This was the case for a long time. I finally gave up after trying everything and asking lots of questions here.
    Just recently, I set out to fix these issues as I was afraid this half-assed site would appear to make me look unprofessional and like I had no idea how to use Flash. I had some problems with the new Muse Update (had to ditch Fetch and use "export with html" using FileZlilla). Changes made to my Muse file were not taking... and each time I viewed my updated site, the updates were not there—it still looked like the previous incarnation of the site. However, with some help from some of the good folks here, I was able to make my site not only update, but work nearly perfectly—or so I thought!
    I just clicked on my personal web site URL link in my LinkedIn page, and I see the old-looking site! The bookmark I have of my site is near-perfect—only the videos still will not load. However, it would seem that my site only functions as well as it does on MY computer only—that is, URL's I have been sending out probably are of the old non-functioning site? The changes I make are not being recognized.
    If you will, click on my above URL (in bold)..... If you click on "Resume", you should see light blue rules separating each section. But I bet you will see heavier gray bars with headers inside them. Also, if you view my Flash work, go to the "Epiphone Casino Mini Site".... the "Finshes" and "Features" pages' interactive elements will not function as they should (never mind the video page!)—but they work perfectly when accessing my site from my bookmark on my computer.
    Can someone please tell me how to make my site update web-wide, and how to get my Flash files to function?
    Thanks!!!
    Message was edited by: darling67

    It seams a lot of folks are haveing issues with FTP upload. Try these areas to look at. Maybe the right answer. I dont use Flash on my sites for a long time now. Anyhow, check these out.
    http://tv.adobe.com/watch/muse-feature-tour/adobe-muse-publishing-and-managing-your-site/
    http://www.adobekb.com/using_3rdparty_ftp.html#usingftp-understandinghowftpworks

Maybe you are looking for