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: 

how to get and display max number

Solved!
Go to solution

Done this. check 

 

thanks all

0 Kudos
Message 11 of 14
(1,157 Views)

Setting it to zero will not work in many cases. For example if all your values are negative, zero will be the max forever. You need to initialize to -Inf.

0 Kudos
Message 12 of 14
(1,155 Views)
Solution
Accepted by Asif138

@altenbach wrote:

Setting it to zero will not work in many cases. For example if all your values are negative, zero will be the max forever. You need to initialize to -Inf.


Or to the current value.


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
0 Kudos
Message 13 of 14
(1,140 Views)

Gerd already mentioned the ptbypt min&max. That's all we really need here. 😄

 

ptbyptMax.png

 

 

0 Kudos
Message 14 of 14
(1,135 Views)