LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i subtract two numeric numeric numbers from two switch cases ?

I have two switch cases in my labView program. I can see them individually on front panel but i need to subtract them and see the result on front panel. 

Can someone please help me out...

 

I am trying to display (Result1 - Result 2) on my front panel. Result1 and Result2 will change with time.

 

 

 

Regards,

Awais 

0 Kudos
Message 1 of 2
(2,295 Views)

Move result 1 and result 2 out of the case structures and subract them.

 

Right now result 1 or result 2 only get written to if its respective comparison is true.  What do you want to do with the math if either comparison is false?  You haven't defined your problem clearly enough.

0 Kudos
Message 2 of 2
(2,280 Views)