Timers, DIO and streaming A/D

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

This results in 3 questions.
1) Would I use sub device 3 to access the DIO portion of this card since 
there is one, but it doesn't show up?
2) What does it mean that it is unused? (IE:return type of 0)
3) Is there a way I can gain access to the individual registers on the 
82C53 to verify operation?
Regards
Chris


-Christopher B. Lirakis, Phd
-High Performance Computing
-BBN Technologies
-127 John Clarke Rd
-Middletown, RI 02842
-
-(401) 849-2543 (voice) - Front Desk
-(401) 848-3537 (voice) - Direct Line.
-(401) 849-8611 (fax)
-(401) 788-4607 (cell)
-(401) 872-5689 (Pager)
-
- http://www.bbn.com

Received on 2003-08-29Z11:48:07