- From: Patrick Allison <barawn_at_psu.edu>
- Date: 04 Jun 2002 15:39:45 -0400
Yup, driven inputs are definitely not read OK. Driving one line to 0 (using a low resistance shunt - few ohms) doesn't seem to affect anything. If I set up the channel as an output, and then write a 1 to it, then set it up as an input, drive it to ground, and then read back, it'll still read as a 1. It's really very strange, as the "values" 'written' to the board are definitely going 'somewhere', as I can write anything I want as an output, and then read it back any time later, and it's still there. The only problem is that -nothing- changes on the output at all. Has anyone actually had one of these cards working before? Patrick On Mon, 2002-06-03 at 16:14, David Schleef wrote: > 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... > > > > _______________________________________________ > comedi mailing list > comedi_at_stm.lbl.gov > http://stm.lbl.gov/cgi-bin/mailman/listinfo/comedi
Received on 2002-06-04Z18:39:45