03-25-2019 04:23 AM
I realized a data acquisition (DAQ) program using agilent 34970A and labview
when acquiring Data an error occurs suddenly (time out or other)
(look figures in attachment).
How to stop the VI and then restart it after the errors automatically for a new DAQ?
03-25-2019 04:51 AM
Hi bilalus,
How to stop the VI and then restart it after the errors automatically for a new DAQ?
Some comments:
- usually you avoid such errors to prevent you from restarting!
- in case you cannot prevent those errors you need to handle them in your code to avoid showing error messages to your users!
- when you want to "restart" something you should place it in a loop!
- What is a "new DAQ"?
Conclusion so far (with that minimum on information you gave): there is a bug in your VI and you need to improve it!
03-25-2019 08:20 AM
Have you taken a class in LabVIEW? Have you learned the function of the Error Line? Have you learned the function of a Case Structure? Can you figure out how to put the preceding three questions together to largely answer the problem you are having?
Bob Schor