Best approach to dealing with someone else's sphagetti code with no documentat​ion

Hello LabVIEW gurus,
I am just given a few software tools to add functionality and rewrite, each of which is a big spaghetti mess and each tool has 100+ vis all sphagetti, these tools control a very complex machine talking via seria, parallel, ethernet, 485 etc. and there is barely any documentation of the logic or the implemetation of the source code / what the subvis do. 
what would be my best approach to understand this mess and recreate it in a structured way faster. it has lot of old sequence structures and just plain bad style of programming.
any help is highly appreciated
Thanks all

And Do not forget about using the VI Analyzer TK!  It can reveal several obvious sources to clarify code that "Stinks" A lot of skull sweat went into that framework and it has signifigant value!
Norbert_B wrote:
If your task is only to ADD things, you might be interested in Steve's recommendation here.
Norbert
(Inside joke ahead)
Ah, That explains the TDMS File Viewer!
Spoiler (Highlight to read)
You really should run that through the VIA....:smileymad
You really should run that through the VIA....:smileymad
Spoiler (Highlight to read)
It can be done fairly quick
It can be done fairly quick
Spoiler (Highlight to read)
How do you unspoiler?  Ah well  I'll hope a moderator can leave only the first comment "spoiled"
How do you unspoiler?  Ah well  I'll hope a moderator can leave only the first comment "spoiled"
Spoiler (Highlight to read)
Note the quote from the link "The Code we inherited might have been "richly obfuscated."" "richly Obfuscaed code was a code review term used for code written by your boss... The VIA would call it something else.
Note the quote from the link "The Code we inherited might have been "richly obfuscated."" "richly Obfuscaed code was a code review term used for code written by your boss... The VIA would call it something else.
Jeff

