I am trying to use a power meter N 1912A to get long duration measurements. I am using a while loop and whenever the power meter generates an error it freezes my loop w/o generating an error in my code. I don't mind if I miss a few data points but I just want my loop/measurement to continue. I attached my code. I think I need help with error handling when the error from the instrument does not generate an error in any of the VIs used. Any help is appreciated.