![]() |
RTXI 1.3
|
#include <assert.h>#include <stdio.h>#include <comedilib.h>#include <math.h>#include <fcntl.h>#include <unistd.h>#include <stdlib.h>#include <string.h>#include <errno.h>#include <getopt.h>#include <ctype.h>#include "examples.h"Go to the source code of this file.
Defines | |
| #define | _GNU_SOURCE |
Functions | |
| int | check_subdevice (comedi_t *device, int *subdevice, const char *device_filepath) |
| int | ni_gpct_configure_buffered_event_counting (comedi_t *device, unsigned subdevice) |
| int | ni_gpct_send_command (comedi_t *device, unsigned subdevice, unsigned n_counts) |
| int | ni_gpct_read_and_dump_counts (comedi_t *device, unsigned subdevice) |
| int | main (int argc, char *argv[]) |
| #define _GNU_SOURCE |
Definition at line 23 of file gpct_buffered_counting.c.
| int check_subdevice | ( | comedi_t * | device, |
| int * | subdevice, | ||
| const char * | device_filepath | ||
| ) |
Definition at line 38 of file gpct_buffered_counting.c.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 192 of file gpct_buffered_counting.c.
| int ni_gpct_configure_buffered_event_counting | ( | comedi_t * | device, |
| unsigned | subdevice | ||
| ) |
Definition at line 69 of file gpct_buffered_counting.c.
| int ni_gpct_read_and_dump_counts | ( | comedi_t * | device, |
| unsigned | subdevice | ||
| ) |
Definition at line 164 of file gpct_buffered_counting.c.
| int ni_gpct_send_command | ( | comedi_t * | device, |
| unsigned | subdevice, | ||
| unsigned | n_counts | ||
| ) |
Definition at line 120 of file gpct_buffered_counting.c.