Kevin and Altenbach,
Thank you for your suggestions. Basically, I am trying to develop a program where the user can enter variables on the front panel (there are currently 78 variables) relating to vehicle suspension parameters and geometry, then simulate the system (14 system states). I can't use a simple formula node, as the variables are changing, so I have to use 'parse formula string' etc.
Unfortunately, for some reason you are only allowed a limited set of variable names in the formula nodes, so I have to use the 'substitute variables' vi to convert the meaningful variable names in my equations into 'a0,a1,...'.
It makes sense that it was running slowly because it was parsing the formula at each time step, and I tried to change it to a 'parse formul
a string' and 'eval parsed formula string' layout (which cannot parse more than one equation as far as I can see, so I need 14 of them), but now I get some very useful error messages like 'Wrong variable name' or 'variables output error', even though I have checked these.
The whole thing is getting a bit messy, and debugging seems very difficult (even 'single stepping' through doesn't seem to help track down where the errors are occurring).
Any suggestions?!?
Thanks again.
Paul.