Access COMEDI from LXRT
al14 at inf.tu-dresden.de
Sat Jan 21 11:06:56 CET 2006
> I'm presently trying to access my ME2600i A/D-card via COMEDI from an
> When I try to read with comedi_data_read(...), I'm thrown out of the hard
> realtime. Do I have to use special functions? I always thought I could use
> identical COMEDI function calls in realtime and non-realtime environments.
- What header file does your program include? that of user space
libcomedi0 (i.e. comedilib.h) or that of libkcomedilxrt.a (i.e.
rtai_comedi.h)? The libcomedi0 library uses linux system calls,
libkcomedilxrt doesn't (lxrt calls into rtai_comedi module instead)
- did you load the rtai_comedi module prior to running your programm?
I hope this provides some insight. Otherwise please post back with more info.
More information about the Rtai