How can I get the max of a measurement value

How can I get the max of a measurement value?

http://forums.NI.com/T5/LabVIEW/how-can-I-return-the-maximum-value-from-a-voltage-sensor-over/m-p/30...

I tried the while loop max-min-solution described in this link. But this using my myRio acceleration measurement no longer works. It seems to hang.

I use the I2C Communication.

The inner circle while loop is a bad construction.  It will be either executed once, if enter the Boolean value is True, or forever if the value is false.

Put your records on the timed loop shift and eliminate inside while loop.  Then your code should work.

Tags: NI Software

Similar Questions

Maybe you are looking for