Hey guys,
I got another question. Now I am trying to make a comparator. Please see the attached vi file. There are two input, num_1 and num_2. Assume num_1= 5.50 and num_2= 5.40. When running this vi, num_2 will not stop at 5.50, but go up to 5.51 and then come back to 5.50 repeatedly. However, if I make num_1 and num_2 100 times larger (num_1=550 and num_2=540, and the both constants of add/subtract become 1), num_2 can stop at 550 as I want. Can anyone kind of explain why it is like that? Thank you!
Regards,
Scottie