NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Active Participant
paulmw
Posts: 394

Re: Sequence-itis

[ Edited ]
I've heard stories about this guy (boolean == true?) but I never thought I would see one.
 
 

Message Edited by paulmw on 09-05-2007 08:44 AM

Active Participant
Ralph@NES
Posts: 219

Re: Sequence-itis

I'm surprised none of mine ended up in here.
___________________________________________________________________
Still confused after 6 years.
Knight of NI
Ray.R
Posts: 10,165

Re: Sequence-itis

LOL! @ Ralph! 

We all have code that shows up here at one time or another.... We 'll have to dig deep to find examples from Altenbach!! :smileyvery-happy: :smileyvery-happy:

.
(starting to) See Life in a brand new way...

b* ^ )
Active Participant
MattH
Posts: 201

Re: Sequence-itis

Attached is a "PLC Driver" in LLB form. Open the file "PLC Checksum 232.vi" as the main VI.
 
I inherited this. It was used EVERYWHERE here before I started. It is even capped off with a "if true = true, then true" code block.
Active Participant
MattH
Posts: 201

Re: Sequence-itis

[ Edited ]
Found this in a variation of the above "driver" for another instrument. The device didn't always respond as expected... so... repeat for command length. (Up to 256 char length) and wonder why it seems so slow. This function is called about 1000 times in the sequence. Also note the "special" case use of the error handler.

Message Edited by MattH on 09-11-2007 09:37 AM

Active Participant
MattH
Posts: 201

Re: Sequence-itis

Someone mentioned bad icons or at least a hint about "creative" icons when talking about the icon for "cell" values.

When I was an intern at NI (2001) I wrote up a demo that used 1 arb across 4 scopes. The VI that handled the synchronization had an icon of a kitchen sink, including the open window above it with curtains and a wonderful sunny day. The Software then called a VI to trigger the test... I drew a handgun.

Last year (2006) I took the first iteration of the "Advanced I: Architectures" course. About half way through they covered "bad" icons that were so localized that ANYONE outside of the country and some in the US wouldn't understand them... Both of my icons were first on the list.... woohoo, I made the cut!

Active Participant
Ralph@NES
Posts: 219

Re: Sequence-itis

I'm the only one that interfaces with the block diagrams in my company, heck I'm the only one that even knows a little about what labview does.
 
My last project I beat myself silly on a SubVi for a week, when I finally got it to work, the icon is just a smiley face.  That's gonna confuse someone!
___________________________________________________________________
Still confused after 6 years.
Knight of NI
Ray.R
Posts: 10,165

Re: Sequence-itis

LOL!!  Oh yeas... the smiley face icon...

I did that last year.  We worked all day trying to figure out a bug.  The RF engineer & I sat down and basically coded a solution on the spot.  It was one of those "don't ask... it works... don't ask...". So I drew a smiley face Icon (twas late) and put the controls and indicators to interface with the existing code.  It was a temp fix..  Well, the smiley faced vi is still there..  LOL!!! :smileyhappy:

Smiley faces and other unsusual icons seem to last a long time..  I guess it goes with the "don't fix what's not broken" approach.  :smileyhappy:

.
(starting to) See Life in a brand new way...

b* ^ )
Knight of NI
altenbach
Posts: 22,846

Scale and add the first three elements of an array.

[ Edited ]
Here are a few ways to scale and sum the first three elements on an array:
 
Some ways are easier than others. Of course if we keep the upper style, we need to fight with huge diagrams even for simple programs. :smileyvery-happy:
 
 
 

Message Edited by altenbach on 09-14-2007 02:51 PM


LabVIEW Champion . Oh, by the way, I work for peanutsKudos .

Knight of NI
Posts: 18,064

Re: Rube Goldberg Code

[ Edited ]
In this post we have an excellent example of how not to do a "Strip Path" function:

Message Edited by smercurio_fc on 09-17-2007 10:28 AM

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page