Advantech PCI-1736UP Spécifications Page 16

  • 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 15
Comedi
5 / 148
Buffering is another important aspect of device drivers: the acquired data has to be stored in such buffers, because, in general,
the application program cannot guarantee to always be ready to provide or accept data as soon as the interface board wants to do
a read or write operation. Comedi provides internal buffers for data being streamed to/from devices via Comedi commands. The
buffer sizes are user-adjustable.
2 Configuration
This section assumes that you have successfully compiled and installed the Comedi software, that your hardware device is in
your computer, and that you know the relevant details about it, i.e., what kind of card it is, any jumper settings related to input
ranges, the I/O base address and IRQ for old non-plug-n-play boards, etc.
2.1 Configuration
The good news is: on most systems PCI and USB based boards are configured automatically. The kernel will detect your data
acquisition devices, will load the appropriate kernel drivers and will create the /dev/comedi entries.
bp1@bp1-x61:~/sandbox/comedilib$ ls -l /dev/comedi0
*
crw-rw---- 1 root iocard 98, 0 2012-04-26 23:41 /dev/comedi0
crw-rw---- 1 root iocard 98, 48 2012-04-26 23:41 /dev/comedi0_subd0
crw-rw---- 1 root iocard 98, 49 2012-04-26 23:41 /dev/comedi0_subd1
Usually these devices belong to the group iocard as shown here. The only action you need to take is to become member of
this group and then the Comedi device is ready to be used.
Old ISA based cards need to be manually configured which is explained here. You only need to read on here if you have one of
these old cards. On embedded systems it might also be necessary to load the driver and then to configure the boards manually.
In general manual configuration is done by running the comedi_config command (as root). Here is an example of how to use
the command (perhaps you should read its man page now):
comedi_config /dev/comedi0 labpc-1200 0x260,3
This command says that the ‘file’ /dev/comedi0 can be used to access the Comedi device that uses the labpc-1200 board,
and that you give it two run-time parameters (0x260 and 3). More parameters are possible, and their meaning is driver depen-
dant.
This tutorial goes through the process of configuring Comedi for two devices, a National Instruments AT-MIO-16E-10, and a
Data Translation DT2821-F-8DI.
The NI board is plug-and-play. The current ni_atmio driver has kernel-level ISAPNP support, which is used by default if you
do not specify a base address. So you could simply run comedi_config as
comedi_config /dev/comedi0 ni_atmio
For the preceding comedi_config command to succeed, the ni_atmio kernel module must be loaded first. For plug-n-play
boards on modern kernels, the appropriate comedi kernel modules should get loaded automatically when your computer is
booted. The modprobe command can be used to manually load/unload kernel modules, and lsmod will list all the currently
loaded modules.
For the Data Translation board, you need to know how the board’s jumpers are configured in order to specify the correct
comedi_config parameters. These parameters for the board are given in the kernel drivers section about the dt282x driver.
The card discussed here is a DT2821-f-8di. The entry for the dt282x driver tells you that the comedi_config parameters give
the driver the I/O base, IRQ, DMA 1, DMA 2, and in addition the states of the differential/single-ended and unipolar/bipolar
jumpers:
DT282X CONFIGURATION OPTIONS:
[0] - I/O port base address
[1] - IRQ
Vue de la page 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 158 159

Commentaires sur ces manuels

Pas de commentaire

Nortel Networks BSG12 manuály

Uživatelské manuály a uživatelské příručky pro Telefony Nortel Networks BSG12.
Poskytujeme 1 manuály pdf Nortel Networks BSG12 ke stažení zdarma podle typů dokumentů: Uživatelský manuál


Nortel networks BSG12 Uživatelský manuál (2 strany)


Značka: Nortel-networks | Kategorie: Phones | Velikost: 0.07 MB |

   

Tabulka s obsahem





Další produkty a příručky pro Telefony Nortel Networks

Modely Typ Dokumentu
FastRad Uživatelský manuál   Nortel Networks FastRad User Manual, 35 stránky
NN43112-107 Uživatelský manuál   Nortel Networks NN43112-107 User Manual, 46 stránky
5100 Uživatelský manuál   Nortel Networks 5100 User Manual, 118 stránky
NN43113-103 Uživatelský manuál   Nortel Networks NN43113-103 User Manual, 2 stránky
MERIDIAN BCM 4.0 Uživatelský manuál   Nortel Networks MERIDIAN BCM 4.0 User Manual, 19 stránky
4065R Uživatelský manuál   Nortel Networks 4065R User Manual, 92 stránky
1000E Uživatelský manuál   Nortel Networks 1000E User Manual, 468 stránky
2212 EU Uživatelský manuál      Nortel Networks 2212 EU User Manual, 2 stránky
MOG6xx Uživatelský manuál   Nortel Networks MOG6xx User Manual, 120 stránky
Nortel 4070 Uživatelský manuál   Nortel Networks Nortel 4070 User Manual, 212 stránky
CallPilot 2.0 Uživatelský manuál   Nortel Networks CallPilot 2.0 User Manual, 17 stránky
6.1 Uživatelský manuál   Nortel Networks 6.1 User Manual, 278 stránky
1100 Uživatelský manuál   Nortel Networks 1100 User Manual, 30 stránky
C4050 Uživatelský manuál   Nortel Networks C4050 User Manual, 29 stránky
03050 Uživatelský manuál   Nortel Networks 03050 User Manual, 22 stránky
i2050 Uživatelský manuál   Nortel Networks i2050 User Manual, 56 stránky
Enterprise Edge M7208N Uživatelský manuál   Nortel Networks Enterprise Edge M7208N User Manual, 7 stránky
SL-100 Uživatelský manuál   Nortel Networks SL-100 User Manual, 110 stránky
IP Phone 2002 Uživatelský manuál   Nortel Networks IP Phone 2002 User Manual, 2 stránky
2004 Uživatelský manuál   Nortel Networks 2004 User Manual, 150 stránky