Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Negative 0 appears in the countdown of traffic lights based on labview.
Negative 0 appears in the countdown of traffic lights based on labview.
According to your program test, the problem should be the data format of "elapsed time". You use a double-precision type, which has a decimal. When you stop, it will pass a little bit, accurate to 25.000 s, and when 25 subtracts it, it will produce a negative value. You can turn the used time into plastic surgery.