12-22-2014 04:57 PM
This is a poster I made of working LabVIEW code to hang on the wall in my office. I made it in a way that allows me to show people multiple aspects of LabVIEW and the general architecture of some VIs.
Those who know LabVIEW, no need to look closely, it's mostly fluff. Also, please don't hate me for changing the color of the error cluster wires to make it more aesthetically pleasing. Hope you guys like it!
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
12-22-2014 05:22 PM
Very nice. I try to keep my VIs to a "screen-full" (1280 x 1024), so they don't look quite as impressive. But do you really need to use the Sequence structure? I counted five of them (two with double-frames), and all seem unnecessary ...
BS
12-22-2014 05:31 PM
Haha, well the poster is quite large, so I picked a pixel-per-inch value and aimed for that.
You're right about the double-frames, those are unnecessary now that I look back. I think they originally contained something other than those Rendezvous VIs. I use the single frame structures in cases where the internal items don't have an error cluster available (occurances, string manipulation, indictor updating). That being said, most of the spots where they're used are unnecessary fluff code anyways.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
12-22-2014 06:07 PM
Heck I wouldn't even have known you changed the colors of the wires because I'm colorblind. 😉
That being said, with so many loops, I would've probably made them all into subVIs. But then it wouldn't be so dramatic. 😉
What's the For Loop tacked onto the end of the third While loop do?
12-22-2014 10:24 PM
hmmm....green error cluster wires - i like it!
a poster like that is a great idea to show concepts and working approaches
but the big questions is - does it run properly?! 🙂
12-22-2014 10:29 PM - edited 12-22-2014 10:30 PM
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
12-23-2014 09:50 AM
@James.M wrote:
Bill, the For loop doesn't really do anything. More fluff.
David, it works properly and does what it was meant to do. Unfortunately, I made it as a challenge of sorts to my coworkers as it pertains to HTML code from our company website; therefore, I won't be sharing the actual code for now.
Oh, I see what you are trying to do. This is to everyone to "think LabVIEW". And of course you can't see inside a printed subVI. 😉 I don't know why I didn't pick that up before. You actually stated that quite clearly at the end.
I think the thing it illustrates very well is that LabVIEW is inherently parallel. I think the biggest difference, conceptually, is that it takes some work to get things in a text-based language to run in parallel; it takes some work to get LabVIEW to work in a linear fashion.
12-23-2014 11:06 PM
Why do you clear the errors in the bottom 2 loops?!
12-23-2014 11:24 PM
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
12-24-2014 09:43 AM
billko wrote:
it takes some work to get things in a text-based language to run in parallel; it takes some work to get LabVIEW to work in a linear fashion.
I find just the opposite true for LabView. Parallelising LabView program complexity increases exponentially.