LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I create flat sequence structure and add subvi with true or false over another flat seq.?

Solved!
Go to solution

How can I create flat seq. and add one colum with falseSub VI and True Sub VI?

0 Kudos
Message 1 of 6
(2,607 Views)

@Labviewq8 wrote:

How can I create flat seq. and add one colum with falseSub VI and True Sub VI?


Your question makes no sense because, in Flat Sequence, there are one or more frames, which execute sequentially.

Don't you want to explore (and use) Case Structure...!!


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 2 of 6
(2,599 Views)

Yes I know, but its very difficult to tell what I mean, But I wanna one flat seq that involve my prog and one subvi with true and false?

0 Kudos
Message 3 of 6
(2,589 Views)

Hi q8,

 

just draw such a flat sequence as you did on the sheet of paper...

 

But wait, we have DATAFLOW here! Use an error wire to sequence your "my prog" with those "subVI with true and false". This way you will learn to write better LabVIEW programs...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(2,576 Views)

You need a state machine built upon a case structure.

PaulG.

LabVIEW versions 5.0 - 2020

“All programmers are optimists”
― Frederick P. Brooks Jr.
0 Kudos
Message 5 of 6
(2,575 Views)
Solution
Accepted by topic author Labviewq8

Is this should be the flow diagram:

 

Flow Diagram


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 6 of 6
(2,558 Views)