11-15-2011 09:30 AM
@broken Arrow wrote:
smercurio_fc wrote:
But don't you run the risk of creating ground loops?
Did you even bother to read the manual? Ground Loops are the loops placed toward the bottom of the wiring diagram.For my next Micro-Nugget, I'll be discussing using multiple Not gates in parallel to boost power in Boolean wires.
This(ground loops) is prevented by checking the option to "automatically insert feedback nodes in cycles".... silly knight! ![]()
11-15-2011 01:14 PM - edited 11-15-2011 01:15 PM
I thought zero times zero was zero (except for cases where it is a infinitely small non-zero number).
Well...maybe the RG was to make sure that it was...
11-15-2011 01:17 PM - edited 11-15-2011 01:18 PM
Been cleaning up RG's for over a month. I'd probably post an extra 1000 if they all made it to this thread...
Here is a potential Rube... There must be a better way to implement this... Right??
11-15-2011 01:28 PM
@Ray.R wrote:
Been cleaning up RG's for over a month. I'd probably post an extra 1000 if they all made it to this thread...
Here is a potential Rube... There must be a better way to implement this... Right??
WHAT no magenta! try a ring. (that is not a proposal. just an expression of my affection)
11-15-2011 01:34 PM
@Ray.R wrote:
There must be a better way to implement this... Right??
If there is some logic for generating the values then maybe yes, but otherwise, I would say that this is a perfectly logical place to use such a constant - you generate it once and you're done with it. Of course, you don't need to show all of it. It could simply have a scroll bar.
11-15-2011 01:52 PM - edited 11-15-2011 01:53 PM
Yes... Showing all the elements was done on purpose. I was wondering if I had missed a property that would generate it automatically. That's why I thought it was a potential RG. After fixing so many RG's, my brain has difficulty processing what is and what isn't a RG..
No need for a scrollbar since showing the first element is sufficient.
Yikes... I might be on my way to the Funny Farm..
11-15-2011 02:18 PM
twice in this month. Napoleon
11-15-2011 07:23 PM - last edited on 11-17-2011 06:13 PM by JordanG
Here's the latest one I must finish tonight. No documetation, no explanation.. Not sure it works...
Oh boy.. This makes me look forward to retirement..
These are two halves of the same vi which is too wide to post within reason.. I'm sure it's a RG.
I'll see what I can do.. 😉
11-15-2011 11:47 PM - edited 11-15-2011 11:49 PM
@Ray.R wrote:
I'm sure it's a RG.
I agree completely!
The first small loop is basically a padding "array subset". Since the input ("CSR Error 128x2") already has these dimensions so it is probably a NOOP. Impossible to tell.... The second loop is pure RG, basically looping over the two rows coming out of loop 1. The inner for loop creates an array of indices and two arrays of size N-1, one shifted by one, otherwise identical. After combining the outputs into a 2D array, we immediately tear it apart into the two rows we had a nanosecond earlier, doing some incomprehensible boolean voodoo, then finding the corresponding element where the boolean array is true for the first time using a while loop. I canont tell if the theoretical possiblity exists that these loops never stop. The second program is crazy from simply looking at a code image. How many instances of the same misrepresented diagram constant do we possibly need??
Since you are not sure if it works correctly and there is no documentation, I don't see how you can possibly verify correct operation? 😮
11-16-2011 06:53 AM
Hmm.. "boodoo". Sorry - it's early and the coffee is not done brewing.
@altenbach wrote:
incomprehensible boolean voodoo