Re: Streaming acquisition from more than one subdevices

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 01 November 2004 01:28 pm, Jan Gukelberger wrote:
>
> 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?

It's a limitation of comedi at present, you can only have one subdevice 
that supports read commands and one that supports write.  In addition, 
your board hardware doesn't support dio commands.

- -- 
Frank

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBh3fI5vihyNWuA4URAiO4AJ4mNCPs46Zu5dMz3jLWyUVixiGzMgCggAa6
Ah1IZNzyUyPCcrQJzmwxhT8=
=cFcB
-----END PGP SIGNATURE-----

Received on 2004-11-02Z12:04:24