Thanks rmix22, that answered my question. I am glad that you showed me both methods because I was unsure how to actually apply the while loop and the solve block. IRstuff - The solve block works, I just did not know how to use it until rmix22 showed me.