DATA CONVERSION

Since data conversions are very useful and usually dependent on the applications, ONSPEC I/O templates should provide source code for the users to modify if they wish.

The source for two C functions is in the USERCONV.C file which is included in the Tech Pack. The I/O template developer should also include this module in the final product.

inEngconv
The inEngconv function is used to perform numerical calculations on values before they are sent to ONSPEC.

outEngconv
The outEngconv function is used to perform numerical calculations on values before they are sent out to the device.

If any changes are made to USERCONV.C, the template must be recompiled and relinked by using Microsoft Visual C++ language