Advantech PCI-1736UP Dokumentacja Strona 54

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 159
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 53
Comedi
43 / 148
Description
The function comedi_get_board_name() returns a pointer to a string containing the name of the comedi device represented
by device. This pointer is valid until the device is closed. This function returns NULL if there is an error.
5.4.1.15 comedi_get_driver_name
comedi_get_driver_name — Comedi driver name
Synopsis
#include <comedilib.h>
char * comedi_get_driver_name(comedi_t * device);
Description
The function comedi_get_driver_name() returns a pointer to a string containing the name of the driver being used by
comedi for the comedi device represented by device. This pointer is valid until the device is closed. This function returns NULL
if there is an error.
5.4.1.16 comedi_get_maxdata
comedi_get_maxdata — maximum sample of channel
Synopsis
#include <comedilib.h>
lsampl_t comedi_get_maxdata(comedi_t * device, unsigned int subdevice, unsigned int channel);
Description
The function comedi_get_maxdata() returns the maximum valid data value for channel channel of subdevice subdevice
belonging to the comedi device device.
Return value
The maximum valid sample value, or 0 on error.
5.4.1.17 comedi_get_n_channels
comedi_get_n_channels — number of subdevice channels
Synopsis
#include <comedilib.h>
int comedi_get_n_channels(comedi_t * device, unsigned int subdevice);
Przeglądanie stron 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 158 159

Komentarze do niniejszej Instrukcji

Brak uwag