- From: Nils Juergens <ju_at_isf.rwth-aachen.de>
- Date: Mon, 09 Aug 2004 16:39:07 +0200
On Sun, 08.08.04, MUNISH NAYYAR <nayyarmunish_at_rediffmail.com> wrote: > We’ve downloaded the COMEDI-0.7.19 and COMEDI-0.7.60 from your ftp site to use it to programme “ PCI-1751 DIO ADVANTECH CO.” digital input/output card. > These are recommended by advantech co. for programming prospects. Good for advantech, bad for you. If you insist on using an outdated version (0.7.60 is three years old) because your vendor recommends this, please ask your vendor for support. If you want support from this mailing list you will have much better luck if you use a newer version. Also, please make sure not to confuse your version of comedi_lib_ and comedi. > But ,we’re facing some problems which are::::::::: > > 1. we’re successful to perform write ,but unable to perform dio read operation ,software wise it returns 0 as success ,but physically we’re not accepting the data that is being given from external source (2.5v-5.2v). > 2. According to your documentation manual, to use DIO card ,one should first configure the channel as input or output, but we’re not able configure the channel.it always returns –1 ,showing error. > 3. moreover,subdevice index ‘4’ which relate to COMEDI_DIO subdevice also not returning right results. > 4. and if we use ,.COMEDI_FIND_SUD_BY_TYPE then also ,every time when we pass argument 4 for comedi_dio ,it returns –1 and device not find ,but we are able to find the subdevice as input and output individually using 2 and 3 as index for comedi_input and comedi_output. > 5. we’ve checked all the jumper setting correctily,and set it so that all ports are s/w configurable . Maybe if you post some relevant parts of your code someone would be able to spot an error. But please try a current version of comedilib and comedi first. hth, Nils
Received on 2004-08-09Z13:39:07