Re: Timers, DIO and streaming A/D

On Fri, Aug 29, 2003 at 08:48:07AM -0400, Christopher B. Lirakis wrote:
> Hi,
> First let me thank those of you who have been a great help during the 
> compilation of Comedi. The last suggestion to go to version 0.7.67 helped a 
> lot. It appears that the configuration menu is out of the loop, is this 
> intentional?
> 
> Since I am now successfully talking to my board I have some other 
> questions. I have a NI PCI-1200 board.
> 
> My first question is that I frequently get a return of 1 when performing a 
> comedi operation. The documentation claims that the return should be 0 for 
> success and -1 for failure. I am currently ignoring this return code since 
> for a comedi_data_read with subdevice 0 works. The question is, is this 
> just a feature and should I just test for negative return values?
> 
> Second, I tried doing some streaming data. My program didn't work too well 
> so I tried some of the demo programs in comedilib. They all gave similar 
> results. It is acting like the access/setup to the 82C53 timers isn't 
> working correctly. When I query the number of devices I get 5. When I loop 
> through those 5 devices and look at the device type I get:
> 1 Analog Input
> 2 Digital Output
> 3 Unused
> 4 Calibration DAC
> 5 EEPROM

You are having the same problem as in the "Re: NI PCI-6025E" thread.



dave...

Received on 2003-08-29Z18:00:45