03-28-2011 04:11 PM
It is really hard to fit a total description inside of the VI's icon. As an alternative, may I throw out the following suggestion. Document your block diagrm in such a manner as to describe each subvi in detail. To do so with standard comments next to each subvi would clutter up the diagram. I use a method that I have seen in some NI examples. It is very clean. Put numbers next to each subvi. Put in a large comment box that explains what is happening at each number. The attached picture demonstrates this principle. I use it quite often. You could put the description in the VI Documentation section, then copy and paste into the comment box.
03-29-2011 02:01 AM
That right, we can use numbers and it is very clean, but...
If you use auto clean up, labels goes in the la-la land...
If automatic resizing is checked, we can have some paranormals phenomens...
It's possible to show labels of subvi, but we can't edit it as easily as all terminals. We have to r-click and select properties, and it's a little boring...
I maintain that making icons larger should be sweeter.
03-29-2011 06:45 PM
@Kant84 wrote:
That right, we can use numbers and it is very clean, but...
If you use auto clean up, labels goes in the la-la land...
I never use auto cleanup because I can't control what it does. I just write my code in a clean fashion right from the start. This really saves a big headache in the future. Not everyone will agree with this, I'm sure. But for me, it is worth the extra time to make it clean right from the start.
However, I am certainly in favor of a slightly bigger icon, in order to more accurately portray the subvi. But not too big so as not to take up too much room on the block diagram. Now who is going to determine what is too small and what is too large?
03-30-2011 03:08 AM
"I just write my code in a clean fashion right from the start"
I agree with you, but I'm now working on code written by another... and i can't avoid headache
"Now who is going to determine what is too small and what is too large?"
Very simply : when you see connector like that
we can gess there is something to improve...
Thanks
03-30-2011 11:41 AM
a flat sequence thrown around the sub-VI and free label will keep them to together
03-31-2011 02:29 AM
Why not... Prefer use Diagram Disable Structure, it's better for memory usage...
but it's still a little boring 🙂