Our online shopping is experiencing intermittent service disruptions.
Support teams are actively working on the resolution.
Our online shopping is experiencing intermittent service disruptions.
Support teams are actively working on the resolution.
06-27-2014 10:51 AM
There are many situations where I have to develop code within short time, but I am not able to control myself from cleaning the BD.
From some of my fellow collegues I was advised not to care about the wire bends and other stuffs and complete the code. Later part we can cleanup the code, but I am not able to follow this. Even when I check the code of others and if I see wire bends and mis-alignment I start correcting them.
Feel free to post your opinion.
06-27-2014 11:12 AM
Trust me, you are not alone. See this thread on LAVA for some good examples: Anyone else OCD about alignment and positioning in block diagrams?
I am so bad that I usually clean up somebody's diagram just to figure out what they are doing. I also created a few shortcuts to help me clean up. And my number one righ-click menu that I use is "Clean Wire".
My opinion is you will never have time to go back and do it right. Just do it right the first time. This includes clean up and documentation.
06-27-2014 11:16 AM
@crossrulz wrote:
Trust me, you are not alone. See this thread on LAVA for some good examples: Anyone else OCD about alignment and positioning in block diagrams?
I am so bad that I usually clean up somebody's diagram just to figure out what they are doing. I also created a few shortcuts to help me clean up. And my number one righ-click menu that I use is "Clean Wire".
My opinion is you will never have time to go back and do it right. Just do it right the first time. This includes clean up and documentation.
The very same reason I do. Now I have to practice myself doing quick documentation 🙂
06-27-2014 11:18 AM
I usually find I have plenty of time to clean up while I'm thinking about what I'm going to do next. My biggest source of frustration is deciding what my icon is going to look like.
06-27-2014 11:23 AM
@PaulG. wrote:
I usually find I have plenty of time to clean up while I'm thinking about what I'm going to do next. My biggest source of frustration is deciding what my icon is going to look like.
I always use the same template with a heading and body color. I use the same in every project I do, and people easily identify whose code while sharing. Also I am not fancy about the Icons, simple and easy to understand.
06-30-2014 03:06 AM
You are not alone on this. I got hit a few times by going through "others" coding and which had its positive eefect on my coding style.
Ever had to scroll for a few minutes to see the entire vi?
06-30-2014 03:37 AM
@muks wrote:
You are not alone on this. I got hit a few times by going through "others" coding and which had its positive eefect on my coding style.
Ever had to scroll for a few minutes to see the entire vi?
Not on my code Only a few times when I had to see the code, posted in forum.
06-30-2014 03:38 AM
Yup, doing it all the time. It's quite annoying when you've spent some time making a VI look nice, compact and stylish just to open it in a later version of LV where the default font is increased and all alignments are lost!
/Y
06-30-2014 12:45 PM
How many of us have opened a example from the example finder, and then spend a few minutes cleaning it up? I always stop half way through. Of course in 2012, and 2013 NI have been improving their examples but still there is some coding preferances that I find myself doing like terminals on the side, and labels on the terminals being transparent.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-30-2014 05:22 PM
P@Anand wrote:
@PaulG. wrote:
I usually find I have plenty of time to clean up while I'm thinking about what I'm going to do next. My biggest source of frustration is deciding what my icon is going to look like.
I always use the same template with a heading and body color. I use the same in every project I do, and people easily identify whose code while sharing. Also I am not fancy about the Icons, simple and easy to understand.
I had heard/was taught that "template" icons with english descriptions was frowned upon. Your template method makes a ton of sense. I don't know how I got sucked into making icons "easy to understand" pictures. I guess the old school wants to make icons look like primitives.