Advantech PCI-1736UP Dokumentacja Strona 147

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 159
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 146
Comedi
136 / 148
digital channel:
s626 has 3 dio subdevices (2,3 and 4) each with 16 i/o channels
supported configuration options:
INSN_CONFIG_DIO_QUERY
COMEDI_INPUT
COMEDI_OUTPUT
encoder:
Every channel must be configured before reading.
Example code
insn.insn=INSN_CONFIG; //configuration instruction
insn.n=1; //number of operation (must be 1)
insn.data=&initialvalue; //initial value loaded into encoder
//during configuration
insn.subdev=5; //encoder subdevice
insn.chanspec=CR_PACK(encoder_channel,0,AREF_OTHER); //encoder_channel
//to configure
comedi_do_insn(cf,&insn); //executing configuration
5.5.100 serial2002 -- Driver for serial connected hardware
Author: Anders Blomdell
Status: in development
5.5.101 skel -- Skeleton driver, an example for driver writers
Author: ds
Status: works
This driver is a documented example on how Comedi drivers are
written.
Configuration Options:
none
5.5.102 ssv_dnp -- SSV Embedded Systems DIL/Net-PC
Author: Robert Schwebel <[email protected]>
Status: unknown
Przeglądanie stron 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 158 159

Komentarze do niniejszej Instrukcji

Brak uwag