ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I do this?

Hi guys. I am new to labview. I need to display this. If number 1 is greater than number 2 , display (number 1 minus number 2 ).Please help me out.

0 Kudos
Message 1 of 13
(4,384 Views)

Start with some LabVIEW tutorials. The rest will fall into place.  Good luck.

0 Kudos
Message 2 of 13
(4,372 Views)

I am unable to do it . I have tried many times. Is there any solution for this?

0 Kudos
Message 3 of 13
(4,362 Views)
It's really trivial. Show what you have tried. You have also left unexplained what to do in false state (hint).
0 Kudos
Message 4 of 13
(4,359 Views)

Untitled.png

Ok . So I am unable to connect it to the subtract which I need it to display the value after my current load demand subtracts the value of the contracted capacity.

Can someone show me how? 

0 Kudos
Message 5 of 13
(4,352 Views)

@Dennis_Knutson wrote:
It's really trivial. Show what you have tried. You have also left unexplained what to do in false state (hint).

Oh . If it is false . Then it will just display a 0.

0 Kudos
Message 6 of 13
(4,348 Views)

Hi diver,

 

why do you want to connect the result of the comparison to your 2nd subtract node, when you want to calculate "Number1-Number2"?

 

You should program, what you have described before - actually you aren't doing this…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 13
(4,332 Views)
Everything you have is backwards. Don't you think the comparison should be done outside the case statement?
0 Kudos
Message 8 of 13
(4,312 Views)

Hi, is there anyone out there who can help me, I am trying to generate a best fit line after taking some data from a DAQ 6008, after capturing  a transient response of the form y= a*(1-exp(-b*x))+c, i need to fit a best fit line, but keep getting error from the curve fitting VI, because is an iterative process, i keep getting this error input matrix is singular, any ideas?

 

Thanks

0 Kudos
Message 9 of 13
(4,309 Views)

Hi ET,

 

there would ba a lot of people to help you once you create your own thread instead of hijacking a totally unrelated one…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 13
(4,305 Views)