12-09-2022 03:42 PM
I've used this many times: Allow a TRUE to pass through only if there is no error.
But deep in a piece of code, I had this mistake: It took me forever to spot it. It was hard to track down because it would manifest only occasionally when called from a series of Drag-Over events.
I could chalk it up to old age; but I've been having brain cramps my entire life.
12-10-2022 01:05 AM
One more reason I would use the typical OR or AND functions instead of Compound Arithmetic if there are only 2 nodes.
But this is quite possible when using Compound Arithmetic with a bunch of nodes and with the invert logic per node.
12-11-2022 11:53 AM
... one problem is also that the invert circle gets completely camouflaged by the error wire here.
There are plenty of ideas. Personally I like this version, which can actually eliminate the invert circles completely, making use of that unused blank space. 😄
12-11-2022 05:31 PM
@altenbach wrote:
... one problem is also that the invert circle gets completely camouflaged by the error wire here.
There are plenty of ideas. Personally I like this version, which can actually eliminate the invert circles completely, making use of that unused blank space. 😄
I like it, but I would keep the circle:
12-12-2022 06:04 AM
@paul_cardinale wrote:
@altenbach wrote:
... one problem is also that the invert circle gets completely camouflaged by the error wire here.
I like it, but I would keep the circle:
But then you could interpret that as: negate the inverted input...
12-12-2022 06:20 AM
@thols wrote:
@paul_cardinale wrote:
@altenbach wrote:
... one problem is also that the invert circle gets completely camouflaged by the error wire here.
I like it, but I would keep the circle:
But then you could interpret that as: negate the inverted input...
Do you interpret this "negate the inverted input"?
12-12-2022 07:57 AM
@paul_cardinale wrote:
@thols wrote:
@paul_cardinale wrote:
@altenbach wrote:
... one problem is also that the invert circle gets completely camouflaged by the error wire here.
I like it, but I would keep the circle:
But then you could interpret that as: negate the inverted input...
Do you interpret this
"negate the inverted input"?
oops 😉
12-12-2022 08:59 AM - edited 12-12-2022 09:00 AM
@paul_cardinale wrote:.Do you interpret this
"negate the inverted input"?
We talked about that almost 10 years ago. 😄
We don't have no reason not to discuss this not again... not!
12-12-2022 09:13 AM
12-12-2022 09:28 AM - edited 12-12-2022 09:32 AM
I usually use the second case anyways (sans inverter). The output of the compound node is most of the times wired to the loop termination terminal and I want to have the loop stop on error OR when the condition has been met (usually trying to connect or such, searching something in an array, or similar). The boolean is then also wired outside of the loop with "Last" tunnel mode and used directly as indication of success to perform some further things on the found resource.
And yes those inversion dots are sometimes difficult to notice. I had screen configuration where they would sometimes completely disappear and you had to let LabVIEW refresh the diagram completely to make them appear again. And on high resolution screens they can get so tiny that they are almost invisible anyhow, even when LabVIEW doesn't "forget" to draw them.