student: simultaneous read write NI DAQ card help...

hi all,

i'm using the NI PCI-MIO-16E-1 DAQ card as part of my final year project at varsity.

i am trying to read and write simultaneously in to multiple analog channels at a sample rate of about 1MS/s(1.25MS/s is the card limit).

i'm running a SIDUX (debian) distro of linux and have downloaded and successfully installed comedi/comedilib etc. i managed to output a sinewave of 50MHz, onto one AO channel, using the 'ao_waveform.c' example that is provided with the comedilib package. i also read in a single AI channel at 1MS/s using the 'cmd.c' example. i'm not a pro at c/c++ but i've read the comedi documentation and figured a bit out about how these examples work and about the command struct and its various parameters etc.

basically i want to know how to read and write to multiple channels simultaneously.... any commented code or examples would be greatly appreciated.

thank you
justin

Received on 2007-09-15Z16:37:03