Hello everybody,
I am trying to code a program using NIDAQmx with xenomai at the same time.
When I set my samples' number to 5000 my program works correctly.
When I set it to 15000 (which the value I need) I got a segmentation fault.
Here is my program attached.
I compile it with this command :
gcc -g nidaqXenomai.c -o nidaqXenomai -I/usr/include -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -D__XENO__ -L/usr/xenomai/lib -lrt -lnative -Xlinker -rpath -Xlinker /usr/xenomai/lib -lm -lX11 -L/usr/X11R6/lib -O2 -lnidaqmx
It seems that allocating too much float64 variables causes this segmentation fault
Thank you in advance.
Regards,
Pedro