LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

display boolean in

Hi,
i'm trying to capture the boolean results at the RESULT.vi but i couldn't get a notion on how to do it.
Can anyone help me?
Thank you!
Download All
0 Kudos
Message 1 of 8
(3,410 Views)
Hi microes,

you already connected the boolean with the connector pane, so you only needed an indicator in the main vi (Result.vi).

But:
- you also have to wire a result to the indicator in the subvi
- you better give names to controls/indicators to avoid property nodes without proper labels!
- do as much as possible outside of structures (loops, cases, sequences) to get cleaner block diagrams (see subvi, lower right of the block diagram)
- act according to style guide: left to right wiring, no hidden wires, straight wires (deactivate automatic wire routing, if this is ok for you!), use labels
- your "result" indicator in the subvi only holds the value of the last iteration - is this wanted behaviour?
- to AND with TRUE is like multiplying with 1 or adding zero Smiley Very Happy
-
keep in mind: using "default if unwired" in case structures easily results in unwanted behaviour
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Download All
0 Kudos
Message 2 of 8
(3,391 Views)

Hi there,

could you save the revised vi you done in labview version 8? I couldn't get it to open in version 8.2, thank you!

0 Kudos
Message 3 of 8
(3,371 Views)
Hi microes,

sorry for delay. Here comes the LV8 version Smiley Happy
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Download All
Message 4 of 8
(3,358 Views)

Hello there,

i tried and the indicator in the ex op SUBVI works but the indicator at RESULT.vi doesn't seem to reflect the current result of the boolean indicator. Did i do something wrong?

regards

0 Kudos
Message 5 of 8
(3,324 Views)

Your results.vi in the new image looks quite different. Maybe you should attach it so we can see what's wrong. 😉

0 Kudos
Message 6 of 8
(3,311 Views)
Hello,
 
I managed to attach the main panel that calls Subvi. Using Anritsu MT8852A, labview 8.0, WinsXP.
 
Thank you
Download All
0 Kudos
Message 7 of 8
(3,303 Views)
Alright, i managed to solve this by creating another case structure with the "false" and "true" outside the subvi. Now it works, thank you for everyone's help!
0 Kudos
Message 8 of 8
(3,294 Views)