odd errors from tut1 and tut2

I set up comedi with a national insturments PCI-6110E.  I went though the 
rather nice documentation and throught the two tutorial programs and the 
info program.

Info looks fine and when I do stuff like view the voltage ranges for the 
analog channels everything looks fine, but I'm getting funny results from 
the tut programs.  Below is a copy of my output.  When I ran the programs 
one after another and the outputs pretty much alternate.  Can anyone 
explain to me why these values are so far outside the range indicated by 
the the documentation?

[sleepylight_at_testbed demo]$ ./tut2
-1073742936 7.86623e+07
[sleepylight_at_testbed demo]$ ./tut2
-1073742936 7.86623e+07
[sleepylight_at_testbed demo]$ ./tut2
0 nan
[sleepylight_at_testbed demo]$ ./tut1
134525048
[sleepylight_at_testbed demo]$ ./tut1
0
[sleepylight_at_testbed demo]$ 


Thanks for looking.

-- 


-Maxwell Bottiger

Received on 2002-06-06Z16:56:01