Re: cb_pcidas64 / usage / AO / DIO

I have made some progress with some of my questions

(1) I still don't know how to do AO
(2) Impedance changes re	quire the use of a soldering iron
(3) I don't understand how the DIO subsystem works (since the are no commands 
available) but it just works fine with comedi_dio_write and comedi_dio_read. 

If anyone knows how to make the AO work please let me know,


cheers,


SA


On Sunday 14 Aug 2005 15:38, walt wrote:
> I know almost nothing myself, but I am familiar with the sense of general
> bafflement from when I first arrived here.
>
> Have you downloaded the comedi manual documentation & tried the comedi
> function calls in chapter 7, for example, comedi_write_data,
> comedi_dio_read, comedi_dio_write?
>
> I am not familiar with setting input impedance. The cards I use don't have
> this capability.
>
> Walt
>
> On Sunday 14 August 2005 08:34, SA wrote:
> > Dear List,
> >
> > Apologies for the newbie questions...
> >
> > I have successfully comiled and installed comedi for my pci-das4020/12
> > card using the patch that Frank suggested.  Using this I have manage to
> > successfully run the inpn demo which works fine.
> >
> > Could someone tell me how to:
> >
> > (1) use the analogue outputs?
> > (2) set the input impedance?
> > (3) can I use the DIOs even though there is no command support (the dio
> > demo seems to run with dio -s 4)?
> >
> > If I run the info demo (output below) it tells me I have 10 subdevices
> > with subdevice 0 being AI, 1 being AO and 4 being DIOs.  This also tells
> > me that I have a few commands for AI but no commands for AO or DIO.
> >
> > I am now thoughly confused - any advice gratefully received.
> >
> > Thanks,
> >
> > SA
> >
> > ----- info
> > lspci -v
> > ...
> > 00:0c.0 Class ffff: Measurement Computing PCI-DAS4020/12 (rev 02)
> > (prog-if ff) Subsystem: Measurement Computing: Unknown device 0000
> >         Flags: bus master, medium devsel, latency 64, IRQ 177
> >         Memory at f7a00000 (32-bit, non-prefetchable) [size=256]
> >         I/O ports at ec00 [size=256]
> >         Memory at f7900000 (32-bit, non-prefetchable) [size=4K]
> >         Memory at f7800000 (32-bit, non-prefetchable) [size=4K]
> >         Expansion ROM at f7700000 [disabled] [size=2K]
> > ...
> >
> > info -f /dev/comedi0
> > overall info:
> >   version code: 0x000746
> >   driver name: cb_pcidas64
> >   board name: pci-das4020/12
> >   number of subdevices: 10
> > subdevice 0:
> >   type: 1 (analog input)
> >   number of channels: 4
> >   max data value: 4095
> >   ranges:
> >     all chans: [-5,5] [-1,1]
> >   command:
> >     start: now|ext
> >     scan_begin: timer|other
> >     convert: now|timer
> >     scan_end: count
> >     stop: none|count|ext
> >   command fast 1chan:
> >     start: now 0
> >     scan_begin: timer 0
> >     convert: timer 0
> >     scan_end: count 1
> >     stop: count 2
> > subdevice 1:
> >   type: 2 (analog output)
> >   number of channels: 2
> >   max data value: 4095
> >   ranges:
> >     all chans: [-5,5] [-10,10]
> >   command:
> >     not supported
> > subdevice 2:
> >   type: 0 (unused)
> > subdevice 3:
> >   type: 0 (unused)
> > subdevice 4:
> >   type: 5 (digital I/O)
> >   number of channels: 24
> >   max data value: 1
> >   ranges:
> >     all chans: [0,5]
> >   command:
> >     not supported
> > subdevice 5:
> >   type: 0 (unused)
> > subdevice 6:
> >   type: 9 (calibration)
> >   number of channels: 8
> >   max data value: 4095
> >   ranges:
> >     all chans: [0,1]
> >   command:
> >     not supported
> > subdevice 7:
> >   type: 0 (unused)
> > subdevice 8:
> >   type: 8 (memory)
> >   number of channels: 128
> >   max data value: 65535
> >   ranges:
> >     all chans: [0,1]
> >   command:
> >     not supported
> > subdevice 9:
> >   type: 0 (unused)
> >
> > cat /proc/comedi
> > comedi version 0.7.70
> > format string: "%2d: %-20s %-20s
> > %4d",i,driver_name,board_name,n_subdevices 0: cb_pcidas64         
> > pci-das4020/12         10
> >  1: 8255                 8255                    1
> > cb_pcidas64:
> >  cb_pcidas64
> > 8255:
> >  8255
> >
> > /sbin/lsmod
> > Module                  Size  Used by
> > cb_pcidas64            32004  0
> > 8255                    6016  1 cb_pcidas64
> > comedi_fc               3456  1 cb_pcidas64
> > comedi                 31776  3 cb_pcidas64,8255,comedi_fc
> >
> > _______________________________________________
> > comedi mailing list
> > comedi_at_comedi.org
> > https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
>
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi

Received on 2005-08-14Z14:01:13