table of contents
COMEDI_SET_ROUTING(3) | Comedi reference | COMEDI_SET_ROUTING(3) |
NAME¶
comedi_set_routing - select a routing for an outputSYNOPSIS¶
#include <comedilib.h>
int
comedi_set_routing(comedi_t * device,
unsigned int subdevice,
unsigned int channel,
unsigned int routing);
STATUS¶
alphaDESCRIPTION¶
This function configures a mutiplexed output channel which can output a variety of different signals (such as NI's RTSI and PFI lines). The routing parameter selects which signal should be routed to appear on the selected output channel, and is driver-dependant. The routing may be queried with the comedi_get_routing function. This function is only useable on subdevices that provide support for the INSN_CONFIG_SET_ROUTING configuration instruction.RETURN VALUE¶
0 on success, -1 on error.AUTHORS¶
David Schleef <ds@schleef.org>Author.
Frank Mori Hess <fmhess@users.sourceforge.net>
Author.
Herman Bruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
Author.
Bernd Porr <tech@linux-usb-daq.co.uk>
Author.
Ian Abbott <abbotti@mev.co.uk>
Author.
Éric Piel <piel@delmic.com>
Author.
COPYRIGHT¶
Copyright © 1998-2003 David Schleef07/14/2014 | Comedi |