For example, in the case of an application that waits for the completion
of a specified number of samplings in a loop,
If sampling stops for some reason, it is possible that it will not come
out of the loop.
Such a problem can be avoided by using the "state" VI in the loop to continue the loop only during the sampling operation, or come out the loop in a certain time.
Please refer to processing of sample VI (SamplingAi.vi etc.).
If an application that does not have loop processing as described above
freezes, it is considered to be another factor.
To isolate the cause, try to determine whether freezing will occur even
if you run Sample VI.