From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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: 

selection

Hi,

 

How to make if single phase selection will link to single phase table and three phase selection will link to three phases? And display result will only display for one selection either single or three phase. The combo box cannot be edit in block diagram.

selections.png

0 Kudos
Message 1 of 4
(2,435 Views)

Hi farah,

 

what about using a case structure? Such a structure allows several cases to be executed depending on a condition…

 

Btw. I would suggest to use an Enum instead of a ring or combobox…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(2,430 Views)

hi thank for reply.

how to make case structure for this?

0 Kudos
Message 3 of 4
(2,422 Views)

@farah88 wrote:

hi thank for reply.

how to make case structure for this?


Do you know how to make a case structure in general?  Use the combo box value (agreed that it really should be an enum) wire up to the selector terminal of the case structure.  You will want to create a case for each algorithm and use the same output tunnels that are then wired to the indicator terminals.


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 4
(2,420 Views)