- From: Tim Campbell <tim_at_tandk.2y.net>
- Date: Thu, 16 Jan 2003 04:01:03 +0000
Hi all, Having installed my nice shiny new NI 6024e PCI card, and installed comedi and comedilib to go with it, I found myself a little stuck. I have written a basic example "mimic" program which samples one channel and reproduces the sampled value on the output channel. I have done this with comedi_data_read and comedi_data_write. This is all well and good, except that the output is discontinuous, when I would like it to be continuous (i.e. some sort of zero-order hold). Can anyone suggest a sensible method for doing this? Example code would be useful. I had a look at the examples provided in CVS, specifically the ao_waveform example, but could not get that to work since it seems to be setup for RTAI, and won't compile. I have seen some discussion about use of comedi_trig_ioctl, but that appears to have been deprecated in favour of the command setup, and I can not work out from the documentation how that is supposed to work in the user space, let alone the kernel space. Many thanks for your kindness towards a comedi newbie! Tim Campbell
Received on 2003-01-16Z04:01:03