08-25-2011 02:39 PM
Hello guys,
I have a generic question about Labview. I have a vi that monitors the pressure in the instrument that I am using. The vi stops recording data after a few minutes and the vi just stops and freezes. Do you know what I should do to stop the vi from freezing arbitrarily? I have attached the front and block diagrams for your reference.
Thanks.
-Sicelo
08-26-2011 03:25 PM
Sicelo:
Are you getting any errors with accompanying error numbers? I notice you don't have any error handling in your
inner loops as the error handling goes behind the case structure with 13 cases and bypasses everything inside
that structure. This means even if there were an error in those cases, we may not see it. Can you pass your
error wire through those cases to see if you get an error instead of your VI just freezing?
Tori W.
08-26-2011 04:28 PM
Do I have to pass error handling through each of the 13 cases? Is there an easier way to do this?
Thanks.
-Sicelo
08-29-2011 01:08 PM
Sicelo:
Yes, typically you would want to pass error handling through any case that could create an error. If you
have any cases that are blank or do trivial tasks like incrementing that you know shouldn't cause an error,
feel free to bypass error handling through those cases.
If this were a smaller VI you could perform highlight execution, but I would not recommend that for your code.
Tori W.