Streaming acquisition from more than one subdevices

Hi,

[I'm quite new to Comedi, so please forgive me if I haven't understood
some concepts yet.]

In my lab application I'd like to record several analog and digital
signals with a constant sampling rate for an indefinite period of time
into one file.
For this purpose I've bought an MC PCI-DAS6025 board with 16 AI and 32
DIO channels.

Now the obvious solution would be to issue a comedi_command that starts
the acquisition and make the app regularly read() new data. However, I
can set up a command for only one subdevice whereas analog and digital
channels live on different subdevices. 
Therefore my question is: Can I run several commands in parallel, one
command for each subdevice? If yes, how can I read the data produced by
different commands (read() doesn't discriminate between subdevices)? If
no, how can I accomplish this task?

I don't have (and would rather not build) an RT kernel.

Thanks for any help,
Jan

Received on 2004-11-01Z18:28:22