- From: Michal Dobes <dobes_at_tesnet.cz>
- Date: Fri, 20 Aug 2004 10:54:52 +0200
Felipe Zottola Diz napsal(a): > I am working with PCL-812PG DAQ card and its Comedi driver. > > I am having trouble adjusting gain, please correct me if I'm doing > something wrong. > > To load pcl812.o driver I issue the following commands: > > /sbin/modprobe -v pcl812 > > /usr/local/sbin/comedi_config -v /dev/comedi0 pcl812 0x230,0,0,0,1,0 > > The fourth parameter specifies the gain that should be used in field data > conversion. Do you have PCL-812 or PCL-812PG card? If second, then this comedi_config command will be better: /usr/local/sbin/comedi_config -v /dev/comedi0 pcl812pg 0x230,0,0,0,0,0 > * Options for PCL-812PG, ACL-8112PG: > * [0] - IO Base > * [1] - IRQ (0=disable, 2, 3, 4, 5, 6, 7; 10, 11, 12, 14, 15) > * [2] - DMA (0=disable, 1, 3) > * [3] - 0=trigger source is internal 8253 with 2MHz clock > * 1=trigger source is external And too check a JP9 jumper (A/D Maximum Input Voltage Selection) and right select this parametr: > * [4] - 0=A/D have max +/-5V input > * 1=A/D have max +/-10V input Michal
Received on 2004-08-20Z07:54:52