Hi there,
I need to calculate the acceleration of unsprung mass per wheel. I do have a linear potentiometer on every wheel to measure deflection.
For my formula I need the delta value between two measured values. How do I code this?
Greetings
Julian
PaulGM wrote:Julian,
...
Could you explain what you mean by needing a "delta value between measured values"? What are you trying to accomplish?
PaulGM wrote:My apologies, the term I'm used to seeing is "Difference Quotient."
The above answer stands, in that a Difference Quotient at any step size will need to be calculated by a custom function.
PaulGM wrote:Holmz,
No worries. If you have any questions with writing the Plugins or Functions, please post them here and I will try and answer them in a timely manner.
You may already be aware, there is also sample code available in the installation directory for i2 Pro (the absolute directory will be something like Program Files\Motec\i2\1.0\Samples\Maths\). You may have to include a Motec DLL in the code with a slightly different name than the one already present (I believe the old reference was to "Interpreter.DLL" and it should be to "Analysis.DLL" now) to get them to work.
When you add the Functions or Plugins, make sure that you run i2 as an Adminstrator (not just your user account, but actually run the software as Administrator). With Functions, you will have to restart i2 to get them in the Maths listing.
Paul
Return to i2 Data Analysis Software
Users browsing this forum: No registered users and 1 guest