Re: CR_CHAN in di_rbits function

On Wednesday 04 April 2007 12:57 am, Apodaca, Bob wrote:
> We have written a driver for a digital input card and it appears that no
> matter what we try the driver always receives channel 0 as the channel
> to be read when using CR_CHAN.  Below is the application used to test

insn_bits treats the data as a bitmask, so your data would be something 
like 1<<chan.  The channel field is only used if you have more than 32 
channels and need an offset.


-- 
Frank

Received on 2007-04-05Z00:23:13