- From: ANDREW JOHN SELVIG <ajselvig_at_wisc.edu>
- Date: Mon, 15 Dec 2003 15:47:33 -0600
I've rewritten my program to use individual calls to comedi_data_write() instead of using a command. Now no matter what frequency I tell it or how many channels I give it, the fastest it can write the data is 50 Hz. This seems to be something with the clock in the device. Is there some sort of configuration that would cause such a slow response? Any help would be great, thanks. Andy Selvig Cell: 608-213-2179 Project Antaios: 608-265-0766 Pegasus: 608-263-5921 1500 Engineering Drive Madison, WI 53706 ----- Original Message ----- From: ANDREW JOHN SELVIG <ajselvig_at_wisc.edu> Date: Thursday, December 11, 2003 1:28 pm Subject: PCI-6713 AO command > Hi- > > I'm writing a C program that takes an array of data and transmits > it on the PCI-6713 card via a command. I realize this is quite > similar to what the demo/ao_waveform program does. When I try to > run both my program and ao_waveform, I get a broken pipe error when > I call the internal trigger instruction. Why is this? > > Also, in my program the write() function always returns 0. Is there > something special that I need to do to the data before I try to > write it to the buffer? Any help would be greatly appreciated. Thanks! > > Andy Selvig > Cell: 608-213-2179 > Project Antaios: 608-265-0766 > Pegasus: 608-263-5921 > 1500 Engineering Drive > Madison, WI 53706 > > > _______________________________________________ > comedi mailing list > comedi_at_comedi.org > https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi >
Received on 2003-12-15Z21:47:33