Similar Messages

  • How do I replace someone else's Mac ID with my own? Bought iPhone second hand. Previous owner re-set the phone but his ICloud account stayed on now my phone. He uses his macID on his new iPhone now?? Any ideas, as this issue is blocking my access to iTune

    How do I replace someone else's Mac ID with my own?
    Bought iPhone second hand on TradeMe.
    Previous owner re-set the phone but his ICloud account stayed on now my phone. He uses his AppleID on his new iPhone now and, understandably, does not want to give me his password. Any ideas?? Please.
    This issue is blocking my access to iTunes and any other file from my home computer. It keeps on telling me that I have to autorise my computer to pass on files, yet, it seems, for all this to happen, I need to get logged in through the phone's Apple ID. This of course is different to my one on my computer - and I have no password for it.
    This phone is not stolen!! I payed still a fair bit for it. Am still in contact with the previous owner. He doesn't know how to fix the problem either.
    Would appreciate any suggestion ????
    Thanks
    SamSings

    Settings>general>resets>erase all content and settings.
    That will put it back to its out of the box state. Set it up with your own apple Id.

  • How to share my iPad screen with someone else who is not on my network?

    I'd like to share my iPad screen with someone else who has an iPad and is connected to the internet, but not on my WiFi. Is this possible? Any apps that do this?

    Sorry, you can't do that unless they are on your LAN.  I don't know of any apps that will let you do it.

  • Can I share my iCloud Photostream with someone else with a different Apple ID? How?

    Can I share my iCloud Photostream with someone else with a different Apple ID? How?

    Yeah no kidding.
    I have a big paid up MobileMe account with tons of gallery stuff - this will all go away for me in July, and I'll miss it - it took no learning to use, and it was built into everything - just intuitive to post to a gallery password protect it, and send a link to a friend.  Click click done!
    It bothers me a lot when features I really enjoy and use are pulled in these half baked new apps and services.
    iMovie used to be quite good, but the new one is very restrictive - it's a step backwards in some ways.
    MobileMe was fine, but iCloud takes away the Gallery???? - another step backward.
    We use some iPhones at work for shooting some videos and technical engineering photo's, and while it's pretty cool that the iPhone photo's get put on the photostream of "Jason's iMac", I don't have instant access, and I would really like to be able to do that. If it could be done, then I can stay at home and work sometimes and I can get the photo's automagically.  
    Apple - please fix this.

  • I bought this MAC from a family member. Did everything need to change items to my apple id. Today I did the update for IOS Yosemite now the app store is auto filling with someone else id?? But they seem to be my apps??

    I bought this MAC from a family member. Did everything need to change items to my apple id. Today I did the update for IOS Yosemite now the app store is auto filling with someone else id?? But they seem to be my apps??

    If you didn’t erase the drive and install using you AppleID, then the OS and the purchased apps are still registered to the other AppleID. You cannot change that by logging into iCloud. Apps are forever tied to the AppleID used to purchase/download them.
    You have to erase the drive and download/install the Apps using your AppleID.

  • HT4942 Is there a way to share an iWork document with someone else?

    I have a Numbers document in iCloud. Is there a way I can share that with someon else who also has an iCloud account?

    Not with icloud.  You can email it to them or use some other sharing service like Dropbox.

  • HT1386 My contacts keep deleting themselves and syncing with someone else?

    My contacts keep deleting themselves and syncing with someone else?

    Well, if you no longer sync contacts with iCloud, that means that anyone else using your Apple ID for iCloud will no longer have access to your contacts.

  • If someone else download an app with my account but i want a refound, it is possible?

    If someone else download an app with my account but i want a refound, it is possible?

    Maybe. The terms of the app store is that all sales are final. So the developer doesn't have to do anything. You can however contact the developer and see if they will give you your money back

  • Ipad locked with someone else icloud

    ipad locked with someone else icloud

    Apple implemented an anti-theft feature called Activation Lock earlier this year.  It is described here:
    http://support.apple.com/kb/PH13695
    The former owner's Apple ID and password are required to use the iPad.  Without that, the iPad will be locked forever.

  • Help - I left safari open on a public computer and now my favorites sync with someone else's

    I left my safari browser open on a computer that lots of people in our office use - now my iPhone and iPad favorites in Safari sync with someone else's favorites.  Too many people use that PC to figure out who it is, so I just need to separate my real account so that only my iPhone and iPad have access to my information.  I did clear my browser history and cookies in case they are syncing with this other person's account, but I think it's just the favorites that are getting changed up.  Help!

    Change your iCloud password as explained here: iCloud: Change your iCloud password.  That will prevent any other devices or computers being able to access your iCloud data without the new password.

  • Got mixed up with someone else's account, please help!

    Alright guys, I'm sorry for the long post, but this is quite a complicated situation now and I haven't been able to get help anywhere else.  I talked to a Reddit user who happens to work for Best Buy Corporate, and he recommended asking one of the Community Connectors.  So here I am.
    Let me start with my original issue:
    Back when "Best Buy RewardZone" was still around, my mother had signed up for an account for my family to use. At the time, I wasn't yet 18 and therefore a parent had to sign up on my behalf. My mom never actually shops at the store, though... the only time she even goes there is if she's buying a gift for me or picking something up that I had put on hold.
    I'm now 23, meaning we've had this account for probably six years. Obviously RewardZone is now just called My Best Buy, but it's the same number, and we're still getting the bonus points.
    Up until about a year ago, the emails were still going to my mother's email, including the rewards certificate. I had created a free account for myself (not associated with any rewards account) in order to buy something back in 2007 or so (before we signed up for RewardZone), so I couldn't change her email address to mine - the system simply would not let me do that since my email already had an account.
    What I did in the meantime was just create a second email for myself and change her account's address to that. That way I was able to check it and get my reward certificates, and she wasn't bothered. But, the account was still in her name. Now that I'm older than 18, I should be able to get it in my name. We have the same last name - it's obvious that I'm not trying to scam the system or anything. I can understand if "Jane Doe" wanted to transfer an account to "John Smith" and the customer service rep wouldn't allow it because that's completely sketchy, but why can't two members of the same family shift around who actually owns the thing?
    Well, I noticed a few months ago that there was an option to link my account to a different My Best Buy number. So I put in my "mom's" ID, then logged into that account to confirm it. The result was basically two different logins that belonged to the same rewards account - however, the purchase history was still separate.
    So anyway, on December 30, my mom and I called the Best Buy customer service number. She explained the whole situation, and was told that they can't change the name on an account - only two letters. This seems a bit suspicious to me, because if they had typed in somebody's name wrong when they signed up, that person would basically be stuck with it forever...
    I explained that even though the account had my mother's name on it, I was the one who was making the purchases for the past couple years. I used my credit card or PayPal account, so they were all technically under my name. What the lady said I can do is create a new Member ID, and that somebody could transfer those purchases to my new ID, under my own name. She said that since I already had an account (which was now tied to my mother's ID), what she'd do is just delete my account and then I would sign up using that same email address, and this time not put in a member ID.
    I did that, and she said somebody would transfer the applicable purchases (basically all of them for the past year at least) to my "new" account.
    It's been almost 3 weeks now and so far, my account still has absolutely nothing in it. I do notice that purchases made with my account have been moved over to my mother's account... the completely opposite direction as I wanted.
    A more serious issue, however. I preordered the Meta Knight Amiibo figure (Best Buy exclusive) from the site back when it was still in stock. Obviously now it's completely sold out, because of the high demand. Because the order hasn't been fulfilled yet, it completely disappeared from both accounts. I still have my order confirmation email, with the order number, but cannot actually pull it up online to view the status.
    So I called back today and explained all of this. I was basically told "We can't transfer points, period. Whoever you talked to last time was wrong." Well that's great, now my account is completely empty, despite the hundreds of dollars of purchases I've made, because of someone's mistake? This needs to be fixed. The person I talked to today said he'd tie the Amiibo preorder back with my account "in 7-10 business days" as the other person said. I have to hope this guy is actually telling the truth this time.
    But what can I do to fix this problem?
    This was my situation a month ago. 
    Luckily the Meta Knight has arrived just fine, and I did get the emails updating the status for me.
    I since then contacted customer support via the website, and got an offer to merge the two accounts in my name.  But here's the thing... they combined the wrong account! I'm not sure why they thought the other account belongs to me, but all of the purchases were made at stores in Ohio, and I'm not from there. The address on file is somewher eI've never been. It's clearly someone else's account.  Oh, and my Gamer's Club Unlocked has completely vanished as well, which I was told wouldn't happen.
    So basically right now, when I log in with my email address, I get somebody else's member ID, somebody who happens to have an Elite Plus membership - but no Gamer's Club Unlocked.  I've made a couple purchases in-store, but I need some help fixing this problem as soon as possible.
    The only purchase I *know* was made with the older account (the member ID that was auto-created when the My Best Buy program was launched, probably?) is that Meta Knight order, and I still have all the emails with the order number if somebody can look it up and find what My Best Buy ID it was tied to.  I also have the second member ID, the one I created while on the phone with customer service - and the current (WRONG) one.
    You see how this is just one massive problem?  I want to solve one thing at a time, though.  If one of the Community Connectors is able to move accounts and memberships around, please let me know and I'll shoot you a private message with details.  My first priority is simply getting that Gamer's Club Unlocked membership back as I did pay for it and want to buy some more video games, but I've been holding off since I haven't been getting that discount.  I can worry about getting the stuff moved over from the account in my mother's name after that.
    Thanks

    Hi drfsupercenter,
    Thank you for taking the time to sign up for the forum and connect with us. 
    After reading over your post, I can definitely see how everything involved may seem complicated; however, I am confident that I can get everything straightened out for you.  There is no reason why you should have to call into us over and over again or wait week after week for a resolution.  The terms of the My Best Buy program are pretty direct, so I believe any level of frustration could have been avoided.
    A My Best Buy account (formerly Reward Zone) is intended to be used by a single member, and a member is not to share their account, benefits, points, or certificates with anyone else.  If the account was in your mother's name, then it should have only been actively used by her.  When it comes to merging multiple accounts the name on each account must be the same.  While there are occasions where we can change/alter the name on an account, we cannot completely change a name.
    I looked over your account history using the email address you registered with the forum and see that two accounts were merged a few weeks ago.  If any purchases you did not make were somehow merged with your primary account, then I should be able to remove them.  I would also suggest that we make sure the information associated with your account is up-to-date.  You do have an active Unlocked membership, so we may just want to have you relink your accounts (My Best Buy and BestBuy.com).
    I want to apologize for any inconvenience you have experienced, and I would like to gather some additional information and go over your My Best Buy account with you, so I will be sending you a private message.  To check your private messages, you will want to login to the forum and click on the little yellow envelope icon located at the top of the page.  I look forward to further speaking with you to see what I can do to help.
    How to Link a My Best Buy™ membership to your BestBuy.com Account
    I hope you enjoy the rest of your day.
    Derek|Social Media Specialist | Best Buy® Corporate
     Private Message

  • How can I share my music library with someone else's ipod?

    how can I share my music with someone's else ipod?

    Wouldn't that be stealing or violating copyright law?

  • Email address associated with someone else!

    Hello,
    I am trying to update my correct email address to my Apple ID. I got a message saying that the email was already verified with another account. Thinking that maybe I accidentally created one in the past, I reset the password. The email that I got had someone else's name on it! How do I fix this??

    thanks Glenn, but that link takes me to where I enter my apple id and then i get the password emailed to me.  the problem is, i don't know what email address it is being sent to.  in lieu of emailing it, i can also answer a security question, which i have tried.  before getting to the security question, it asks for the birthdate associated with the apple id, and for whatever reason it isn't recognizing my birthdate.  that's why i thought if i could just retrieve the email address, that woudl be the easier route to go.

  • Icloud content mixed up with someone else

    I'm using icloud from the very begining. I never faced any problem with this service till now. Today, I've found someone else's contacts and pictures in my contact list and photo stream. It can be easily assumed that some other person also has my contents. So, I'm concern about my privecy. I want to know is there any option for me to resolve this mixed up issue?

    Contact iCloud support: http://www.apple.com/support/icloud/contact/.  If you are outside your free 90 day support window and haven't purchased AppleCare there would normally be a charge for the call.  However, you may be able to argue that you shouldn't be charged in this case as there has been an apparent breach of security on your account.  They would be the only ones who could resolve this.

  • Replacement iPhone keeps coming up with someone else's Apple ID

    Hi All,
    Yesterday I took my iPhone 4s to the Genius Bar which resulted in me getting a replacement phone. I was very happy with this until my phone is constantly asking me to sign in with my Apple ID but it is giving someone else's email address. I am constantly having to retype my email address and password at random times, not only when downloading updates from the App Store. It is now getting as frustrating as the initial problem I had with the old phone so almost wishing I hadn't bothered. Does anyone know of a solution please?!!

    Thank you!! Was sceptical that this would work as had already checked that I was definitely signed in but it seems to have solved it, thanks!!

Maybe you are looking for

  • No luck at all

    Struggling with getting iChat server to work. 10.5.5 Server is bound as a Domain Member to an Active Directory domain. I've tried everything I can think of to get this to work and came across this document: http://support.apple.com/kb/TA25006?viewloc

  • Structure of jsp:include file?

    When using the jsp:include action, what should the format of the included file be, ie, what tags, if any, should exist in the file that is to be included? Should it just be the raw source? Further to this, if I want to encapsulate all code for a comm

  • After Server 4.1 update, Time Machine backups are huge

    Hi, After updating to Server 4.1, every one of my Time Machine backups for the machine (Late 2012 iMac) running OS X Server (which is backed up to a USB connected drive) is between 3GB and 7GB.  When a backup finishes, I can immediately force a manua

  • TS2446 still not able to fix my problem

    my iphone shows that my apple ID is disable, I did follow all steps tp fix it and still not working

  • IOS Numbers. Ipad2. Can't sync document to iPhone 5s?

    I was using numbers on ipad2. Got numbers app on iPhone 5s also. Documents won't show up on phone even though turn on icloud. Why?