- From: Miriam Fend <fend_at_ifi.unizh.ch>
- Date: 29 Oct 2003 16:57:09 +0100
Hi there,
after getting my PCMCIA NI Daqcard 6036E running finally (using
ni_mio_cs), I've been playing around with the demo programs. Since I
really want to use the analog output of the card to control servos, I am
worried about the message in info:
command:
not supported. (see below the output)
If I run outp from the demo programs, I get
writing 0 to device=/dev/comedi0 subdevice=0 channel=0 range=0 analog
reference=0
/dev/comedi0: Invalid argument
But I can run inp without problems. So my question is: can I use the
analog output channels at all? I have heard that the work with comedi
for the pci board is there a way to add this functionality to ni_mio_cs,
if it is not there already? I am not good at doing hardware related
stuff though....
Please, any help or suggestions will be warmly welcomed!
thanks,
miriam
/demo# ./info
overall info:
version code: 0x010000
driver name: ni_mio_cs
board name: DAQCard-6036E
number of subdevices: 8
subdevice 0:
type: 1 (analog input)
number of channels: 16
max data value: 65535
ranges:
all chans: [-10,10] [-5,5] [-0.5,0.5] [-0.05,0.05]
command:
start: now|ext|int
scan_begin: timer|ext
convert: timer|ext
scan_end: count
stop: none|count
command fast 1chan:
start: now 0
scan_begin: timer 5000
convert: timer 5000
scan_end: count 1
stop: count 2
subdevice 1:
type: 2 (analog output)
number of channels: 2
max data value: 65535
ranges:
all chans: [-10,10]
command:
not supported
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: 9
max data value: (channel specific)
chan0: 255
chan1: 255
chan2: 255
chan3: 255
chan4: 255
chan5: 255
chan6: 255
chan7: 255
chan8: 4095
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
Received on 2003-10-29Z15:57:09