Previous Top Next |
Subourtine InConvert |
In our example all the PRODAS input variables are equated to the local variables in subroutine Inconvert. To write the interface code you must know the units of the PRODAS inputs and your local variable units. All PRODAS internal data is SDK Standard Metric Units. The only thing that you might have to check with the PRODAS inputs what Unit Type is defined in the data manager and what the SDK Standard Metric Unit is for that unit type.
In our example all of the inputs are coming in with the same units as our local variables with the exception of InitialAngle_PR. So for all except InitialAngle_Pr it it just a matter of equating the PRODAS variables with the local variables.
© 2004 Arrow Tech Associates |