LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI does not sense signal from instrument

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

 

0 Kudos
Message 11 of 14
(455 Views)


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.

 

National Instruments
0 Kudos
Message 12 of 14
(433 Views)

Do I have to pass error handling through each of the 13 cases? Is there an easier way to do this?

 

Thanks.

 

-Sicelo

0 Kudos
Message 13 of 14
(427 Views)

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.

National Instruments
0 Kudos
Message 14 of 14
(410 Views)