Read Analog Device Value

long aiDevRead_(struct aiRecord * pai) {


long rval;

if (device OK) then

rval=pDevMemoryMap->

aiRegister[pai->->];

pai-> = rval;

else

recGblSetSevr(pai,

READ_ALARM, INVALID_ALARM);

endif

}

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.