Advantech PCI-1736UP Spécifications Page 55

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 159
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 54
Comedi
44 / 148
Description
The function comedi_get_n_channels() returns the number of channels of the subdevice subdevice belonging to the
comedi device device. This function returns -1 on error and the Comedilib error value is set.
5.4.1.18 comedi_get_n_ranges
comedi_get_n_ranges — number of ranges of channel
Synopsis
#include <comedilib.h>
int comedi_get_n_ranges(comedi_t * device, unsigned int subdevice, unsigned int channel);
Description
The function comedi_get_n_ranges() returns the number of ranges of the channel channel belonging to the subdevice
subdevice of the comedi device device. This function returns -1 on error.
5.4.1.19 comedi_get_n_subdevices
comedi_get_n_subdevices — number of subdevices
Synopsis
#include <comedilib.h>
int comedi_get_n_subdevices(comedi_t * device);
Description
The function comedi_get_n_subdevices() returns the number of subdevices belonging to the Comedi device referenced
by the parameter device, or -1 on error.
5.4.1.20 comedi_get_range
comedi_get_range — range information of channel
Synopsis
#include <comedilib.h>
comedi_range * comedi_get_range(comedi_t * device, unsigned int subdevice, unsigned int channel, unsigned int range);
Description
The function comedi_get_range() returns a pointer to a comedi_range structure that contains information on the range
specified by the subdevice, channel, and range parameters. The pointer is valid until the Comedi device device is closed.
If there is an error, NULL is returned.
Vue de la page 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 158 159

Commentaires sur ces manuels

Pas de commentaire