BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

Add (and more) with Error input/output

Anyone familiar with this beast:

 

Add with Error.png

 

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:

 

Screen Shot 2015-04-15 at 10.40.00.png

 

However, if you FIRST connect an error input, things become interesting:

 

Screen Shot 2015-04-15 at 10.42.27.png

 

Watch this:

 

Screen Shot 2015-04-15 at 10.43.37.png

 

Then:

 

Screen Shot 2015-04-15 at 10.45.30.png

 

Oops! The VI is now broken...

Note that I sometimes get this instead (still broken though):

 

Screen Shot 2015-04-15 at 10.47.20.png

 

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):

 

Screen Shot 2015-04-15 at 10.49.26.png or Screen Shot 2015-04-15 at 10.50.08.png

 

This little animal gives you access to a series of similar one if you use the "Replace" contextual menu:

 

Screen Shot 2015-04-15 at 10.53.26.png

 

etc...

 

or as standalone:

 

Subtract with Error.png Multiply with Error.png Divide with Error.png

 

 

 

 

 

0 Kudos
Message 1 of 5
(6,127 Views)

I guess that's the only test I didn't do (connecting two waveforms to a regular operation primitive)!

Thanks for the link.

0 Kudos
Message 3 of 5
(6,116 Views)

That's probably the most convoluted thing I've ever seen in LV. Smiley Surprised

PaulG.

LabVIEW versions 5.0 - 2020

“All programmers are optimists”
― Frederick P. Brooks Jr.
0 Kudos
Message 4 of 5
(6,097 Views)

@PaulG. wrote:

That's probably the most convoluted thing I've ever seen in LV. Smiley Surprised


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:

 

Screen Shot 2015-04-15 at 16.16.27.png

 

gets this as an explanation:

 

Screen Shot 2015-04-15 at 16.17.19.png

 

Problem is, the context window shows zilch in terms of explanation. However it does show this:

 

Screen Shot 2015-04-15 at 16.18.14.png

0 Kudos
Message 5 of 5
(6,079 Views)