Advantech PCI-1736UP Spécifications Page 82

  • 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 81
Comedi
71 / 148
5.4.7 Deprecated functions
5.4.7.1 comedi_dio_bitfield
comedi_dio_bitfield — read/write multiple digital channels
Synopsis
#include <comedilib.h>
int comedi_dio_bitfield(comedi_t * device, unsigned int subdevice, unsigned int write_mask, unsigned int * bits);
Status
deprecated
Description
This function is deprecated. Use comedi_dio_bitfield2() instead. It is equivalent to using comedi_dio_bitfield2()
with base_channel set to 0.
5.4.7.2 comedi_get_timer
comedi_get_timer — timer information (deprecated)
Synopsis
#include <comedilib.h>
int comedi_get_timer(comedi_t * device, unsigned int subdevice, double frequency, unsigned int * trigvar, double * actual_frequency);
Status
deprecated
Description
The function comedi_get_timer() converts the frequency frequency to a number suitable to send to the driver in a
comedi_trig structure. This function remains for compatibility with very old versions of Comedi, that converted sampling rates
to timer values in the library. This conversion is now done in the kernel, and every device has the timer type nanosec_timer,
indicating that timer values are simply a time specified in nanoseconds.
5.4.7.3 comedi_sv_init
comedi_sv_init — slowly-varying inputs
Synopsis
#include <comedilib.h>
int comedi_sv_init(comedi_sv_t * sv, comedi_t * device, unsigned int subdevice, unsigned int channel);
Vue de la page 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 158 159

Commentaires sur ces manuels

Pas de commentaire