Parent Topic: Examples

Arithmetic

Perform a `Vegetative Index' calculation using channels 1 and 2, saving the result to channel 7. If channel 7 is 32 bit real, the following model is used:

   %7=(%1-%2)/(%1+%2);
If channel 7 is 8-bit, some scaling and adjustment is necessary:

   %7=((%1-%2)/(%1+%2))*128 + 127.5;

Parent Topic: Examples
About PCI Help Gateway