[prev in list] [next in list] [prev in thread] [next in thread] 

List:       comedi
Subject:    Re: das16 setting the range?
From:       David Schleef <ds () schleef ! org>
Date:       2001-08-25 22:02:25
[Download RAW message or body]

On Sat, Aug 25, 2001 at 04:11:39PM +0100, Jim Skelton wrote:
> 
> It would be nice to have configuration options, but in the short term is 
> there some quick way i can feed the range scaling into "comedi" so that  
> comedi_to_phys() returns an appropriately scaled value.

Sure, just define your own comedi_range structure.  Something like

  comedi_range my_range = { min: 0, max: 5.0 };




dave...




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic