comedi_data_read_hint(3)

comedi_data_read_hint3

Tell driver which channel/range/aref you are going to read from next

Usage

#include <comedilib.h>

int comedi_data_read_hint(comedi_t * device, unsigned int subdevice, unsigned int channel, unsigned int range, unsigned int aref);

Overview

Used to prepare an analog input for a subsequent call to comedi_data_read. It is not necessary to use this function, but it can be useful for eliminating inaccuracies caused by insufficient settling times when switching the channel or gain on an analog input. This function sets an analog input to the channel, range, and aref specified but does not perform an actual analog to digital conversion.

Alternatively, one can simply use comedi_data_read_delayed, which sets up the input, pauses to allow settling, then performs a conversion.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 8 times.

  1. 3.1–4.0
  2. 5.0–6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13

Authors

David Schleef <[email protected]>

Author.

Frank Mori Hess <[email protected]>

Author.

Herman Bruyninckx <[email protected]>

Author.

Bernd Porr <[email protected]>

Author.

Ian Abbott <[email protected]>

Author.

Éric Piel <[email protected]>

Author.

From libcomedi-dev 0.11.0+5-1.3+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.