01-24-2019 09:53 PM - edited 01-24-2019 09:59 PM
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.
01-25-2019 09:59 AM
@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. 😉
01-28-2019 08:55 AM - edited 01-28-2019 09:05 AM
That was it....runs now. Thanks for your help. Can someone help me with implementing the averaging?
01-28-2019 12:07 PM
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