Poster of Linux kernelThe best gift for a Linux geek
COMEDI_FROM_PHYS

COMEDI_FROM_PHYS

Section: (3) Updated: 28 October 2007
Local index Up

 

NAME

comedi_from_phys - convert physical units to sample  

SYNOPSIS

#include <comedilib.h>

lsampl_t comedi_from_phys (double data, comedi_range * range, lsampl_t maxdata);  

DESCRIPTION

Converts data given in physical units (data) into sample values (lsampl_t, between 0 and maxdata). The parameter rng represents the conversion information to use, and the parameter maxdata represents the maximum possible data value for the channel that the data will be written to.

Conversion is not affected by out-of-range behavior. Out-of-range data parameters are silently truncated to the range 0 to maxdata.


 

Index

NAME
SYNOPSIS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 21:43:40 GMT, April 16, 2011