Re: NI DAQ call back function

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

On Tuesday 16 September 2003 03:09 pm, Muks Raju wrote:
> Hello.. im using the NI DAQ Ai 16XE50 to read data from 8 Analog Inputs.
> I have however noticed that to get data from the 8 analog inputs i need
> to read 9 channels. I dont know why this is so. Also Im using the
> command structure with a call back function where I read the data into
> the variables using cfc_read_array_from_buffer.
> Now  I have noticed that data from channel 0 is available in
> ai_cmd.data[1].. and so on.. i.e data for channel n is in
> ai_cmd.data[n+1]. why is this so? Anybody working with the same card and
> having similar issues?
>

It's a bug to use cfc_read_array_from_buffer() in anything but a driver.  
What made you decide to use it in the first place?

- -- 
Frank

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

iD8DBQE/acd35vihyNWuA4URAohEAJ9p55pbhqmPV9MZ9+wNAxuWBwD5TQCfaEW2
8CQ3AJKwE0v3xPJqMHIk9po=
=AeHq
-----END PGP SIGNATURE-----

Received on 2003-09-18Z13:55:51