LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot create a VI equivalent of a boolean front panel indicator/switch directly connected (subscribing) to a datasocket

I am attempting to create a boolean output from a simple boolean datasocket source the VI's is attempting to subscribe too. But for some reason it does not seem to be able to determine the boolean value from the data received. This VI was designed from the standard example DS Reader with Attributes.vi. Although I have tried many other approaches and can't get it to work. I'm not sure if i'm handling the datatype correctly. I'm pretty new to Labview too!
0 Kudos
Message 1 of 4
(2,692 Views)
Assuming that your DS Writer is working, putting the Boolean indicator inside the while loop should fix your problem. With it outside, the indicator is only updated once when the while loop finishes.
Message 2 of 4
(2,692 Views)
I finally worked it out myself! Silly me...I just had to put the indicator inside the loop so it was constantly updated I guess! The learning curve can be steep for this no structured text language. I'm still not convinced it is faster than coding the old way. 🙂
0 Kudos
Message 3 of 4
(2,692 Views)
Thanks Dennis I just worked it out myself too! Learning curve!
0 Kudos
Message 4 of 4
(2,692 Views)