is a timed (buffered) digital out possible?

Hi all-

First- thanks to David Schleef, et al. for Comedi! 

My question: is it possible to send a digital waveform
to a digital output with a specific timing? I'd like
to create an arbitrary array of zeros and ones and
then have a digital output step through it at 1 msec
increments and then loop when it reaches the end of
the array. My understanding (from Comedi docs) is that
this is not possible via the "instruction" mechanism
because of the lack of timing control and that the
"command" mechanism does not support digital I/O. Is
there an easy was to do this using one of the timers
available on my DAQCard? The timing is crutial because
I am using the pulse train to trigger an external
device and 1 msec accuracy is required. 

I can do this using the methods of ao_waveform.c but
that seems to be a waste of an analog out since I am
only generating pulses. Using the model of
ao_waveform.c, could I fill a buffer with my zeros and
ones and have that buffer read by a digital out at a
freq of 1 msec?

Many thanks!
Matt

My hardware: 
version code: 0x000743
driver name: ni_mio_cs
board name: DAQCard-6062E

subdevice 2:
  type: 5 (digital I/O)
  number of channels: 8
  max data value: 1
  ranges:
    all chans: [0,5]
  command:
    not supported

subdevice 4:
  type: 6 (counter)
  number of channels: 2
  max data value: 1
  ranges:
    all chans: [0,1]
  command:
    not supported




__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

Received on 2004-02-26Z01:24:13