- From: Jan Gukelberger <g.u.g.i_at_gmx.de>
- Date: Thu, 15 Sep 2005 22:16:12 +0200
Hi,
we've purchased a NI PCI-6025E card. While testing, we've come across
subdevice #7 being advertised as DIO with 10 channels.
Though comedi_test output looks good (see below) this is quite strange
as the datasheet does only mention 32 DIO lines, already being covered
by the subdevs #2 and #3.
Moreover, comedi_dio_get_config fails with EINVAL for this subdev while
it works ok for #2 and #3.
Can anybody tell me what this subdev is intended for?
A comment in ni_pcimio.c says: "Information (number of channels, bits,
etc.) for some devices may be incorrect."
Is this the case here or is it some special device for internal use?
Thanks,
Jan
comedi_test output for subdev #7:
-------------------------------------------
I: subdevice 7
I: testing info...
rev 1
I: subdevice type: 5 (digital I/O)
number of channels: 10
max data value: 1
ranges:
all chans: [0,1]
I: testing insn_read...
rev 1
comedi_do_insn returned 1, good
I: testing insn_read_0...
comedi_do_insn returned 0, good
I: testing insn_read_time...
rev 1
comedi_do_insn: 3
read time: 3 us
I: testing cmd_no_cmd...
got EIO, good
I: testing cmd_probe_src_mask...
not applicable
I: testing cmd_probe_fast_1chan...
not applicable
I: testing cmd_read_fast_1chan...
not applicable
I: testing cmd_write_fast_1chan...
not applicable
I: testing cmd_logic_bug...
not applicable
I: testing cmd_fifo_depth_check...
not applicable
I: testing cmd_start_inttrig...
not applicable
I: testing mmap...
not applicable
I: testing read_select...
not applicable
I: testing bufconfig...
buffer length is 0, good
-------------------------------------------
Received on 2005-09-15Z19:16:12