- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Wed, 9 Jul 2003 16:34:53 -0500
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 09 July 2003 02:38 pm, Justin Osborn wrote: > Hello all, > Sorry to bother the list again, but I was getting pretty far on my > project until yesterday when I ran into problems. I'm trying to get > data from a time of flight camera that's connected to an NI PCI-MIO-16E > card. The camera is sending data over channels 1 and 8, and uses PFI > pins 0 and 2 for triggering. One frame is 64x200 pixels. I had a > program that seemed to be working, which was based on cmd.c from the > comedi demos, but it stopped working yesterday (The camera still works, > we verified this with the Windows software). I combined just the > necessary stuff from cmd.c, examples.h and common.c to create something > that should work, but it doesn't. Here's the code: Are you using the cvs version of the comedi kernel modules? There has been a patch for the external triggering since 0.7.66. Also, technically you should probably be setting the CR_EDGE flag in the args for the external triggers. - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE/DIp95vihyNWuA4URApIgAJ4pTmdLd0RSDZNacNaI0dS36yC2wACfbRaw 1SOK8+K6+QDgX0r+N7eJPVg= =Hh+m -----END PGP SIGNATURE-----
Received on 2003-07-09Z20:34:53