Re: What does the "range" variable do in comedi_data_read ?

No, the ranges are board-dependent.  There are some functions in comedilib
for querying what each range actually corresponds to, and how many ranges
the board supports.

Frank

On Fri, 31 May 2002, Nicolas Cottaris wrote:

> Hello Comedi-users,
>
> Can somebody tell me what  does the "range" variable do in the
> comedi_data_read function?
> Does it set the channel gain to pow(10, range)? It only works with
> values 0,1,2,3. After that I get
> an invalid channel range error.
>
>
> Nicolas
>
>
>
> _______________________________________________
> comedi mailing list
> comedi_at_stm.lbl.gov
> http://stm.lbl.gov/cgi-bin/mailman/listinfo/comedi
>

Received on 2002-05-31Z22:25:09