LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass data.

In the subVI, your cluster is 4 Booleans and 2 I32. The indicator in both the subVI and main is 4 Booleans and 2 DBL. Since you didn not provide the .ctl, I had to disconnect from the type def. I also don't understand how you created the reference in the subVI. It is not at all the same as the reference in the main. A simple way is that in the main, when you create a reference, just drag it to the front panel of the subVI. With the correct reference and changing the representation of the numerics in the cluster, I don't have any coercion dots. You also don't have to use the To Variant and you will be writing to a strict reference. Here's a modified subVI. I also fixed your connector pane. Convention is to place inputs on the left side and outputs on the right side. Yours were the opposite.
0 Kudos
Message 21 of 23
(865 Views)
Thanks! Sry forgot to attach the cluster file. That solved my red dots problems ^___^.
I understand that the reference in the subvi is diferent than the main. I tried what u mention, in my main project and on my example , but no luck(it only worked on my example). I'm really starting to think that my project is buged. 😞
PD: Im Andrea, I forgot im on my coworkers computer ^^

Message Edited by zamjir on 09-27-2007 12:34 PM

Message Edited by zamjir on 09-27-2007 12:35 PM

0 Kudos
Message 22 of 23
(862 Views)
Well there was a bug in my project.
The way around would be using share variable ^_^.
ty for all the help 🙂
Thanks!
Andrea - Software Developer
0 Kudos
Message 23 of 23
(822 Views)