LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with ODE Solver

Hey my ODE solver breaks at certain points and I don't know how to fix it. Whenever you plug a value of about -20 to -140 for my dy/dt term, my graph goes off the charts which is to be expected. However, the graph doesn't return to normal when better values are inputed such as 1 as would be expected.
0 Kudos
Message 1 of 2
(2,530 Views)
You are going to have to debug your code. Unfortunatly you have no subVIs so this will be a challenge indeed. You can turn on highlight execution mode (light bulb on the menu bar) and run your code. You need to be quick to follow all the data on your wires. You can also add a break point on a wire (right click >> set breakpoint) to have your program stop at a point. Finally probes and indicators are vital for seeing the values of wires.

Best of luck.
0 Kudos
Message 2 of 2
(2,530 Views)