This program performs continuous input from the edt dma device and optionally writes to a disk file or device.
Just use edt_read() if all you have to do is a simple read.
To compile:
cc -O -DSYSV -o simple_getdata simple_getdata.c -L. -ledt -lthread
A data source must be provided to the EDT board.
Definition in file simple_getdata.c.
#include "edtinc.h"
#include <stdlib.h>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
void | usage (char *err) |