LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Only intilize 1 time...

Hello people,
 
I've a question. I have a parameter called X. I only want to set the parameter X if parameter Y(bool) is true. I always used a case structure and then I always left the TRUE case or FALSE field empty depending of what I wanted to be intialized...
 
Now my question to you is... ain't there a easier way?
0 Kudos
Message 1 of 6
(3,278 Views)
What is your definition of a "parameter"? An indicator maybe?
0 Kudos
Message 2 of 6
(3,276 Views)
yes it's a indicator.
 
0 Kudos
Message 3 of 6
(3,272 Views)
What you are doing is probably as easy as it gets. 🙂
0 Kudos
Message 4 of 6
(3,264 Views)

oh well okay Smiley Tongue

I was hoping that there was a shorter way or I say it wrong I was hoping that there was a cleaner way of solving it because it feels a bit dirty a empty case in my opinion.

 

0 Kudos
Message 5 of 6
(3,260 Views)
Well, LabVIEW can execute an empty case very efficiently! The ideal code! 😄
0 Kudos
Message 6 of 6
(3,254 Views)