LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Average after every 20 scans

This is where you read the error message and do some debugging.  The message tells you the reference is invalid.  If you put a probe on the reference wire, it will help show you why and when it goes invalid.

 

Your latest picture doesn't quite match your VI.  In your picture, the purple tunnel that leaves the case structure is hollow.  That means the tunnel is not wired in every case, and the tunnel is set for "Use Default if Unwired".

 

It seems that sometime the case where the tunnel is unwired executes, sets the reference to a default value, then you get the error when those subVI's finally run.

 

My guess is that somewhere along the line, you added a new case, but didn't wire those references all the way through.  That is why it is a bad idea to set a tunnel to "Use Default if Unwired".  Unchecking that setting would have given you a broken arrow right away and a notice to fix the missing wire once the additional cases were added.

Message 21 of 24
(478 Views)

@RavensFan wrote:

This is where you read the error message and do some debugging.  The message tells you the reference is invalid.  If you put a probe on the reference wire, it will help show you why and when it goes invalid.


 

Good advice... and good eyes. 😉

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 22 of 24
(466 Views)

That was it....runs now. Thanks for your help. Can someone help me with implementing the averaging?Capture.PNG

0 Kudos
Message 23 of 24
(452 Views)

Have you ever thought of simply hiring someone with LabVIEW experience and expertise?  Or maybe finding such a person and apprenticing yourself to her (or him) in order to get some "hands-on" learning?

 

Bob Schor

0 Kudos
Message 24 of 24
(433 Views)