Re: NI MIO "auxiliary" channel (i.e. on-board temperarure sensor)

On Tuesday 18 July 2006 03:01 am, David MacMahon wrote:
> It looks like AREF_OTHER can be used by the NI MIO driver (i.e.

Choosing calibration sources with AREF_OTHER is just kept around for 
compatibility with old code.  CR_ALT_SOURCE and INSN_CONFIG_ALT_SOURCE are 
used to select alternate voltage sources for reading by the adc.

> ni_mio_common.c) to allow reading the calibration channels of these NI
> boards (at least the NI E series), but I couldn't see how to read the
> auxiliary channels (all of which are reserved except for the on-board
> temperature sensor).  Does this functionality exist in the current NI
> drivers?  If not, I'd like to add it (at least for my board type).  I'm
> open to input on how to do that.  Some possibilities are to use
> AREF_OTHER with a channel greater than 15 (e.g. use AREF_OTHER with
> chan=16+aux_chan), or somehow use CR_ALT_SOURCE to indicate that
> AREF_OTHER should use auxiliary channels rather than calibration
> channels.  The latter one sounds more robust, but CR_ALT_SOURCE seems to
> be used already as an alternative means of selecting/configuring
> channels for various board types.
>
> I'll probably go with a CR_ALT_SOURCE "handler" for non-M-series and
> non-611x boards unless anyone has a better idea (or, of course, if this
> functionality is already somehow accessible).
>
> Thanks,
> Dave
>
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi

-- 
Frank

Received on 2006-07-18Z23:19:18