Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

comedi_get_cmd_generic_timed - streaming input/output capabilities

Authors

DavidSchleef <ds@schleef.org>
           Author.

       FrankMoriHess <fmhess@users.sourceforge.net>
           Author.

       HermanBruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
           Author.

       BerndPorr <tech@linux-usb-daq.co.uk>
           Author.

       IanAbbott <abbotti@mev.co.uk>
           Author.

       ÉricPiel <piel@delmic.com>
           Author.

Description

       The command capabilities of the subdevice indicated by the parameters device and subdevice are probed,
       and the results placed in the command structure pointed to by the parameter command. The command
       structure pointed to by command is modified to be a valid command that can be used as a parameter to
       comedi_command (after the command has additionally been assigned a valid chanlist array). The command
       measures scans consisting of chanlist_len channels at a scan rate that corresponds to a period of
       scan_period_ns nanoseconds. The rate is adjusted to a rate that the device can handle.

Name

       comedi_get_cmd_generic_timed - streaming input/output capabilities

Return Value

       On success, 0 is returned. On failure, -1 is returned.

Synopsis

#include<comedilib.h>intcomedi_get_cmd_generic_timed(comedi_t*device,unsignedintsubdevice,comedi_cmd*command,unsignedintchanlist_len,unsignedintscan_period_ns);

See Also