- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Fri, 6 Jun 2003 11:41:46 -0500
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 06 June 2003 10:15 am, Justin Osborn wrote: > Hi again, > I got the instruction to send properly, using n=1. However read > still returns a zero and I get no data. I have it set up so > comedi_command is called first, and then the instruction is sent to > start acquisition, and then the for loop which does the reading. Is > that right? I also tried doing using comedi_poll after the instruction > is sent but before the read, but it returns -1. > > Justin > > At 03:44 PM 6/5/2003 -0400, Justin Osborn wrote: > >Hi all, > > I'm working on getting data from a device connected to a NIDAQ > > card using Comedi. I'm modifying cmd.c in the demos to suit my > > purposes. I'm using the ni_pcmio driver. I got cmd.c working with > > subdevice 0, but the data is supposed to be coming over subdevice > > 1. Subdevice 1 (according to the info demo program), has to have What are you expecting to read from an analog output subdevice? - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+4MRK5vihyNWuA4URAhifAJ9lLgU3oVpWnbYXGE3rSsqORr251gCg6cyy MB0NHMW1x1sKFUOn9FBlL10= =Aqht -----END PGP SIGNATURE-----
Received on 2003-06-06Z15:41:46