analog input subdevice

I had comedi up and working well to read data from the analog input channel, 
then I tried writing data to the analog output channel. Now I started getting 
just noise signals of around 900mv on the oscilloscope. So I ran the ./info 
again, and it says the following, its not able to read the analog input 
subdevice.


So then I ran the comedi_calibrate again, and the following error message was 
displayed,

Smita.



 demo]$ ./info
overall info:
  version code: 0x000742
  driver name: ni_pcimio
  board name: pci-6713
  number of subdevices: 8
subdevice 0:
  type: 0 (unused)
subdevice 1:
  type: 2 (analog output)
  number of channels: 8
  max data value: 4095
  ranges:
    all chans: [-10,10]
  command:
    start: int
    scan_begin: timer
    convert: now
    scan_end: count
    stop: none
  command fast 1chan:
    start: int 0
    scan_begin: timer 0
    convert: now 0
    scan_end: count 1
    stop: none 0
subdevice 2:
  type: 5 (digital I/O)
  number of channels: 8
  max data value: 1
  ranges:
    all chans: [0,5]
  command:
    not supported
subdevice 3:
  type: 0 (unused)
subdevice 4:
  type: 6 (counter)
  number of channels: 2
  max data value: 1
  ranges:
    all chans: [0,1]
  command:
    not supported
subdevice 5:
  type: 9 (calibration)
  number of channels: 24
  max data value: 255
  ranges:
    all chans: [0,1]
  command:
    not supported
subdevice 6:
  type: 8 (memory)
  number of channels: 512
  max data value: 255
  ranges:
    all chans: [0,1]
  command:
    not supported
subdevice 7:
  type: 5 (digital I/O)
  number of channels: 10
  max data value: 1
  ranges:
    all chans: [0,1]
  command:
    not supported


comedilib-0.7.21]# comedi_calibrate /dev/comedi0 --device pci-6024e --driver 
ni_pcimio
eeprom reference lsb=0 msb=0
resulting reference voltage: 5
Warning: device may not be not fully calibrated due to insufficient 
information.
Please file a bug report at http://bugs.comedi.org/ and attach this output.
This output will also allow comedi_calibrate to execute more
quickly in the future.
Id: comedi_calibrate.c,v 1.84 2003/06/12 19:57:43 fmhess Exp
Driver name: ni_pcimio
Device name: pci-6024e
Id: ni.c,v 1.80 2003/05/25 21:11:20 fmhess Exp
Comedi version: 0.7.66
preobserve() ignoring reference config error: Invalid argument
ai, bipolar zero offset, low gain
hint barf
reading 0.0( 0)e-2147483648, target 0
hint barf
hint barf
hint barf
hint barf
hint barf
hint barf
hint barf
hint barf
hint barf
hint barf
hint barf
hint barf
hint barf
hint barf

Received on 2003-09-11Z00:59:33