10-07-2011 10:25 AM
@Steve Chandler wrote:
This construct is very similar to the first reply in this thread. Maybe the following code was posted in one of the other many replies.
Found in a code review.
There's too much confusion
can't get no relief
Buisness men they drink my wine
Plowmen dig my earth
None would ever compromise
Nobody of this world
10-08-2011 12:04 PM
Plot Images.vi found with the example finder is not exactly an RG but there is some pointless code.
10-12-2011 03:14 PM - edited 10-12-2011 03:15 PM
A simple array transformation apparently needs a lot of code (top). The bottom shows an equivalent alternative, too simple! 😄
Note that LabVIEW is actually smart enough to fold most of the while loop code ("transpose", "array size", "index array", "-1"), because it is loop invariant. WIthout this feature, we would repeat e.g. the same transposition on the same data N times in a row.
10-13-2011 04:17 PM - edited 10-13-2011 04:23 PM
Found in Agilent 34790.Lvlib:List to array
for whatever its worth I think the string searches in the upper case call the split string function anyway but I won't bother benchmarking either
10-13-2011 05:14 PM
That "continue if true" is a hint that this is ancient...
10-18-2011 10:32 AM - edited 10-18-2011 10:43 AM
Just when you thought you've seen it all, a VI gets posted that pushes the boundaries a little bit more.
Just look at the navigation window. It actually brings LabVIEW to its knees. redrawing the navigation window is really sluggish on my machine. 😄
(seen here. Also notice that some people program the same way as they compose post titles ;))
10-20-2011 10:16 AM - edited 10-20-2011 10:17 AM
The curious case of the blue booleans!
Is there a reason to temporarily convert booleans to numbers just do do some boolean operations?
(Of course we would also have e.g. "in range and coerce" to simplify things even more ;))
10-20-2011 10:31 AM
@altenbach wrote:
The curious case of the blue booleans!
Is there a reason to temporarily convert booleans to numbers just do do some boolean operations?
To do it just like it was developed in VB. (If I remember my text programming correctly)
10-25-2011 04:11 AM
Really this thread is very good and very much useful.. My hartley thanks to the author.
11-01-2011 01:52 PM
@altenbach wrote:
The curious case of the blue booleans!
Is there a reason to temporarily convert booleans to numbers just do do some boolean operations?
(Of course we would also have e.g. "in range and coerce" to simplify things even more ;))
I've been digging through code tha looks like this for the past month..
Except for the locals..