Re: PCI-6713 AO command

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 15 December 2003 04:47 pm, ANDREW JOHN SELVIG wrote:
> 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.
>

My guess would be that you are sleeping in your user space program (twice 
per ao write), as the linux scheduler usually runs at 100Hz.  Are you 
trying to do pacing from user space using usleep() or nanosleep()?

- -- 
Frank

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/5fGG5vihyNWuA4URAu2iAJ490Rvj4F6hZ58pjS5r5JTP5KxjvACg29gO
+Xq1VeneeE2AvD3A2ef3etU=
=Vpgd
-----END PGP SIGNATURE-----

Received on 2003-12-21Z19:16:22