- From: Emma Peace <peace_at_metservice.com>
- Date: Wed, 14 Jul 2004 13:43:36 +1200
Hi,
I have an Advantech pci 1760 card and am attempting to use it with the comedi
driver and library. I can successfully query the card about it's
characteristics using the comedilib program demo/info and get the following
overall info:
version code: 0x000744
driver name: adv_pci_dio
board name: pci1760
number of subdevices: 4
subdevice 0:
type: 3 (digital input)
number of channels: 8
max data value: 1
ranges:
all chans: [0,5]
command:
not supported
subdevice 1:
type: 4 (digital output)
number of channels: 8
max data value: 1
ranges:
all chans: [0,5]
command:
not supported
subdevice 2:
type: 7 (timer)
number of channels: 2
max data value: -1
ranges:
all chans: [0,1]
command:
not supported
subdevice 3:
type: 6 (counter)
number of channels: 8
max data value: 65535
ranges:
all chans: [0,1]
command:
not supported
However when I try to read any of the digital inputs I get apparently random
values back in the range 0 to 247 and writing to the digital outputs has no
discernable effects. Do I need to initialize the board with the driver or do
something to make it work? I am now quite perplexed, and any assistance would
be greatly appreciated.
Thanks
Emma
Received on 2004-07-14Z00:43:36