Thanks, this solved the compilation problem. I use the build script from etherlab-bundle-1.6 => EtherLab 1.2-rc4 http://www.etherlab.org/download/bundle/etherlab-bundle-1.6.tar.bz2
You recommend some different version? I see rc5 is available. This is your stable branch? --JS On Thu, May 28, 2009 at 11:15 AM, Florian Pose <[email protected]> wrote: > Hello, > > On Thu, May 28, 2009 at 10:56:47AM +0200, Julian Stoev wrote: >> I try to make a very simple RTW application to test my new Etherlab >> setup. I have these slaves: >> >> 0 0:0 PREOP + EK1100 EtherCAT-Koppler (2A E-Bus) >> 1 0:1 PREOP + EL4132 2Ch. Ana. Ausgang +/-10V, 16bit >> 2 0:2 PREOP + EL5101 1K. Inc. Encoder 5V >> >> My application is writing a constant values to EL4132 and the idea >> isto measure the voltage signal with a multimeter. I compile my rtw >> program on my real-time machine like this: >> >> make -f t1.mk MATLAB_ROOT=/opt/matlab_rtw >> RTAI_DIR=/opt/etherlab/rtai-3.6.2 ETHERLAB_DIR=/opt/etherlab >> >> I get this error: >> >> CC rtw_wrapper.o CC >> rtw_app_info.o/opt/etherlab/rtw/src/rtw_app_info.c:67: error: ‘rtB’ >> undeclared here(not in a function)make: *** [rtw_app_info.o] Error 1 >> >> I had a look at the sources and apparently rtB is never defined.Such a >> variable is used only in ./rtw/src/ files, but rt_app.h definesvoid >> *app_rtBAm I doind something wrong here? > > rtB is the calculation vector and only defined, if your model does > calculations. Please insert a simple gain block somewhere. > > Which EtherLab version are you using, btw? I thought this was just a > policy of older versions... > > -- > Best regards, > Florian Pose _______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users
