- From: David Schleef <ds_at_schleef.org>
- Date: Mon, 3 Jun 2002 13:14:32 -0700
On Mon, Jun 03, 2002 at 03:34:08PM -0400, Patrick Allison wrote: > Hello - > > We're working on setting up a small data acquistion system using Comedi, > and we've run into problems that we could use some help with. (comedi > v.0.7.64 and comedilib v0.7.18) > > We've purchased two data acquisition cards: a Nat. Inst. PCI-6025E multi > I/O card which (so far) works fine, and a Nat. Inst. PCI-DIO-96 which is > misbehaving quite badly. > > Any code that outputs to the PCI-DIO-96 doesn't appear to do anything > physical. All of the bits are stuck high (5V). However, if I write > values to the board, and then switch the channel to an 'input', and read > back, the values read back are the values that were written. It's just > that we don't see that on the actual output of the board. Since the 8255 is working on the PCI-6025E, the likely cause of the problem is either nidio96_8255_cb() in ni_pcidio.c, or the initialization code for the board. nidio96_8255_cb() appears to be doing the correct thing according to the manual. Are driven inputs read correctly? Otherwise, everything appears to be ok. dave...
Received on 2002-06-03Z19:14:32