|Download Help (Windows Only)|
If your model crashes or does not execute as you expect, try to isolate the issue and determine if its source is within the model or due to your LabVIEW code.
To identify the source of an issue, load and execute a simple model. If the simple model executes as expected, the source of the issue is likely within your model. However, if the simple model also experiences issues, the source of the issue might be due to the LabVIEW code.
The following issues can occur when you run a model:
Models often crash when an inport receives a value of 0 and the model attempts to divide by the inport value. This issue might occur upon run if the default value for an inport is 0. Depending on your system, the following solutions might address this issue:
If your model is unstable because it runs too fast or too slow, ensure the actual model rate matches the rate at which the model was compiled to run. If the rates do not match, adjust the period of the control loop that steps your model.
If you suspect that models are causing your application to run slower than you desire, consider the following solutions that might improve performance: