 altenbach
		
			altenbach
		
		
		 
		
		
		
		
		
	
			08-03-2006 10:09 AM - edited 08-03-2006 10:09 AM

Message Edited by altenbach on 08-03-2006 08:10 AM
 Darren
		
			Darren
		
		
		
		
		
		
		
		
	
			08-03-2006 01:03 PM - edited 08-03-2006 01:03 PM
I'm not making this up...the following was in a VI I was doing a code review on several years ago:

You'll all be happy to know this person no longer works at NI.
-D
Message Edited by Darren on 08-03-2006 01:03 PM
 Ben
		
			Ben
		
		
		 
		
		
		
		
		
	
			08-03-2006 01:46 PM - edited 08-03-2006 01:46 PM
When I was "wee-G-Babe" I wanted to sort folders based their size.
I did not know about the "Cluster Sort" method so I coded up a variation on a bubble sort.
Greg McKaskle said he was stumped for a while but eventually figured it out.
This was one of the first "Bad" from the "Good the Bad and the Ugly" series.
Ben
Message Edited by Ben on 08-03-2006 01:47 PM
 jasonhill
		
			jasonhill
		
		
		
		
		
		
		
		
	
			08-04-2006 09:59 AM - edited 08-04-2006 09:59 AM
Message Edited by jasonhill on 08-04-2006 10:00 AM
08-04-2006 10:15 AM
I think I saw a variation of this in PRIME.vi posted yesterday. As a bonus, it also contains Darren's construct inside the case structure. 😉
So how do we go about constructive criticism in these cases? I am sure a few nudges in the right direction can make a big difference. Still I am impressed that people with no obvious LabVIEW or general programming background can get a fully working program together. 🙂
 
					
				
		
 TCPlomp
		
			TCPlomp
		
		
		
		
		
		
		
		
	
			08-04-2006 02:18 PM - edited 08-04-2006 02:18 PM
 Sorry Altenbach..
 Sorry Altenbach..Message Edited by TonP on 08-04-2006 09:36 PM
 
					
				
		
 JeanPierre
		
			JeanPierre
		
		
		
		
		
		
		
		
	
			08-04-2006 06:03 PM - edited 08-04-2006 06:03 PM
Message Edité par JeanPierre le 08-04-2006 07:04 PM
LabVIEW, C'est LabVIEW
08-07-2006 11:02 AM
Ok, this is too good to pass up. I do not mean to offend the original poster(s) but check out the following:
Among the 10 or so user-submitted examples in this category are two that are particularly noteworthy.
Before opening them, think about how you'd write a VI with this name... For me, I was thinking Array Size followed by Index Array if you wanted them as scalars. Both of the above VIs are equally effective, but I'm not sure that's how I'd teach someone to do it. 🙂 Definitely not too efficient.
 Ben
		
			Ben
		
		
		 
		
		
		
		
		
	
			01-04-2007 07:54 AM
In this thread
http://forums.ni.com/ni/board/message?board.id=170&message.id=222491&jump=true
I posted a method to copy the contents of a cluster to another cluster.
Ben
 
					
				
		
 tst
		
			tst
		
		
		 
		
		
		
		
		
	
			01-04-2007 09:58 AM
And here I was thinking that this code was supposed to copy an array of variants into the cluster...
@Ben wrote:
In this thread I posted a method to copy the contents of a cluster to another cluster.
