02-01-2013 08:06 AM - edited 02-01-2013 08:07 AM
Not quite as exciting as the above Rube, but here's an interesting way to get the rows of an array. I did the block diagram cleanup, so keep in mind it looked worse. Found here:http://forums.ni.com/t5/LabVIEW/Why-my-program-not-stopping/m-p/2300632#M724468
02-01-2013 10:56 AM
According to the thread he wants to split the 2D array into 2x 2D arrays, one with the even rows and one with the odd rows. Even your cleaned code simply rattles through the array and displays the last row after a few nanoseconds, nothing else. How useful is that?
02-05-2013 04:19 PM - edited 02-05-2013 04:19 PM
Exponentiation, the hard way (or if the exponential function never existed):
Also notice that with the above code the exponentian needs to be done [Dim1xDim2] times with lots of duplicate recalculations, while it would be sufficient to do it [Dim1+Dim2] times. For example, with a 1000x1000 result, the difference would be 1000000 vs 2000, or 500 times less with more efficient code.
Here's what I would probably do. Same result!
02-21-2013 04:41 AM - edited 02-21-2013 05:09 AM
I suppose this could go in to the funny threads as well. I do feel for Norbert though!
Here is an interesting rube:
http://forums.ni.com/t5/LabVIEW/Terminating-two-independent-while-loops/m-p/2323086#M728938
02-21-2013 05:35 AM
@.aCe. wrote:
I suppose this could go in to the funny threads as well. I do feel for Norbert though!
Here is an interesting rube:
http://forums.ni.com/t5/LabVIEW/Terminating-two-independent-while-loops/m-p/2323086#M728938
It's not just AN interesting rube. It is a TON of rubes. *shaking head*
My favorite is getting a subarray of 1 element and using the type cast to turn the subarray of U8 into a U8.
02-21-2013 05:36 AM
I especially had to laugh about the quote "The block inside first while loop can't be small."
I understand it when people say they don't want/need it to be small, although I don't agree with them.
Maybe it's some kind of moral belief or esthetic principle ("and then there was free block diagram space!") 🙂
I always find it a challenge when people use words like never, always, can't, ...
(and yes I know I used always in this sentence 🙂 )
02-26-2013 07:38 AM
Rube discussed here
Original post: OP was trying to apply a linear adjustment (numeric) but had created an array of strings.
someone suggested: for the linear adjustment
People should NOT overconvert!
03-11-2013 08:37 AM
03-27-2013 06:24 AM
03-27-2013 07:45 AM
Wow, in the lower res view here that looked like a complex timing diagram rather than a block diagram!