- From: David Schleef <ds_at_schleef.org>
- Date: Mon, 9 Jun 2003 11:56:21 -0700
On Mon, Jun 09, 2003 at 01:37:51PM +0800, eddy_yang wrote:
> Hello, I am a new comer. Here I met a problem.
>
> I wrote code in my driver.c with:
> comedi_lrange range_pci1724={ 3, {
> BIP_RANGE(10),
> RANGE_mA(0,20),
> RANGE_mA(4,20)
> }
> };
>
> but when I run info
> [root_at_asdf demo]# ./info
> overall info:
> ....
> subdevice 1:
> type: 2 (analog output)
> number of channels: 32
> max data value: 16383
> ranges:
> all chans: [1e-06,0] [0,0] [-791.754,0.005118]
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~what is the matter?
> .....
> Can anyone help me?
That is very strange. Those macros are known to work, so as
long as you're setting subdevice->range_table correctly, I
have no idea what is wrong.
dave...
Received on 2003-06-09Z17:56:21