📄 readme
字号:
This is the COMEDI_RTIC device driver interface. This project allowsto use COMEDI (http://stm.lbl.gov/comedi/) device drivers * with theRTiC-Lab project (http://RTiC-Lab.SourceForge.Net).ABOUT THIS DISTRIBUTIONThis distribution has three main parts:1.- A html page with a description of this COMEDI_RTIC interface.2.- A ADC directory with the COMEDI_AD.c file3.- A DAC directory with the COMEDI_DA.c fileHOW TO USE IT1.- Copy the file (COMEDI_AD.c) from the ADC directory of this distribution to to the directory "rtic-X.X.X/rt_tasks/ad_cards".2. Edit the file rtic-X.X.X/rt_tasks/ad_cards/Makefile.am. Replace the line: libAD_a_SOURCES = dummyAD.c with COMEDI=<path to your COMEDI distribution> INCLUDES=$INCLUDES -I$(COMEDI)/include -I$(COMEDI)/comedi libAD_a_SOURCES = COMEDI_AD.c3.- Copy the file (COMEDI_DA.c) from the DAC directory of this distribution to to the directory "rtic-X.X.X/rt_tasks/da_cards".4. Edit the file rtic-X.X.X/rt_tasks/da_cards/Makefile.am. Replace the line: libDA_a_SOURCES = dummyDA.c with COMEDI=<path to your COMEDI distribution> INCLUDES=$INCLUDES -I$(COMEDI)/include -I$(COMEDI)/comedi libDA_a_SOURCES = COMEDI_DA.c5.- Load the COMEDI device driver that you want to use, and the comedi.o module. Please refer to the COMEDI documentation.6.- You are ready to use the COMEDI_RTIC device driver interface.* So far I tested this interface with the card NI_ATMIO_16E_10, but thealmost device independent design of COMEDI allows this interface to work with all the devices. I tested this interface with comedi-0.7.44, and RTiC-0.6.2, but it shouldwork with RTiC-0.6.4 too.If you need more information about this COMEDI_RTIC device driverinterfaceread the html page included with this distribution. Then, take a look at the COMEDI_AD.c and COMEDI_DA.c files, they have many comments. And if youstill need more help, send me an email to: guilbert@ladron.nmt.edu
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -