./info

---------- Forwarded message ----------
Date: Wed, 10 Sep 2003 13:20:23 -0400
From: jose.3_at_wright.edu
To: comedi_at_comedi.org
Cc: sjose_at_cs.wright.edu
Subject: ./info

I had comedi setup, and read input from the analog input channel.
Then I tried write, I was getting random noise signals.
The info file now has changed from what it was initially, gives me different
information about the subdevice,
Previously subdevice 0 said analog input, but now says unused.

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


execution of tut1 and tut2 give the following,
demo]$ ./tut1
maxdata : 0
data read 1075353984

demo]$ ./tut2
-1073743656 nan

any information appreciated,
thanks,
Smita.

Received on 2003-09-10Z16:47:45