09-16-2005 09:26 AM
Again, I see that as an over-generalization. Do you consider subVIs to obscure the functionality? You have to open them up to see what's happening inside.
When using a 10-frame sequence, I find it hard to use the flat ones, and the add to the bloat of the diagram (screen-size wise).
I'm not sure what data flow rules are broken by the flat sequence structure.
All the other structures say that the wires going out of them do not become valid until the entire structure executes. Even if you wire something out of frame 0, it's not available to the receiver until the last frame has finished. That's true for FOR, WHILE, CASE and stacked SEQUENCE structures. But no, the flat structure is different, for reasons I don't understand. If you wire something out of frame 0, then it's available as soon as frame 0 finishes.
One of the things that always annoyed me about the stacked version is that you had to route the signals from one level to the other in ugly ways to try and maintain the left to right flow in each frame.
Fair enough - I agree with you there.
But ultimately the use of flat or stacked or sequence structures at all, is one of preference.
Agreed, which is why I wonder why the "they are bad style" is used as if it were fact.
This forces you to stop, read and interpret the text. I, personally, am able to interpret simple graphical images faster, finding the "scope" icons faster than the very coarse text "scope" on a myriad of similar looking textual based icons.
If everything in a program was a "simple graphical image", then I would agree with you. But my current project, for example, has 480+ of my VIs. It becomes especially difficult to design 480 distinct icons, and have them mean something (to me, anyway).
Heaven help me if anyone sees the early stuff that I produced,
I learned on LabVIEW 1.2 (1989 - the wires would not stretch if you moved a function. you had to disconnect them all, move the function, and re-wire it. YIKES!) But some of my stuff on LV 2.2 (1992 or so) is still running, AFAIK. I don't have access to it anymore, but I'm sure I would be similarly appalled.
Thanks for your comments.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
09-16-2005 10:24 AM
To help sell the graphic icon idea, I offer the attached screen shot and ask you attempt to answer the following questions.
1) Which VI's are used in the PIDs?
2) Which VI's are used to compute Isc and Voc for the diodes characteristic curve?
3) Which VI's control the Lamps?
4) Which VI's control the curve tracer?
5) Which VI's are file related?
6) BONUS QUESTION: Which VI launches the error logger?
09-16-2005 11:50 AM
8... What does the bricks-falling-onto-a-diving-board icon represent?
9... What's the difference between the "WAIT" function and the "Wait" function?
10... What does it mean when there are 30 icons with the same picture, distinguished only by text?
;->
Blog for (mostly LabVIEW) programmers: Tips And Tricks
09-16-2005 12:09 PM
Thank you for the follow-up Q's Coastal! Your Q's are seldom easy to answer but the prcess of trying is often worthwhile.
Ben
09-20-2005 12:15 PM
09-20-2005 12:21 PM
"i think it is impossible to write perfect code"
You are on the same page as Plato!
It is worth trying to prove yourself wrong
Ben
09-20-2005 12:50 PM
09-29-2005 11:56 AM
09-29-2005 01:13 PM
09-30-2005 06:48 AM
Hi vivi,
I can send you some of them... I will try to remember to do that this weekend.
The nicer ones I created were for the visionProbe & visionIce programmers.
Basically, I "borrowed" the pattern from Rohde&Schwartz. You could download their LV drivers for their spectrum analyzers. It was the best example I could find. Basically, they created a tree which describes each of their vi's. I started with that and used solid colors as backgrounds for the icons and degraded colors for backgrounds of specific functions, such as Flash programming (dark to light blue), FPGA programmer (Orange to yellow), etc.
Although I try to keep a vi to a single page, the color scheme helps you to "see" its contents. And less brain CPU to figure out what it does.
Oh..oh... I'm starting to share my secrets.... and to the competition 😉 Oh yeah.. you're south... I guess it's ok.. 😄
First try looking at the icons from the vi's from R&S. I will (try) to check this forum during the weekend.
Take care,
JLV