Re: problems with code

On Wednesday 13 April 2005 11:46 am, Ford, Pat wrote:
>  but the voltage stays at -10.240, and if I rerun the program I get the
> same output. Any ideas on what I'm doing wrong?
> Pat

Turning on compiler warnings is always a good idea.  Some things I'm 
noticing are you're passing an lsampl_t* to comedi_data_write(), and 
trying to printf a comedi_range struct as an integer.

-- 
Frank

Received on 2005-04-13Z15:42:20