AI Device Linear Convert

long aiDevLinearConv (


struct aiRecord *pai, int after);

Setup the slope (and any offset) for the conversion to engineering units

if (!after) then

return S_XXXX_OK;

endif

/* A 12 bit DAC is assumed here */

pai-> = (pai-> - pai->)/0xfff;

pai-> = ????;

Previous slide Next slide Back to first slide View graphic version

| LANL | Lansce | UC | DOE |

L O S   A L A M O S   N A T I O N A L    L A B O R A T O R Y
Operated by the University of California for the US Department of Energy

Copyright � 1996 UC   Disclaimer   


For problems or questions regarding this web site contact George Vaughn.