10-24-2007 03:25 PM
10-25-2007 09:03 AM - edited 10-25-2007 09:03 AM
Shank,
The ODE solver issue that you are running into is because the Variable Step Size is reducing its steps until it reaches the limits defined by the solver. In general, you should not need to change much of those parameters, so that is the reason you are running into them. Please open the manual and look under "VI and Function Reference>>Simulation VIs and Functions>>Simulation Loop" and click on "Configure Simulation Parameters". There you can see a description of how the parameters work and how to set them up. As of now, Simulation do not have an automatic selection to simulation the system.
Another idea is change the solver to be fixed step size and try to give a "Time Step" that is relatively small (twice the maximum frequency of the system that you are trying to simulate). This would take longer, but maybe you can see the response. Another idea is try to use the BDF solver, since your system seemed to have quick responses together with slow ones.
I also noticed that you still using the "Simulate Signal" express VI. This VI has to be placed outside the loop and you have to add code to repeat itself every time. I advice to avoid using this VI and use the VIs inside "Simulation>>Signal Generation". They are designed to handle several details related to this VI.
If you are still not able to work with the tips that I provided, please let me know and attach your latest version of the VI with the recommendations that I gave you, so I can try to look into this. Thank you for using LabVIEW ! 🙂
Message Edited by Barp on 10-25-2007 09:04 AM