04-15-2015 12:54 PM
Anyone familiar with this beast:
which I found in the Noise Reduction.vi Example (after wandering around aimlessly amongst Express VIs).
Interestingly, as soon as you connect two typical inputs to the Add function, the Error inputs disappear:
However, if you FIRST connect an error input, things become interesting:
Watch this:
Then:
Oops! The VI is now broken...
Note that I sometimes get this instead (still broken though):
Try to hover over the Error output and it switches to a red cross, so it is very transient (maybe a displat glitch).
Now, if you connect Waveforms (as it was used in the VI I found it in), the Error input/output are fine (and the VI is not broken):
or
This little animal gives you access to a series of similar one if you use the "Replace" contextual menu:
etc...
or as standalone:
04-15-2015 01:06 PM
Some discussion about this function.
http://forums.ni.com/t5/BreakPoint/Quiz-Can-you-get-your-Add-function-to-look-like-this/td-p/2566605
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
04-15-2015 01:13 PM
I guess that's the only test I didn't do (connecting two waveforms to a regular operation primitive)!
Thanks for the link.
04-15-2015 03:46 PM
That's probably the most convoluted thing I've ever seen in LV.
04-15-2015 06:15 PM
@PaulG. wrote:
That's probably the most convoluted thing I've ever seen in LV.
I am not sure I understand, but the description of these error input and output's behavior is to say the least, lacking:
"If you wire two waveform values or two dynamic data type values to this function, error in and error out terminals appear on the function."
I am not using waveforms or dynamic data type (which are apparently limited to Express VIs), so never had a chance to see those versions of the basic arithmetic operators.
For instance, the fact that this diagram is broken:
gets this as an explanation:
Problem is, the context window shows zilch in terms of explanation. However it does show this: