From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1

Solved!
Go to solution

Hello,

 

I'm trying to build a producer/consumer loop to process Boolean data from a single digital line, but I keep receiving an error. I have attached a image of the error box and my vi below. I have done my best to trouble shoot it with no success. Can anyone see the cause of this error?

Download All
0 Kudos
Message 1 of 2
(1,972 Views)
Solution
Accepted by topic author jereger

Case structure in lower consumer loop.  You made the mistake of having your tunnels set to "Use Default if Unwired".  As a result, you didn't get an error when you failed to wire through the file reference in the false case.  So you lose file reference when the false case executes thus getting error 1 when you do want to use the file reference.

 

FIX:

1.  Right click on tunnels and uncheck "Use Default if Unwired".

2.  Fix the VI that will now be broken by wiring through the reference wire in the false case.

Message 2 of 2
(1,920 Views)