From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

Boolean Cluster Wrong Input Values

Solved!
Go to solution

Hello Everyone,

 

I've seem to run into a problem with an input to one of my sub VIs. As seen in the image below, I have a while loop with a event structure inside. I'm shifting in a cluster of boolean control values, which is modified by a series of user input data prompts in a different event case. When passed to the case in the image, the values, as seen in probe 5, are correct. However, when it is received by the first subVI in the structure, the values are all false as seen by probe 6. 

 

So far I've tried: 

- Closing and re-opening LabVIEW 

- Recreating the control via the probe 5 wire and re-wiring the input

-making the control "synchronous display"

 

Thanks in advance to anyone able to help!

0 Kudos
Message 1 of 5
(2,798 Views)

Can you supply any actual code that shows this problem?  I'm thinking you might have a wiring error.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 5
(2,793 Views)

Here are the necessary VI files.

 

Also Tried:

-making cluster a typedef control

-making cluster typedef, initialized with typedef constant. 

0 Kudos
Message 3 of 5
(2,772 Views)
Solution
Accepted by topic author RASGary

You have another one of those functions hidden underneath the function you can see.  Your input clusters are actually wired to that.

 

BTW, having your inputs defaulting to Required would have found this.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 4 of 5
(2,767 Views)

Good find and thanks for the advice!

0 Kudos
Message 5 of 5
(2,751 Views)