On 07/04/16 11:15, Ian Abbott wrote:
On 06/04/16 19:06, H Hartley Sweeten wrote:
The "hc" type boards have 64 analog input channels with a 64 entry queue.
All the others have 16 channels and a 256 entry queue.
Currently the boardinfo 'qram_len' is used to initialize the subdevice
'n_chan' and 'len_chanlist'. This works for the 64 channel boards but
sets the 'n_chan' wrong for the 16 channel boards.
I think the 256 QRAM positions is to allow use with a set of EXP-1800
boards, each of which can multiplex one of the single-ended inputs of
the DAS-1800 series into 16 channels. According to the user's guide,
they can be daisy chained to provide up to 256 channels.
Datasheet:
http://www.tek.com/sites/tek.com/files/media/media/resources/exp-1800_ds.pdf
User's Guide download page (need to fill in contact info!):
http://www.tek.com/manual/exp-1800-users-guide-92160b-manual
So it's probably best to leave the number of channels alone.
You could include a modified version of the patch in your main series of
patches, though. You'd just have to set 'n_chans' to 64 or 256
depending on your 'has_64_ai_chan' member.
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbo...@mev.co.uk> )=-
-=( Web: http://www.mev.co.uk/ )=-
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel